/* ==========================================================================
   NATURAL EDUCATION | MASTER STYLESHEET
   ========================================================================== */

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    --ne-forest: #1b4332; --ne-sage: #95d5b2; --ne-paper: #f8f9fa;
    --ne-gold: #d4a373; --ne-clay: #b05b4b; --ne-ink: #4a5568;
    --font-header: 'Playfair Display', serif; --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.02); --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px; --border-subtle: 1px solid rgba(27, 67, 50, 0.08);
}

/* --- GLOBAL RESET & TYPOGRAPHY --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--ne-paper); color: var(--ne-forest); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3, h4 { font-family: var(--font-header); font-weight: 700; color: var(--ne-forest); }
p { color: var(--ne-ink); }

/* --- TYPOGRAPHY HIERARCHY & SIZING --- */
.ecosystem-header h2, .roadmap-header h2, .levels-header h2, .contact-header h2, 
.diagnostic-cta-header h2, .accountability-header h2, .syllabus-section h2, 
.features-section h2, .streams h2, .routing-cta h2, .app-header h2, .conversion h2 { 
    text-align: center; font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; color: var(--ne-forest);
}

.roadmap-header p {text-align: center;}

.feature-text h2, .manifesto-text h2 {
    font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; color: var(--ne-forest);
}

.feature-card h3, .diag-card h3, .stream-card h3, .audience-card h3, 
.timeline-content h3, .route-box h3, .loop-step h3 {
    font-family: var(--font-header); color: var(--ne-forest);
}
.route-box h3 { color: var(--ne-sage); } 
.diag-card h3, .stream-card h3 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.audience-card h3, .timeline-content h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.route-box h3, .loop-step h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

/* --- TEXT WIDTH CONSTRAINTS (1000px Max) --- */
.hero h1 { font-size: 4.0rem; max-width: 100%; margin-left: auto; margin-right: auto; }

/* Forces all critical reading blocks to expand to 1000px and center properly */
.hero p, .hero .sub-header, .alignment-phrase, .authority-hook,  
.diagnostic-cta-header p {
    max-width: 100%; margin-left: auto; margin-right: auto;
}

.contact-header p{text-align: center;}
.letter-box, .empowerment-box {max-width: 1250px;}


/* --- GLOBAL VERTICAL RHYTHM (SPACING & GAP FIX) --- */
.hero { text-align: center; padding: 4rem 0 5rem 0; margin-bottom: 0; background: radial-gradient(circle at 50% 0%, rgba(149, 213, 178, 0.15) 0%, var(--ne-paper) 70%); }

/* NO DOUBLE STACKING: padding only, 0 margin-bottom. This fixes the giant dead zones. */
.feature-split, .roadmap-section, .streams, .ecosystem, .levels-section, .manifesto-section, .invitation-section, .syllabus-section, .features-section, .accountability-section, .engine-modules { 
    padding: 2rem 0; margin-bottom: 0; border-top: var(--border-subtle); 
}

.engine-modules h2 {font-size: 2.8rem; }

.accountability-section {max-width: 100%;}



.contact-section, .routing-cta, .conversion { padding: 4rem 0; margin-top: 2rem; margin-bottom: 4rem; }

.conversion { text-align: center; }
.conversion p { text-align: center; margin-bottom: 2.5rem; }

.diagnostic-cta { 
    background: #ffffff; 
    border: var(--border-subtle); 
    border-radius: var(--border-radius); 
    box-shadow: var(--shadow-soft); 
    padding: 3rem; 
    margin: 1rem 0 2rem 0; 
}

.syllabus-section h2 { margin-bottom: 2rem; } 


/* --- BUTTONS --- */
.btn-gold { background-color: var(--ne-gold); color: #ffffff; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 1rem 2.5rem; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; }
.btn-gold:hover { transform: translateY(-2px); background-color: #c49262; box-shadow: var(--shadow-hover); }
.btn-gold:disabled { background-color: #e2e8f0; color: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
.btn-outline-dark { background-color: transparent; color: var(--ne-forest); border: 2px solid var(--ne-forest); font-family: var(--font-body); font-weight: 600; padding: 1rem 2.5rem; border-radius: 6px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.btn-outline-dark:hover { background-color: rgba(27, 67, 50, 0.05); }

.btn-forest { 
    background-color: #2d6a4f;
    color: #ffffff; 
    font-family: var(--font-body); 
    font-weight: 600; 
    font-size: 1rem; 
    padding: 1rem 2.5rem; 
    border-radius: 6px; 
    border: none; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; 
    white-space: nowrap; 
}
.btn-forest:hover { 
    transform: translateY(-2px); 
    background-color: #40916c; /* Even lighter green for the hover state */
    box-shadow: var(--shadow-hover); 
}

/* --- NAVIGATION COMPONENT --- */
.nav-wrapper { position: sticky; top: 0; z-index: 1000; background: rgba(248, 249, 250, 0.95); backdrop-filter: blur(10px); border-bottom: var(--border-subtle); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; }
.brand { 
    font-family: var(--font-header); 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--ne-forest); 
    text-decoration: none; 
    position: relative;
    padding-bottom: 2px;
}

/* The subtle starting line */
.brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--ne-gold);
    transform: scaleX(0.2); /* Starts small */
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Expands on hover */
.brand:hover::after {
    transform: scaleX(1); 
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--ne-ink); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-link:hover { color: var(--ne-forest); }
.dropdown { position: relative; display: inline-block; }
.dropbtn { background: none; border: none; color: var(--ne-ink); font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0; }
.dropbtn:hover { color: var(--ne-forest); }
.arrow { font-size: 0.6rem; transition: transform 0.2s; }
.dropdown:hover .arrow { transform: rotate(180deg); }
.dropdown-content { visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #ffffff; min-width: 220px; box-shadow: var(--shadow-hover); border-radius: 8px; border: var(--border-subtle); padding: 0.5rem 0; z-index: 100; transition: all 0.2s ease; }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.dropdown-content a { color: var(--ne-ink); padding: 0.75rem 1.5rem; text-decoration: none; display: block; font-size: 0.85rem; font-weight: 500; transition: background 0.2s; }
.dropdown-content a:hover { background-color: rgba(149, 213, 178, 0.1); color: var(--ne-forest); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ne-forest); cursor: pointer; }

/* --- HERO SPECIFICS --- */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; list-style: none; margin-bottom: 2rem; }
.hero-tags li { font-size: 0.85rem; font-weight: 600; color: var(--ne-forest); background: rgba(149, 213, 178, 0.2); border: 1px solid rgba(149, 213, 178, 0.5); padding: 0.4rem 1rem; border-radius: 20px; cursor: default; }
.hero-label { font-size: 0.85rem; font-weight: 700; color: var(--ne-gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
.alignment-phrase { background: #ffffff; border: 1px solid var(--ne-sage); border-left: 4px solid var(--ne-forest); padding: 1.5rem 2rem; border-radius: 8px; box-shadow: var(--shadow-soft); font-style: italic; text-align: left; margin-bottom: 2.5rem; font-family: var(--font-header); font-size: 1.25rem; color: var(--ne-forest); }
.authority-hook { font-size: 1.1rem; line-height: 1.7; }
.cta-group { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* --- FEATURE SPLITS & CARDS --- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-text p { font-size: 1.05rem; margin-bottom: 1.5rem; }
.feature-visual { background: rgba(149, 213, 178, 0.1); border: var(--border-subtle); border-radius: 12px; padding: 3rem; text-align: center; position: relative; overflow: hidden; }
.feature-visual.dark { background: #1a202c; border-color: #2d3748; padding: 0; }
.visual-mockup { background: #fff; border-radius: 8px; box-shadow: var(--shadow-soft); padding: 1.5rem; text-align: left; }
.metric-bar { height: 8px; border-radius: 4px; background: #e2e8f0; margin: 1rem 0; overflow: hidden; }
.metric-fill { height: 100%; background: var(--ne-gold); width: 75%; border-radius: 4px; }
.metric-label { font-size: 0.8rem; font-weight: 700; color: var(--ne-ink); text-transform: uppercase; letter-spacing: 0.05em; display: flex; justify-content: space-between; }
.features-section { text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; text-align: left; margin-top: 2.5rem; margin-bottom: 2.5rem; }
/* --- FEATURE CARDS (SIDE-BY-SIDE ICON & TITLE) --- */
.feature-card { 
    background: #ffffff; 
    border: var(--border-subtle); 
    border-radius: var(--border-radius); 
    padding: 2.25rem 2rem; 
    box-shadow: var(--shadow-soft); 
    transition: transform 0.2s ease; 
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    align-items: center;
}

.feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
}

.feature-icon { 
    font-size: 1.25rem; 
    font-weight: bold; 
    color: var(--ne-forest); 
    background: rgba(149, 213, 178, 0.2); 
    width: 42px; 
    height: 42px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 8px; 
    border: 1px solid var(--ne-sage);
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0; /* Clears the old bottom margin */
    flex-shrink: 0;
}

.feature-card h3 { 
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.feature-card p { 
    grid-column: 1 / -1; /* Spans full width underneath */
    grid-row: 2;
    align-self: start;
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 0;
}

/* --- DIAGNOSTIC GRIDS & CARDS --- */
.diag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.diag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.diag-card { background: var(--ne-paper); padding: 2.5rem; border-radius: 8px; border: var(--border-subtle); text-align: center; transition: box-shadow 0.2s; display: flex; flex-direction: column; justify-content: space-between; }
.diag-card:hover { box-shadow: var(--shadow-hover); }
.diag-card p { font-size: 0.95rem; margin-bottom: 2rem; color: var(--ne-ink); }
.diag-level { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ne-gold); margin-bottom: 1rem; display: block;}

/* --- THE ENGINE MODULES --- */
.engine-hero { padding: 6rem 0 4rem 0; text-align: center; }
.engine-hero h1 {font-size: 4.0rem;}
.engine-label { font-size: 0.85rem; font-weight: 700; color: var(--ne-gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; display: block; }
.thesis-box { background: #ffffff; border: 1px solid var(--ne-sage); border-left: 4px solid var(--ne-forest); padding: 2.5rem 3rem; border-radius: 8px; max-width: 1000px; margin: 0 auto 4rem auto; box-shadow: var(--shadow-soft); text-align: left; }
.thesis-box p { font-family: var(--font-header); font-size: 1.4rem; color: var(--ne-forest); line-height: 1.6; }
.module-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-bottom: 4rem; }
.module-split:last-child { margin-bottom: 0; }
.module-split:nth-child(even) .module-text { order: 2; }
.module-split:nth-child(even) .module-visual { order: 1; }
.module-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; color: var(--ne-paper); padding: 0.4rem 1rem; border-radius: 20px; background: var(--ne-forest);}
.module-visual { background: #ffffff; border: var(--border-subtle); border-radius: var(--border-radius); box-shadow: var(--shadow-soft); padding: 3rem; position: relative; overflow: hidden; min-height: 350px; display: flex; flex-direction: column; justify-content: center; }
.module-visual.dark-mode { background: #111827; border-color: #1f2937; color: #f8fafc; }
.code-snippet { font-family: monospace; font-size: 0.95rem; line-height: 1.6; color: #e2e8f0; text-align: left;}
.code-snippet .keyword { color: #f472b6; }
.code-snippet .function { color: #60a5fa; }
.code-snippet .string { color: #a7f3d0; }
.code-snippet .comment { color: #94a3b8; font-style: italic; }
.data-bar { height: 8px; background: rgba(0,0,0,0.05); border-radius: 4px; margin-bottom: 1rem; overflow: hidden; }
.data-fill { height: 100%; background: var(--ne-sage); width: 0%; border-radius: 4px; }
.ui-element { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); padding: 1rem; border-radius: 6px; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }

/* --- ROUTING & ECOSYSTEM CARDS --- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.audience-card { 
    background: var(--ne-paper); 
    border: var(--border-subtle); 
    border-radius: var(--border-radius); 
    padding: 2.5rem; 
    box-shadow: var(--shadow-soft); 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start;
}
.audience-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.audience-card.parents::before { background: var(--ne-gold); }
.audience-card.students::before { background: var(--ne-sage); }
.audience-card.tutors::before { background: var(--ne-forest); }
.audience-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.audience-label { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; color: var(--ne-ink); padding: 0.3rem 0.8rem; border-radius: 20px; background: #ffffff; border: var(--border-subtle); }
.audience-link { 
    font-size: 1.1rem; 
    font-weight: 600; 
    text-decoration: none; 
    transition: color 0.2s ease;
    margin-top: auto;
}

.audience-card.parents .audience-link { color: var(--ne-gold); }
.audience-card.students .audience-link { color: #40916c; /* Sage/Green tone */ }
.audience-card.tutors .audience-link { color: var(--ne-forest); }

.audience-card .audience-link:hover { 
    opacity: 0.8; 
    text-decoration: underline; 
}



/* --- ACCOUNTABILITY LOOP --- */
.loop-grid { display: flex; justify-content: center; gap: 2rem; position: relative; max-width: 950px; margin: 0 auto; }
.loop-step { flex: 1; background: var(--ne-paper); padding: 2.5rem 2rem; border-radius: 8px; text-align: center; border: var(--border-subtle); position: relative; z-index: 2; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.loop-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.loop-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.loop-arrow { position: absolute; top: 50%; right: -25px; transform: translateY(-50%); font-size: 1.5rem; color: var(--ne-gold); z-index: 3; font-weight: bold; }

/* --- MANIFESTO & INVITATION --- */
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }


/* Ensure points inside manifesto lists align without overflowing */
.manifesto-points {
    list-style: none; 
    display: grid; 
    gap: 1.5rem;
}

.manifesto-points li {
    display: flex; 
    gap: 1rem; 
    align-items: flex-start;
}

.manifesto-text p { font-size: 1.05rem; margin-bottom: 1.5rem; }
.point-icon { font-size: 1.5rem; background: rgba(212, 163, 115, 0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; color: var(--ne-gold); border: 1px solid rgba(212, 163, 115, 0.3);}
.quote-mark { position: absolute; font-size: 8rem; font-family: var(--font-header); color: rgba(212, 163, 115, 0.15); top: -40px; left: -50px; line-height: 1; z-index: -1; }
.signature { margin-top: 3rem; border-top: 1px solid var(--ne-sage); padding-top: 1.5rem; display: inline-block; }
.empowerment-section { background: #ffffff; position: relative; overflow: hidden; }
.empowerment-accent { width: 60px; height: 4px; background: var(--ne-gold); margin: 0 0 2rem 0; }

/* --- LEVELS GRID (1 to 5) --- */
.levels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem;}
.level-card { background: #ffffff; border: var(--border-subtle); border-radius: 8px; padding: 1.5rem; text-align: center; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: space-between; }
.level-num { font-family: monospace; font-size: 0.85rem; color: var(--ne-gold); font-weight: bold; margin-bottom: 1rem; display: block; }
.math-box { background: var(--ne-paper); padding: 1rem 0.5rem; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 1.1rem; color: var(--ne-forest); }

/* --- TIMELINES & FLOWCHARTS --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 2.5rem; } 
.timeline-step { position: relative; margin-bottom: 3rem; text-align: left; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step::before { content: ''; position: absolute; left: calc(-2.5rem - 1.5px); top: 2.5rem; height: calc(100% + 3rem); width: 3px; background: var(--ne-sage); z-index: 1; }
.timeline-step:last-child::before { display: none; }
.timeline-dot { position: absolute; left: calc(-2.5rem - 24px); top: 1.25rem; width: 45px; height: 45px; background: var(--ne-forest); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; border: 4px solid var(--ne-paper); box-shadow: var(--shadow-soft); line-height: 1; z-index: 2; }
.timeline-content { background: #ffffff; padding: 2rem; border-radius: 8px; border: var(--border-subtle); box-shadow: var(--shadow-soft); }
.timeline-content p { font-size: 0.95rem; margin-bottom: 0; }
.timeline-branch { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: rgba(212, 163, 115, 0.1); border-left: 3px solid var(--ne-gold); border-radius: 0 8px 8px 0; position: relative; }
.timeline-branch::before { content: '↳'; position: absolute; left: -1.5rem; top: 1.1rem; color: var(--ne-gold); font-size: 1.25rem; font-weight: bold; }
.branch-title { font-size: 0.85rem; font-weight: 700; color: var(--ne-gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.branch-desc { font-size: 0.9rem; color: var(--ne-ink); margin-bottom: 0; }

/* --- ACCORDION SYLLABUS & UX --- */
.accordion { background: #ffffff; border: var(--border-subtle); border-radius: var(--border-radius); box-shadow: var(--shadow-soft); overflow: hidden; margin-bottom: 1.5rem; }
.accordion-header { 
    width: 100%; text-align: left; padding: 1.5rem 2rem; background: #ffffff; 
    border: none; cursor: pointer; display: flex; justify-content: space-between; 
    align-items: center; font-family: var(--font-header); 
    font-size: 1.65rem; font-weight: 700; color: var(--ne-forest); transition: background 0.2s; 
}
.accordion-header:hover { background: rgba(149, 213, 178, 0.05); }

/* NEW ACCORDION BUTTON UX */
.accordion-icon { 
    font-size: 1.5rem; color: var(--ne-forest); background: rgba(149, 213, 178, 0.3); 
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; transition: all 0.3s ease; 
}
.accordion.active .accordion-icon { 
    transform: rotate(45deg); background: rgba(176, 91, 75, 0.1); color: var(--ne-clay); 
}

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #ffffff; border-top: 1px solid transparent; }
.accordion.active .accordion-content { border-top: var(--border-subtle); }
.accordion-inner { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.time-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(27, 67, 50, 0.05); color: var(--ne-forest); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; width: fit-content; border: 1px solid rgba(27, 67, 50, 0.1); }
.student-note { background: rgba(212, 163, 115, 0.1); border-left: 3px solid var(--ne-gold); padding: 1rem 1.5rem; font-size: 0.95rem; color: var(--ne-ink); border-radius: 0 6px 6px 0; }
.syllabus-list { list-style: none; display: grid; gap: 1rem; }
.syllabus-list li { display: flex; align-items: flex-start; gap: 1rem; }
.list-bullet { width: 8px; height: 8px; background: var(--ne-sage); border-radius: 50%; margin-top: 0.45rem; flex-shrink: 0; }
.list-text strong { color: var(--ne-forest); font-family: var(--font-body); font-weight: 600; display: block; margin-bottom: 0.2rem;}
.list-text { font-size: 0.95rem; }

/* --- FORMS & CONVERSIONS --- */
.contact-form { background: #ffffff; padding: 3rem; border-radius: 12px; box-shadow: var(--shadow-hover); max-width: 1200px; margin: 0 auto; border: var(--border-subtle); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; text-align: left; transition: all 0.3s ease; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--ne-forest); font-size: 0.9rem;}
.req-star { color: var(--ne-clay); margin-left: 0.2rem; font-weight: bold; }
.form-input { width: 100%; padding: 1rem; border: 1px solid #cbd5e1; border-radius: 6px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.2s; background: #fdfdfd; }
.form-input:focus { outline: none; border-color: var(--ne-forest); box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1); background: #ffffff; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231b4332%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 1rem top 50%; background-size: 0.65rem auto; }
textarea.form-input { resize: vertical; min-height: 140px; }

/* Contact Page Routing Split */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; margin-bottom: 6rem; }
.routing-section { display: flex; flex-direction: column; gap: 1.5rem; }
.route-card { background: #ffffff; border: var(--border-subtle); border-radius: 8px; padding: 2rem; box-shadow: var(--shadow-soft); transition: box-shadow 0.2s ease; }
.route-card:hover { box-shadow: var(--shadow-hover); }
.route-icon { font-size: 2rem; margin-bottom: 1rem; }
.direct-info { background: rgba(27, 67, 50, 0.03); border: 1px solid rgba(27, 67, 50, 0.1); border-radius: 8px; padding: 2rem; margin-top: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.info-label { font-size: 0.75rem; color: var(--ne-ink); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; display: block; margin-bottom: 0.1rem; }
.general-form-wrapper { background: #ffffff; padding: 3rem; border-radius: 12px; box-shadow: var(--shadow-hover); border: var(--border-subtle); }

/* --- BLITZ & ENGINEERING SPECIAL COMPONENTS --- */
.blitz-section { background: linear-gradient(135deg, #1a202c 0%, #0f172a 100%); border-radius: var(--border-radius); padding: 5rem 4rem; color: #fff; margin-bottom: 4rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;}
.blitz-header h2 { color: var(--ne-sage); text-align: left; margin-bottom: 1rem; font-size: 2.8rem; line-height: 1.2;}
.blitz-header p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.7; }
.blitz-visual { background: #2d3748; border: 1px solid #4a5568; border-radius: 8px; padding: 2rem; position: relative; }
.blitz-timer { font-family: monospace; font-size: 3rem; color: #ef4444; font-weight: bold; text-align: center; margin-bottom: 1rem; text-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
.blitz-rule { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: #e2e8f0; font-size: 0.9rem; }
.blitz-rule-icon { color: var(--ne-gold); font-weight: bold; }
.speed-score { font-family: var(--font-header); font-size: 4rem; color: var(--ne-forest); line-height: 1; margin-bottom: 0.5rem; }
.speed-time { font-family: monospace; font-size: 1.5rem; color: var(--ne-clay); margin-bottom: 2rem; }

/* Engineering Blueprint */
.blueprint-container { background: var(--ne-forest); border-radius: 8px; padding: 2rem; position: relative; overflow: hidden; box-shadow: var(--shadow-soft); }
.blueprint-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 20px 20px; z-index: 1; }
.blueprint-content { position: relative; z-index: 2; }

/* ACT Passage Layout */
.question-container { display: flex; flex-direction: column; gap: 2rem; }
.question-container.has-passage { flex-direction: row; align-items: stretch; }
.passage-col { display: none; flex: 1; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; padding: 1.5rem; overflow-y: auto; max-height: 500px; }
.question-container.has-passage .passage-col { display: block; }
.q-col { flex: 1; }
.passage-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.85rem; background: #fff; }
.passage-table th, .passage-table td { border: 1px solid #cbd5e1; padding: 0.5rem; text-align: center; }
.passage-table th { background: #e2e8f0; font-weight: 600; }
.passage-content h4 { margin-bottom: 0.5rem; font-family: var(--font-body); font-size: 1rem; color: var(--ne-forest); }
.passage-content p { font-size: 0.9rem; margin-bottom: 1rem; }

/* Student Stats & Dial */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.stat-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 1rem; border-radius: 6px; text-align: center; }
.stat-value { font-family: var(--font-header); font-size: 1.8rem; color: var(--ne-forest); font-weight: 700; line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--ne-ink); font-weight: 600; letter-spacing: 0.05em; }
.dial-container { display: flex; justify-content: space-between; margin-top: 1rem; padding: 0.5rem; background: #2d3748; border-radius: 6px; }
.dial-btn { color: #cbd5e1; font-family: monospace; font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: 4px; cursor: default; }
.dial-btn.active { background: var(--ne-clay); color: #fff; font-weight: bold; }

/* --- MODAL UI (DIAGNOSTICS & SPRINT) --- */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8, 20, 33, 0.8); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 1rem; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-window { background: #ffffff; width: 100%; max-width: 800px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); overflow: hidden; transform: translateY(20px); transition: transform 0.3s ease; display: flex; flex-direction: column; max-height: 90vh; }
.modal-overlay.active .modal-window { transform: translateY(0); }
.modal-header { background: var(--ne-paper); border-bottom: var(--border-subtle); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.modal-title { font-weight: 600; color: var(--ne-forest); font-size: 1.1rem;}
.modal-timer { font-family: monospace; font-size: 1.1rem; color: var(--ne-clay); font-weight: 600; background: rgba(176, 91, 75, 0.1); padding: 0.25rem 0.75rem; border-radius: 4px; border: 1px solid rgba(176, 91, 75, 0.2);}
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ne-ink); transition: color 0.2s; }
.close-btn:hover { color: var(--ne-forest); }
.modal-body { padding: 2.5rem 2rem; overflow-y: auto; flex-grow: 1; }
.q-counter { font-size: 0.85rem; font-weight: 700; color: var(--ne-gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; display: block; }
.question-text { font-size: 1.15rem; color: var(--ne-forest); font-weight: 600; margin-bottom: 2rem; line-height: 1.6; }
.q-visual { margin-bottom: 1.5rem; display: flex; justify-content: flex-start; }
.q-svg { max-width: 300px; width: 100%; border-radius: 8px; border: 1px solid var(--border-subtle); box-shadow: var(--shadow-soft); background: #f8fafc; }
.options-grid { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.option-btn { background: #fff; border: 1px solid rgba(74, 85, 104, 0.2); padding: 1rem 1.5rem; border-radius: 8px; text-align: left; font-size: 1rem; cursor: pointer; font-family: var(--font-body); transition: all 0.2s; display: flex; align-items: center; gap: 1rem; }
.option-btn:hover { border-color: var(--ne-forest); background: rgba(149, 213, 178, 0.05); }
.option-btn.selected { border-color: var(--ne-forest); background: rgba(27, 67, 50, 0.05); box-shadow: 0 0 0 1px var(--ne-forest); }
.option-letter { font-weight: 700; color: var(--ne-ink); }
.modal-footer { display: flex; justify-content: flex-end; padding-top: 1.5rem; border-top: var(--border-subtle); }
#step-analyzing { display: none; text-align: center; padding: 4rem 0; }
.loader { width: 40px; height: 40px; border: 4px solid var(--ne-paper); border-top: 4px solid var(--ne-gold); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1.5rem auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#step-result { display: none; }
.result-header { text-align: center; margin-bottom: 2.5rem; }
.score-circle { width: 120px; height: 120px; border-radius: 50%; background: rgba(27, 67, 50, 0.05); border: 4px solid var(--ne-forest); display: flex; align-items: center; justify-content: center; font-family: var(--font-header); font-size: 2.5rem; color: var(--ne-forest); margin: 0 auto 1rem auto; }
.score-subtitle { font-weight: 600; color: var(--ne-ink); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.breakdown-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.breakdown-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--ne-paper); border-radius: 8px; border: 1px solid var(--border-subtle); }
.breakdown-item.correct { background: rgba(149, 213, 178, 0.1); border-color: rgba(149, 213, 178, 0.4); }
.breakdown-item.incorrect { background: rgba(176, 91, 75, 0.05); border-color: rgba(176, 91, 75, 0.2); }
.status-icon { width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; flex-shrink: 0; font-size: 0.9rem; }
.correct .status-icon { background: #10b981; }
.incorrect .status-icon { background: #ef4444; }
.q-snippet { font-size: 0.9rem; color: var(--ne-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-grow: 1; }
.q-number { font-weight: 700; color: var(--ne-forest); font-size: 0.9rem; width: 30px; }

/* Legal Pages */
.legal-header { text-align: center; padding: 6rem 0 3rem 0; background: var(--ne-paper); border-bottom: var(--border-subtle); }
.legal-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.legal-header p { font-size: 1.1rem; color: var(--ne-ink); }
.legal-content { max-width: 850px; margin: 4rem auto; padding: 0 2rem; background: #fff; }
.legal-content h2 { font-size: 1.75rem; margin: 3rem 0 1rem 0; color: var(--ne-forest); text-align: left;}
.legal-content p, .legal-content li { font-size: 1.05rem; color: var(--ne-ink); margin-bottom: 1.25rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 2rem; }

/* --- FOOTER COMPONENT --- */
footer { background-color: #ffffff; padding: 5rem 0 2rem 0; border-top: var(--border-subtle); color: var(--ne-ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1.5rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ne-forest); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-links a { color: var(--ne-ink); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--ne-forest); }
.footer-brand .brand { font-size: 1.5rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 300px; margin-top: 1rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: var(--border-subtle); font-size: 0.85rem; display: flex; justify-content: space-between; align-items: center; }
.footer-legal a { color: var(--ne-ink); text-decoration: none; margin-left: 1rem; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 950px) {
    .feature-split, .module-split, .blitz-section, .diag-split, .manifesto-grid, .contact-split { grid-template-columns: 1fr; gap: 3rem; }
    .feature-split:nth-child(even) .feature-visual, .module-split:nth-child(even) .module-visual { order: -1; }
    .audience-grid, .route-grid { grid-template-columns: 1fr; gap: 2rem; }
    .levels-grid { grid-template-columns: 1fr; }
    .footer-grid, .roadmap-grid { grid-template-columns: 1fr 1fr; }
    .roadmap-line { display: none; }
    .loop-grid { flex-direction: column; align-items: center; }
    .loop-arrow { display: none; }
    .loop-step { width: 100%; max-width: 400px; }
    .question-container.has-passage { flex-direction: column; }
    .passage-col { max-height: 300px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 2rem; border-bottom: var(--border-subtle); box-shadow: var(--shadow-soft); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .dropdown-content { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: none; padding-left: 1rem; min-width: auto; }
    .diag-grid, .features-grid, .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .contact-section, .diagnostic-cta { padding: 3rem 1.5rem; border-radius: 0; }
    .roadmap-grid { grid-template-columns: 1fr; }
}

/* --- HOMEPAGE SPECIFIC GRID FIXES --- */
.streams-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2rem; 
    margin-top: 2.5rem; 
}

.stream-card { 
    background: #ffffff; 
    border: var(--border-subtle); 
    border-radius: var(--border-radius); 
    padding: 2.5rem; 
    box-shadow: var(--shadow-soft); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

/* --- STREAM LINKS (ALTERNATING COLORS) --- */
.stream-link {
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.stream-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 1st and 4th cards get Forest Green */
.stream-card:nth-child(3n+1) .stream-link { 
    color: var(--ne-forest); 
}

/* 2nd and 5th cards get Gold */
.stream-card:nth-child(3n+2) .stream-link { 
    color: var(--ne-gold); 
}

/* 3rd and 6th cards get Clay (Red/Orange) */
.stream-card:nth-child(3n) .stream-link { 
    color: var(--ne-clay); 
}

.stream-icon { 
    font-size: 1.8rem; 
    margin-bottom: 1.25rem; 
    background: rgba(149, 213, 178, 0.15); 
    width: 55px; height: 55px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 12px; border: 1px solid rgba(149, 213, 178, 0.4); 
    color: var(--ne-forest); 
}

/* .route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; text-align: left; }
.route-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); padding: 2rem; border-radius: 8px; color: #ffffff; text-decoration: none; transition: all 0.2s ease; backdrop-filter: blur(10px); }
.route-box:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.route-box p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0; } */

.routing-cta { 
    background: linear-gradient(135deg, var(--ne-forest) 0%, #0d2118 100%); 
    padding: 5rem 0; 
    text-align: center; 
    color: #ffffff; 
    border-radius: var(--border-radius); 
    box-shadow: 0 10px 40px rgba(27, 67, 50, 0.2); 
}

.routing-cta p { 
    color: rgba(255, 255, 255, 0.8) !important; 
}

.route-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    max-width: 950px; 
    margin: 0 auto; 
    text-align: left; 
}

.route-box { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 2rem; 
    border-radius: 8px; 
    color: #ffffff; 
    text-decoration: none; 
    backdrop-filter: blur(10px); 
}

.route-box p { 
    color: rgba(255, 255, 255, 0.7) !important; 
}