/* ========== 字体 ========== */
@font-face {
    font-family: 'YouSheBiaoTiHei';
    src: url('fonts/YouSheBiaoTiHei-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ========== 基础重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
                 'Microsoft YaHei', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #F5F2ED;
    -webkit-font-smoothing: antialiased;
}

/* ========== 通用 ========== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 32px;
}

/* ========== 滚动淡入 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 第一部分：首屏 ========== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    background-image: url("images/hero-home-dribbling.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 24px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(248, 244, 236, 0.82) 0%,
        rgba(248, 244, 236, 0.62) 42%,
        rgba(248, 244, 236, 0.35) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* 品牌标识 */
.hero-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 34px;
    width: 100%;
}

.hero-logo {
    width: 190px;
    height: auto;
}

.hero-lockup {
    width: clamp(520px, 56vw, 840px);
    max-width: 95vw;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.10));
}

.hero-brand-cn {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    -webkit-text-stroke: 2.5px #111;
    paint-order: stroke fill;
    text-shadow:
        3px 3px 0 #111,
        0 2px 0 #111;
    letter-spacing: 0.04em;
}

/* 首屏文字区 */
.hero-copy {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

/* 首屏信息组：在家练球不扰民 + 国内首创 */
.hero-message {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* 首屏按钮组 */
.hero-actions {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    margin-top: auto;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.hero-product-name {
    font-size: clamp(44px, 5.8vw, 72px);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-slogan {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-claim {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.72);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 34px;
}

.hero-cta {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    background-color: #FF8C00;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.28);
}

.hero-cta:hover {
    background-color: #e67e00;
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.38);
}

.hero-fallback {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.72);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
    font-weight: 400;
    line-height: 1.6;
    margin-top: 16px;
}

/* ========== 第二部分：痛点区 ========== */
.pain-points {
    background: #ffffff;
    padding: 64px 24px;
}

.pain-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e4df;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.pain-bg-num {
    position: absolute;
    top: -12px;
    right: 12px;
    font-size: 96px;
    font-weight: 900;
    color: rgba(255, 140, 0, 0.07);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.pain-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    position: relative;
}

.pain-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    position: relative;
}

/* ========== 第三部分：产品优势区 ========== */
.features {
    background: #ebe5dc;
    padding: 64px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e4df;
    padding: 24px;
}

.feature-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #F0EDE8;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #bbb;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.feature-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-num {
    font-size: 12px;
    font-weight: 700;
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
}

.feature-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
    border-radius: 18px;
    display: block;
    margin-bottom: 16px;
}

/* ========== 第四部分：品牌故事区 ========== */
.brand-story {
    background: linear-gradient(160deg, #ECE7DF 0%, #E4DDD3 100%);
    padding: 80px 24px;
    text-align: center;
}

.brand-story-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.story-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.story-lockup {
    width: clamp(220px, 26vw, 360px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.brand-story-logo {
    width: 110px;
    height: auto;
}

.brand-story-brand-cn {
    font-family: 'YouSheBiaoTiHei', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 6px;
}

.brand-story-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 20px;
}

.brand-story-desc {
    font-size: 16px;
    color: #555;
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.brand-story-slogan {
    font-size: 28px;
    font-weight: 700;
    color: #FF8C00;
}

/* ========== 第五部分：目标人群区 ========== */
.audience {
    background: #ffffff;
    padding: 64px 24px;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.audience-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e4df;
    border-top: 3px solid #FF8C00;
    padding: 20px 16px;
}

.audience-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.45;
}

.audience-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.65;
}

/* ========== 第六部分：购买与联系区 ========== */
.contact {
    background: linear-gradient(180deg, #EDE8E0 0%, #E8E1D6 100%);
    padding: 64px 24px;
}

.contact-inner {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.contact-buy {
    margin-bottom: 28px;
}

.contact-cta {
    display: block;
    width: 100%;
    height: 52px;
    line-height: 52px;
    background-color: #FF8C00;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 14px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.32);
}

.contact-cta:hover {
    background-color: #e67e00;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.42);
}

.contact-fallback {
    font-size: 12px;
    color: #bbb;
    line-height: 1.6;
}

.wechat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    width: calc(100% - 32px);
    max-width: 400px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.wechat-qr-img {
    width: 104px;
    height: 104px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    border-radius: 8px;
}

.wechat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: left;
    min-width: 0;
}

.wechat-info p {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    margin: 0;
    white-space: nowrap;
}

.social-guide {
    font-size: 13px;
    color: #999;
    margin-bottom: 28px;
}

.contact-divider {
    border: none;
    border-top: 1px solid #d5cfc6;
    margin-bottom: 20px;
}

.safety-note {
    font-size: 11px;
    color: #ccc;
    line-height: 1.7;
}

/* ========== 底部 Footer ========== */
.footer {
    background: #2a2520;
    padding: 48px 24px;
    text-align: center;
}

.footer-lockup {
    width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 11px;
    color: #666;
}

/* ========== 响应式：768px+ ========== */
@media (min-width: 768px) {

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* 首屏 */
    .hero {
        padding: 60px 48px 32px;
        background-position: center center;
    }

    .hero-logo {
        width: 200px;
    }


    .hero-brand-cn {
        font-size: 40px;
    }

    .hero-brand {
        margin-bottom: 24px;
    }

    .hero-copy {
        max-width: 600px;
        margin: 4vh auto 0;
    }

    .hero-actions {
        position: absolute;
        top: 74%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 96px);
        max-width: 400px;
        margin: 0;
        padding-bottom: 0;
        z-index: 1;
    }

    .hero-product-name {
        letter-spacing: -0.035em;
    }

    .hero-slogan {
        font-size: 32px;
    }

    .hero-claim {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .hero-cta {
        height: 52px;
        line-height: 52px;
        font-size: 17px;
        border-radius: 14px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        width: min(92vw, 900px);
        max-width: 900px;
        max-height: 420px;
        border-radius: 24px;
        margin-top: 36px;
    }

    /* 痛点区 */
    .pain-points {
        padding: 80px 48px;
    }

    .pain-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 20px;
    }

    .pain-card {
        flex: 1;
    }

    /* 产品优势区 */
    .features {
        padding: 80px 48px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-img,
    .feature-img-placeholder {
        width: 86%;
        margin: 0 auto 16px;
    }

    /* 品牌故事区 */
    .brand-story {
        padding: 100px 48px;
    }

    .brand-story-title {
        font-size: 30px;
    }

    .brand-story-slogan {
        font-size: 28px;
    }

    /* 目标人群区 */
    .audience {
        padding: 80px 48px;
    }

    .audience-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    /* 购买区 */
    .contact {
        padding: 80px 48px;
    }

    .contact-cta {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .wechat-card {
        max-width: 460px;
        padding: 18px 22px;
        gap: 20px;
    }

    .wechat-qr-img {
        width: 128px;
        height: 128px;
    }

    /* Footer */
    .footer {
        padding: 56px 48px;
    }

    .footer-lockup {
        width: 260px;
    }
}

/* ========== 响应式：1024px+ ========== */
@media (min-width: 1024px) {

    .hero {
        padding: 60px 80px 40px;
    }


    .pain-points {
        padding: 100px 80px;
    }

    .features {
        padding: 100px 80px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card-img,
    .feature-img-placeholder {
        width: 82%;
        margin: 0 auto 16px;
    }

    .brand-story {
        padding: 120px 80px;
    }

    .audience {
        padding: 100px 80px;
    }

    .contact {
        padding: 100px 80px;
    }

    .wechat-card {
        max-width: 480px;
    }

    .wechat-qr-img {
        width: 140px;
        height: 140px;
    }
}
