/* Cursor 汉化工具主题页专用样式（页级）。
   全站公共在 assets/common/：global（token/重置）→ chrome（壳层）→ components（控件）。
   跨 landing 页共享版式（卡片基类等）见 shared.css（页级 css @import 引入，lite 模式）。
   本文件只收：全页背景装饰、区块节奏、证言/栅格、Hero 及本页版式、亮色页级覆写。 */
@import url("./shared.css");

/* ===== 全页背景装饰 ===== */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
    background-size: 220px 220px;
}

.bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 30% 10%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 70%);
    animation: grid-drift 18s linear infinite;
}

.bg-blobs {
    position: absolute;
    inset: -20vh -20vw;
    filter: blur(120px);
}

.blob {
    position: absolute;
    border-radius: 999px;
    transform: translate3d(0, 0, 0);
    animation: float 9000ms ease-in-out infinite;
}

.blob-1 {
    width: 900px;
    height: 1400px;
    left: calc(50% - 450px);
    top: -220px;
    background: radial-gradient(circle at 30% 30%, rgba(108,92,231,0.26), rgba(108,92,231,0.08) 55%, transparent 70%);
}

.blob-2 {
    width: 620px;
    height: 860px;
    left: -120px;
    top: 140px;
    animation-duration: 10500ms;
    background: radial-gradient(circle at 30% 30%, rgba(168,85,247,0.16), rgba(236,72,153,0.08) 55%, transparent 72%);
}

.blob-3 {
    width: 520px;
    height: 760px;
    right: -120px;
    top: 260px;
    animation-duration: 9200ms;
    background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.12), rgba(99,102,241,0.07) 55%, transparent 74%);
}

.blob-4 {
    width: 900px;
    height: 560px;
    left: calc(50% - 450px);
    bottom: -260px;
    animation-duration: 9800ms;
    background: radial-gradient(circle at 40% 40%, rgba(108,92,231,0.12), rgba(108,92,231,0.06) 55%, transparent 76%);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes grid-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 64px 64px, 64px 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .blob { animation: none; }
    .bg-grid { animation: none; }
}

/* ===== 区块节奏 ===== */
.section {
    padding: 96px 0;
}

.section + .section {
    position: relative;
    border-top: 0;
}

/* 区块分隔线：左右渐隐过渡（用 ::after 避免与区块装饰 ::before 冲突） */
.section + .section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 8%,
        rgba(255, 255, 255, 0.18) 42%,
        rgba(255, 255, 255, 0.18) 58%,
        rgba(255, 255, 255, 0) 92%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0.55;
    pointer-events: none;
}

.bg-gray {
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    box-sizing: content-box;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--foreground-subtle);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-default);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: normal;
}

.section-badge i {
    font-size: 11px;
    line-height: 1;
    opacity: 0.88;
    flex-shrink: 0;
}

.section-badge__label {
    letter-spacing: 0.18em;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.68));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    margin-top: 8px;
    color: rgba(237, 237, 239, 0.70);
    font-size: 16px;
}

.section-badge--testimonials {
    color: rgba(186, 198, 255, 0.95);
    border-color: rgba(104, 114, 217, 0.38);
    background: rgba(108, 92, 231, 0.14);
}

/* ===== 证言 ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 24px;
    text-align: left;
    min-height: 100%;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: rgba(168, 180, 255, 0.95);
    font-size: 14px;
}

.testimonial-quote {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(237, 237, 239, 0.88);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 4px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--border-default);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
}

.testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: rgba(237, 237, 239, 0.95);
}

.testimonial-role {
    font-size: 13px;
    color: rgba(237, 237, 239, 0.55);
    margin-top: 2px;
}

/* ===== 栅格 ===== */
.grid {
    display: grid;
    gap: 24px;
}

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

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

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

/* ===== 顶栏布局覆写（基样式在 chrome.css） ===== */
@media (min-width: 769px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .header-left {
        justify-self: start;
    }

    .nav {
        justify-self: center;
    }

    .header-right {
        justify-self: end;
        margin-left: 0;
    }
}

.nav a {
    font-weight: 600;
}

/* ===== Hero ===== */
.hero {
    background: transparent;
    border-bottom: 1px solid var(--border-default);
    padding: 84px 0 72px;
    text-align: center;
    position: relative;
    overflow: clip;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-stripes {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.035) 2px,
        rgba(255, 255, 255, 0.035) 4px
    );
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.hero-bg-mesh {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(ellipse 68% 42% at 50% -4%, rgba(255, 255, 255, 0.06), transparent 72%),
        radial-gradient(ellipse 36% 28% at 50% 92%, rgba(255, 255, 255, 0.03), transparent 76%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 92% 72% at 50% 28%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 92% 72% at 50% 28%, #000 0%, transparent 78%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform;
    animation: hero-orb-float 14s ease-in-out infinite;
}

.hero-orb--1 {
    width: 520px;
    height: 380px;
    left: calc(50% - 260px);
    top: -10%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-orb--2 {
    width: 300px;
    height: 300px;
    left: 4%;
    top: 32%;
    background: rgba(255, 255, 255, 0.03);
    animation-delay: -4.5s;
}

.hero-orb--3 {
    width: 340px;
    height: 340px;
    right: 2%;
    top: 24%;
    background: rgba(255, 255, 255, 0.025);
    animation-delay: -9s;
}

.hero-bg-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(960px, 86%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    box-shadow:
        0 0 40px 16px rgba(255, 255, 255, 0.03),
        0 0 80px 32px rgba(255, 255, 255, 0.02);
}

.hero-bg-fade {
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--background-base));
}

@keyframes hero-orb-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -22px, 0) scale(1.05); }
}

.hero::before {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        radial-gradient(480px circle at var(--hx, 50%) var(--hy, 35%), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 48%, transparent 68%);
    mix-blend-mode: screen;
    animation: hero-ambient 11s ease-in-out infinite;
    z-index: 1;
}

@keyframes hero-ambient {
    0%, 100% { filter: saturate(1) brightness(1); transform: translate3d(0,0,0); }
    50% { filter: saturate(1.15) brightness(1.06); transform: translate3d(0, -2px, 0); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-container--stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    width: 100%;
}

.brand-tag--hero {
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(36px, 4.8vw, 56px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0.96) 42%, rgba(255,255,255,0.84));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 10px rgba(0,0,0,0.22);
}

.hero-title .text-primary {
    background: linear-gradient(
        90deg,
        rgba(139, 123, 245, 1),
        rgba(220, 213, 255, 1),
        rgba(108, 92, 231, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 260% 100%;
    animation: accent-shimmer 5200ms linear infinite;
}

@keyframes accent-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    margin: 24px 0 20px;
    color: rgba(237, 237, 239, 0.78);
    font-size: 17px;
    line-height: 1.65;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: rgba(237, 237, 239, 0.52);
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.hero-meta li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin-left: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-meta strong {
    color: rgba(237, 237, 239, 0.82);
    font-weight: 600;
}

body.is-ready .hero-title,
body.is-ready .hero-subtitle,
body.is-ready .hero-meta,
body.is-ready .hero-cta-row,
body.is-ready .hero-showcase {
    animation: hero-in 720ms var(--ease-expo-out) both;
}

body.is-ready .brand-tag--hero { animation: hero-in 720ms var(--ease-expo-out) both; animation-delay: 0ms; }
body.is-ready .hero-title { animation-delay: 60ms; }
body.is-ready .hero-subtitle { animation-delay: 120ms; }
body.is-ready .hero-meta { animation-delay: 150ms; }
body.is-ready .hero-cta-row { animation-delay: 200ms; }
body.is-ready .hero-showcase { animation-delay: 260ms; }

@keyframes hero-in {
    from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.99); filter: blur(6px); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0px); }
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero-note {
    margin: 0;
    font-size: 13px;
    color: rgba(237, 237, 239, 0.52);
}

.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-showcase-frame {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 8px;
    background: transparent;
    filter:
        drop-shadow(0 20px 56px rgba(0, 0, 0, 0.34))
        drop-shadow(0 8px 22px rgba(0, 0, 0, 0.20));
}

.hero-showcase-frame::before {
    display: none;
}

.hero-carousel {
    position: relative;
}

.hero-carousel-track {
    position: relative;
}

.hero-carousel-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 640ms var(--ease-expo-out), visibility 640ms;
}

.hero-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-carousel-slide:not(.is-active) {
    position: absolute;
    inset: 0;
}

.hero-carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    clip-path: inset(1.4% 1.4% 1.4% 1.4% round 6px);
}

.hero-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}

.hero-carousel-dot.is-active {
    width: 22px;
    border-radius: 4px;
    background: var(--accent, #6C5CE7);
}

.hero-carousel-dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.42);
}

.scroll-down-hint {
    width: 50px;
    height: 50px;
    margin: 48px auto 0;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(237,237,239,0.94);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.08), 0 10px 28px rgba(0,0,0,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: arrow-float 1600ms ease-in-out infinite;
}

@keyframes arrow-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ===== 介绍面板 ===== */
.intro-panel {
    padding: 32px 34px;
    text-align: left;
}

.intro-lead {
    color: rgba(237, 237, 239, 0.82);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.intro-lead:last-of-type {
    margin-bottom: 28px;
}

.intro-coverage h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-default);
}

.coverage-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.coverage-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: rgba(237, 237, 239, 0.78);
    line-height: 1.6;
}

.coverage-list i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===== 特性卡 ===== */
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--foreground-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-default);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.10);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags span {
    font-size: 12px;
    color: rgba(255,255,255,0.82);
    background: rgba(108,92,231,0.10);
    border: 1px solid rgba(108,92,231,0.24);
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 700;
}

.feature-card--wide {
    grid-column: 1 / -1;
}

@media (min-width: 769px) {
    .feature-card--wide {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 18px;
        align-items: start;
    }

    .feature-card--wide .feature-icon {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .feature-card--wide h3 {
        grid-column: 2;
        margin-bottom: 0;
    }

    .feature-card--wide p {
        grid-column: 2;
    }

    .feature-card--wide .feature-tags {
        grid-column: 2;
    }
}

/* ===== 上手指南 ===== */
.guide-flow {
    margin: 0 auto;
    padding: 34px 38px 38px;
    text-align: left;
}

.guide-flow.card:hover {
    transform: none;
}

.guide-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-timeline-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 18px 22px;
    padding-bottom: 28px;
    position: relative;
}

.guide-timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(108, 92, 231, 0.38), rgba(108, 92, 231, 0.08));
    border-radius: 999px;
}

.guide-timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: rgba(210, 220, 255, 0.98);
    background: rgba(108, 92, 231, 0.18);
    border: 1px solid rgba(108, 92, 231, 0.32);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.guide-timeline-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.35;
}

.guide-timeline-body p {
    font-size: 15px;
    color: var(--foreground-muted);
    line-height: 1.7;
    margin: 0;
}

.guide-supplement {
    padding-top: 8px;
    border-top: 1px solid var(--border-default);
}

.guide-supplement-label {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(237, 237, 239, 0.42);
}

.guide-supplement-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 26px;
}

.guide-supplement-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px 18px;
    align-items: start;
}

.guide-supplement-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
    margin-top: 2px;
}

.guide-supplement-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.guide-supplement-body p {
    margin: 0;
    font-size: 15px;
    color: var(--foreground-muted);
    line-height: 1.7;
}

.guide-supplement-body ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: rgba(237, 237, 239, 0.78);
    font-size: 15px;
    line-height: 1.65;
}

/* ===== 代码块 ===== */
code,
kbd {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(210, 220, 255, 0.95);
}

.code-block {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border-default);
    overflow-x: auto;
}

.code-block code {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre;
    display: block;
}

/* ===== FAQ ===== */
.faq-container {
    margin: 0 auto;
    padding: 34px 38px 38px;
    overflow: hidden;
    text-align: left;
}

.faq-container.card:hover {
    transform: none;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    counter-reset: faq-counter;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--border-default);
    margin-top: 22px;
    padding-top: 22px;
}

.faq-body h3::before {
    counter-increment: faq-counter;
    content: counter(faq-counter) ". ";
    color: var(--accent);
}

.faq-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.faq-body {
    min-width: 0;
}

.faq-body p {
    margin: 0;
    color: var(--foreground-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-body .code-block {
    margin-top: 14px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    /* 窄屏藏公众号/主题，浮层仍有入口 */
    .nav-action-aux {
        display: none;
    }

    /* 页级覆写 chrome：抽屉链接加重 */
    .mobile-nav-links a {
        font-weight: 600;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 76px;
        padding-bottom: 48px;
    }

    .hero-container--stacked {
        gap: 32px;
    }

    .hero-orb--1 {
        width: 360px;
        height: 260px;
        left: calc(50% - 180px);
    }

    .hero-orb--2,
    .hero-orb--3 {
        width: 220px;
        height: 220px;
        opacity: 0.75;
    }

    .hero-title {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: #f2f5ff;
        -webkit-text-fill-color: #f2f5ff;
    }

    .hero-title .text-primary {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: #c9befc;
        -webkit-text-fill-color: #c9befc;
        animation: none;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-meta {
        gap: 8px 16px;
        margin-bottom: 22px;
        font-size: 12px;
    }

    .hero-meta li:not(:last-child)::after {
        margin-left: 16px;
    }

    .brand-tag--hero {
        margin-bottom: 18px;
    }

    .intro-panel {
        padding: 22px 18px;
    }

    .guide-flow {
        padding: 22px 18px 24px;
    }

    .faq-container {
        padding: 18px 16px 20px;
        overflow: visible;
    }

    .faq-item + .faq-item {
        margin-top: 18px;
        padding-top: 18px;
    }

    .faq-body h3 {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .faq-body p {
        font-size: 14px;
        line-height: 1.65;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .faq-body kbd {
        font-size: 0.82em;
        padding: 1px 5px;
        vertical-align: baseline;
    }

    .faq-body p code {
        font-size: 0.88em;
        padding: 1px 5px;
        word-break: break-all;
    }

    .faq-body .code-block {
        margin-top: 12px;
        padding: 12px 14px;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .faq-body .code-block code {
        font-size: 11px;
        line-height: 1.55;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .guide-timeline-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 14px 16px;
    }

    .guide-timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .guide-timeline-item:not(:last-child)::after {
        left: 17px;
        top: 40px;
    }

    .feature-card--wide {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title .text-primary,
    body.is-ready .hero-title,
    body.is-ready .hero-subtitle,
    body.is-ready .hero-meta,
    body.is-ready .hero-cta-row,
    body.is-ready .hero-showcase,
    body.is-ready .brand-tag--hero {
        animation: none;
    }

    .hero::before {
        animation: none;
    }

    .hero-orb {
        animation: none;
    }

    .scroll-down-hint {
        animation: none;
    }

    .hero-carousel-slide {
        transition: none;
    }
}

/* ===== 亮色主题页级覆写（基样式在同一文件内，保持级联顺序） ===== */
[data-theme="light"] .bg-noise {
    opacity: 0.025;
}

[data-theme="light"] .bg-grid {
    opacity: 0.045;
    background-image:
        linear-gradient(to right, rgba(108, 92, 231, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(108, 92, 231, 0.12) 1px, transparent 1px);
}

[data-theme="light"] .blob-1 {
    background: radial-gradient(circle at 30% 30%, rgba(108, 92, 231, 0.10), rgba(108, 92, 231, 0.03) 55%, transparent 70%);
}

[data-theme="light"] .blob-2 {
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.06), rgba(236, 72, 153, 0.02) 55%, transparent 72%);
}

[data-theme="light"] .blob-3 {
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.02) 55%, transparent 74%);
}

[data-theme="light"] .blob-4 {
    background: radial-gradient(circle at 40% 40%, rgba(108, 92, 231, 0.06), rgba(108, 92, 231, 0.02) 55%, transparent 76%);
}

[data-theme="light"] .section + .section::after {
    background: linear-gradient(
        to right,
        rgba(108, 92, 231, 0) 0%,
        rgba(108, 92, 231, 0) 8%,
        rgba(108, 92, 231, 0.14) 42%,
        rgba(108, 92, 231, 0.14) 58%,
        rgba(108, 92, 231, 0) 92%,
        rgba(108, 92, 231, 0) 100%
    );
    opacity: 0.75;
}

[data-theme="light"] .section-badge {
    background: rgba(108, 92, 231, 0.08);
    color: rgba(90, 75, 216, 0.88);
}

[data-theme="light"] .section-title {
    background: linear-gradient(to bottom, #1A1D26, #2C3140 45%, #4A5164);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .section-subtitle {
    color: rgba(26, 29, 38, 0.62);
}

[data-theme="light"] .hero {
    background: #ffffff;
}

[data-theme="light"] .hero-bg-stripes {
    background-color: #ffffff;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        #f3f4f6 2px,
        #f3f4f6 4px
    );
}

[data-theme="light"] .hero-bg-mesh {
    display: none;
}

[data-theme="light"] .hero-bg-grid {
    opacity: 0.035;
    background-image:
        linear-gradient(to right, rgba(26, 29, 38, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 29, 38, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero-orb {
    display: none;
}

[data-theme="light"] .hero-bg-beam {
    display: none;
}

[data-theme="light"] .hero-bg-fade {
    height: 96px;
    background: linear-gradient(to bottom, transparent, #ffffff 55%, var(--background-base));
}

[data-theme="light"] .hero::before {
    display: none;
}

[data-theme="light"] .brand-tag--hero {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.16);
    color: rgba(26, 29, 38, 0.82);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .brand-tag--hero .brand-tag-icon {
    opacity: 0.92;
}

[data-theme="light"] .hero-title {
    background: linear-gradient(to bottom, #12141A, #1A1D26 42%, #3A4050);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

[data-theme="light"] .hero-title .text-primary {
    background: linear-gradient(
        90deg,
        rgba(90, 75, 216, 1),
        rgba(108, 92, 231, 1),
        rgba(125, 110, 240, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

[data-theme="light"] .hero-subtitle {
    color: rgba(26, 29, 38, 0.68);
}

[data-theme="light"] .hero-meta {
    color: rgba(26, 29, 38, 0.48);
}

[data-theme="light"] .hero-meta strong {
    color: rgba(26, 29, 38, 0.72);
}

[data-theme="light"] .hero-meta li:not(:last-child)::after {
    background: rgba(26, 29, 38, 0.12);
}

[data-theme="light"] .hero-note {
    color: rgba(26, 29, 38, 0.48);
}

[data-theme="light"] .hero-showcase-frame {
    border: none;
    background: transparent;
    filter:
        drop-shadow(0 10px 28px rgba(26, 29, 38, 0.06))
        drop-shadow(0 4px 12px rgba(26, 29, 38, 0.04));
}

[data-theme="light"] .hero-showcase-frame::before {
    display: none;
}

[data-theme="light"] .hero-carousel-dot {
    background: rgba(26, 29, 38, 0.16);
}

[data-theme="light"] .hero-carousel-dot:hover:not(.is-active) {
    background: rgba(26, 29, 38, 0.28);
}

[data-theme="light"] .hero-carousel-dot.is-active {
    background: var(--accent);
}

[data-theme="light"] .scroll-down-hint {
    border-color: rgba(26, 29, 38, 0.08);
    color: rgba(26, 29, 38, 0.72);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.95), 0 8px 24px rgba(26, 29, 38, 0.08);
}

[data-theme="light"] .scroll-down-hint:hover {
    color: var(--accent);
    border-color: rgba(108, 92, 231, 0.24);
    background: #FFFFFF;
}

[data-theme="light"] .intro-lead {
    color: rgba(26, 29, 38, 0.78);
}

[data-theme="light"] .coverage-list li {
    color: rgba(26, 29, 38, 0.72);
}

[data-theme="light"] .feature-icon {
    background: rgba(108, 92, 231, 0.05);
    border-color: rgba(108, 92, 231, 0.08);
    box-shadow: none;
}

[data-theme="light"] .feature-tags span {
    color: rgba(90, 75, 216, 0.88);
    background: rgba(108, 92, 231, 0.05);
    border-color: rgba(108, 92, 231, 0.10);
}

[data-theme="light"] .guide-timeline-marker {
    color: rgba(90, 75, 216, 0.98);
    background: rgba(108, 92, 231, 0.10);
    border-color: rgba(108, 92, 231, 0.20);
}

[data-theme="light"] .guide-timeline-item:not(:last-child)::after {
    background: linear-gradient(to bottom, rgba(108, 92, 231, 0.28), rgba(108, 92, 231, 0.06));
}

[data-theme="light"] .guide-supplement-label {
    color: rgba(26, 29, 38, 0.42);
}

[data-theme="light"] .guide-supplement-body ol {
    color: rgba(26, 29, 38, 0.72);
}

[data-theme="light"] code,
[data-theme="light"] kbd {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.14);
    color: rgba(90, 75, 216, 0.95);
}

[data-theme="light"] .code-block {
    background: rgba(108, 92, 231, 0.05);
    border-color: rgba(108, 92, 231, 0.12);
}

[data-theme="light"] .code-block code {
    color: #2C3140;
    background: transparent;
    border: none;
    padding: 0;
}

@media (max-width: 768px) {
    [data-theme="light"] .hero-title {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: #1A1D26;
        -webkit-text-fill-color: #1A1D26;
    }

    [data-theme="light"] .hero-title .text-primary {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: var(--accent);
        -webkit-text-fill-color: var(--accent);
    }
}
