/* SEO / A11y — 视觉上隐藏但保留给屏幕阅读器与搜索引擎 */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --orange-main: #e95d21;
    --orange-deep: #D4571A;
    --orange-light: #FF8F4C;
    --orange-glow: #FFAB73;
    --orange-pale: #FFF3EB;

    --green-main: #008C8C;
    --green-deep: #006F6F;
    --green-light: #20B2AA;
    --green-dark: #004D4D;
    --green-pale: #E0F2F2;

    --bg-warm-black: #1A1A18;
    --bg-charcoal: #2C2C28;
    --text-warm-grey: #8A8580;
    --text-sand: #C8BFB3;
    --bg-cream: #F7F4F0;
    --text-warm-white: #FFFCF8;

    --surface-dark: #1E1E1B;
    --surface-card: #252522;
    --border-dark: #3A3A35;

    --grad-main: linear-gradient(135deg, #e95d21, #D4571A, #008C8C);
    --grad-warm: linear-gradient(135deg, #e95d21, #FF8F4C);
    --grad-cool: linear-gradient(135deg, #008C8C, #20B2AA);
    --grad-cross: linear-gradient(90deg, #e95d21, #008C8C);
    --grad-orange-green: linear-gradient(to right, #e95d21, #008C8C);

    --font-en-display: 'Syne', sans-serif;
    --font-en-serif: 'DM Serif Display', serif;
    --font-cn-display: 'Noto Serif SC', serif;
    --font-cn-body: 'Noto Sans SC', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* z-index scale */
    --z-hero-content: 3;
    --z-back-to-top: 999;
    --z-navbar: 1000;
    --z-hamburger: 1001;
    --z-mobile-menu: 1000;
    --z-cursor: 9999;
    --z-scroll-progress: 10001;
    --z-wechat-modal: 10000;
    --z-cmd-palette: 20000;
    --z-ar-cursor: 100;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-warm-black);
    color: var(--text-warm-white);
    font-family: var(--font-cn-body);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-warm-black); }
::-webkit-scrollbar-thumb { background: var(--orange-main); border-radius: 2.5px; }

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

/* Cursor glow */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,93,33,0.08), transparent 70%);
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--grad-orange-green);
    z-index: var(--z-scroll-progress);
    width: 0%;
    transition: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(26, 26, 24, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: var(--z-navbar);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon svg { width: 36px; height: 36px; }

.logo-text {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.nav-links { display: flex; gap: 36px; align-items: center; }

.nav-social { display: flex; gap: 16px; align-items: center; margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--border-dark); }
.nav-social a { display: flex; align-items: center; }
.nav-social svg { width: 18px; height: 18px; fill: var(--text-warm-grey); transition: fill 0.3s; }
.nav-social a:hover svg { fill: var(--text-warm-white); }

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-warm-grey);
    transition: color 0.3s;
}

.nav-link:hover { color: var(--text-warm-white); }

/* ========== SCREEN 1: HERO ========== */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

/* Hero background video — breathing sway */
.hero-bg-video {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    z-index: 0;
    animation: heroBreathe 12s ease-in-out infinite;
    filter: brightness(0.45) saturate(0.8);
    transition: opacity 1.5s ease;
}

@keyframes heroBreathe {
    0%   { transform: scale(1.00) translate(0, 0); }
    20%  { transform: scale(1.03) translate(-0.5%, 0.3%); }
    45%  { transform: scale(1.01) translate(0.4%, -0.5%); }
    70%  { transform: scale(1.04) translate(-0.3%, 0.2%); }
    100% { transform: scale(1.00) translate(0, 0); }
}

/* Helmet visor vignette overlay */
.hero-visor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* 头盔上下边缘重暗角 */
        linear-gradient(to bottom,
            rgba(0,0,0,0.7) 0%,
            transparent 18%,
            transparent 82%,
            rgba(0,0,0,0.7) 100%
        ),
        /* 左右边缘弧形暗角 — 模拟头盔开口 */
        radial-gradient(
            ellipse 90% 75% at 50% 50%,
            transparent 55%,
            rgba(0,0,0,0.5) 75%,
            rgba(0,0,0,0.85) 100%
        );
}


/* Jarvis HUD Canvas — must be above video + overlay */
.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Ambient glow behind HUD */
.hero-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vmin;
    height: 70vmin;
    background: radial-gradient(circle, rgba(233,93,33,0.12), rgba(0,140,140,0.06) 50%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: glowPulse1 6s ease-in-out infinite;
}

@keyframes glowPulse1 {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.08); }
}

/* Dark overlay — vignette, lighter center to show HUD */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse 80% 70% at 50% 50%,
        transparent 0%,
        rgba(10, 10, 10, 0.15) 40%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-en-display);
    font-weight: 800;
    font-size: clamp(80px, 12vw, 180px);
    line-height: 0.88;
    letter-spacing: -0.05em;
    perspective: 600px;
}

.text-orange { color: var(--orange-main); }
.text-green { color: var(--green-main); }

.hero-subtitle {
    margin-top: 20px;
    font-family: var(--font-cn-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-sand);
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease-out 0.25s forwards;
    opacity: 0;
}

.hero-subtitle-en {
    margin-top: 40px;
    font-family: var(--font-en-display);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-warm-grey);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.15s forwards;
}

.hero-bar {
    width: 200px;
    height: 4px;
    background: linear-gradient(to right, var(--orange-main), var(--orange-deep), var(--green-light), var(--green-main));
    border-radius: 100px;
    margin-top: 56px;
    animation: fadeInUp 1s ease-out 0.35s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.45s forwards;
    opacity: 0;
}

.hero-action {
    min-width: 148px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 18px;
    color: var(--text-warm-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(12px);
}

.hero-action:hover {
    transform: translateY(-2px);
}

.hero-action-primary {
    background: rgba(233, 93, 33, 0.82);
    border: 1px solid rgba(255, 143, 76, 0.5);
    box-shadow: 0 12px 32px rgba(233, 93, 33, 0.22);
}

.hero-action-secondary {
    background: rgba(255, 252, 248, 0.08);
    border: 1px solid rgba(255, 252, 248, 0.18);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease-out 0.5s forwards, floatUp 3s ease-in-out 1.5s infinite;
    opacity: 0;
}

.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-warm-grey);
    text-transform: uppercase;
}

.scroll-arrow {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--text-warm-grey), transparent);
}

/* ========== SCREEN 2: ABOUT ========== */
.section-about {
    padding: 160px 48px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 56px;
}

.portrait-wrapper {
    margin-bottom: 48px;
}

/* Intro video in About */
.intro-video-wrapper {
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transition: all 0.4s;
}

.intro-video-wrapper:hover {
    border-color: var(--orange-main);
    box-shadow: 0 16px 60px rgba(233,93,33,0.15);
}

.intro-video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}

/* Stats bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 56px;
    padding: 32px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-warm-white);
    letter-spacing: -1px;
}

.stat-number .stat-accent {
    background: var(--grad-orange-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.portrait-ring {
    position: relative;
    display: inline-block;
    width: 146px;
    height: 146px;
    border-radius: 50%;
    padding: 3px;
    background: var(--grad-orange-green);
    box-shadow: 0 0 40px rgba(233,93,33,0.15), 0 0 80px rgba(0,140,140,0.1);
    transition: box-shadow 0.5s, transform 0.5s;
    overflow: hidden;
}

.portrait-ring::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(#e95d21, #008C8C, #e95d21);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    animation: ringRotate 3s linear infinite paused;
}

.portrait-ring:hover {
    box-shadow: 0 0 60px rgba(233,93,33,0.35), 0 0 120px rgba(0,140,140,0.2);
    transform: scale(1.05);
}

.portrait-ring:hover::before {
    opacity: 1;
    animation-play-state: running;
}

@keyframes ringRotate {
    100% { transform: rotate(360deg); }
}

.portrait {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    background: var(--bg-warm-black);
}

.about-text {
    font-family: var(--font-cn-display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-sand);
    letter-spacing: 0.02em;
}

.about-text .highlight {
    color: var(--text-warm-white);
    font-weight: 700;
}

.about-text .highlight-orange {
    color: var(--orange-main);
    font-weight: 700;
}

.about-text .highlight-green {
    color: var(--green-main);
    font-weight: 700;
}

.belief-statement {
    margin-top: 40px;
    text-align: center;
}

.belief-cn {
    display: block;
    font-family: var(--font-cn-display);
    font-size: 20px;
    color: var(--text-sand);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.belief-en {
    display: block;
    font-family: var(--font-en-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--text-warm-grey);
    margin-top: 8px;
}

/* Language toggle */
.lang-toggle {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    cursor: pointer;
    letter-spacing: 1px;
    transition: color 0.3s;
    background: none;
    border: 1px solid var(--border-dark);
    padding: 6px 14px;
    border-radius: 100px;
}

.lang-toggle:hover {
    color: var(--text-warm-white);
    border-color: var(--orange-main);
}

/* Highlights Gallery */
.section-highlights {
    padding: 80px 48px 0;
    max-width: 1240px;
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px;
}

.highlight-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

/* Magazine-style: first two items span 2 columns for visual hierarchy */
.highlight-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.highlight-item:nth-child(2) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
    filter: brightness(0.85);
}

.highlight-item:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}

.highlight-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}

.highlight-item:hover .highlight-caption {
    opacity: 1;
    transform: translateY(0);
}

/* As Seen In */
.seen-in {
    padding: 72px 48px;
    text-align: center;
}

.seen-in-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 36px;
}

.seen-in-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-family: var(--font-cn-body);
    font-size: 15px;
    color: var(--text-sand);
    opacity: 0.85;
}

.seen-in-list span {
    transition: all 0.3s;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 100px;
}

.seen-in-list span:hover {
    color: var(--text-warm-white);
    border-color: var(--border-dark);
    background: rgba(255,255,255,0.03);
}

.seen-in-list .seen-in-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-warm-grey);
    opacity: 0.4;
    display: inline-block;
    flex-shrink: 0;
    padding: 0;
    border: none;
}

.seen-in-list a {
    color: inherit;
    text-decoration: none;
}

.seen-in-list a:hover span {
    color: var(--orange-main);
    border-color: rgba(233,93,33,0.2);
    background: rgba(233,93,33,0.05);
}

/* Journey timeline */
.section-journey {
    padding: 160px 48px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    margin-top: 80px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange-main), var(--green-main));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange-main);
    box-shadow: 0 0 12px rgba(233,93,33,0.4);
}

.timeline-now .timeline-dot {
    background: var(--green-main);
    box-shadow: 0 0 12px rgba(0,140,140,0.4);
    animation: nowPulse 2s ease-in-out infinite;
}

.timeline-now .timeline-era {
    color: var(--green-main);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.timeline-now .timeline-title {
    color: var(--text-warm-white);
}

.timeline-now .timeline-desc {
    color: var(--text-sand);
}

@keyframes nowPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0,140,140,0.4); }
    50% { box-shadow: 0 0 24px rgba(0,140,140,0.8), 0 0 48px rgba(0,140,140,0.3); }
}

.timeline-era {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.timeline-desc {
    font-family: var(--font-cn-body);
    font-size: 15px;
    color: var(--text-warm-grey);
    line-height: 1.7;
}

/* Latest */
.section-latest {
    padding: 160px 48px;
    max-width: 1240px;
    margin: 0 auto;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

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

.latest-card-video .latest-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.latest-cover-wrap {
    position: relative;
    cursor: pointer;
}

.latest-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-card:hover .latest-cover-wrap img {
    transform: scale(1.05);
}

.latest-cover-wrap .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(233,93,33,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(233,93,33,0.4);
}

.latest-card:hover .latest-cover-wrap .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 40px rgba(233,93,33,0.5);
}

.latest-cover-wrap .play-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-left: 3px;
}

.latest-card-video .latest-video-wrap iframe,
.latest-card-video .latest-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.latest-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    background: var(--surface-dark);
    transition: all 0.4s;
    text-decoration: none;
    color: inherit;
}

.latest-card:hover {
    border-color: var(--orange-main);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(233,93,33,0.1);
}

.latest-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-card:hover .latest-thumb img {
    transform: scale(1.05);
}

.latest-info {
    padding: 20px;
}

.latest-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--orange-main);
    background: rgba(233,93,33,0.1);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.latest-title {
    font-family: var(--font-cn-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.latest-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-warm-grey);
}

.latest-grid .latest-card:nth-child(1) { transition-delay: 0s; }
.latest-grid .latest-card:nth-child(2) { transition-delay: 0.12s; }
.latest-grid .latest-card:nth-child(3) { transition-delay: 0.24s; }

/* Knowledge Hub */
.section-knowledge {
    padding: 120px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.knowledge-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.knowledge-card:hover {
    border-color: var(--text-warm-grey);
    transform: translateY(-4px);
}

.knowledge-card-premium {
    border-color: rgba(233,93,33,0.3);
    background: linear-gradient(160deg, var(--surface-dark), rgba(233,93,33,0.03));
}

.knowledge-card-premium:hover {
    border-color: var(--orange-main);
    box-shadow: 0 12px 40px rgba(233,93,33,0.12);
}

.knowledge-badge {
    position: absolute;
    top: -10px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bg-warm-black);
    background: var(--orange-main);
    padding: 4px 14px;
    border-radius: 100px;
    font-weight: 700;
}

.knowledge-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.knowledge-name {
    font-family: var(--font-cn-body);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
}

.knowledge-desc {
    font-family: var(--font-cn-body);
    font-size: 14px;
    color: var(--text-warm-grey);
    line-height: 1.8;
    margin-bottom: 24px;
}

.knowledge-tag-free {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--green-main);
    background: rgba(0,140,140,0.1);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.knowledge-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-cn-body);
    font-size: 14px;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.3s;
    margin-top: auto;
}

.knowledge-btn-free {
    color: var(--green-main);
    border: 1px solid rgba(0,140,140,0.3);
    background: transparent;
}

.knowledge-btn-free:hover {
    background: rgba(0,140,140,0.1);
    border-color: var(--green-main);
    color: var(--green-light);
}

.knowledge-btn-premium {
    color: var(--text-warm-white);
    background: var(--orange-main);
    border: none;
}

.knowledge-btn-premium:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,93,33,0.3);
}

/* Work With Me */
.section-collab {
    padding: 120px 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.collab-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 36px;
    padding-top: 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.collab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.collab-card:nth-child(1)::before {
    background: var(--orange-main);
}

.collab-card:nth-child(2)::before {
    background: var(--grad-orange-green);
}

.collab-card:nth-child(3)::before {
    background: var(--green-main);
}

.collab-card:hover {
    border-color: var(--orange-main);
    transform: translateY(-4px);
}

.collab-card:hover::before {
    opacity: 1;
}

.collab-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-warm-grey);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s, filter 0.3s;
}

.collab-card:hover .collab-icon svg {
    stroke: var(--orange-main);
    filter: drop-shadow(0 0 8px rgba(233,93,33,0.4));
}

.collab-card:nth-child(n+2):hover .collab-icon svg {
    stroke: var(--green-light);
    filter: drop-shadow(0 0 8px rgba(0,140,140,0.4));
}

.collab-card:nth-child(n+2):hover {
    border-color: var(--green-main);
}

.collab-title {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.collab-desc {
    font-family: var(--font-cn-body);
    font-size: 14px;
    color: var(--text-warm-grey);
    line-height: 1.7;
}

/* Product Showcase */
.product-showcase {
    margin-top: 64px;
}

.product-showcase-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 32px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    background: var(--surface-dark);
    transition: all 0.4s;
}

.product-card:hover {
    border-color: var(--orange-main);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(233,93,33,0.1);
}

.product-card .product-video-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
}

.product-card .product-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-video-cover img {
    transform: scale(1.05);
}

.product-card .product-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(233,93,33,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(233,93,33,0.3);
}

.product-card:hover .product-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.product-card .product-play svg {
    width: 18px;
    height: 18px;
    fill: white;
    margin-left: 2px;
}

.product-card .product-info {
    padding: 16px 20px;
}

.product-card .product-name {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.product-card .product-desc {
    font-family: var(--font-cn-body);
    font-size: 12px;
    color: var(--text-warm-grey);
}

.collab-cta {
    margin-top: 48px;
    text-align: center;
}

/* Newsletter */
.newsletter {
    padding: 80px 48px;
    text-align: center;
    border-top: 1px solid var(--border-dark);
}

.newsletter-title {
    font-family: var(--font-en-display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.newsletter-desc {
    font-family: var(--font-cn-body);
    font-size: 15px;
    color: var(--text-warm-grey);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-warm-white);
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input::placeholder {
    color: var(--text-warm-grey);
}

.newsletter-input:focus {
    border-color: var(--orange-main);
}

.newsletter-btn {
    padding: 14px 28px;
    font-family: var(--font-en-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-warm-white);
    background: var(--orange-main);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,93,33,0.3);
}

.cta-button {
    display: inline-block;
    margin-top: 48px;
    margin-bottom: 16px;
    padding: 14px 32px;
    font-family: var(--font-en-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-warm-white);
    background: var(--orange-main);
    border-radius: 100px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(233,93,33,0.3);
}

.about-platforms {
    margin-top: 72px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-warm-grey);
    transition: color 0.3s;
}

.social-icon-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-warm-grey);
    transition: fill 0.3s;
}

.social-icon-link:hover {
    color: var(--text-warm-white);
}

.social-icon-link:hover svg {
    fill: var(--orange-main);
}

.platform-link {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-warm-grey);
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.platform-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange-main);
    transition: width 0.3s;
}

.platform-link:hover {
    color: var(--text-warm-white);
}

.platform-link:hover::after {
    width: 100%;
}

/* ========== SCREEN 3: FEATURED ========== */
.section-featured {
    padding: 160px 48px;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-en-display);
    font-weight: 800;
    font-size: 56px;
    letter-spacing: -2.5px;
    margin-top: 16px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* (video-card styles removed - merged into topic-video) */

/* ========== SCREEN 4: TOPICS (merged with videos) ========== */
.section-topics {
    padding: 160px 48px;
    max-width: 1240px;
    margin: 0 auto;
}

.topic-list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.topic-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.topic-block:nth-child(even) .topic-video {
    order: -1;
}

.topic-text {
    padding: 20px 0;
}

.topic-name {
    font-family: var(--font-en-display);
    font-weight: 800;
    font-size: 38px;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.topic-desc {
    font-family: var(--font-cn-body);
    font-size: 16px;
    color: var(--text-warm-grey);
    font-weight: 300;
    line-height: 1.8;
}

.topic-video {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    transition: all 0.4s;
}

.topic-video:hover {
    border-color: var(--orange-main);
    box-shadow: 0 16px 48px rgba(233,93,33,0.1);
}

.topic-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/* Video cover card (lazy load replacement) */
.video-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-cover:hover img {
    transform: scale(1.05);
}

.video-cover .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(233,93,33,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(233,93,33,0.4);
}

.video-cover:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--orange-main);
    box-shadow: 0 8px 40px rgba(233,93,33,0.5);
}

.video-cover .play-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    margin-left: 3px;
}

.video-cover .view-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #fff;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 100px;
}

/* Cmd+K Command Palette */
.cmd-palette-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: var(--z-cmd-palette);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
}

.cmd-palette-overlay.open {
    display: flex;
}

.cmd-palette {
    width: 520px;
    max-width: 90vw;
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: paletteIn 0.2s ease-out;
}

@keyframes paletteIn {
    from { opacity: 0; transform: scale(0.95) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cmd-palette-input {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--text-warm-white);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-dark);
    outline: none;
}

.cmd-palette-input::placeholder {
    color: var(--text-warm-grey);
}

.cmd-palette-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
}

.cmd-palette-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-cn-body);
    font-size: 14px;
    color: var(--text-sand);
}

.cmd-palette-item:hover,
.cmd-palette-item.active {
    background: rgba(233,93,33,0.1);
    color: var(--text-warm-white);
}

.cmd-palette-item .cmd-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cmd-palette-item .cmd-shortcut {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    opacity: 0.5;
}

.cmd-palette-hint {
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-warm-grey);
    opacity: 0.4;
    text-align: center;
    border-top: 1px solid var(--border-dark);
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--text-warm-grey);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Konami easter egg */
.konami-active {
    animation: konamiFlash 0.6s ease;
}

@keyframes konamiFlash {
    0% { filter: brightness(1); }
    50% { filter: brightness(2) hue-rotate(30deg); }
    100% { filter: brightness(1); }
}

.topic-video-source {
    padding: 12px 16px;
    background: var(--surface-dark);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
}

/* ========== SCREEN 5: FOOTER ========== */
footer {
    padding: 120px 48px 80px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: var(--grad-orange-green);
    border-radius: 100px;
}

.footer-brand {
    font-family: var(--font-en-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 56px;
}

.footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    transition: all 0.3s;
}

.footer-icon-link svg {
    width: 20px;
    height: 20px;
    fill: var(--text-warm-grey);
    transition: fill 0.3s;
}

.footer-icon-link:hover {
    border-color: var(--orange-main);
    background: rgba(233,93,33,0.1);
}

.footer-icon-link:hover svg {
    fill: var(--orange-main);
}

.footer-slogan {
    font-family: var(--font-en-serif);
    font-style: italic;
    font-size: 20px;
    color: var(--text-warm-grey);
    opacity: 0.6;
    margin-bottom: 40px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-warm-grey);
    opacity: 0.4;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* Scroll reveal with stagger */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Section dividers */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-dark), rgba(233,93,33,0.3), var(--border-dark), transparent);
    margin: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-back-to-top);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: var(--orange-main);
    background: rgba(233,93,33,0.1);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-warm-grey);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s;
}

.back-to-top:hover svg {
    stroke: var(--orange-main);
}

/* Hamburger menu (mobile) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: var(--z-hamburger);
}

.hamburger svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-warm-grey);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,26,24,0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: var(--z-mobile-menu);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 28px;
    color: var(--text-warm-white);
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--orange-main);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-warm-grey);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-menu-social {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.mobile-menu-social a svg {
    width: 22px;
    height: 22px;
    fill: var(--text-warm-grey);
    transition: fill 0.3s;
}

.mobile-menu-social a:hover svg {
    fill: var(--orange-main);
}

.mobile-lang-toggle {
    margin-top: 12px;
    padding: 10px 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-warm-grey);
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-lang-toggle:hover {
    color: var(--orange-main);
    border-color: var(--orange-main);
}

/* WeChat modal */
.wechat-modal {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-wechat-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    visibility: hidden;
}

.wechat-modal.open {
    pointer-events: auto;
    visibility: visible;
}

.wechat-modal-content {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 360px;
    position: relative;
}

.wechat-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
}

.wechat-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-warm-grey);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.wechat-modal-title {
    font-family: var(--font-en-display);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.wechat-modal-id {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--orange-main);
    margin-bottom: 24px;
}

.wechat-modal-qr {
    width: 200px;
    height: auto;
    background: none;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-modal-hint {
    font-size: 13px;
    color: var(--text-warm-grey);
}

/* Hero parallax text effect */
.hero-title {
    will-change: transform, opacity;
}

/* ========== PREMIUM INTERACTIONS ========== */

/* 1. Magnetic buttons — subtle pull toward cursor */
.cta-button, .newsletter-btn, .footer-icon-link, .collab-card {
    will-change: transform;
}

/* 2. Card spotlight glow — cursor-following gradient */
.collab-card > * {
    position: relative;
    z-index: 1;
}

/* 3. Hero text split animation */
.hero-title .word {
    display: inline-block;
    white-space: nowrap;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(-40deg);
    animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* 4. Topic video 3D tilt */
.topic-video {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    transform: perspective(800px) rotateY(var(--rx, 0deg)) rotateX(var(--ry, 0deg));
}

/* 5. WeChat modal entrance animation */
.wechat-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wechat-modal.open {
    opacity: 1;
}

.wechat-modal-content {
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
}

.wechat-modal.open .wechat-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 6. Nav active indicator */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange-main);
    transition: width 0.3s, left 0.3s;
    border-radius: 1px;
}

.nav-link.active {
    color: var(--text-warm-white);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* 7. Premium link hover — gradient sweep underline */
.social-icon-link {
    position: relative;
    overflow: hidden;
}

.social-icon-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--grad-orange-green);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 8. Stats number glow on reveal */
.stat-number {
    transition: text-shadow 0.6s;
}

.stats-bar.counting .stat-number {
    text-shadow: 0 0 40px rgba(233,93,33,0.3), 0 0 80px rgba(0,140,140,0.15);
}

/* 9. Scroll reveal variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 10. Section divider pulse on scroll-in */
.section-divider {
    transition: opacity 0.6s, height 0.6s;
    opacity: 0.4;
    height: 1px;
}

.section-divider.visible {
    opacity: 1;
    height: 2px;
    animation: dividerGlow 1.8s ease forwards;
}

@keyframes dividerGlow {
    0% { background: linear-gradient(90deg, transparent, var(--border-dark), rgba(233,93,33,0.3), var(--border-dark), transparent); filter: none; }
    40% { background: linear-gradient(90deg, transparent, rgba(233,93,33,0.4), rgba(0,140,140,0.5), rgba(233,93,33,0.4), transparent); filter: drop-shadow(0 0 6px rgba(233,93,33,0.4)); }
    100% { background: linear-gradient(90deg, transparent, var(--border-dark), rgba(233,93,33,0.3), var(--border-dark), transparent); filter: none; }
}

/* 11. Timeline dot pulse animation */
.timeline-dot {
    transition: all 0.5s;
}

.timeline-item.visible .timeline-dot {
    animation: dotPulse 2s ease-in-out;
}

@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(233,93,33,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(233,93,33,0); }
    100% { box-shadow: 0 0 12px rgba(233,93,33,0.4); }
}

/* 12. Collab card stagger on reveal */
.collab-grid .collab-card:nth-child(1) { transition-delay: 0s; }
.collab-grid .collab-card:nth-child(2) { transition-delay: 0.12s; }
.collab-grid .collab-card:nth-child(3) { transition-delay: 0.24s; }

/* 13. Footer icon ripple hover */
.footer-icon-link {
    position: relative;
    overflow: hidden;
}

.footer-icon-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,93,33,0.15), transparent 70%);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-icon-link:hover::after {
    transform: scale(2.5);
}

.footer-icon-link svg {
    position: relative;
    z-index: 1;
}

/* ========== BRAND STORY (extracted from inline styles) ========== */
.section-brand-story {
    max-width: 700px;
    padding: 80px 48px;
}

.brand-story-divider {
    width: 48px;
    height: 2px;
    background: var(--grad-orange-green);
    margin: 0 auto 40px;
    border-radius: 1px;
}

.brand-story-text {
    font-size: 26px;
    line-height: 2.2;
}

/* ========== PROJECTS ========== */
.section-projects {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 48px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.project-section-desc {
    max-width: 520px;
    margin-top: 16px;
    color: var(--text-warm-grey);
    font-size: 15px;
    line-height: 1.8;
}

.project-card {
    background: var(--surface-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    min-height: 260px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    cursor: pointer;
}

.project-card-featured {
    grid-column: 1 / -1;
    min-height: 340px;
}

.project-card-featured .project-card-content {
    min-height: 340px;
    max-width: 640px;
}

.project-card-featured .project-name {
    font-size: 28px;
}

.project-card-featured .project-desc {
    max-width: 560px;
    font-size: 15px;
}

.project-card-wide {
    grid-column: 1 / -1;
    min-height: 300px;
}

.project-card-wide .project-card-content {
    min-height: 300px;
    max-width: 620px;
}

.project-card-wide .project-name {
    font-size: 24px;
}

.project-card-wide .project-desc {
    max-width: 560px;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(26, 26, 24, 0.06) 0%, rgba(26, 26, 24, 0.48) 48%, rgba(26, 26, 24, 0.88) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 143, 76, 0.18), transparent 34%);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 252, 248, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.project-card:not(a) {
    cursor: default;
}

.project-card:hover {
    border-color: var(--orange-main);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(233, 93, 33, 0.12);
}

.project-card:hover .project-visual {
    opacity: 0.98;
    transform: scale(1.045);
}

.project-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transform: scale(1.01);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.project-card-content {
    position: relative;
    z-index: 3;
    min-height: 260px;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}

.project-icon {
    font-size: 32px;
    line-height: 1;
    width: fit-content;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.project-name {
    font-family: 'Syne', 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-warm-white);
    letter-spacing: 0.02em;
}

.project-desc {
    font-size: 14px;
    color: rgba(255, 252, 248, 0.82);
    line-height: 1.7;
    max-width: 94%;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.project-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-main);
    background: rgba(233, 93, 33, 0.18);
    backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 6px;
}

.project-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.project-status,
.project-action {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.status-live {
    color: var(--green-light);
    background: rgba(0, 140, 140, 0.18);
}

.status-beta {
    color: var(--orange-light);
    background: rgba(233, 93, 33, 0.18);
}

.status-planned {
    color: var(--text-sand);
    background: rgba(255, 252, 248, 0.1);
}

.project-action {
    color: var(--text-warm-white);
    background: rgba(255, 252, 248, 0.1);
}

.project-cta {
    margin-top: 22px;
    border: 1px solid rgba(255, 252, 248, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(233, 93, 33, 0.13), rgba(0, 140, 140, 0.1)),
        rgba(255, 252, 248, 0.035);
}

.project-cta-title {
    font-family: 'Syne', 'Noto Sans SC', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-warm-white);
}

.project-cta-desc {
    max-width: 640px;
    margin-top: 8px;
    color: var(--text-sand);
    font-size: 14px;
    line-height: 1.7;
}

.project-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.project-cta-btn {
    min-width: 116px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 16px;
    background: var(--orange-main);
    color: var(--text-warm-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.project-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--orange-light);
}

.project-cta-btn-outline {
    background: rgba(255, 252, 248, 0.08);
    border: 1px solid rgba(255, 252, 248, 0.14);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-projects {
        padding: 60px 20px;
    }
    .project-section-desc {
        font-size: 13px;
    }
    .project-card,
    .project-card-content {
        min-height: 240px;
    }
    .project-card-featured,
    .project-card-wide,
    .project-card-wide .project-card-content,
    .project-card-featured .project-card-content {
        min-height: 280px;
    }
    .project-card-featured .project-name {
        font-size: 24px;
    }
    .project-card-content {
        padding: 28px 24px 24px;
    }
    .project-cta {
        padding: 22px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .project-cta-actions {
        width: 100%;
        justify-content: flex-start;
    }
}


.brand-promo-video {
    margin-top: 48px;
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(233, 93, 33, 0.18), 0 0 80px rgba(0, 140, 140, 0.08);
}

.brand-promo-video video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* ========== WECHAT LINK (extracted from inline styles) ========== */
.connect-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.connect-btn {
    margin-top: 0;
    margin-bottom: 0;
}

.connect-btn-outline {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-sand);
}

.connect-btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-warm-grey);
    color: var(--text-warm-white);
}

.wechat-qr-img {
    width: 200px;
    border-radius: 12px;
}

/* ========== RESPONSIVE ========== */

/* --- Tablet (769px – 1024px) --- */
@media (max-width: 1024px) {
    .section-about { padding: 120px 32px; }
    .section-featured { padding: 120px 32px; }
    .section-topics { padding: 120px 32px; }
    .section-latest { padding: 120px 32px; }
    .section-collab { padding: 120px 32px; }

    .latest-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .collab-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .topic-block { gap: 32px; }
    .topic-name { font-size: 28px; }

    .hero-title { font-size: 72px; }

    .newsletter { padding: 80px 32px; }
    .section-highlights { padding: 60px 32px 0; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .latest-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
    .seen-in { padding: 48px 32px; }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; height: 64px; }
    .nav-links { display: none; }
    .nav-social { display: none; }
    .hamburger { display: block; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .logo-icon { width: 32px; height: 32px; }
    .logo-text { font-size: 14px; }
    .hero-title { font-size: 52px; }
    .hero-subtitle { font-size: 16px; }
    .hero-subtitle-en { font-size: 12px; }

    .section-about { padding: 80px 20px; }
    .portrait-ring { width: 116px; height: 116px; }
    .cursor-glow { display: none; }
    .lang-toggle { display: none; }
    .portrait-wrapper { margin-bottom: 28px; }
    .intro-video-wrapper { margin-bottom: 36px; border-radius: 12px; }
    .stats-bar { gap: 28px; padding: 24px 0; margin-bottom: 40px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 9px; letter-spacing: 1px; }
    .about-text { font-size: 18px; line-height: 2; }
    .about-platforms { flex-wrap: wrap; gap: 16px 24px; justify-content: center; }
    .social-icon-link { font-size: 11px; }
    .social-icon-link svg { width: 16px; height: 16px; }

    .section-featured { padding: 80px 20px; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 32px; }
    .section-label { font-size: 10px; margin-bottom: 32px; }
    .featured-grid { grid-template-columns: 1fr; gap: 20px; }

    .section-latest { padding: 80px 20px; }
    .latest-grid { grid-template-columns: 1fr; gap: 16px; }
    .latest-grid-2x2 { grid-template-columns: 1fr; }
    .section-topics { padding: 80px 20px; }
    .topic-list { gap: 48px; }
    .topic-block { grid-template-columns: 1fr; gap: 24px; }
    .topic-block:nth-child(even) .topic-video { order: 0; }
    .topic-name { font-size: 26px; }
    .topic-desc { font-size: 14px; }

    .section-highlights { padding: 48px 20px 0; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .highlight-item { border-radius: 8px; }
    .highlight-item:nth-child(1) { grid-column: span 1; grid-row: span 1; aspect-ratio: 3/2; }
    .highlight-item:nth-child(2) { grid-column: span 1; aspect-ratio: 3/2; }
    .highlight-caption { opacity: 1; transform: translateY(0); font-size: 10px; padding: 20px 10px 10px; }
    .seen-in { padding: 48px 20px; }
    .seen-in-list { font-size: 13px; }
    .seen-in-list span { padding: 6px 12px; }
    .seen-in-dot { display: none !important; }
    .section-journey { padding: 80px 20px; }
    .timeline-title { font-size: 18px; }
    .section-knowledge { padding: 80px 20px; }
    .knowledge-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-collab { padding: 80px 20px; }
    .collab-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-showcase { margin-top: 40px; }
    .newsletter { padding: 60px 20px; }
    .newsletter-title { font-size: 22px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input, .newsletter-btn { width: 100%; }
    .belief-cn { font-size: 17px; }
    .belief-en { font-size: 14px; }
    footer { padding: 64px 20px 48px; }
    .footer-brand { font-size: 16px; margin-bottom: 28px; }
    .footer-links { flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
    .footer-icon-link { width: 40px; height: 40px; }
    .footer-slogan { font-size: 17px; margin-bottom: 28px; }
}
