@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root { 
    --brand: #2563eb; --brand-dark: #1d4ed8; 
    --success: #10b981; --success-dark: #059669;
    --dark: #0f172a; --dark-surface: #1e293b;
    --light: #f8fafc; --text-main: #0f172a; --text-muted: #475569; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--light); color: var(--text-main); line-height: 1.6; }

/* Global Typography & Layout */
.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%); color: white; padding: 8rem 5% 7rem; text-align: center; }
.hero h1 { font-size: 3.75rem; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.hero p { font-size: 1.25rem; color: #cbd5e1; max-width: 800px; margin: 0 auto 2.5rem auto; }
.content { max-width: 1000px; margin: 4rem auto; padding: 0 5%; }
.section { padding: 6rem 5%; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; color: var(--dark); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.5px; }
.section-subtitle { color: var(--text-muted); font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

/* Buttons */
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: 0.2s; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: var(--success-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }

/* Grids & Feature Layouts */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-list { 
    list-style: none; 
    margin-top: 1.5rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}
.feature-list li { 
    display: flex; 
    align-items: flex-start; 
    color: var(--text-muted); 
    font-size: 0.95rem; 
}
.feature-list li::before { 
    content: '✓'; 
    color: var(--brand); 
    font-weight: 800; 
    margin-right: 0.75rem; 
    font-size: 1.2rem; 
    line-height: 1.2; 
}
/* Forces the strong tag to render on its own line above the text */
.feature-list li strong { 
    display: block; 
    color: var(--dark); 
    font-weight: 700; 
    margin-bottom: 0.25rem; 
    font-size: 1.05rem; 
}

/* Cards */
.card { background: white; padding: 2.5rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; transition: transform 0.3s ease; text-decoration: none; color: inherit; position: relative; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.card-brand-top::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--brand); border-radius: 16px 16px 0 0; }
.card h3 { font-size: 1.35rem; color: var(--dark); margin-bottom: 1rem; font-weight: 700; }
.card p { color: var(--text-muted); line-height: 1.6; }

/* Tutoring Page Specifics (Migrated from Inline Styles) */
.problem-box { background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 8px; padding: 1.5rem; margin-top: 1.5rem; }
.solution { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #d6d3d1; color: var(--success-dark); font-weight: 600; }
.sat-btn { width: 100%; background: var(--brand); color: white; padding: 1rem; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; margin-top: 1rem; font-size: 1.05rem; }
.sat-btn:hover { background: var(--brand-dark); transform: scale(1.01); }

/* Forms */
.form-container { background: white; max-width: 750px; margin: 4rem auto; padding: 3.5rem; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.form-container h2 { text-align: center; margin-bottom: 0.5rem; color: var(--dark); font-size: 2rem; font-weight: 800; }
.form-container p { text-align: center; color: var(--text-muted); margin-bottom: 2.5rem; }
.form-group { display: flex; flex-direction: column; gap: 1.25rem; }
.form-input { width: 100%; padding: 1rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; font-family: inherit; color: var(--dark); background: #fff; transition: 0.2s; }
.form-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }

/* Navigation & Footer */
.nav { background: white; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.nav-links a:hover { color: var(--brand); }
.footer { background: var(--dark); color: #cbd5e1; padding: 3rem 5%; text-align: center; margin-top: 4rem; }
.footer-links { margin: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: white; }

@media (max-width: 900px) { 
    .nav-links { display: none; } 
    .hero h1 { font-size: 2.5rem; } 
    .split-section { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .feature-list { align-items: center; }
}

/* --- Graph & Toggles --- */
.graph-container { background: white; padding: 2.5rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; margin-top: 2rem; }
.toggle-grid { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.toggle-btn { background: white; border: 2px solid #e2e8f0; border-radius: 12px; padding: 1rem 1.5rem; cursor: pointer; transition: 0.3s; min-width: 220px; text-align: center; color: var(--text-muted); }
.toggle-btn strong { display: block; font-size: 1.25rem; color: var(--dark); margin-bottom: 0.2rem; transition: 0.3s; }
.toggle-btn span { font-size: 0.85rem; font-weight: 500; }
.toggle-btn.active-seo { border-color: #3b82f6; background: #eff6ff; }
.toggle-btn.active-seo strong { color: #2563eb; }
.toggle-btn.active-geo { border-color: #10b981; background: #ecfdf5; }
.toggle-btn.active-geo strong { color: #059669; }
.toggle-btn.active-aeo { border-color: #8b5cf6; background: #f5f3ff; }
.toggle-btn.active-aeo strong { color: #7c3aed; }

/* --- Calculator Tool --- */
.calc-wrapper { background: white; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 1px solid #e2e8f0; overflow: hidden; margin-top: 3rem; }
.calc-header { background: var(--dark); color: white; padding: 2rem; text-align: center; }
.calc-body { padding: 3rem; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .calc-row { grid-template-columns: 1fr; } }
.calc-label { font-weight: 600; color: var(--dark); display: block; margin-bottom: 0.5rem; }
.calc-input { width: 100%; padding: 1rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; background: #f8fafc; }
.calc-slider { width: 100%; margin-top: 0.5rem; cursor: pointer; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.result-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; text-align: center; }
.result-val { font-size: 2rem; font-weight: 800; color: var(--brand); margin-top: 0.5rem; }
.lead-gate { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 2.5rem; text-align: center; margin-top: 2rem; }
