:root {
    --ink: #062437;
    --muted: #5b7180;
    --line: #d9e7ef;
    --blue: #0c6f94;
    --teal: #0f8c7a;
    --gold: #f7ba2a;
    --coral: #ef6848;
    --green: #31a65b;
    --page: #eef5f8;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(11, 42, 56, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px max(28px, calc((100vw - 1180px) / 2));
    color: #fff;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(10, 35, 52, 0.12);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 900;
}

.brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.site-header.scrolled .brand-mark {
    background: #eaf3f7;
}

.nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.nav-links a {
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--gold);
}

.header-cta,
.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.header-cta {
    background: var(--gold);
    color: #082536;
}

.primary-btn {
    position: relative;
    overflow: hidden;
    background: var(--gold);
    color: #092638;
    box-shadow: 0 12px 30px rgba(247, 186, 42, 0.32);
}

.primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
    animation: shine 3.4s infinite;
}

.ghost-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    position: relative;
    min-height: 86svh;
    overflow: hidden;
    color: #fff;
    background-image: url("assets/4.jpg");
    background-size: cover;
    background-position: center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 26, 38, 0.92), rgba(4, 50, 66, 0.72) 48%, rgba(3, 22, 34, 0.54)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(2, 23, 35, 0.7));
}

.motion-lines {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        repeating-linear-gradient(105deg, transparent 0 38px, rgba(255, 255, 255, 0.18) 39px 40px),
        linear-gradient(180deg, transparent, rgba(247, 186, 42, 0.22));
    animation: fieldFlow 12s linear infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    min-height: 86svh;
    margin: 0 auto;
    padding: 110px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 56px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(49, 166, 91, 0.55);
    animation: pulse 1.8s infinite;
}

.hero h1 {
    margin: 0;
    font-size: 4.4rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 640px;
    margin: 22px 0 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
    margin-top: 38px;
}

.hero-stats div,
.hero-device,
.analytics-panel,
.download-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.hero-stats div {
    padding: 14px;
    border-radius: 8px;
}

.hero-stats strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.2;
}

.hero-stats span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
}

.hero-device {
    position: relative;
    padding: 18px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    animation: floatDevice 5s ease-in-out infinite;
}

.device-topline,
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.device-topline span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.device-topline b {
    color: #092638;
    background: var(--gold);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.product-photo {
    width: 100%;
    aspect-ratio: 1.48 / 1;
    margin-top: 16px;
    border-radius: 8px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.16);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.metric-grid div {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.metric-grid span,
.metric-grid small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
}

.metric-grid strong {
    font-size: 1.45rem;
}

.live-bars {
    display: flex;
    align-items: end;
    gap: 7px;
    height: 72px;
    margin-top: 16px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(5, 32, 45, 0.55);
}

.live-bars i {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, var(--gold), var(--coral));
    animation: equalize 1.5s ease-in-out infinite alternate;
    animation-delay: calc(var(--h) * -0.018);
}

.mode-ribbon {
    width: min(1180px, calc(100% - 48px));
    margin: -28px auto 0;
    position: relative;
    z-index: 5;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mode-ribbon span {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eaf3f7;
    font-weight: 800;
}

.section {
    padding: 88px max(24px, calc((100vw - 1180px) / 2));
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2,
.data-copy h2,
.training-copy h2,
.download-section h2 {
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.section-head p:not(.section-kicker),
.data-copy p,
.training-copy p,
.download-section p {
    color: var(--muted);
    font-size: 1.02rem;
}

.product-section,
.feature-section,
.steps-section,
.preview-section,
.series-section,
.voice-section {
    background: #fff;
}

.product-layout,
.data-section,
.training-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.media-frame {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #edf6fa;
}

.media-frame::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 2px dashed rgba(12, 111, 148, 0.28);
    border-radius: 8px;
    pointer-events: none;
}

.media-frame img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.rich-text {
    font-size: 1.08rem;
}

.rich-text strong {
    color: var(--blue);
}

.spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.spec-list span {
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f3f8;
    color: #064461;
    font-weight: 800;
}

.feature-grid,
.series-grid,
.voice-grid,
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card,
.series-card,
.voice-card,
.step {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(8, 38, 56, 0.08);
}

.feature-card {
    overflow: hidden;
}

.feature-card img {
    width: 100%;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
}

.feature-card h3,
.series-card h3,
.voice-card strong,
.step h3 {
    margin: 18px 18px 6px;
    font-size: 1.15rem;
}

.feature-card p,
.series-card p,
.voice-card p,
.step p {
    margin: 0 18px 20px;
    color: var(--muted);
}

.data-section {
    background:
        linear-gradient(135deg, rgba(12, 111, 148, 0.08), transparent 42%),
        #f6fafc;
}

.mode-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.mode-tab {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
}

.mode-tab.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.analytics-panel {
    color: #fff;
    padding: 28px;
    border-radius: 8px;
    background:
        linear-gradient(140deg, rgba(6, 36, 55, 0.94), rgba(15, 140, 122, 0.88)),
        url("assets/3.jpg") center / cover;
}

.panel-head span {
    font-size: 1.2rem;
    font-weight: 900;
}

.panel-head strong {
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
}

.analytics-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.score-bars {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.score-bars div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
}

.score-bars span {
    font-weight: 900;
}

.score-bars i {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.score-bars i::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold), var(--coral));
    transform-origin: left;
    transform: scaleX(0);
}

.score-bars.is-visible i::before {
    animation: growBar 1s ease forwards;
}

.step {
    padding: 26px;
}

.step b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
}

.step h3,
.step p {
    margin-left: 0;
    margin-right: 0;
}

.tip,
.challenge {
    margin: 28px 0 0;
    padding: 18px 22px;
    border-radius: 8px;
    background: #eaf3f7;
    font-weight: 800;
}

.training-section {
    background:
        linear-gradient(90deg, rgba(6, 36, 55, 0.05), transparent 55%),
        #f6fafc;
}

.training-image img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.check-list {
    padding: 0;
    margin: 22px 0;
    list-style: none;
}

.check-list li {
    padding: 15px 0 15px 38px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 15px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 900;
}

.preview-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
}

.preview-strip img {
    flex: 0 0 300px;
    height: 420px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(8, 38, 56, 0.12);
    scroll-snap-align: start;
}

.faq-section {
    background: #f6fafc;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.faq-item span {
    display: inline-block;
    width: calc(100% - 36px);
    font-weight: 900;
    font-size: 1.03rem;
}

.faq-item b {
    float: right;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #eaf3f7;
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    transition: max-height 0.25s ease, margin 0.25s ease;
}

.faq-item.active {
    border-color: rgba(12, 111, 148, 0.42);
}

.faq-item.active p {
    max-height: 150px;
    margin-top: 12px;
}

.series-grid {
    grid-template-columns: repeat(3, 1fr);
}

.series-card {
    padding: 22px;
}

.series-card.featured {
    border-color: rgba(247, 186, 42, 0.72);
    box-shadow: 0 18px 42px rgba(247, 186, 42, 0.18);
}

.series-card img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.series-card h3,
.series-card p {
    margin-left: 0;
    margin-right: 0;
}

.series-card strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--coral);
    font-size: 1.4rem;
}

.voice-grid {
    grid-template-columns: repeat(3, 1fr);
}

.voice-card {
    margin: 0;
    padding: 22px;
}

.voice-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-card strong,
.voice-card p {
    margin-left: 0;
    margin-right: 0;
}

.download-section {
    padding: 90px 24px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 36, 55, 0.94), rgba(6, 36, 55, 0.58)),
        url("assets/mian-fei-gao-qing-nba-8ad517.png") center / cover;
}

.download-inner {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.download-section p {
    color: rgba(255, 255, 255, 0.82);
}

.download-card {
    width: min(460px, 100%);
    margin: 30px auto 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    border-radius: 8px;
    text-align: left;
}

.download-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
}

.download-card small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    padding: 28px 24px 36px;
    text-align: center;
    color: var(--muted);
    background: #fff;
}

.site-footer p {
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 900;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fieldFlow {
    from { background-position: 0 0, 0 0; }
    to { background-position: 180px 0, 0 0; }
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 14px rgba(49, 166, 91, 0); }
    100% { box-shadow: 0 0 0 0 rgba(49, 166, 91, 0); }
}

@keyframes shine {
    45%, 100% { transform: translateX(120%); }
}

@keyframes floatDevice {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-12px) rotateX(2deg); }
}

@keyframes equalize {
    from { transform: scaleY(0.68); }
    to { transform: scaleY(1); }
}

@keyframes growBar {
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 12px 18px;
    }

    .nav-links {
        display: none;
    }

    .hero-inner,
    .product-layout,
    .data-section,
    .training-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 72svh;
    }

    .hero-inner {
        padding-top: 96px;
        min-height: 72svh;
        gap: 32px;
    }

    .hero h1 {
        font-size: 3.15rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-device {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid,
    .steps,
    .series-grid,
    .voice-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .header-cta {
        display: none;
    }

    .site-header {
        color: #fff;
    }

    .hero {
        min-height: 70svh;
    }

    .hero-inner {
        width: min(100% - 32px, 1180px);
        min-height: 70svh;
        padding-bottom: 34px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-stats {
        gap: 8px;
    }

    .hero-stats div {
        padding: 10px;
    }

    .hero-stats strong {
        font-size: 1.25rem;
    }

    .hero-stats span {
        font-size: 0.72rem;
    }

    .section {
        padding: 66px 18px;
    }

    .section-head h2,
    .data-copy h2,
    .training-copy h2,
    .download-section h2 {
        font-size: 1.9rem;
    }

    .feature-grid,
    .steps,
    .series-grid,
    .voice-grid {
        grid-template-columns: 1fr;
    }

    .preview-strip img {
        flex-basis: 250px;
        height: 350px;
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-card img {
        margin: 0 auto;
    }
}
