/* =============================================
   DESIGN SYSTEM — Overlens Bootcamp Aula 02
   Inherits palette from Aula 01, with time-themed accents
   ============================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent-primary: #f59e0b;
    --accent-secondary: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.3);
    --purple: #7c5cfc;
    --purple-light: #a78bfa;
    --gradient-main: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(249, 115, 22, 0.08) 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #7c5cfc 100%);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(245, 158, 11, 0.2);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.12);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-padding: 120px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: var(--transition-smooth); background: transparent; }
#navbar.scrolled { background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-subtle); padding: 10px 0; }
.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--text-primary); text-decoration: none; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.4rem; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; list-style: none; gap: 8px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--bg-glass); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-fast); }

/* ---- HERO ---- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 120px 24px 80px; overflow: hidden; }
.hero-bg-effects { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.35; animation: orbFloat 20s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: #f59e0b; top: -15%; right: -10%; }
.orb-2 { width: 400px; height: 400px; background: #ef4444; bottom: -10%; left: -10%; animation-delay: -7s; }
.orb-3 { width: 300px; height: 300px; background: #f97316; top: 40%; left: 30%; animation-delay: -14s; opacity: 0.18; }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 25% { transform: translate(30px, -40px) scale(1.05); } 50% { transform: translate(-20px, 20px) scale(0.95); } 75% { transform: translate(40px, 30px) scale(1.02); } }
.hero-content { text-align: center; position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-block; background: var(--bg-glass); border: 1px solid var(--border-subtle); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 32px; backdrop-filter: blur(10px); letter-spacing: 1px; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 24px; letter-spacing: -2px; }
.gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }
.hero-subtitle strong { color: var(--accent-secondary); }
.hero-meta { display: flex; justify-content: center; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--gradient-main); color: white; text-decoration: none; padding: 16px 36px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition-smooth); box-shadow: var(--shadow-glow); }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 0 60px rgba(245, 158, 11, 0.3); }
.hero-cta svg { animation: bounceDown 2s ease-in-out infinite; }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---- SECTIONS ---- */
.section { padding: var(--section-padding) 0; position: relative; }
.section-dark { background: var(--bg-secondary); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 72px; }
.section-label { display: inline-block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; }
.section-header h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.section-desc strong { color: var(--accent-secondary); }

.glass-card { background: var(--bg-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); backdrop-filter: blur(12px); padding: 40px; transition: var(--transition-smooth); }
.glass-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }

/* ---- REVIEW ---- */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.review-card { padding: 28px; text-align: center; }
.review-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.review-card h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 8px; }
.review-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.callout { display: flex; gap: 20px; align-items: flex-start; background: var(--gradient-subtle); border: 1px solid var(--border-glow); border-radius: var(--radius-lg); padding: 28px 32px; }
.callout-icon { font-size: 1.5rem; flex-shrink: 0; }
.callout-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }
.callout-content strong { color: var(--text-primary); }

/* ---- MEMENTO MORI ---- */
.memento-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.memento-text { padding: 40px; }
.memento-text h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 16px; }
.memento-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.memento-text blockquote { border-left: 3px solid var(--accent-primary); padding: 16px 20px; margin: 20px 0; background: rgba(245, 158, 11, 0.05); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; color: var(--text-secondary); }
.book-rec { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: rgba(124, 92, 252, 0.06); border: 1px solid rgba(124, 92, 252, 0.1); border-radius: var(--radius-md); margin-top: 20px; }
.book-icon { font-size: 1.3rem; }
.book-rec div { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.life-visualization { padding: 36px; text-align: center; }
.life-visualization h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 8px; }
.life-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.life-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 340px; margin: 0 auto 24px; }
.life-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.life-dot.lived { background: rgba(245, 158, 11, 0.6); border-color: rgba(245, 158, 11, 0.8); }
.life-dot.remaining { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.life-controls { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 24px; }
.life-controls label { font-size: 0.85rem; color: var(--text-muted); }
.life-controls input[type="range"] { width: 200px; accent-color: var(--accent-primary); }
.age-display { font-family: var(--font-heading); font-weight: 700; color: var(--accent-secondary); min-width: 70px; }
.life-stats { display: flex; justify-content: center; gap: 36px; margin-bottom: 16px; }
.life-stat { text-align: center; }
.stat-value { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; }
.stat-value.accent { color: var(--accent-secondary); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.life-footnote { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

/* ---- SYSTEM ---- */
.system-visual { padding: 48px; margin-bottom: 40px; }
.sys-capacity { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.sys-cap-icon { font-size: 2rem; }
.sys-cap-header h4 { font-family: var(--font-heading); font-size: 1.2rem; }
.sys-cap-header p { font-size: 0.85rem; color: var(--text-muted); }
.sys-cap-bar { margin-top: 12px; }
.sys-no-input { padding: 12px 20px; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.15); border-radius: var(--radius-sm); text-align: center; }
.sys-no-input span { font-weight: 600; color: #f87171; font-size: 0.9rem; }
.sys-no-input small { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.sys-outputs-label { text-align: center; padding: 16px 0; }
.sys-outputs-label span { font-size: 0.85rem; color: var(--accent-secondary); font-weight: 600; letter-spacing: 1px; }

.sys-buckets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.bucket { padding: 24px; border-radius: var(--radius-md); text-align: center; transition: var(--transition-smooth); }
.bucket:hover { transform: translateY(-4px); }
.bucket-icon { font-size: 2rem; margin-bottom: 8px; }
.bucket h4 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 6px; }
.bucket p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.bucket ul { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.bucket ul li { font-size: 0.8rem; color: var(--text-muted); padding-left: 14px; position: relative; }
.bucket ul li::before { content: '·'; position: absolute; left: 0; color: var(--accent-primary); font-weight: 700; }
.bucket-invest { background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.12); }
.bucket-ops { background: rgba(124, 92, 252, 0.06); border: 1px solid rgba(124, 92, 252, 0.12); }
.bucket-debt { background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.12); }
.bucket-leak { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.12); }

.sys-cycles { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cycle-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.cycles-list { display: flex; gap: 8px; flex-wrap: wrap; }
.cycle-tag { padding: 6px 14px; border-radius: 50px; background: rgba(124, 92, 252, 0.08); border: 1px solid rgba(124, 92, 252, 0.12); font-size: 0.8rem; color: var(--purple-light); font-weight: 500; }

.sys-properties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sys-prop { padding: 24px; text-align: center; }
.sys-prop h4 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 8px; }
.sys-prop p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- MYTHS ---- */
.myths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.myth-card { padding: 32px; }
.myth-header { margin-bottom: 16px; }
.myth-badge { display: inline-block; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 50px; background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.15); margin-bottom: 10px; }
.myth-header h3 { font-family: var(--font-heading); font-size: 1.15rem; }
.myth-body p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.myth-truth { background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.1); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; }
.truth-label { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: #34d399; display: block; margin-bottom: 6px; }
.myth-truth p { font-size: 0.88rem; margin-bottom: 0; }
.myth-insight { padding: 14px 16px; background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.1); border-radius: var(--radius-md); }
.myth-insight p { font-size: 0.85rem; margin-bottom: 0; }

/* Say No */
.say-no-box { padding: 48px; }
.say-no-header { text-align: center; margin-bottom: 32px; }
.say-no-header h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.say-no-header p { font-size: 0.95rem; color: var(--text-secondary); }
.say-no-logic { display: flex; flex-direction: column; gap: 16px; max-width: 600px; margin: 0 auto 24px; }
.say-no-item { display: flex; align-items: center; gap: 16px; }
.sn-icon { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; padding: 12px 24px; border-radius: var(--radius-sm); min-width: 80px; text-align: center; }
.sn-yes { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.15); }
.sn-no { background: rgba(239, 68, 68, 0.1); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.15); }
.sn-arrow { font-size: 1.5rem; color: var(--text-muted); }
.sn-result { font-size: 0.95rem; color: var(--text-secondary); }
.say-no-warning { text-align: center; padding: 20px; background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.1); border-radius: var(--radius-md); }
.say-no-warning p { font-size: 0.92rem; color: var(--text-secondary); }

/* ---- BUCKETS DETAIL ---- */
.buckets-detail { display: flex; flex-direction: column; gap: 24px; }
.bucket-detail-card { background: var(--bg-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition-smooth); }
.bucket-detail-card:hover { border-color: var(--border-glow); }
.bd-header { display: flex; gap: 16px; align-items: center; padding: 28px 32px; }
.bd-icon { font-size: 2.2rem; }
.bd-title h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.bd-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; margin-top: 4px; }
.bd-tag-good { background: rgba(16, 185, 129, 0.1); color: #34d399; }
.bd-tag-neutral { background: rgba(124, 92, 252, 0.1); color: var(--purple-light); }
.bd-tag-warn { background: rgba(245, 158, 11, 0.1); color: var(--accent-secondary); }
.bd-tag-danger { background: rgba(239, 68, 68, 0.1); color: #f87171; }
.bd-body { padding: 0 32px 32px; }
.bd-body > p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.bd-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bd-col { padding: 20px; border-radius: var(--radius-md); }
.bd-col h4 { font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 12px; }
.bd-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bd-col ul li { font-size: 0.88rem; color: var(--text-secondary); padding-left: 16px; position: relative; }
.bd-col ul li::before { content: '→'; position: absolute; left: 0; font-size: 0.8rem; }
.bd-col-good { background: rgba(16, 185, 129, 0.04); border: 1px solid rgba(16, 185, 129, 0.08); }
.bd-col-good ul li::before { color: #34d399; }
.bd-col-bad { background: rgba(239, 68, 68, 0.04); border: 1px solid rgba(239, 68, 68, 0.08); }
.bd-col-bad ul li::before { color: #f87171; }
.bd-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-example { padding: 6px 14px; border-radius: 50px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); font-size: 0.82rem; color: var(--text-secondary); }
.bd-note { margin-top: 16px; padding: 14px 16px; background: rgba(245, 158, 11, 0.05); border: 1px solid rgba(245, 158, 11, 0.08); border-radius: var(--radius-md); }
.bd-note p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.bd-alert { margin-top: 16px; padding: 14px 16px; background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.1); border-radius: var(--radius-md); }
.bd-alert p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- CALC ---- */
.calc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; }
.calc-card { padding: 0; overflow: hidden; }
.calc-header { padding: 28px 32px; }
.calc-header h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 4px; }
.calc-header p { font-size: 0.85rem; opacity: 0.8; }
.calc-header-money { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1)); }
.calc-header-time { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.1)); }
.calc-body { padding: 28px 32px; }
.calc-formula { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.calc-item { padding: 12px 16px; border-radius: var(--radius-sm); }
.calc-label { display: block; font-weight: 600; font-size: 0.9rem; }
.calc-desc { font-size: 0.78rem; color: var(--text-muted); }
.calc-positive { background: rgba(16, 185, 129, 0.06); border-left: 3px solid #10b981; }
.calc-negative { background: rgba(239, 68, 68, 0.04); border-left: 3px solid #ef4444; }
.calc-result { background: rgba(245, 158, 11, 0.06); border-left: 3px solid var(--accent-primary); }
.calc-operator { text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--text-muted); padding: 4px 0; }
.calc-example { background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px; }
.calc-example h4 { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 12px; color: var(--text-muted); }
.calc-ex-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.03); }
.calc-ex-total { border-top: 2px solid var(--border-subtle); border-bottom: none; padding-top: 10px; margin-top: 4px; font-weight: 600; color: var(--text-primary); }
.calc-val { font-family: var(--font-heading); font-weight: 600; }
.calc-val.positive { color: #34d399; }
.calc-val.negative { color: #f87171; }
.calc-val.deficit { color: #f87171; font-size: 1rem; }
.calc-conclusion { font-size: 0.85rem; color: var(--text-secondary); margin-top: 12px; line-height: 1.6; }

/* States */
.states-title { font-family: var(--font-heading); font-size: 1.3rem; text-align: center; margin-bottom: 28px; }
.states-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.state-card { padding: 24px; border-radius: var(--radius-md); text-align: center; transition: var(--transition-smooth); }
.state-card:hover { transform: translateY(-4px); }
.state-card h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 8px; }
.state-card p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 10px; }
.state-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.state-suffocated { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.12); }
.state-suffocated .state-label { color: #f87171; }
.state-poor-time { background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.12); }
.state-poor-time .state-label { color: var(--accent-secondary); }
.state-exhausted { background: rgba(124, 92, 252, 0.06); border: 1px solid rgba(124, 92, 252, 0.12); }
.state-exhausted .state-label { color: var(--purple-light); }
.state-regulated { background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.12); }
.state-regulated .state-label { color: #34d399; }

/* ---- MATRIX ---- */
.matrix-section { padding: 48px; margin-bottom: 48px; }
.matrix-section h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.matrix-subtitle { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 32px; }
.matrix-visual { position: relative; }
.matrix-axis-y { position: absolute; left: -20px; top: 0; bottom: 40px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; writing-mode: vertical-rl; text-orientation: mixed; }
.axis-label-top, .axis-label-bottom { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); transform: rotate(180deg); }
.matrix-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-left: 20px; }
.matrix-cell { padding: 24px; border-radius: var(--radius-md); transition: var(--transition-smooth); }
.matrix-cell:hover { transform: translateY(-3px); }
.cell-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cell-icon { font-size: 1.4rem; }
.cell-header h4 { font-family: var(--font-heading); font-size: 1.05rem; }
.matrix-cell > p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.matrix-cell ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.matrix-cell ul li { font-size: 0.85rem; color: var(--text-secondary); padding-left: 16px; position: relative; }
.matrix-cell ul li::before { content: '→'; position: absolute; left: 0; font-size: 0.8rem; }
.cell-shield { background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.12); }
.cell-shield ul li::before { color: #34d399; }
.cell-delegate { background: rgba(6, 182, 212, 0.06); border: 1px solid rgba(6, 182, 212, 0.12); }
.cell-delegate ul li::before { color: #06b6d4; }
.cell-automate { background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.12); }
.cell-automate ul li::before { color: var(--accent-secondary); }
.cell-eliminate { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.12); }
.cell-eliminate ul li::before { color: #f87171; }
.matrix-axis-x { display: flex; justify-content: space-around; margin-top: 12px; margin-left: 20px; }
.matrix-axis-x span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.matrix-note { margin-top: 20px; padding: 14px 16px; background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.08); border-radius: var(--radius-md); }
.matrix-note p { font-size: 0.85rem; color: var(--text-secondary); }

/* Delegate */
.delegate-title { font-family: var(--font-heading); font-size: 1.3rem; text-align: center; margin-bottom: 24px; }
.delegate-comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.delegate-card { padding: 28px; }
.delegate-card h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 12px; }
.delegate-card blockquote { border-left: 3px solid var(--border-subtle); padding: 10px 16px; margin: 0 0 16px; font-style: italic; font-size: 0.9rem; color: var(--text-muted); }
.delegate-card p { font-size: 0.9rem; color: var(--text-secondary); }
.delegate-card ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.delegate-card ol li { font-size: 0.9rem; color: var(--text-secondary); }
.delegate-wrong blockquote { border-left-color: #ef4444; background: rgba(239, 68, 68, 0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.delegate-right blockquote { border-left-color: #10b981; background: rgba(16, 185, 129, 0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---- EXERCISE ---- */
.section-exercise { background: linear-gradient(180deg, var(--bg-primary) 0%, #100d08 100%); }
.exercise-main { padding: 0; overflow: hidden; margin-bottom: 48px; }
.exercise-header { background: var(--gradient-main); padding: 32px 40px; }
.exercise-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: rgba(255, 255, 255, 0.2); padding: 6px 14px; border-radius: 50px; margin-bottom: 12px; }
.exercise-header h3 { font-family: var(--font-heading); font-size: 1.6rem; }
.exercise-body { padding: 40px; }
.exercise-parts { display: flex; flex-direction: column; gap: 36px; }
.ex-part { border-left: 3px solid var(--accent-primary); padding-left: 24px; }
.ex-part-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ex-part-num { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(245, 158, 11, 0.1); color: var(--accent-secondary); padding: 4px 12px; border-radius: 50px; }
.ex-part-header h4 { font-family: var(--font-heading); font-size: 1.1rem; }
.ex-part ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ex-part ul li { font-size: 0.92rem; color: var(--text-secondary); padding-left: 20px; position: relative; line-height: 1.6; }
.ex-part ul li::before { content: '→'; position: absolute; left: 0; color: var(--accent-primary); }
.ex-examples { margin-top: 16px; }
.ex-examples h5 { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 10px; color: var(--text-secondary); }
.ex-no-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-no-item { padding: 8px 16px; border-radius: 50px; background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.1); font-size: 0.82rem; color: var(--text-secondary); }

/* Horizon */
.horizon-box { margin-bottom: 48px; padding: 40px; }
.horizon-header { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.horizon-icon { font-size: 2rem; }
.horizon-header h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.horizon-body p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.horizon-tip { padding: 16px 20px; background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.1); border-radius: var(--radius-md); margin-bottom: 20px; }
.horizon-tip p { margin-bottom: 0; font-size: 0.92rem; }
.horizon-tools h4 { font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 10px; }
.tool-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-tag { padding: 8px 16px; border-radius: 50px; background: rgba(124, 92, 252, 0.08); border: 1px solid rgba(124, 92, 252, 0.12); font-size: 0.82rem; color: var(--purple-light); }

/* Next class */
.next-class { display: flex; gap: 24px; align-items: flex-start; padding: 36px; }
.next-icon { font-size: 2.5rem; flex-shrink: 0; }
.next-content h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 8px; }
.next-content > p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.bootcamp-schedule { display: flex; gap: 12px; flex-wrap: wrap; }
.schedule-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); font-size: 0.85rem; color: var(--text-muted); }
.schedule-item.done { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.12); color: #6ee7b7; }
.schedule-item.active { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); color: var(--accent-secondary); }
.schedule-item.next { background: rgba(124, 92, 252, 0.1); border-color: rgba(124, 92, 252, 0.2); color: var(--purple-light); }
.schedule-num { font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; opacity: 0.6; }

/* ---- FOOTER ---- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border-subtle); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.footer-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; letter-spacing: 2px; }
.footer-brand p { font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; color: var(--text-muted); letter-spacing: 0; margin-top: 4px; }
.footer-nav a { color: var(--accent-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition-fast); }
.footer-nav a:hover { color: var(--text-primary); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .review-grid, .sys-buckets, .sys-properties, .states-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-padding: 64px; }
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 10, 15, 0.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 8px; opacity: 0; pointer-events: none; transition: var(--transition-smooth); z-index: 999; }
    .nav-links.active { opacity: 1; pointer-events: all; }
    .nav-links a { font-size: 1.2rem; padding: 12px 24px; }
    .memento-content, .calc-grid, .myths-grid, .delegate-comparison, .matrix-grid-4 { grid-template-columns: 1fr; }
    .review-grid, .sys-buckets, .sys-properties, .states-grid { grid-template-columns: 1fr; }
    .matrix-axis-y { display: none; }
    .matrix-grid-4 { margin-left: 0; }
    .matrix-axis-x { margin-left: 0; }
    .glass-card { padding: 28px; }
    .exercise-header { padding: 24px 28px; }
    .exercise-body { padding: 28px; }
    .next-class { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .say-no-item { flex-direction: column; gap: 8px; text-align: center; }
    .sn-arrow { transform: rotate(90deg); }
    .bootcamp-schedule { flex-direction: column; }
    .bd-columns { grid-template-columns: 1fr; }
    .life-stats { flex-direction: column; gap: 16px; }
}
