/* ========================================
   Momentum FX Academy - Mobile-First CSS
   ======================================== */

/* CSS Variables */
:root {
    --gold: #d4af37;
    --gold-light: #e8cf8a;
    --gold-dark: #b8960c;
    --dark: #2c2c2c;
    --text: #3a3a3a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fefefe;
    --bg-alt: #f8f9fa;
    --green: #22c55e;
    --red: #ef4444;
    --blue: #4a6fa5;
    --orange: #f59e0b;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --transition: 0.3s ease;
    --radius: 8px;
}

/* ========================================
   Base Reset & Typography (Mobile-First)
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: var(--dark);
}

/* ========================================
   Navigation (Mobile-First)
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--bg-alt);
    color: var(--gold);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 2px solid var(--gold);
    text-align: center;
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 2px solid var(--text);
    transition: all var(--transition);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--text);
    color: #fff;
}

/* ========================================
   Hero Section (Mobile-First)
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 6rem 1.25rem 3rem;
    background: linear-gradient(135deg, #fff 0%, var(--bg-alt) 100%);
}

.hero-content {
    order: 2;
    text-align: center;
    padding-top: 2rem;
}

.hero-visual {
    order: 1;
    display: flex;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    max-width: 350px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   Sections (Mobile-First)
   ======================================== */
.section {
    padding: 4rem 1.25rem;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ========================================
   About Section (Mobile-First)
   ======================================== */
.about-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}

.about-card.featured {
    border-left: 3px solid var(--gold);
}

.about-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-note {
    font-style: italic;
    color: var(--gold-dark);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Warning Block */
.warning-block {
    background: #fffbf0;
    border-left: 3px solid var(--gold);
    padding: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.warning-block.small {
    padding: 1rem;
    font-size: 0.9rem;
}

.warning-block h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.warning-block ul {
    margin: 0;
}

.warning-block li {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Chapter Blocks (Mobile-First)
   ======================================== */
.chapter-block {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
}

.chapter-number {
    background: var(--gold);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    font-family: 'Playfair Display', serif;
}

.chapter-content {
    padding: 1.5rem;
}

.chapter-content h3 {
    margin-bottom: 0.75rem;
}

.chapter-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Concept Grid */
.concept-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.concept {
    background: var(--bg-alt);
    padding: 1.25rem;
    border-radius: var(--radius);
}

.concept h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.concept p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.concept .note {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.concept ul {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Insight Box */
.insight-box {
    background: #f0f7ff;
    border-left: 3px solid var(--blue);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
}

.insight-box.gold {
    background: #fffbf0;
    border-left-color: var(--gold);
}

/* Visual Blocks */
.visual-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.visual-block svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Two Column */
.two-col {
    display: grid;
    gap: 1.5rem;
}

.col h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.col p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Danger Block */
.danger-block {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    padding: 1.25rem;
}

.danger-block h4 {
    font-size: 1rem;
    color: var(--red);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.leverage-table {
    font-size: 0.85rem;
}

.leverage-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #fecaca;
}

.leverage-row.header {
    font-weight: 600;
    color: var(--dark);
}

.leverage-row.safe { color: var(--green); }
.leverage-row.moderate { color: var(--gold-dark); }
.leverage-row.danger { color: var(--orange); }
.leverage-row.extreme { color: var(--red); font-weight: 600; }

.danger-note {
    font-size: 0.85rem;
    margin-top: 1rem;
    color: var(--text-light);
}

/* ========================================
   Sessions Visual
   ======================================== */
.sessions-visual {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.sessions-svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* AMD Cycle */
.amd-cycle {
    margin-bottom: 1.5rem;
}

.amd-cycle h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.cycle-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cycle-step {
    text-align: center;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    flex: 1;
    min-width: 100px;
}

.step-letter {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.step-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0.25rem 0;
}

.step-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cycle-arrow {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 300;
    display: none;
}

@media (min-width: 640px) {
    .cycle-arrow {
        display: block;
        font-size: 1.5rem;
    }
}

/* ========================================
   Structure Visual
   ======================================== */
.structure-visual {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.structure-svg {
    width: 100%;
    height: auto;
    min-width: 350px;
}

/* Rules Grid */
.rules-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.rule-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.rule-icon.bullish { background: rgba(34,197,94,0.15); color: var(--green); }
.rule-icon.bearish { background: rgba(239,68,68,0.15); color: var(--red); }
.rule-icon.neutral { background: rgba(153,153,153,0.15); color: var(--text-muted); }

.rule-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.rule-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Liquidity Visual
   ======================================== */
.liquidity-visual {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.liquidity-svg {
    width: 100%;
    height: auto;
    min-width: 350px;
}

.liquidity-pools {
    margin-bottom: 1.5rem;
}

.liquidity-pools h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.liquidity-pools ul {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   Drawdown Visual
   ======================================== */
.drawdown-visual {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.drawdown-svg {
    width: 100%;
    height: auto;
    min-width: 350px;
}

/* Position Formula */
.position-formula {
    background: var(--bg-alt);
    padding: 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.position-formula h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.formula {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    margin-bottom: 0.75rem;
    overflow-x: auto;
}

.formula-example {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Risk Rules */
.risk-rules {
    margin-bottom: 1.5rem;
}

.risk-rules h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.risk-rules ol {
    font-size: 0.9rem;
    color: var(--text-light);
}

.risk-rules li {
    padding: 0.25rem 0;
}

/* Psychology Errors */
.psychology-errors h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.error-grid {
    display: grid;
    gap: 1rem;
}

.error {
    padding: 1rem;
    background: #fff5f5;
    border-radius: var(--radius);
    border-left: 3px solid var(--red);
}

.error strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--red);
}

.error p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   5-Pillar Checklist
   ======================================== */
.checklist-intro {
    background: var(--gold);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.pillars-detailed {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pillar-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.pillar-num {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.pillar-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.fail-condition {
    font-size: 0.8rem;
    color: var(--red);
    display: block;
}

/* Quote Block */
.quote-block {
    padding: 2rem 1rem;
    text-align: center;
}

.quote-block blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.quote-block blockquote::before {
    content: '\201C';
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: 0;
}

/* ========================================
   Mastery Section
   ======================================== */
.process-outcome {
    margin-bottom: 1.5rem;
}

.po-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: var(--radius);
}

.po-item:first-child {
    background: rgba(34,197,94,0.1);
}

.po-item:last-child {
    background: rgba(239,68,68,0.1);
}

.po-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.po-icon.good { background: var(--green); color: #fff; }
.po-icon.bad { background: var(--red); color: #fff; }

.po-text strong {
    display: block;
    margin-bottom: 0.25rem;
}

.po-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.progression-gates {
    background: var(--bg-alt);
    padding: 1.25rem;
    border-radius: var(--radius);
}

.progression-gates h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.progression-gates ul {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Journal Elements */
.journal-elements {
    margin-bottom: 1.5rem;
}

.journal-elements h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.journal-grid {
    display: grid;
    gap: 1rem;
}

.journal-item {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.journal-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.journal-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Review Schedule */
.review-schedule h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.schedule-items {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.schedule-item strong {
    display: block;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.schedule-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Transfer Visual */
.transfer-visual {
    text-align: center;
    margin-bottom: 1.5rem;
}

.transfer-center {
    margin-bottom: 1.5rem;
}

.transfer-center svg {
    width: 80px;
    height: 80px;
}

.transfer-center span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.transfer-arrows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.transfer-target {
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.target-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.transfer-target span:last-child {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Universal Principles */
.universal-principles {
    margin-bottom: 1.5rem;
}

.universal-principles h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.universal-principles ul {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 4rem 1.25rem;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    text-align: center;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-section .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #1a1a1a;
    padding: 2rem 1.25rem 1.5rem;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.footer-info {
    margin-top: 1.5rem;
}

.footer-info p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Tablet Breakpoint (min-width: 640px)
   ======================================== */
@media (min-width: 640px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .section {
        padding: 5rem 2rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card.featured {
        grid-column: span 2;
    }

    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .concept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rules-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .error-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillars-detailed {
        grid-template-columns: repeat(2, 1fr);
    }

    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .transfer-arrows {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-info {
        margin-top: 0;
        text-align: right;
    }
}

/* ========================================
   Desktop Breakpoint (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }

    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 2rem;
        background: none;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    .nav-links a {
        padding: 0.5rem 0;
    }

    .nav-links a:hover {
        background: none;
    }

    .hero {
        flex-direction: row;
        align-items: center;
        padding: 8rem 5%;
        gap: 4rem;
    }

    .hero-content {
        order: 1;
        text-align: left;
        flex: 1;
        padding-top: 0;
    }

    .hero-visual {
        order: 2;
        flex: 1;
    }

    .hero-svg {
        max-width: 450px;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .section {
        padding: 6rem 5%;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    .chapter-block {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .chapter-number {
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        padding: 1.5rem 0.75rem;
        font-size: 1.5rem;
    }

    .chapter-content {
        padding: 2rem;
    }

    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-card.featured {
        grid-column: span 4;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 2rem;
        align-items: start;
    }

    .about-card.featured .about-icon {
        width: 80px;
        height: 80px;
    }

    .pillars-detailed {
        grid-template-columns: repeat(3, 1fr);
    }

    .pillar-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .pillar-num {
        margin: 0 auto 1rem;
    }

    .cta-section {
        padding: 6rem 5%;
    }
}

/* ========================================
   Large Desktop (min-width: 1280px)
   ======================================== */
@media (min-width: 1280px) {
    h1 { font-size: 3.5rem; }

    .nav-container,
    .section,
    .cta-section {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero {
        max-width: 1400px;
        margin: 0 auto;
    }

    .pillars-detailed {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ========================================
   Accessibility - Focus States
   ======================================== */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}
