@font-face {
    font-family: 'VocaXLogoFont';
    src: url('font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    color-scheme: dark light;
    --bg-color: #08090a;
    --page-bg: radial-gradient(ellipse 80% 42% at 50% -18%, rgba(143, 150, 255, 0.11), transparent 62%),
        linear-gradient(180deg, #0b0c10 0%, #08090a 48%, #070809 100%);
    --fixed-bg: #08090a;
    --nav-bg: rgba(9, 10, 14, 0.78);
    --nav-border: rgba(154, 162, 255, 0.13);
    --surface-1: #101116;
    --surface-2: #151722;
    --surface-3: rgba(151, 158, 255, 0.045);
    --surface-hover: rgba(151, 158, 255, 0.07);
    --card-bg: rgba(151, 158, 255, 0.042);
    --card-border: rgba(166, 173, 255, 0.13);
    --card-border-strong: rgba(183, 189, 255, 0.22);
    --hairline: rgba(166, 173, 255, 0.12);
    --brand-wash: rgba(143, 150, 255, 0.1);
    --brand-wash-soft: rgba(143, 150, 255, 0.045);
    --primary-glow: #9aa2ff;
    --electric-blue: #d7dce8;
    --text-primary: #ffffff;
    --text-secondary: #9ba1ad;
    --text-tertiary: #7c8392;
    --text-on-panel: rgba(255, 255, 255, 0.84);
    --text-on-panel-strong: rgba(255, 255, 255, 0.92);
    --subtle-fill: rgba(255, 255, 255, 0.04);
    --subtle-fill-strong: rgba(255, 255, 255, 0.065);
    --spotlight-fill: rgba(166, 173, 255, 0.055);
    --spotlight-border: rgba(183, 189, 255, 0.2);
    --button-bg: #f7f8ff;
    --button-text: #08090a;
    --panel-bg: rgba(18, 19, 25, 0.72);
    --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.24);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-logo: 'VocaXLogoFont', sans-serif;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #ffffff;
        --page-bg: #ffffff;
        --fixed-bg: #ffffff;
        --nav-bg: rgba(255, 255, 255, 0.86);
        --nav-border: rgba(77, 89, 190, 0.12);
        --surface-1: #ffffff;
        --surface-2: #fafafa;
        --surface-3: rgba(77, 89, 190, 0.026);
        --surface-hover: rgba(77, 89, 190, 0.052);
        --card-bg: #ffffff;
        --card-border: rgba(77, 89, 190, 0.12);
        --card-border-strong: rgba(77, 89, 190, 0.22);
        --hairline: rgba(77, 89, 190, 0.12);
        --brand-wash: rgba(77, 89, 190, 0.06);
        --brand-wash-soft: rgba(77, 89, 190, 0.026);
        --primary-glow: #5863d6;
        --electric-blue: #454b62;
        --text-primary: #11131a;
        --text-secondary: #5f6676;
        --text-tertiary: #8a90a1;
        --text-on-panel: rgba(17, 19, 26, 0.72);
        --text-on-panel-strong: rgba(17, 19, 26, 0.86);
        --subtle-fill: rgba(77, 89, 190, 0.03);
        --subtle-fill-strong: rgba(77, 89, 190, 0.058);
        --spotlight-fill: rgba(77, 89, 190, 0.045);
        --spotlight-border: rgba(77, 89, 190, 0.16);
        --button-bg: #11131a;
        --button-text: #ffffff;
        --panel-bg: rgba(255, 255, 255, 0.9);
        --shadow-soft: 0 24px 56px rgba(38, 45, 96, 0.1);
    }

    .hero-title,
    .word,
    .philosophy-content h2 {
        color: var(--text-primary);
    }

    .logo {
        color: #1d1f24;
    }

    .background-texture canvas {
        opacity: 0.035;
    }

    .overlay-noise {
        opacity: 0.012;
    }

    .spotlight-beam {
        background: radial-gradient(circle at 50% -22%,
                rgba(88, 99, 214, 0.18) 0%,
                rgba(88, 99, 214, 0.095) 28%,
                rgba(88, 99, 214, 0.035) 52%,
                rgba(255, 255, 255, 0) 76%);
        filter: blur(58px);
        mix-blend-mode: normal;
        opacity: 1;
    }

    .iphone-mockup,
    .screen-content {
        background: #11131a;
    }

    .iphone-mockup {
        box-shadow:
            inset 0 0 0 4px #cfd3de,
            inset 0 0 0 8px #11131a,
            0 0 0 6px #d9dce6,
            var(--shadow-soft);
    }

    .liquid-card {
        box-shadow: 0 18px 46px rgba(53, 60, 110, 0.16);
    }

    .investment,
    .philosophy {
        background: #ffffff;
    }

    .membership-feature-list li {
        color: #1d1f24;
    }

    .membership-feature-list li::before {
        color: #5863d6;
    }

    .lang-option.selected,
    .lang-option:hover {
        color: var(--text-primary);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 2px solid var(--primary-glow);
    outline-offset: 4px;
}

body {
    background: var(--page-bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-switch {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: default;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-opt {
    cursor: pointer;
    transition: color 0.3s ease;
}

.lang-opt:hover {
    color: var(--text-primary);
}

.lang-opt.active {
    color: var(--text-primary);
    font-weight: 700;
}

.divider {
    opacity: 0.3;
}

/* --- Advanced Background --- */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--fixed-bg);
    /* Fallback */
}

/* The Canvas will inject here. We just need to make sure it's positioned right */
.background-texture canvas {
    display: block;
    opacity: 0.08;
    /* Subtle blend */
}

.ambient-light {
    display: none;
    /* Replaced by Canvas */
}

.overlay-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('assets/noise.png');
    /* If available, else optional */
    opacity: 0.018;
    pointer-events: none;
    z-index: 0;
}

/* --- Navigation --- */
nav {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) minmax(0, 1240px) minmax(40px, 1fr);
    align-items: center;
    padding: 18px 0;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--nav-border);
    background: var(--nav-bg);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

nav .logo,
nav .nav-links,
nav .lang-switch {
    grid-row: 1;
}

nav .logo {
    grid-column: 2;
    justify-self: start;
}

nav .nav-links {
    grid-column: 2;
    justify-self: center;
}

nav .lang-switch {
    grid-column: 2;
    justify-self: end;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.2rem;
    color: #f4efe7;
    background: none;
    -webkit-text-fill-color: currentColor;
    letter-spacing: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.9rem;
    transition: color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.nav-cta {
    background: var(--surface-3);
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    border-radius: 99px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), filter 0.16s var(--ease-out);
}

.nav-cta:hover {
    background: var(--surface-hover);
    border-color: var(--card-border-strong);
    filter: brightness(1.08);
}

/* --- Hero Section --- */
.hero {
    width: min(100% - 80px, 1240px);
    min-height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 96px 0 70px;
    perspective: 2000px;
    /* Enhanced 3D */
    z-index: 1;
    /* Ensure hero is above background */
}

.hero-content {
    width: 100%;
}

.spotlight-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 120vh;
    background: radial-gradient(circle at 50% -18%,
            rgba(143, 150, 255, 0.12) 0%,
            rgba(124, 134, 255, 0.045) 34%,
            rgba(0, 0, 0, 0) 70%);
    filter: blur(70px);
    /* Extremely soft ambient glow */
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
    /* Light additive blending */
}

@media (prefers-color-scheme: light) {
    .logo {
        color: #1d1f24;
    }

    .spotlight-beam {
        background: radial-gradient(circle at 50% -22%,
                rgba(88, 99, 214, 0.2) 0%,
                rgba(88, 99, 214, 0.11) 30%,
                rgba(88, 99, 214, 0.04) 54%,
                rgba(255, 255, 255, 0) 78%);
        filter: blur(58px);
        mix-blend-mode: normal;
        opacity: 1;
    }
}

/* Add a second "Beam" layer for directional emphasis */
.spotlight-beam::after {
    content: none;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 100%;
    background: conic-gradient(from 180deg at 50% -100px,
            transparent 165deg,
            rgba(129, 140, 248, 0.25) 180deg,
            /* Light Indigo Beam */
            transparent 195deg);
    filter: blur(50px);
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    background: var(--brand-wash-soft);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: none;
    animation: none;
}

.hero-title {
    max-width: 13.5ch;
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    line-height: 1.04;
    font-weight: 760;
    letter-spacing: 0;
    margin-bottom: 24px;

    color: var(--text-primary);

    /* 确保 GSAP 动画流畅 */
    will-change: auto;
}

@keyframes shine {

    0%,
    100% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }
}

/* 由 JavaScript 在模糊动画完成后添加此 class */
.hero-title.animate-shine {
    animation: none;
}

.hero-actions-row {
    display: grid;
    grid-template-columns: minmax(0, 42ch) max-content;
    justify-content: space-between;
    gap: clamp(28px, 7vw, 96px);
    align-items: start;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.45vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 42ch;
    margin: 0;
    font-weight: 400;
    line-height: 1.7;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    background: var(--button-bg);
    color: var(--button-text);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 0 1px var(--card-border), var(--shadow-soft);
    transition: filter 0.16s var(--ease-out), transform 0.16s var(--ease-out);
    white-space: nowrap;
}

.app-store-button:hover {
    transform: scale(0.985);
    filter: brightness(0.94);
}

/* --- 3D iPhone - The Masterpiece --- */
.hero-visual {
    align-self: center;
    margin-top: 72px;
    position: relative;
    z-index: 10;
}

.iphone-mockup {
    width: 304px;
    height: 626px;
    background: #000;
    border-radius: 38px;
    box-shadow:
        inset 0 0 0 4px #444,
        inset 0 0 0 8px #000,
        0 0 0 6px #2a2a2a,
        0 36px 92px -32px rgba(0, 0, 0, 0.92);
    position: relative;
    overflow: hidden;
    transform: none;
    transform-style: preserve-3d;
    will-change: transform;
    /* GSAP 会控制过渡，移除 transition */
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #000;
    /* The Screen is deeply immersive */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* The Liquid Orb inside the phone */
.fluid-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 247, 255, 0.13), rgba(143, 150, 255, 0.1) 34%, transparent 68%);
    filter: blur(72px);
    opacity: 0.32;
    animation: none;
}

@keyframes orb-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.liquid-card {
    width: 85%;
    padding: 30px 24px;
    background: var(--panel-bg);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    /* Safari */
    border: 1px solid var(--card-border);
    border-top: 1px solid var(--card-border-strong);
    /* Top highlight */
    border-radius: 8px;
    z-index: 5;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.word {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: none;
    -webkit-background-clip: initial;
    color: var(--text-primary);
}

.phonetic {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    display: block;
    opacity: 0.8;
}

.definition {
    color: var(--text-on-panel-strong);
    font-weight: 500;
    line-height: 1.6;
    font-size: 0.94rem;
}

/* --- Worldview Longform Sections --- */
.section-kicker,
.card-kicker,
.state-index,
.world-card span,
.moat-grid span {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.section-heading {
    max-width: 794px;
    margin: 0 0 76px;
    text-align: left;
}

.section-heading h2,
.manifesto-grid h2,
.identity-panel h2 {
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: 0;
    margin-top: 16px;
}

.section-heading p {
    max-width: 42ch;
    margin-top: 28px;
    line-height: 1.72;
}

.section-heading p,
.manifesto-copy p,
.world-card p,
.state-system-card p,
.moat-grid p,
.identity-panel p {
    color: var(--text-secondary);
}

.manifesto-section,
.world-split-section,
.state-system-section,
.moat-section,
.identity-section {
    max-width: 1136px;
    margin: 0 auto;
    padding: 44px 40px;
    position: relative;
}

.manifesto-section {
    padding-top: 56px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    gap: clamp(64px, 12vw, 156px);
    align-items: start;
    margin-top: 26px;
}

.manifesto-copy {
    display: grid;
    gap: 32px;
    font-size: 1.02rem;
    line-height: 1.78;
    padding-top: 6px;
    max-width: 650px;
}

.manifesto-copy p:first-child {
    font-size: clamp(1.35rem, 2.4vw, 2.15rem);
    line-height: 1.28;
    color: var(--text-on-panel-strong);
}

.thesis-strip {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: transparent;
    padding: 22px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.thesis-strip::-webkit-scrollbar {
    display: none;
}

.thesis-track {
    display: flex;
    width: max-content;
    animation: thesis-marquee 42s linear infinite;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    white-space: nowrap;
    will-change: transform;
}

.thesis-group {
    display: flex;
    gap: 42px;
    padding-right: 42px;
}

.thesis-strip:hover .thesis-track,
.thesis-strip:active .thesis-track {
    animation-play-state: paused;
}

.thesis-group span::before {
    content: "/";
    color: var(--card-border-strong);
    margin-right: 34px;
}

@keyframes thesis-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .thesis-track {
        animation: none;
        will-change: auto;
    }
}

.world-split-grid,
.state-system-grid,
.moat-grid {
    display: grid;
}

.world-split-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 12px;
}

.world-card,
.state-system-card,
.moat-grid article {
    min-height: 312px;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
}

.world-card {
    min-height: 430px;
    padding: clamp(32px, 4vw, 48px);
    background: #f4f5f7;
    color: #0b0c0f;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), filter 0.16s var(--ease-out);
}

.world-card.new-world {
    background: linear-gradient(180deg, #e8f4ff, #dfeefe);
}

.world-card:hover {
    background: #f7f8fa;
    border-color: rgba(77, 89, 190, 0.2);
    filter: brightness(1.006);
}

.world-card.new-world:hover {
    background: linear-gradient(180deg, #ebf6ff, #e2f1ff);
    border-color: rgba(77, 89, 190, 0.22);
}

.world-card::after,
.state-system-card::after,
.moat-grid article::after,
.identity-panel::after {
    content: none;
    position: absolute;
    inset: auto -20% -45% auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(124, 134, 255, 0.12);
    filter: blur(70px);
    pointer-events: none;
}

.old-world::after {
    background: rgba(130, 136, 150, 0.08);
}

.new-world {
    border-color: var(--card-border-strong);
}

.world-card h3,
.state-system-card h3,
.moat-grid h3 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.12;
    margin: 16px 0 14px;
    letter-spacing: 0;
}

.world-card h3 {
    max-width: 14ch;
    color: #101114;
    font-size: clamp(1.85rem, 3.1vw, 3.1rem);
    line-height: 1.04;
}

.world-card p,
.state-system-card p,
.moat-grid p {
    font-size: 0.95rem;
    line-height: 1.68;
    position: relative;
    z-index: 1;
}

.world-card p,
.world-card ul,
.world-card li {
    color: rgba(16, 17, 20, 0.64);
}

.world-card span,
.world-card li::before {
    color: rgba(16, 17, 20, 0.46);
}

.world-card ul {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.world-card li::before {
    content: "—";
    color: rgba(16, 17, 20, 0.46);
    margin-right: 10px;
}

.state-system-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.state-system-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 0;
    border-right: 1px solid var(--hairline);
    border-radius: 0;
    background: transparent;
    padding: 34px 34px 28px;
}

.state-system-card:last-child {
    border-right: 0;
}

.feature-world {
    padding-top: 44px;
}

.card-kicker {
    display: block;
    margin-bottom: 14px;
}

.moat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--hairline);
    background: var(--hairline);
}

.moat-grid article {
    min-height: 250px;
    border: 0;
    border-radius: 0;
    background: var(--fixed-bg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.identity-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(56px, 9vw, 120px);
    align-items: start;
}

.identity-panel {
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.identity-panel p {
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 42px;
}

.identity-grid div {
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.026);
    color: var(--text-on-panel);
    font-size: clamp(1.1rem, 1.7vw, 1.36rem);
    line-height: 1.24;
    font-weight: 650;
}

.atlas-section {
    max-width: 1136px;
    margin: 0 auto;
    padding: 44px 40px;
}

.atlas-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    margin-top: 42px;
    border-top: 1px solid var(--hairline);
    border-left: 1px solid var(--hairline);
}

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

.atlas-card,
.atlas-band,
.atlas-split article {
    border: 0;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: transparent;
    border-radius: 0;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.atlas-large {
    grid-row: span 2;
    min-height: 470px;
}

.atlas-sensory {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(205, 229, 255, 0.16), rgba(151, 158, 255, 0.075)),
        var(--brand-wash-soft);
}

.atlas-sensory h3 {
    max-width: 12ch;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    line-height: 1.02;
}

.atlas-sensory p {
    max-width: 48ch;
}

.atlas-card span,
.atlas-band span,
.atlas-split span {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.atlas-card h3,
.atlas-band h3,
.atlas-split h3 {
    font-size: clamp(1.2rem, 2.1vw, 1.72rem);
    line-height: 1.12;
    margin: 14px 0;
    letter-spacing: 0;
}

.atlas-card p,
.atlas-band p,
.atlas-split p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.68;
}

.atlas-band {
    margin: 0;
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 24px;
    align-items: start;
    border-left: 1px solid var(--hairline);
    background: var(--brand-wash-soft);
}

.atlas-band strong {
    color: var(--text-on-panel-strong);
    font-weight: 700;
}

.atlas-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
    border-left: 1px solid var(--hairline);
}

.persona-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 0;
    border-left: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.persona-row div {
    border: 0;
    border-right: 1px solid var(--hairline);
    background: transparent;
    border-radius: 0;
    padding: 22px 18px;
    color: var(--text-on-panel);
    font-weight: 650;
    text-align: left;
}

/* --- Features Bento Grid - Spotlight Edition --- */
.features {
    padding: 44px 40px;
    max-width: 1136px;
    margin: 0 auto;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 520px 300px;
    gap: 12px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    /* Important for spotlight */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), filter 0.16s var(--ease-out);

    /* Spotlight Setup */
    --mouse-x: -100px;
    --mouse-y: -100px;
}

.bento-card:nth-child(1) {
    background: linear-gradient(180deg, #e47558 0%, #dc7456 100%);
    color: #14110f;
    border-color: rgba(255, 255, 255, 0.18);
}

.bento-card:nth-child(2) {
    background: linear-gradient(180deg, #cfe8ff 0%, #d8c1ff 100%);
    color: #13141a;
    border-color: rgba(255, 255, 255, 0.28);
}

.bento-card:nth-child(3) {
    background: #f7f7f4;
    color: #17181c;
    border-color: rgba(255, 255, 255, 0.28);
}

.bento-card:nth-child(-n + 3) {
    padding: 38px;
    justify-content: flex-end;
}

.bento-card:nth-child(-n + 3) .card-kicker,
.bento-card:nth-child(-n + 3) .card-content h3,
.bento-card:nth-child(-n + 3) .card-content p {
    color: #161616;
}

.bento-card:nth-child(-n + 3) .card-content {
    margin-top: auto;
}

.bento-card:nth-child(-n + 3) .card-visual {
    position: absolute;
    inset: 38px 38px auto 38px;
    height: 210px;
    pointer-events: none;
}

.bento-card:nth-child(2) .card-visual {
    top: 118px;
    height: 90px;
}

.bento-card:nth-child(3) .card-visual {
    top: 120px;
    height: 160px;
}

.bento-card:nth-child(2) .card-kicker,
.bento-card:nth-child(3) .card-kicker,
.bento-card:nth-child(2) .card-content p,
.bento-card:nth-child(3) .card-content p {
    color: rgba(19, 20, 26, 0.66);
}

.bento-card:nth-child(1) .card-content p,
.bento-card:nth-child(1) .card-kicker {
    color: rgba(20, 17, 15, 0.64);
}

.bento-card:nth-child(4),
.bento-card:nth-child(5) {
    background: transparent;
    border-color: var(--hairline);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 30px;
}

.bento-card:nth-child(4):hover,
.bento-card:nth-child(5):hover {
    background: var(--surface-3);
    border-color: var(--card-border-strong);
    filter: brightness(1.006);
}

/* The Spotlight Glow Layer */
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(520px circle at var(--mouse-x) var(--mouse-y),
            var(--spotlight-fill),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s var(--ease-out);
}

/* Border Glow Triggered by JS Mouse Position - Refined Mask */
.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 1px;
    /* Slightly thicker for visibility */
    background: radial-gradient(420px circle at var(--mouse-x) var(--mouse-y),
            var(--spotlight-border),
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Soften the border intensity */
    transition: opacity 0.16s var(--ease-out);
}

.bento-card:hover {
    background: var(--surface-hover);
    border-color: var(--card-border-strong);
    filter: brightness(1.006);
}

.bento-card:nth-child(1):hover {
    background: linear-gradient(180deg, #e87a5d 0%, #df7859 100%);
    border-color: rgba(255, 255, 255, 0.24);
    filter: brightness(1.015);
}

.bento-card:nth-child(2):hover {
    background: linear-gradient(180deg, #d4ebff 0%, #dbc6ff 100%);
    border-color: rgba(255, 255, 255, 0.34);
    filter: brightness(1.012);
}

.bento-card:nth-child(3):hover {
    background: #fafaf7;
    border-color: rgba(255, 255, 255, 0.34);
    filter: brightness(1.01);
}

.bento-card:hover::before {
    opacity: 0.34;
}

.bento-card:hover::after {
    opacity: 0.58;
}

/* Layout helpers */
.card-large {
    grid-column: span 2;
}

.card-wide {
    grid-column: span 1;
}

.card-content {
    position: relative;
    z-index: 5;
}

.card-content h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.bento-card:nth-child(-n + 3) .card-content h3 {
    font-size: clamp(1.26rem, 2vw, 1.55rem);
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    max-width: 410px;
    line-height: 1.62;
}

/* Visuals inside cards */
.card-visual {
    z-index: 3;
}

/* Enhanced Wave Animation */
.visual-audio {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.72));
    border-radius: 4px;
    box-shadow: none;
}

/* Code Snippet */
.visual-code {
    background: var(--subtle-fill);
    width: 100%;
    align-self: center;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    font-family: 'Menlo', monospace;
    font-size: 0.78rem;
    line-height: 1.48;
}

.visual-code pre {
    margin: 0;
    white-space: pre-wrap;
}

.visual-code code {
    color: #c4c8d0;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--card-border);
    padding: 48px 40px;
    background: var(--fixed-bg);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* --- Science Section (Deep Dive) --- */
.science {
    padding: 44px 40px;
    background: linear-gradient(180deg, transparent, var(--brand-wash-soft));
    position: relative;
}

.science-container {
    max-width: 1136px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.science-content h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.science-visual {
    position: relative;
    height: 500px;
    background: radial-gradient(circle, var(--brand-wash-soft), transparent 70%);
    border-radius: 18px;
    border: 1px solid var(--card-border);
    overflow: hidden;
}

/* Abstract Graph Animation */
.graph-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.54);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: none;
    stroke-dashoffset: 0;
}

@keyframes drawGraph {
    to {
        stroke-dashoffset: 0;
    }
}

.factor-list {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.factor-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.factor-icon {
    width: 24px;
    height: 24px;
    background: var(--text-tertiary);
    border-radius: 50%;
    box-shadow: none;
}

/* --- Ecosystem Section --- */
.ecosystem {
    padding: 44px 40px;
    text-align: center;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1136px;
    margin: 48px auto 0;
}

.eco-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 8px;
    text-align: left;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

.eco-card:hover {
    background: var(--surface-hover);
    border-color: var(--card-border-strong);
}

.eco-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--electric-blue);
}

/* --- Investment (Pricing) --- */
.investment {
    padding: 44px 40px;
    background: transparent;
}

.investment .philosophy-content {
    max-width: 1136px;
    min-height: 360px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 54px);
    border-radius: 8px;
    background: linear-gradient(180deg, #f7f8fb, #eef4ff);
    color: #101114;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.investment .philosophy-content h2 {
    max-width: 16ch;
    color: #101114;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.04;
}

.investment .philosophy-content p {
    max-width: 46ch;
    color: rgba(16, 17, 20, 0.62);
    font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.membership-zone {
    max-width: 1136px;
    margin: clamp(42px, 6vw, 72px) auto 0;
    padding-top: clamp(34px, 5vw, 56px);
    border-top: 1px solid var(--hairline);
}

.price-card {
    background: transparent;
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: var(--card-border-strong);
    box-shadow: var(--shadow-soft);
}

.price-tier {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.iphone-mockup .word {
    font-family: var(--font-logo);
    /* Decorative font as requested */
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.price-amount {
    font-size: 2.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price-period {
    font-size: 0.9rem;
    color: #666;
}

.feature-list {
    margin: 28px 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: "✓";
    color: var(--text-tertiary);
}

.membership-feature-list li {
    align-items: flex-start;
    color: #f4efe7;
    font-weight: 520;
    line-height: 1.45;
}

.membership-feature-list li::before {
    color: #9aa2ff;
}

@media (prefers-color-scheme: light) {
    .membership-feature-list li {
        color: #1d1f24;
    }

    .membership-feature-list li::before {
        color: #5863d6;
    }
}

/* --- Roadmap --- */
.roadmap {
    padding: 44px 40px;
    border-bottom: 1px solid var(--hairline);
}

.timeline {
    max-width: 800px;
    margin: 64px auto 0;
    position: relative;
    padding-left: 40px;
    border-left: 1px solid var(--hairline);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -45px;
    top: 0;
    width: 9px;
    height: 9px;
    background: var(--text-tertiary);
    border-radius: 50%;
    box-shadow: none;
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

/* Responsive Updates */
@media (max-width: 960px) {
    nav {
        grid-template-columns: 22px minmax(0, 1fr) 22px;
    }

    .hero {
        width: min(100% - 44px, 1136px);
        padding: 96px 0 72px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .manifesto-grid,
    .world-split-grid,
    .philosophy-content,
    .state-system-grid,
    .moat-grid,
    .identity-section,
    .identity-grid,
    .atlas-grid,
    .atlas-quad,
    .atlas-band,
    .atlas-split,
    .persona-row {
        grid-template-columns: 1fr;
    }

    .manifesto-section,
    .world-split-section,
    .state-system-section,
    .moat-section,
    .identity-section,
    .atlas-section,
    .features,
    .science,
    .ecosystem,
    .investment,
    .roadmap {
        padding-top: 38px;
        padding-bottom: 38px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .world-card,
    .state-system-card,
    .moat-grid article {
        min-height: auto;
    }

    .manifesto-grid,
    .world-split-grid,
    .identity-section,
    .philosophy-content {
        gap: 34px;
    }

    .state-system-grid,
    .moat-grid,
    .atlas-grid,
    .atlas-split,
    .persona-row {
        border-left: 0;
    }

    .state-system-card,
    .moat-grid article,
    .atlas-card,
    .atlas-band,
    .atlas-split article,
    .persona-row div {
        border-right: 0;
        border-bottom: 1px solid var(--hairline);
    }

    .world-card {
        min-height: 340px;
    }

    .identity-grid div {
        min-height: 118px;
    }

    .bento-card:nth-child(-n + 3) {
        min-height: 420px;
    }

    .investment .philosophy-content {
        min-height: 300px;
    }

    .card-large,
    .card-wide {
        grid-column: span 1;
    }

    .hero-title {
        font-size: clamp(2.12rem, 9.6vw, 2.75rem);
    }

    .hero-actions-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-store-button {
        width: fit-content;
    }

    .spotlight-beam {
        display: none;
    }

    .science-container,
    .ecosystem-grid,
    .pricing-grid,
    .philosophy-content {
        grid-template-columns: 1fr;
    }
}

/* --- Methodology (Tri-State) --- */
.methodology {
    padding: 44px 40px;
    background: radial-gradient(circle at center, var(--brand-wash-soft), transparent 60%);
    text-align: center;
}

.tri-state-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.state-card {
    background: var(--brand-wash-soft);
    border: 1px solid var(--card-border);
    padding: 32px;
    border-radius: 8px;
    width: 300px;
    position: relative;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
    /* 确保默认可见 */
    opacity: 1;
    transform: scale(1);
}

.state-card:hover {
    background: var(--surface-hover);
    border-color: var(--card-border-strong);
}

.factor-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.16s var(--ease-out);
}

.factor-item.active {
    opacity: 1;
}

.factor-item.active .factor-icon {
    background: var(--primary-glow) !important;
    box-shadow: none;
    border-color: var(--primary-glow) !important;
}

.factor-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-top: 4px;
    border: 1px solid var(--card-border);
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

/* --- Design Stratum (Visual Architecture) --- */
.design-stratum {
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.stratum-visual {
    position: relative;
    width: 400px;
    height: 500px;
    perspective: 1000px;
}

.layer {
    position: absolute;
    width: 100%;
    height: 280px;
    top: 100px;
    /* Center it */
    /* Overlapping cards */
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

.layer.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    z-index: 100 !important;
    top: 60px !important;
    /* Force center alignment */
    pointer-events: auto;
    border-color: var(--card-border-strong);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    /* Make it opaque to hide layers behind */
}

/* --- Visual: Celebration --- */
.visual-celebration {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.celebration-star {
    font-size: 3rem;
    color: var(--primary-glow);
    text-shadow: none;
    animation: none;
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* --- Visual: Focus --- */
.visual-focus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.focus-text {
    font-family: var(--font-logo);
    /* Use stylish logo font */
    font-size: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    filter: blur(0px);
    animation: none;
}

@keyframes focus-in {
    0% {
        filter: blur(10px);
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Visual: Speed --- */
.visual-speed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 16px;
}

.speed-bar {
    width: 120px;
    height: 4px;
    background: var(--brand-wash-soft);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.speed-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--primary-glow);
    transform: translateX(-100%);
    animation: none;
    transform: translateX(-28%);
}

.speed-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

@keyframes dash {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(0%);
    }
}

.layer:nth-child(1) {
    top: 0;
    transform: translateY(0);
    opacity: 0.5;
    z-index: 1;
}

/* Mechanical */
.layer:nth-child(2) {
    top: 60px;
    transform: translateY(12px);
    opacity: 0.8;
    z-index: 2;
}

/* Instrument */
.layer:nth-child(3) {
    top: 120px;
    transform: translateY(24px);
    z-index: 3;
    border-color: var(--card-border-strong);
}

/* Ritual */

.stratum-visual:hover .layer:nth-child(1) {
    transform: translateY(-8px);
}

.stratum-visual:hover .layer:nth-child(2) {
    transform: translateY(4px);
}

.stratum-visual:hover .layer:nth-child(3) {
    transform: translateY(20px);
}


/* --- Persona (Witty Researcher) --- */
.persona {
    padding: 44px 40px;
    text-align: center;
    background: linear-gradient(0deg, transparent, var(--brand-wash-soft));
}

.chat-bubble {
    background: var(--card-bg);
    /* Distinct from cards */
    display: inline-block;
    padding: 24px 40px;
    border-radius: 8px;
    border-bottom-left-radius: 4px;
    /* Callout shape */
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    position: relative;
    margin-top: 40px;
}

.chat-bubble::before {
    content: "VocaX System";
    position: absolute;
    top: -24px;
    left: 0;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
}

/* --- Philosophy Section --- */
.philosophy {
    padding: 44px 40px;
    background: var(--fixed-bg);
    text-align: left;
    border-top: 1px solid var(--card-border);
}

.philosophy-content {
    max-width: 1136px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(56px, 10vw, 150px);
    align-items: start;
}

.philosophy-content h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin-bottom: 24px;
    max-width: 12ch;
    background: none;
    color: var(--primary-glow);
    -webkit-text-fill-color: currentColor;
}

.philosophy-content p {
    font-size: clamp(1.35rem, 2.35vw, 2.1rem);
    line-height: 1.32;
    color: var(--text-secondary);
    margin-bottom: 42px;
}

.signature {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive */
@media (max-width: 960px) {
    .design-stratum {
        flex-direction: column;
    }

    .stratum-visual {
        width: 100%;
        height: 400px;
    }

    .tri-state-container {
        flex-direction: column;
        align-items: center;
    }
}

.apple-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* --- Apple-Style Language Selector --- */
.language-selector {
    position: relative;
    z-index: 1000;
}

.lang-btn {
    background: var(--surface-3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px 12px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    background: var(--surface-hover);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: color-mix(in srgb, var(--surface-1) 94%, transparent);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px;
    min-width: 160px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.12s var(--ease-out), transform 0.12s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-option {
    appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.12s var(--ease-out), color 0.12s var(--ease-out);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.lang-option.selected {
    color: var(--text-primary);
    background: var(--brand-wash);
}

.lang-option.selected::after {
    content: '✓';
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ========================================
   法律文档页面样式 (Privacy, Terms)
   ======================================== */

/* 页面主容器 */
.page-content {
    max-width: 1200px;
    /* 与主页保持一致 */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 80px 20px 40px;
    min-height: 100vh;
}

/* 玻璃态卡片 */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* 标题样式 */
.card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
    opacity: 0.9;
}

/* 段落和列表 */
.card p,
.card ul,
.card li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* 分隔线 */
.card .divider {
    height: 1px;
    background-color: var(--card-border);
    margin: 32px 0;
}

/* 链接 */
.card a {
    color: #d7dce8;
    text-decoration: none;
    transition: opacity 0.16s var(--ease-out);
}

.card a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Support 页面特定样式 */
.support-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    background: var(--subtle-fill);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

.email:hover {
    background: var(--subtle-fill-strong);
    border-color: var(--card-border-strong);
    box-shadow: none;
}

/* --- Blog --- */
.blog-container {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 96px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.blog-hero {
    max-width: 720px;
    padding: 88px 0 56px;
}

.blog-kicker,
.blog-card-meta {
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 24px;
}

.blog-hero p:not(.blog-kicker) {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 620px;
}

.blog-list {
    display: grid;
    gap: 18px;
}

.blog-section {
    margin-top: 72px;
}

.blog-section-header {
    max-width: 720px;
    margin-bottom: 24px;
}

.blog-section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.blog-section-header p:last-child {
    color: var(--text-secondary);
}

.blog-card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    padding: 28px;
}

.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.blog-card-link:hover {
    border-color: var(--card-border-strong);
    background: var(--surface-hover);
}

.blog-card h2 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-card p:last-child {
    color: var(--text-secondary);
    max-width: 640px;
}

.article-container {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 140px 0 96px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.article-back {
    display: inline-flex;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.article-back:hover {
    color: var(--text-primary);
}

.article-content {
    color: var(--text-primary);
}

.article-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
    margin: 12px 0 40px;
}

.article-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    line-height: 1.12;
    margin: 64px 0 20px;
}

.article-content h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 36px 0 14px;
}

.article-content p,
.article-content li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content p {
    margin: 18px 0;
}

.article-content ul,
.article-content ol {
    padding-left: 1.35rem;
    margin: 18px 0;
}

.article-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--card-border-strong);
    background: var(--brand-wash-soft);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin: 0;
}

.article-content hr {
    border: 0;
    border-top: 1px solid var(--hairline);
    margin: 44px 0;
}

.article-content pre {
    overflow-x: auto;
    padding: 20px;
    border-radius: 14px;
    background: var(--brand-wash-soft);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    line-height: 1.55;
}

.article-content code {
    font-family: var(--font-mono);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.article-content th,
.article-content td {
    border-bottom: 1px solid var(--hairline);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

.article-content th {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 700px) {
    .blog-container,
    .article-container {
        width: min(100% - 28px, 860px);
        padding-top: 96px;
    }

    .blog-hero {
        padding: 56px 0 28px;
    }

    .blog-card {
        padding: 22px;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
        line-height: 1.78;
    }
}

/* --- Curated Blog --- */
.curated-blog-container {
    width: min(1160px, calc(100% - 40px));
}

.ritual-screen {
    min-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 72px;
}

.ritual-screen h1 {
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0;
    max-width: 980px;
    margin: 0 0 24px;
}

.ritual-screen>p:not(.blog-kicker) {
    color: var(--text-secondary);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 680px;
    margin-bottom: 52px;
}

.curation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.curation-card {
    min-height: 260px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.curation-card:hover {
    border-color: var(--card-border-strong);
    background: var(--surface-hover);
}

.curation-card:nth-child(3) {
    grid-column: span 2;
    min-height: 220px;
}

.curation-card h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1;
    max-width: 620px;
    margin-bottom: 12px;
}

.curation-card-copy p:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.curation-card-footer {
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.curation-visual {
    position: absolute;
    inset: auto 24px 24px auto;
    width: 190px;
    height: 190px;
    opacity: 0.72;
    pointer-events: none;
}

.curation-visual span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.curation-orb .curation-visual span {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.96), transparent 12%),
        conic-gradient(from 140deg, rgba(124, 134, 255, 0.95), rgba(98, 212, 255, 0.36), rgba(255, 255, 255, 0.18), rgba(124, 134, 255, 0.95));
    filter: blur(10px);
}

.curation-instrument .curation-visual span {
    border-radius: 18px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 22px 22px;
    border: 1px solid var(--card-border);
}

.curation-gallery .curation-visual {
    width: 260px;
    height: 160px;
}

.curation-gallery .curation-visual span {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(124, 134, 255, 0.1)),
        radial-gradient(circle at 25% 35%, rgba(98, 212, 255, 0.22), transparent 32%),
        radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.16), transparent 35%);
    border: 1px solid var(--card-border);
}

.instrument-panel {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    margin-bottom: 28px;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
}

.instrument-copy h2 {
    font-size: 1.4rem;
    line-height: 1;
}

.instrument-copy .blog-kicker {
    margin-bottom: 8px;
}

.blog-segmented-control {
    display: inline-grid;
    grid-template-columns: repeat(4, auto);
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--subtle-fill);
    border: 1px solid var(--card-border);
}

.blog-segmented-control button {
    appearance: none;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-secondary);
    padding: 9px 13px;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.blog-segmented-control button.active {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 40px;
}

.archive-card {
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--card-bg);
    padding: 24px;
    min-height: 230px;
    display: grid;
    gap: 18px;
    transition: opacity 0.16s var(--ease-out), border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}

.archive-card:hover {
    border-color: var(--card-border-strong);
    background: var(--surface-hover);
}

.archive-card.is-hidden {
    display: none;
}

.card-featured {
    grid-column: span 2;
    min-height: 310px;
    grid-template-columns: minmax(180px, 0.46fr) 1fr;
    align-items: end;
}

.card-instrument {
    background: var(--brand-wash-soft);
}

.card-gallery {
    grid-template-columns: 116px 1fr;
    min-height: 180px;
}

.archive-card-visual {
    min-height: 112px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, var(--subtle-fill), var(--brand-wash));
    display: flex;
    align-items: end;
    padding: 14px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.card-featured .archive-card-visual {
    min-height: 240px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
        radial-gradient(circle at 78% 70%, rgba(124, 134, 255, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(98, 212, 255, 0.08));
}

.card-instrument .archive-card-visual {
    min-height: 72px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 18px 18px;
}

.card-gallery .archive-card-visual {
    min-height: 116px;
}

.archive-card h2 {
    font-size: clamp(1.25rem, 2.2vw, 2.15rem);
    line-height: 1.08;
    margin-bottom: 12px;
}

.archive-card p:last-child {
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 820px) {
    .ritual-screen {
        min-height: auto;
        padding-top: 56px;
    }

    .curation-grid,
    .archive-grid,
    .card-featured,
    .card-gallery {
        grid-template-columns: 1fr;
    }

    .curation-card:nth-child(3),
    .card-featured {
        grid-column: span 1;
    }

    .instrument-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-segmented-control {
        width: 100%;
        overflow-x: auto;
        grid-template-columns: repeat(4, minmax(max-content, 1fr));
    }
}

/* ============================================================
   ICP 备案条（只在中国站出现；由「生成中国站.command」注入 HTML）
   样式放在源头 style.css，脚本只负责插一段干净的 HTML
   ============================================================ */
.icp-strip {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 24px 32px;
    text-align: center;
    border-top: 1px solid var(--hairline, rgba(128, 128, 128, 0.18));
    color: var(--text-secondary, #9ba1ad);
    font-size: 13px;
    line-height: 1.8;
}

.icp-strip a {
    color: inherit;
    text-decoration: none;
}

.icp-strip a:hover {
    text-decoration: underline;
}

.icp-strip p {
    margin: 0;
}

.icp-strip .icp-sub {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.7;
    opacity: .75;
}
