/* ═══════════════════════════════════════════
   WOORINI GEMINI — Design System 2026
   Ultra-Minimal / Apple · Tesla Aesthetic
   ═══════════════════════════════════════════ */

/* ── 1. Custom Properties ──────────────── */
:root {
    --bg-void: #000000;
    --bg-primary: #050505;
    --bg-elevated: #0c0c0c;
    --bg-surface: #141414;
    --bg-glass: rgba(255, 255, 255, 0.025);
    --bg-glass-hover: rgba(255, 255, 255, 0.045);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text-primary: #f5f5f7;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.35);
    --text-muted: rgba(255, 255, 255, 0.2);

    --accent: #c8a97e;
    --accent-soft: rgba(200, 169, 126, 0.12);
    --accent-glow: rgba(200, 169, 126, 0.06);

    --live-red: #ff3b30;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --blur-nav: 40px;
    --blur-card: 30px;

    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ko: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;

    --animation-speed: 1;
}

/* ── 2. Reset & Base ───────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-ko), var(--font-en);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

body.en {
    font-family: var(--font-en), var(--font-ko);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ── 3. Bilingual System ───────────────── */
[data-lang="en"] { display: none; }
body.en [data-lang="ko"] { display: none; }
body.en [data-lang="en"] { display: block; }
body.en [data-lang="en"].inline { display: inline; }
body.en [data-lang="ko"].inline { display: none; }
body.en span[data-lang="en"],
body.en a[data-lang="en"] { display: inline; }
body.en span[data-lang="ko"],
body.en a[data-lang="ko"] { display: none; }

/* ── 4. Typography ─────────────────────── */
.display-xl {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.display-lg {
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.display-md {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--accent-soft);
    border-radius: 100px;
    background: var(--accent-glow);
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 680px;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
}

.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }

.bilingual-title {
    font-size: 0.45em;
    font-weight: 400;
    color: var(--text-tertiary);
    display: block;
    margin-top: 0.3em;
    letter-spacing: 0;
}

/* ── 5. Navigation ─────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(var(--blur-nav));
    -webkit-backdrop-filter: blur(var(--blur-nav));
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.4s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.92);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.nav-logo .en-name {
    color: var(--text-primary);
    font-family: var(--font-en);
}

.nav-logo .divider {
    color: var(--text-muted);
    font-weight: 300;
}

.nav-logo .ko-name {
    color: var(--text-tertiary);
    font-weight: 400;
    font-size: 0.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    border-radius: 8px;
    transition: all 0.25s var(--ease-smooth);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-menu .nav-label-ko {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.on-air-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.2);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--live-red);
    transition: all 0.3s var(--ease-smooth);
}

.on-air-pill:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.4);
    transform: translateY(-1px);
}

.on-air-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--live-red);
    animation: pulse 2s ease-in-out infinite;
}

.lang-toggle {
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    font-family: inherit;
}

.lang-toggle:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

/* Mobile nav toggle */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-hamburger span {
    width: 20px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.3s var(--ease-smooth);
    border-radius: 2px;
}

/* ── 6. Layout ─────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
    padding: clamp(5rem, 12vh, 10rem) 0;
}

.section-spacer {
    height: clamp(3rem, 8vh, 6rem);
}

/* ── 7. Hero ───────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-overline {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 0.3em;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-en);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 0.6rem;
    letter-spacing: 0.05em;
}

/* ── 8. Glass Card ─────────────────────── */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-card));
    -webkit-backdrop-filter: blur(var(--blur-card));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    transition: all 0.4s var(--ease-smooth);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── 9. Big Quote / Pull Section ───────── */
.pull-quote {
    padding: clamp(4rem, 10vh, 8rem) 0;
    text-align: center;
}

.pull-quote blockquote {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-primary);
}

.pull-quote .attribution {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* ── 10. Human Glitch Section ──────────── */
.human-glitch {
    text-align: center;
    padding: clamp(5rem, 14vh, 12rem) 0;
    position: relative;
    overflow: hidden;
}

.human-glitch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.glitch-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.glitch-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.glitch-text em {
    font-style: normal;
    font-weight: 700;
    color: var(--text-primary);
}

.glitch-text .accent-line {
    color: var(--accent);
    font-weight: 600;
}

/* ── 11. Pipeline ──────────────────────── */
.pipeline-container {
    position: relative;
}

.pipeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--border-medium) 10%,
        var(--border-medium) 90%,
        transparent
    );
}

.pipeline-item {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem 0;
    position: relative;
}

.pipeline-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.pipeline-content {
    flex: 1;
    padding-top: 0.8rem;
}

.pipeline-role {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.pipeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pipeline-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ── 12. Tech Stack ────────────────────── */
.tech-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.tech-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tech-name {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.tech-role {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ── 13. Narrative Steps (ETHOS) ───────── */
.narrative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: narrative;
}

.narrative-step {
    position: relative;
    padding: 2.5rem 2rem;
    counter-increment: narrative;
}

.narrative-step::before {
    content: counter(narrative, decimal-leading-zero);
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    line-height: 1;
}

.narrative-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.narrative-subtitle {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.narrative-step p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

/* ── 14. Hosts ─────────────────────────── */
.host-card {
    position: relative;
    overflow: hidden;
}

.host-card .host-meta {
    margin-bottom: 1.5rem;
}

.host-name-main {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.host-name-sub {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.host-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.host-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.host-quote {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.015);
    border-left: 2px solid var(--accent);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── 15. Live Player ───────────────────── */
.live-player-container {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-card));
    -webkit-backdrop-filter: blur(var(--blur-card));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    overflow: hidden;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--live-red);
    animation: pulse 2.4s ease-in-out infinite;
}

.player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-void);
}

.player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── 16. Vision / Feature Blocks ───────── */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.feature-block.reversed {
    direction: rtl;
}

.feature-block.reversed > * {
    direction: ltr;
}

.feature-number {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual .glass-card {
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── 17. Strategic Hook Sections ───────── */
.strategic-hook {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 5rem);
    background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
    position: relative;
    overflow: hidden;
}

.strategic-hook::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.hook-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hook-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hook-desc {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 680px;
}

/* ── 18. Footer ────────────────────────── */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 3rem;
    color: var(--text-tertiary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    transition: color 0.25s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: rgba(200, 169, 126, 0.06);
    border: 1px solid rgba(200, 169, 126, 0.15);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.ai-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ── 19. Dividers & Spacers ────────────── */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
    margin: 0 auto;
}

.divider-accent {
    width: 60px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

/* ── 20. Buttons ───────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

/* ── 21. Legal Pages ───────────────────── */
.legal-page {
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
}

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* ── 22. Animations ────────────────────── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 23. Responsive ────────────────────── */
@media (max-width: 1024px) {
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .narrative-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-block { grid-template-columns: 1fr; gap: 2rem; }
    .feature-block.reversed { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 18px; }

    .nav { padding: 0 0.8rem; }
    .nav-menu { display: none; }
    .nav-hamburger { display: flex; }
    .nav-actions { gap: 0.45rem; }
    .on-air-pill { padding: 0.3rem 0.65rem; font-size: 0.6rem; gap: 0.3rem; }
    .lang-toggle { padding: 0.3rem 0.55rem; font-size: 0.62rem; }
    .focus-mode-btn { padding: 0.3rem 0.5rem; }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(var(--blur-nav));
        -webkit-backdrop-filter: blur(var(--blur-nav));
        border-bottom: 1px solid var(--border-subtle);
        padding: 1rem;
        gap: 0.2rem;
    }

    .nav-menu.open a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .section { padding: 2.8rem 0; }
    .container { padding: 0 1.3rem; }

    .hero {
        padding: 5rem 1.3rem 2.5rem;
        min-height: auto;
        gap: 0;
    }
    .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-overline { margin-bottom: 1rem; }
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        line-height: 1.7;
    }
    .hero::before { width: 300px; height: 300px; }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }
    .section-desc { font-size: 0.95rem; line-height: 1.8; }

    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    .stat-item { padding: 0.7rem 0.5rem; }
    .stat-number { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .stat-label { font-size: 0.65rem; margin-top: 0.3rem; }

    .human-glitch {
        padding: 2.5rem 0;
    }
    .human-glitch::before { width: 280px; height: 280px; }

    .glitch-text {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
        line-height: 1.5;
    }

    .pull-quote { padding: 2.5rem 0; }
    .pull-quote blockquote {
        font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    }

    .strategic-hook {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
    }
    .hook-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-bottom: 0.8rem;
    }
    .hook-desc { font-size: 0.95rem; line-height: 1.8; }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    .feature-title { font-size: clamp(1.15rem, 3.5vw, 1.5rem); }
    .feature-desc { font-size: 0.9rem; line-height: 1.8; }
    .feature-visual .glass-card { min-height: auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
    .footer { padding: 2.5rem 0 2rem; }
    .footer-grid { margin-bottom: 2rem; }

    .mb-6 { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .nav { padding: 0 0.6rem; }
    .nav-actions { gap: 0.3rem; }
    .on-air-pill { padding: 0.25rem 0.5rem; font-size: 0.55rem; }
    .on-air-dot { width: 5px; height: 5px; }
    .lang-toggle { padding: 0.25rem 0.45rem; font-size: 0.58rem; }

    .hero {
        padding: 4.5rem 1rem 2rem;
    }
    .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .hero-subtitle { font-size: 0.9rem; }

    .nav-logo .ko-name { display: none; }
    .nav-logo .divider { display: none; }

    .section { padding: 2.2rem 0; }
    .section-title { font-size: clamp(1.25rem, 5vw, 1.6rem); }

    .glitch-text { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
    .human-glitch { padding: 2rem 0; }

    .pull-quote blockquote { font-size: clamp(1.05rem, 4.5vw, 1.3rem); }
    .pull-quote { padding: 2rem 0; }

    .strategic-hook { padding: 1.5rem 1.2rem; }
    .hook-title { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .stat-item { flex: 1 1 45%; padding: 0.6rem 0.3rem; }
    .stat-number { font-size: clamp(1.4rem, 4.5vw, 1.8rem); }

    .feature-block { padding: 1rem 0; }
}

/* ── 24. Utility ───────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-narrow { max-width: 680px; }
.max-w-medium { max-width: 900px; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── 25. Focus Mode ───────────────────── */
.focus-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    font-family: inherit;
    white-space: nowrap;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.focus-mode-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.focus-mode-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 169, 126, 0.15);
    box-shadow: 0 0 12px rgba(200, 169, 126, 0.15);
}

.focus-mode-btn .focus-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    position: relative;
    flex-shrink: 0;
}

.focus-mode-btn.active .focus-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--accent);
}

body.focus-mode {
    --text-secondary: rgba(255, 255, 255, 0.82);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.12);
    font-size: 1.15rem;
    line-height: 2.15;
}
body.focus-mode .container { max-width: 900px; }
body.focus-mode .hero-subtitle { font-size: 1.15rem; line-height: 2; }
body.focus-mode .feature-desc,
body.focus-mode .hook-desc,
body.focus-mode .section-desc,
body.focus-mode .digest-card-body,
body.focus-mode .quest-card-desc,
body.focus-mode .noisy-text,
body.focus-mode .clean-text,
body.focus-mode .pipeline-desc { font-size: 1.15rem; line-height: 2.15; }
body.focus-mode .digest-card-title,
body.focus-mode .quest-card-title,
body.focus-mode .feature-title,
body.focus-mode .pipeline-title { font-size: 1.25rem; }
body.focus-mode .glass-card { padding: clamp(2rem, 4vw, 3.5rem); }
body.focus-mode .quest-prompt { font-size: 1.05rem; line-height: 1.8; }
body.focus-mode .aurora-canvas { display: none; }
body.focus-mode .hero-tagline-glow { display: none; }
body.focus-mode .shield-icon-glow { display: none; }
body.focus-mode .hero::before { opacity: 0; }
body.focus-mode .human-glitch::before { opacity: 0; }
body.focus-mode .strategic-hook::after { display: none; }
body.focus-mode .reveal { transition-duration: 1.6s; }
body.focus-mode .glass-card { transition-duration: 0.8s; }
body.focus-mode .glass-card:hover { transform: translateY(-1px) translateZ(0); }
body.focus-mode .on-air-dot,
body.focus-mode .live-dot { animation-duration: 4.8s; }
body.focus-mode .holo-node:hover { transform: translateZ(0) scale(1.01); }
body.focus-mode .digest-card:hover,
body.focus-mode .quest-card:hover { transform: translateZ(0) translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
    .reveal { transition-duration: 0.01s !important; }
    .aurora-canvas { display: none; }
    .hero-tagline-glow { display: none; }
    @keyframes pulse { 0%, 100% { opacity: 1; } }
}

/* ── 26. Hero Tagline ─────────────────── */
.hero-tagline-wrap {
    position: relative;
    margin-bottom: 2rem;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.hero-tagline {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-tagline .tagline-distance {
    color: var(--accent);
    font-family: var(--font-en);
}

.hero-tagline-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
    animation: taglineGlow 4s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes taglineGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* ── 27. Aurora Visualizer ────────────── */
.aurora-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    will-change: transform;
    transform: translateZ(0);
}

.aurora-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-play-btn {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    will-change: transform, opacity;
    transform: translateZ(0);
}

.hero-play-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    transform: translateZ(0) scale(1.08);
    box-shadow: 0 0 60px var(--accent-glow);
}

.hero-play-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--text-primary);
    margin-left: 3px;
}

.hero-play-label {
    display: block;
    margin-top: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ── 28. Cognitive Shield Scroll ──────── */
.shield-scroll-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem;
}

.shield-scroll-inner {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.shield-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.shield-icon-wrap svg {
    width: 80px;
    height: 80px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
}

.shield-icon-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
    will-change: opacity;
}

.shield-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.noisy-text,
.clean-text {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
}

.noisy-text {
    color: var(--text-muted);
    font-weight: 300;
}

.clean-text {
    color: var(--text-primary);
    font-weight: 500;
    opacity: 0;
}

.shield-text-wrap {
    position: relative;
}

.shield-text-wrap .clean-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* ── 29. Cognitive Loupe ──────────────── */
.woorini-loupe {
    position: relative;
    display: inline;
    border-bottom: 1px dashed var(--accent);
    cursor: help;
    transition: border-color 0.3s var(--ease-smooth);
}

.woorini-loupe:hover {
    border-color: var(--text-primary);
}

.loupe-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    max-width: 320px;
    padding: 1rem 1.2rem;
    background: rgba(20, 20, 20, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
    pointer-events: none;
    z-index: 100;
    will-change: transform, opacity;
    transform-origin: bottom center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.loupe-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(20, 20, 20, 0.88);
}

.woorini-loupe:hover .loupe-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.loupe-tooltip .loupe-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

/* ── 30. AI Daily Digest ──────────────── */
.digest-section {
    padding: clamp(5rem, 12vh, 10rem) 0;
}

.digest-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 clamp(1.5rem, 4vw, 3rem);
    padding: 1rem 0;
    scrollbar-width: none;
}

.digest-track::-webkit-scrollbar {
    display: none;
}

.digest-card {
    flex: 0 0 min(360px, 85vw);
    scroll-snap-align: start;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-card));
    -webkit-backdrop-filter: blur(var(--blur-card));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: all 0.4s var(--ease-smooth);
    will-change: transform, opacity;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
}

.digest-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateZ(0) translateY(-2px);
}

.digest-card-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.digest-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.digest-card-body {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    flex: 1;
}

.digest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.digest-card-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ── 31. Quest Board ──────────────────── */
.quest-section {
    padding: clamp(5rem, 12vh, 10rem) 0;
}

.quest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.quest-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-card));
    -webkit-backdrop-filter: blur(var(--blur-card));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: all 0.4s var(--ease-smooth);
    will-change: transform, opacity;
    transform: translateZ(0);
}

.quest-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateZ(0) translateY(-2px);
}

.quest-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.quest-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.quest-card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.quest-prompt {
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.quest-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    background: var(--accent-soft);
    border: 1px solid rgba(200, 169, 126, 0.2);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: inherit;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.quest-copy-btn:hover {
    background: rgba(200, 169, 126, 0.18);
    border-color: var(--accent);
    transform: translateZ(0) translateY(-1px);
}

.quest-copy-btn.copied {
    background: rgba(52, 199, 89, 0.12);
    border-color: rgba(52, 199, 89, 0.3);
    color: #34c759;
}

/* ── 32. Share Button ─────────────────── */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-family: inherit;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.share-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    transform: translateZ(0) translateY(-1px);
}

.share-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ── 33. Holographic Dashboard ────────── */
.holo-dashboard {
    position: relative;
    padding: 3rem 0;
    will-change: transform;
    transform: translateZ(0);
}

.holo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    perspective: 1200px;
}

.holo-node {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-card));
    -webkit-backdrop-filter: blur(var(--blur-card));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.5s var(--ease-smooth);
    will-change: transform, opacity;
    transform: translateZ(0);
    transform-style: preserve-3d;
}

.holo-node:hover {
    border-color: var(--accent);
    background: var(--bg-glass-hover);
    transform: translateZ(20px) scale(1.04);
    box-shadow: 0 20px 60px rgba(200, 169, 126, 0.08);
    z-index: 10;
}

.holo-node-number {
    font-family: var(--font-en);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.holo-node-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.holo-node-role {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.holo-node-connector {
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 1.5rem;
    height: 1px;
    background: var(--border-medium);
    will-change: opacity;
}

.holo-node:nth-child(4n) .holo-node-connector {
    display: none;
}

.holo-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 280px;
    padding: 1.2rem 1.5rem;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
    z-index: 20;
    will-change: transform, opacity;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.holo-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(20, 20, 20, 0.92);
}

.holo-node:hover .holo-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.holo-popup-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.holo-popup-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* ── 34. GPU Acceleration Helper ──────── */
.gpu-accel {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ── 35. Nav Logo Animation (Anyma) ──── */
.nav-logo-anim {
    display: flex;
    align-items: center;
    position: relative;
    height: 28px;
    min-width: 180px;
}

.nav-logo-svg {
    width: 42px;
    height: 22px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    will-change: transform, opacity, filter;
    pointer-events: none;
}

.nav-logo-svg path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.nav-logo-svg.phase-draw {
    opacity: 1;
}

.nav-logo-svg.phase-draw path {
    animation: svgLoopDraw 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-logo-svg.phase-glow path {
    animation: svgLoopDraw 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               svgPulseGlow 1.6s ease-in-out infinite 1s;
}

.nav-logo-svg.phase-glitch {
    animation: glitchJitter 0.08s steps(3) 6, glitchFlash 0.5s steps(4);
    filter:
        drop-shadow(-3px 0 rgba(200, 169, 126, 0.9))
        drop-shadow(3px 0 rgba(74, 111, 165, 0.7));
}

.nav-logo-svg.phase-out {
    opacity: 0;
    transition: opacity 0.15s;
}

.nav-logo-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    white-space: nowrap;
}

.nav-logo-text.phase-reveal {
    opacity: 1;
}

.nav-logo-char {
    display: inline-block;
    opacity: 0;
    will-change: opacity, transform, filter;
    transform: translateZ(0);
}

.nav-logo-char.revealed {
    animation: charNeonFlicker 0.4s ease-out forwards;
}

.nav-logo-char.settled {
    opacity: 1;
    animation: none;
}

@keyframes svgLoopDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes svgPulseGlow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(200, 169, 126, 0.2)); }
    50% { filter: drop-shadow(0 0 10px rgba(200, 169, 126, 0.6)) drop-shadow(0 0 20px rgba(200, 169, 126, 0.15)); }
}

@keyframes glitchJitter {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    20% { transform: translate(-50%, -50%) translate(-4px, 2px); }
    40% { transform: translate(-50%, -50%) translate(3px, -1px); }
    60% { transform: translate(-50%, -50%) translate(-2px, -2px); }
    80% { transform: translate(-50%, -50%) translate(4px, 1px); }
    100% { transform: translate(-50%, -50%) translate(-1px, 0); }
}

@keyframes glitchFlash {
    0%, 100% { opacity: 1; }
    15% { opacity: 0.2; }
    30% { opacity: 0.9; }
    45% { opacity: 0.1; }
    60% { opacity: 0.7; }
    75% { opacity: 0.15; }
    90% { opacity: 0.85; }
}

@keyframes charNeonFlicker {
    0% {
        opacity: 0;
        filter: blur(6px);
        text-shadow:
            0 0 14px rgba(200, 169, 126, 0.9),
            0 0 30px rgba(200, 169, 126, 0.4),
            -2px 0 rgba(200, 169, 126, 0.6),
            2px 0 rgba(74, 111, 165, 0.5);
    }
    20% {
        opacity: 0.8;
        filter: blur(1px);
    }
    35% {
        opacity: 0.2;
        filter: blur(2px);
    }
    55% {
        opacity: 0.9;
        filter: blur(0);
        text-shadow:
            0 0 8px rgba(200, 169, 126, 0.5),
            -1px 0 rgba(200, 169, 126, 0.3),
            1px 0 rgba(74, 111, 165, 0.2);
    }
    70% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        filter: blur(0);
        text-shadow: none;
    }
}

.nav-logo:hover .nav-logo-char.settled {
    animation: hoverRgbSplit 0.35s steps(3);
}

@keyframes hoverRgbSplit {
    0%, 100% { text-shadow: none; transform: translate(0); }
    25% { text-shadow: -2px 0 rgba(200, 169, 126, 0.6), 2px 0 rgba(74, 111, 165, 0.5); transform: translate(-1px, 0); }
    50% { text-shadow: 2px 0 rgba(200, 169, 126, 0.6), -2px 0 rgba(74, 111, 165, 0.5); transform: translate(1px, 0); }
    75% { text-shadow: -1px 1px rgba(200, 169, 126, 0.4), 1px -1px rgba(74, 111, 165, 0.3); transform: translate(0); }
}

body.focus-mode .nav-logo-svg { display: none; }
body.focus-mode .nav-logo-text { opacity: 1 !important; }
body.focus-mode .nav-logo-char { opacity: 1 !important; animation: none !important; }

/* ── 36. New Component Responsive ─────── */
@media (max-width: 1024px) {
    .holo-grid { grid-template-columns: repeat(3, 1fr); }
    .holo-node:nth-child(4n) .holo-node-connector { display: block; }
    .holo-node:nth-child(3n) .holo-node-connector { display: none; }
}

@media (max-width: 768px) {
    .holo-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .holo-node:nth-child(3n) .holo-node-connector { display: block; }
    .holo-node:nth-child(2n) .holo-node-connector { display: none; }
    .holo-node { padding: 1rem; }
    .holo-node-title { font-size: 0.85rem; }

    .digest-section { padding: 2.8rem 0; }
    .digest-card { flex: 0 0 82vw; }
    .digest-card-title { font-size: 1rem; line-height: 1.4; }
    .digest-card-body { font-size: 0.9rem; line-height: 1.7; }
    .digest-card-tag { font-size: 0.6rem; margin-bottom: 0.5rem; }

    .quest-section { padding: 2.8rem 0; }
    .quest-grid { grid-template-columns: 1fr; gap: 1rem; }
    .quest-card { padding: 1.5rem; }
    .quest-card-title { font-size: 1rem; }
    .quest-card-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.8rem; }
    .quest-prompt { font-size: 0.85rem; padding: 0.7rem 1rem; margin-bottom: 0.8rem; }
    .quest-copy-btn { font-size: 0.75rem; padding: 0.5rem 1.2rem; }

    .focus-mode-btn .focus-label { display: none; }

    .shield-scroll-section {
        min-height: auto;
        padding: 2.5rem 1.3rem;
    }
    .shield-icon-wrap { width: 80px; height: 80px; margin: 1.2rem auto; }
    .shield-icon-wrap svg { width: 52px; height: 52px; }
    .shield-label { margin-bottom: 1rem; }
    .noisy-text, .clean-text { font-size: 0.92rem; line-height: 1.8; }

    .hero-tagline { font-size: clamp(1.3rem, 5.5vw, 2rem); }
    .hero-tagline-glow { width: 280px; height: 100px; }

    .aurora-wrap { margin-top: 1.5rem; }
    .aurora-canvas { width: 160px; height: 160px; }
    .hero-play-btn { width: 56px; height: 56px; }
    .hero-play-btn svg { width: 20px; height: 20px; }
    .hero-play-label { font-size: 0.6rem; margin-top: 0.7rem; }

    .loupe-tooltip {
        min-width: 200px;
        max-width: 260px;
        left: 0;
        transform: translateY(8px);
    }
    .woorini-loupe:hover .loupe-tooltip {
        transform: translateY(0);
    }
    .holo-popup {
        left: 0;
        transform: translateY(8px);
        width: 220px;
        padding: 1rem;
    }
    .holo-node:hover .holo-popup {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .holo-grid { grid-template-columns: 1fr; }
    .holo-node .holo-node-connector { display: none !important; }

    .digest-section { padding: 2.2rem 0; }
    .digest-card { flex: 0 0 88vw; padding: 1.2rem; }
    .digest-card-title { font-size: 0.95rem; }
    .digest-card-body { font-size: 0.85rem; }

    .quest-section { padding: 2.2rem 0; }
    .quest-card { padding: 1.2rem; }

    .hero-tagline { font-size: clamp(1.15rem, 6.5vw, 1.7rem); }
    .aurora-canvas { width: 130px; height: 130px; }
    .hero-play-btn { width: 50px; height: 50px; }
    .hero-play-btn svg { width: 18px; height: 18px; }

    .shield-scroll-section { padding: 2rem 1rem; }
    .shield-icon-wrap { width: 64px; height: 64px; margin: 1rem auto; }
    .shield-icon-wrap svg { width: 42px; height: 42px; }
    .noisy-text, .clean-text { font-size: 0.88rem; }
}
