/* Self-hosted fonts (SIL OFL 1.1, see /public/fonts/OFL-*.txt). Built by a subset script:
   Noto Serif SC holds only the characters of the course and the fixed words of the landing page. */
@font-face {
    font-family: 'Crimson Pro'; font-style: normal; font-weight: 300 800; font-display: swap;
    src: url('/public/fonts/crimson-pro.woff2') format('woff2');
}
@font-face {
    font-family: 'Crimson Pro'; font-style: italic; font-weight: 300 400; font-display: swap;
    src: url('/public/fonts/crimson-pro-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Serif SC'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('/public/fonts/noto-serif-sc-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Serif SC'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('/public/fonts/noto-serif-sc-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Noto Serif SC'; font-style: normal; font-weight: 900; font-display: swap;
    src: url('/public/fonts/noto-serif-sc-900.woff2') format('woff2');
}

:root {
    --bg: #f5f3ef;
    --bg-warm: #edebe6;
    --bg-dark: #1c1917;
    --card: #fefefe;
    --text: #1c1917;
    --text-sec: #44403c;
    --text-muted: #a8a29e;
    --border: #d6d3cd;
    --border-light: #e7e5e0;
    --accent: #1c1917;
    --shadow-sm: rgba(28,25,23,0.05);
    --shadow-md: rgba(28,25,23,0.09);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Crimson Pro', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.5;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .022;
    background: repeating-conic-gradient(#78716c 0% 25%, transparent 0% 50%) 0 0/3px 3px;
    mix-blend-mode: multiply;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(120,113,108,.05) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 75%, rgba(120,113,108,.035) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.3) 0%, transparent 65%);
}

::selection { background: var(--text); color: var(--bg); }

.font-hanzi { font-family: 'Noto Serif SC', serif; }

/* Icons: inline SVG with the box of the old icon font (1em high, baseline at 7/8). */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
    display: inline-block; height: 1em; overflow: visible; vertical-align: -.125em;
    fill: currentColor; flex-shrink: 0;
}

/* ===== NAV ===== */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 16px 28px;
    display: flex; align-items: center; justify-content: space-between;
    transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-nav.scrolled {
    background: rgba(245,243,239,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border-light);
}
.nav-logo {
    font-size: 20px; font-weight: 700; letter-spacing: .04em;
    color: var(--text); text-decoration: none;
    display: inline-flex; align-items: baseline; gap: 10px;
}
.nav-name { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 15px; color: var(--text-sec); text-decoration: none;
    font-weight: 500; transition: color .2s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: 14px; font-weight: 500; padding: 8px 22px; border-radius: 10px;
    border: 1px solid var(--border-light); background: var(--card); color: var(--text-sec);
    text-decoration: none; transition: all .18s ease;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.nav-cta:hover { border-color: var(--border); transform: translateY(-1px); box-shadow: 0 3px 10px var(--shadow-sm); }
@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .site-nav { padding: 14px 18px; }
}

/* ===== HERO ===== */
.hero {
    min-height: 100dvh; display: flex;
    align-items: center; justify-content: center;
    padding: 100px 28px 60px; position: relative;
}
.hero-inner {
    max-width: 1100px; width: 100%; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 48px;
    align-items: center;
}
@media (min-width: 900px) {
    .hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.hero-text { order: 2; }
@media (min-width: 900px) { .hero-text { order: 1; } }
.hero-label {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 16px;
    animation: heroTextIn 1s cubic-bezier(.16,1,.3,1) .2s both;
}
.hero-heading {
    font-size: clamp(32px, 5.5vw, 56px); font-weight: 800; line-height: 1.05;
    letter-spacing: -.02em; margin-bottom: 20px;
    animation: heroTextIn 1s cubic-bezier(.16,1,.3,1) .3s both;
}
.hero-heading em {
    font-style: normal; color: var(--text-sec); font-family: 'Noto Serif SC', serif;
}
.hero-sub {
    font-size: clamp(17px, 2.5vw, 20px); color: var(--text-sec); font-weight: 300;
    line-height: 1.55; max-width: 480px; margin-bottom: 32px;
    animation: heroTextIn 1s cubic-bezier(.16,1,.3,1) .5s both;
}
.hero-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    animation: heroTextIn 1s cubic-bezier(.16,1,.3,1) .7s both;
}
.hero-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; padding: 14px 32px; border-radius: 10px;
    background: var(--text); color: var(--card); border: none;
    text-decoration: none; transition: all .2s ease; cursor: pointer;
    font-family: 'Crimson Pro', serif;
    box-shadow: 0 4px 16px rgba(28,25,23,.2);
}
.hero-btn-primary:hover { background: #292524; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(28,25,23,.25); }
.hero-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 10px;
    border: 1px solid var(--border-light); background: var(--card); color: var(--text-sec);
    text-decoration: none; transition: all .18s ease;
    font-family: 'Crimson Pro', serif;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.hero-btn-secondary:hover { border-color: var(--border); transform: translateY(-1px); }
.hero-btn-secondary .ic, .hero-btn-primary .ic { font-size: 12px; }

/* Hero card preview */
.hero-card-area {
    order: 1; display: flex; justify-content: center;
    animation: heroCardIn 1.2s cubic-bezier(.16,1,.3,1) .4s both;
}
@media (min-width: 900px) { .hero-card-area { order: 2; justify-content: flex-end; } }
@keyframes heroCardIn {
    from { opacity: 0; transform: scale(.92) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-card-wrap { position: relative; }
.hero-card {
    width: 260px; height: 360px; background: var(--card);
    border-radius: 24px; border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-sm), 0 16px 48px var(--shadow-md);
    padding: 24px; display: flex; flex-direction: column;
    animation: heroFloat 7s ease-in-out infinite;
    position: relative; z-index: 2;
}
@media (min-width: 600px) { .hero-card { width: 300px; height: 400px; padding: 28px; } }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-card-label {
    font-size: 10px; font-weight: 600; color: var(--text-muted);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: auto;
}
.hero-card-char-area {
    flex: 1; display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-card-char-area::before {
    content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none;
    background:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50% 50%;
}
.hero-card-char {
    font-size: 140px; font-weight: 900; line-height: 1; color: var(--text);
}
@media (min-width: 600px) { .hero-card-char { font-size: 160px; } }
.hero-card-footer {
    border-top: 1px solid var(--border-light); padding-top: 16px;
    display: flex; justify-content: space-between; align-items: flex-end;
}
.hero-card-pinyin { font-size: 22px; font-weight: 300; color: var(--text); }
.hero-card-def { font-size: 14px; color: var(--text-muted); }
.hero-card-play {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--card); display: flex; align-items: center; justify-content: center;
    color: var(--text-sec); font-size: 14px; cursor: default;
}

/* Floating mini cards */
.hero-float-card {
    position: absolute; border-radius: 16px; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 16px var(--shadow-sm);
    animation: heroFloat 7s ease-in-out infinite;
}
.hero-float-a {
    width: 72px; height: 72px; background: var(--card); border: 1px solid var(--border-light);
    top: -20px; left: -32px; z-index: 1; opacity: .7; animation-delay: .5s;
}
.hero-float-a span { font-size: 36px; color: var(--text-muted); }
.hero-float-b {
    width: 60px; height: 60px; background: var(--text); border: none;
    bottom: -10px; right: -24px; z-index: 3; animation-delay: 1s;
}
.hero-float-b span { font-size: 28px; color: var(--card); }

.scroll-hint {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: heroTextIn 1s cubic-bezier(.16,1,.3,1) 1.1s both;
}
.scroll-line {
    width: 1px; height: 32px; background: var(--border);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%;
    background: var(--text-muted);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% { top: -50%; } 50% { top: 100%; } 100% { top: -50%; }
}
.scroll-label {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ===== STATEMENT ===== */
.statement {
    padding: 80px 28px 80px; max-width: 900px; margin: 0 auto;
}
.statement-num {
    font-size: clamp(72px, 14vw, 120px); font-weight: 800; line-height: .9;
    color: var(--text); letter-spacing: -.03em; margin-bottom: 8px;
}
.statement-text {
    font-size: clamp(20px, 3.8vw, 30px); font-weight: 300; color: var(--text-sec);
    line-height: 1.45; max-width: 620px;
}

/* ===== STATS ===== */
.stats-bar {
    display: flex; max-width: 700px; margin: 0 auto 60px;
    border: 1px solid var(--border);
}
.stats-bar .stat-item {
    flex: 1; text-align: center; padding: 1.5rem 1rem;
}
.stats-bar .stat-item + .stat-item {
    border-left: 1px solid var(--border);
}
.stat-num {
    font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 4px;
    color: var(--text);
}
.stat-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted); font-weight: 500;
}
@media (max-width: 480px) {
    .stats-bar { flex-direction: column; }
    .stats-bar .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
}

/* ===== METHOD (card-based) ===== */
.method { padding: 40px 28px 100px; max-width: 1100px; margin: 0 auto; }
.method-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--text-muted); font-weight: 500; margin-bottom: 48px;
}
.method-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .method-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.method-card {
    border: 1px solid var(--border-light); border-radius: 16px;
    background: var(--card); transition: all .3s ease; overflow: hidden;
}
.method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-md);
}
.method-card-icon {
    width: 100%; aspect-ratio: 4/3; background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; border-bottom: 1px solid var(--border-light);
    position: relative; overflow: hidden;
}
.method-card-icon::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
    opacity: 0; transition: opacity .3s;
}
.method-card:hover .method-card-icon::after { opacity: .3; }
.method-icon-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.method-icon-circle.light { background: var(--border-light); }
.method-icon-circle.dark { background: var(--text); }
.method-icon-circle .font-hanzi { font-size: 28px; color: var(--text); }
.method-icon-circle.dark .font-hanzi { color: var(--card); }
.method-icon-circle .ic { font-size: 20px; }
.method-icon-circle.dark .ic { color: var(--card); }
.method-icon-circle.light .ic { color: var(--text); }
.method-icon-label {
    font-size: 10px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 2px;
}
.method-card-body { padding: 24px; }
.method-card-body h3 {
    font-size: clamp(19px, 3vw, 23px); font-weight: 600; color: var(--text);
    margin: 0 0 8px; line-height: 1.3;
}
.method-card-body p {
    font-size: 15px; font-weight: 300; color: var(--text-sec);
    line-height: 1.6; margin: 0;
}

/* ===== CURRICULUM PREVIEW (dark) ===== */
.curriculum {
    padding: 100px 28px; background: var(--bg-dark); color: #fff;
    position: relative; overflow: hidden;
}
.curriculum::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(120,113,108,.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.curriculum-inner {
    max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) {
    .curriculum-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.curriculum-label {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4);
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 16px;
}
.curriculum-heading {
    font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; line-height: 1.15;
    margin-bottom: 20px;
}
.curriculum-desc {
    font-size: 17px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.6;
    margin-bottom: 32px;
}
.curriculum-levels { display: flex; flex-direction: column; gap: 16px; }
.curriculum-level {
    display: flex; align-items: center; gap: 14px;
}
.curriculum-level-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.curriculum-level-text h4 {
    font-size: 15px; font-weight: 600; margin: 0 0 2px;
}
.curriculum-level-text p {
    font-size: 13px; color: rgba(255,255,255,.45); margin: 0;
}

/* Day preview cards (horizontal scroll) */
.day-cards-scroll {
    overflow-x: auto; display: flex; gap: 16px; padding-bottom: 8px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.day-cards-scroll::-webkit-scrollbar { height: 2px; }
.day-cards-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
.day-cards-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); }
.day-preview-card {
    flex-shrink: 0; width: 240px; scroll-snap-align: center;
    background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
    padding: 20px; transition: all .3s ease;
}
.day-preview-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
}
.day-preview-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.day-preview-num {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,.4);
    text-transform: uppercase; letter-spacing: 2px;
}
.day-preview-count {
    font-size: 11px; color: rgba(255,255,255,.25);
}
.day-preview-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
    margin-bottom: 16px;
}
.day-preview-grid span {
    font-size: 20px; text-align: center; color: rgba(255,255,255,.8);
}
.day-preview-divider {
    height: 1px; background: rgba(255,255,255,.08); margin-bottom: 12px;
}
.day-preview-label {
    font-size: 12px; color: rgba(255,255,255,.35);
}
.day-cards-hint {
    text-align: center; margin-top: 16px;
    font-size: 13px; color: rgba(255,255,255,.3);
}

/* ===== SHOWCASE ===== */
.showcase {
    padding: 60px 28px 100px; display: flex; flex-direction: column;
    align-items: center; position: relative;
}
.showcase-content {
    display: flex; flex-direction: column; align-items: center;
    gap: 48px; max-width: 1000px; width: 100%;
}
@media (min-width: 900px) {
    .showcase-content { flex-direction: row; align-items: center; gap: 60px; }
}
.showcase-text { flex: 1; }
.showcase-eyebrow {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--text-muted); font-weight: 500; margin-bottom: 20px;
}
.showcase-text h2 {
    font-size: clamp(28px, 5vw, 42px); font-weight: 700; line-height: 1.2;
    margin-bottom: 16px; letter-spacing: -.01em;
}
.showcase-text p {
    font-size: 17px; font-weight: 300; color: var(--text-sec);
    line-height: 1.65; margin-bottom: 12px; max-width: 380px;
}
.showcase-features {
    list-style: none; padding: 0; margin: 20px 0 0;
    display: flex; flex-direction: column; gap: 8px;
}
.showcase-features li {
    font-size: 15px; color: var(--text-sec); font-weight: 400;
    display: flex; align-items: center; gap: 10px;
}
.showcase-features li::before {
    content: ''; width: 18px; height: 1px; background: var(--text-muted); flex-shrink: 0;
}

/* Mockup Device */
.mockup-wrap { flex-shrink: 0; perspective: 800px; }
.mockup-device {
    width: clamp(260px, 40vw, 320px); background: var(--card);
    border-radius: 32px; border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-sm), 0 16px 48px var(--shadow-md), 0 32px 80px rgba(28,25,23,.03);
    padding: 10px; position: relative;
    animation: mockupFloat 6s ease-in-out infinite;
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.mockup-device:hover { transform: rotateY(0deg) rotateX(0deg); animation-play-state: paused; }
@keyframes mockupFloat {
    0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-4deg) rotateX(2deg) translateY(-6px); }
}
.mockup-screen {
    background: var(--bg); border-radius: 24px; overflow: hidden;
    display: flex; flex-direction: column;
}
.mockup-status {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 16px 4px; font-size: 11px; font-weight: 600; color: var(--text-sec);
}
.mockup-status-icons { display: flex; gap: 4px; font-size: 9px; color: var(--text-muted); }
.mockup-app-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 14px 8px;
}
.mockup-app-logo { font-family: 'Noto Serif SC', serif; font-size: 14px; font-weight: 700; }
.mockup-app-sub { font-size: 10px; color: var(--text-muted); font-style: italic; }
.mockup-card-area { padding: 0 14px; display: flex; justify-content: center; }
.mockup-card {
    width: 100%; aspect-ratio: 3/4; max-width: 180px;
    border-radius: 10px; background: var(--card);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px var(--shadow-sm);
    position: relative; overflow: hidden;
    transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,0,.2,1);
    cursor: default;
}
.mockup-device:hover .mockup-card { transform: rotateY(180deg); }
.mockup-card-front, .mockup-card-back {
    position: absolute; inset: 0; backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 12px;
}
.mockup-card-front::before {
    content: ''; position: absolute; inset: 0; opacity: .15; pointer-events: none;
    background-image: linear-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 100% calc(100%/6);
}
.mockup-card-front .mc-char {
    font-family: 'Noto Serif SC', serif; font-size: 72px; font-weight: 700; color: var(--text);
}
.mockup-card-back {
    background: var(--card); transform: rotateY(180deg); text-align: center;
}
.mockup-card-back .mc-char-sm {
    font-family: 'Noto Serif SC', serif; font-size: 32px; font-weight: 700;
    color: var(--text); margin-bottom: 2px;
}
.mockup-card-back .mc-pin { font-size: 14px; font-style: italic; color: var(--text-sec); font-weight: 300; margin-bottom: 8px; }
.mockup-card-back .mc-mean { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.mockup-card-back .mc-ex { font-family: 'Noto Serif SC', serif; font-size: 12px; color: var(--text-sec); margin-bottom: 1px; }
.mockup-card-back .mc-ex-p { font-size: 10px; font-style: italic; color: var(--text-muted); }
.mockup-btns {
    display: flex; gap: 3px; justify-content: center; padding: 8px 14px 12px; flex-wrap: wrap;
}
.mockup-btn {
    width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--border-light);
    background: var(--card); display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif SC', serif; font-size: 10px; color: var(--text-sec);
}
.mockup-btn.mc-active { background: var(--accent); color: var(--card); border-color: var(--accent); }

/* ===== HSK1 PARALLAX GRID ===== */
.hanzi-ocean {
    padding: 80px 0;
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}
.hanzi-ocean-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--text-muted); font-weight: 500; margin-bottom: 12px;
    text-align: center;
}
.hanzi-ocean-sub {
    font-size: clamp(17px, 3vw, 22px); font-weight: 300; color: var(--text-sec);
    text-align: center; max-width: 480px; margin: 0 auto 40px; line-height: 1.5;
}
.hanzi-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    user-select: none;
}
@media (max-width: 900px) { .hanzi-grid { grid-template-columns: repeat(12, 1fr); } }
@media (max-width: 600px) { .hanzi-grid { grid-template-columns: repeat(10, 1fr); } }
.hanzi-cell {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 400;
    color: var(--text-muted);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .3s, transform .15s ease-out;
    will-change: transform;
    cursor: default;
    position: relative;
}
.hanzi-cell:hover {
    color: var(--text);
    z-index: 2;
}

/* ===== FEATURES GRID ===== */
.features-section {
    padding: 60px 28px 100px; max-width: 900px; margin: 0 auto;
}
.features-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--text-muted); font-weight: 500; margin-bottom: 48px; text-align: center;
}
.features-grid {
    display: grid; grid-template-columns: 1fr; gap: 0;
    border: 1px solid var(--border);
}
@media (min-width: 640px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}
.feature-item {
    padding: 2rem; border-bottom: 1px solid var(--border);
    transition: background .3s;
}
@media (min-width: 640px) {
    .feature-item { border-right: 1px solid var(--border); }
    .feature-item:nth-child(2n) { border-right: none; }
    .feature-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 639px) {
    .feature-item:last-child { border-bottom: none; }
}
.feature-item:hover { background: rgba(255,255,255,.5); }
.feature-icon {
    font-size: 1.3rem; margin-bottom: 12px; color: var(--text-sec);
}
.feature-title {
    font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.feature-desc {
    font-size: 15px; font-weight: 300; color: var(--text-sec); line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 28px 100px; text-align: center; position: relative;
}
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 1px; background: var(--border);
}
.cta-heading {
    font-size: clamp(32px, 6vw, 52px); font-weight: 800; line-height: 1.1;
    margin-bottom: 16px; letter-spacing: -.02em;
}
.cta-sub {
    font-size: 17px; font-weight: 300; color: var(--text-sec);
    margin-bottom: 36px; max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.5;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 16px; font-weight: 500; padding: 14px 36px; border-radius: 10px;
    border: 1px solid var(--border-light); background: var(--card); color: var(--text-sec);
    text-decoration: none; transition: all .18s ease; cursor: pointer;
    font-family: 'Crimson Pro', serif;
    box-shadow: 0 1px 3px var(--shadow-sm);
}
.cta-btn:hover { border-color: var(--border); transform: translateY(-1px); box-shadow: 0 3px 10px var(--shadow-sm); }
.cta-btn .ic { font-size: 13px; transition: transform .25s; }
.cta-btn:hover .ic { transform: translateX(3px); }
.cta-note {
    font-size: 13px; color: var(--text-muted); font-weight: 300; margin-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 32px 28px; border-top: 1px solid var(--border-light);
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1100px; margin: 0 auto;
}
.footer-logo {
    font-size: 16px; font-weight: 700; color: var(--text-muted);
}
.footer-copy { font-size: 13px; color: var(--text-muted); font-weight: 300; }
@media (max-width: 480px) {
    .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-card, .mockup-device { animation: none !important; }
    .hero-float-card { animation: none !important; }
    .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
    .scroll-line::after { animation: none !important; }
    .hero-label, .hero-heading, .hero-sub, .hero-actions, .hero-card-area, .scroll-hint {
        animation: none !important; opacity: 1 !important; transform: none !important;
    }
    .mockup-card { transition: none !important; }
    .mockup-device { transition: none !important; transform: none !important; }
    .hanzi-cell { transition: none !important; }
}
