/* ============================================================
   K12Launch — Main Stylesheet
   UPDATE BRAND COLORS: search for "BRAND" to find all
   color variables that should match your logo/brand palette.
   ============================================================ */

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

/* --- Design Tokens --- */
:root {
  /* BRAND COLORS — update these to match your logo */
  --primary:        #1A5276;   /* Deep navy blue — main brand color */
  --primary-light:  #2874A6;
  --primary-dark:   #154360;
  --secondary:      #1E8449;   /* Green — progress, growth */
  --secondary-light:#27AE60;
  --accent:         #E67E22;   /* Orange — CTAs, highlights */
  --accent-hover:   #CA6F1E;

  /* Neutrals */
  --text:           #1C2833;
  --text-muted:     #717D7E;
  --bg:             #F4F6F7;
  --bg-white:       #FFFFFF;
  --border:         #D5D8DC;

  /* Shadows */
  --shadow-sm:      0 1px 4px rgba(0,0,0,0.08);
  --shadow:         0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);

  /* Spacing */
  --section-pad:    80px;
  --section-pad-sm: 48px;

  /* Radius */
  --radius:         8px;
  --radius-lg:      16px;
  --radius-pill:    999px;

  /* Typography */
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading:   'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Max width */
  --max-w:          1140px;
  --max-w-text:     720px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }
p.lead { font-size: 1.15rem; color: var(--text); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.section--gray { background: var(--bg); }
.section--dark { background: var(--primary-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-8  { margin-top: 32px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(255,255,255,0.6); }

.section-header {
  max-width: var(--max-w-text);
  margin: 0 auto 56px;
}
.section-header p { margin-top: 16px; font-size: 1.05rem; }

/* --- Grid Systems --- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230,126,34,0.35);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-green {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.btn-green:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  transform: translateY(-1px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.card-icon--blue  { background: rgba(26,82,118,0.1); }
.card-icon--green { background: rgba(30,132,73,0.1); }
.card-icon--orange{ background: rgba(230,126,34,0.1);}

.card h3 { margin-bottom: 10px; }
.card p  { font-size: 0.95rem; }

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--coming { background: #FEF9E7; color: #B7950B; border: 1px solid #F9E79F; }
.badge--new    { background: #EAFAF1; color: #1E8449; border: 1px solid #A9DFBF; }
.badge--beta   { background: #EBF5FB; color: #1A5276; border: 1px solid #AED6F1; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 62px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
.nav-logo-text span { color: var(--accent); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--bg); color: var(--primary); }
.nav-links a.active { color: var(--primary); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-login {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-login:hover { color: var(--primary); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.nav-mobile a:hover { background: var(--bg); color: var(--primary); }
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,0.85); max-width: 580px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

/* Hero split (two columns) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-visual-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.stat-row { display: flex; gap: 24px; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 100px; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

@media (max-width: 780px) {
  .hero { padding: 64px 0 56px; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
}

/* ============================================================
   PROOF BAR
   ============================================================ */
.proof-bar {
  background: var(--primary-dark);
  padding: 20px 0;
}
.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 600;
}
.proof-item .icon { font-size: 1.1rem; }

/* ============================================================
   AUDIENCE SPLIT
   ============================================================ */
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.audience-panel {
  padding: 64px 48px;
}
.audience-panel--tutors { background: var(--bg-white); }
.audience-panel--parents { background: var(--bg); }
.audience-panel h2 { margin-bottom: 12px; }
.audience-panel p { margin-bottom: 28px; }
.audience-benefits { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.audience-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.audience-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.audience-benefit-icon--blue   { background: rgba(26,82,118,0.1); }
.audience-benefit-icon--green  { background: rgba(30,132,73,0.1); }
.audience-benefit h4 { margin-bottom: 2px; font-size: 0.95rem; }
.audience-benefit p  { font-size: 0.88rem; margin: 0; }

@media (max-width: 780px) {
  .audience-split { grid-template-columns: 1fr; }
  .audience-panel { padding: 48px 24px; }
}

/* ============================================================
   STEPS / HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; counter-reset: steps; }
.step {
  position: relative;
  padding-left: 24px;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content { padding-left: 12px; }
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p  { font-size: 0.92rem; }

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-card .badge { margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p  { font-size: 0.9rem; }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: #F1C40F; font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-body { font-size: 0.95rem; color: var(--text); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name  { font-weight: 700; font-size: 0.9rem; }
.testimonial-title { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card--featured .pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-tier   { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price  { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 800; color: var(--text); line-height: 1; display: flex; align-items: flex-start; gap: 2px; }
.pricing-price sup { font-size: 1.25rem; line-height: 1; margin-top: 6px; }
.pricing-price span:first-of-type { line-height: 1; }
.pricing-price span:last-child { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); align-self: flex-end; margin-bottom: 4px; }
/* Billing toggle checked state */
#billing-toggle:checked + span { background: var(--secondary) !important; }
#billing-toggle:checked + span + span { left: calc(100% - 23px) !important; }
.pricing-desc   { font-size: 0.88rem; color: var(--text-muted); margin: 12px 0 24px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}
.pricing-feature .check { color: var(--secondary); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.pricing-feature .dash  { color: var(--border); font-size: 1rem; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-family: var(--font-heading); font-weight: 700; background: var(--bg); }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:hover td { background: var(--bg); }
.compare-table .check { color: var(--secondary); font-weight: 700; }
.compare-table .dash  { color: var(--border); }
.compare-table .featured-col { background: rgba(26,82,118,0.04); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.25rem; flex-shrink: 0; transition: transform 0.25s; color: var(--primary); }
.faq-answer { font-size: 0.95rem; color: var(--text-muted); padding: 0 0 20px; display: none; line-height: 1.75; }
.faq-item.open .faq-answer  { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ============================================================
   CALLOUT / CTA SECTION
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 72px 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-band .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   LLP BANNER
   ============================================================ */
.llp-banner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.llp-banner-icon { font-size: 2.5rem; flex-shrink: 0; }
.llp-banner h3 { margin-bottom: 6px; font-size: 1.05rem; }
.llp-banner p  { font-size: 0.9rem; margin: 0; }
.llp-banner a  { color: var(--primary); font-weight: 600; }
.llp-banner a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .llp-banner { flex-direction: column; text-align: center; padding: 24px; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-stack { display: flex; flex-direction: column; gap: 20px; }
.form-submit { margin-top: 8px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

.form-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-panel h3 { margin-bottom: 6px; }
.form-panel .panel-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; }

@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURE DETAIL (Platform page)
   ============================================================ */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}
.feature-detail:last-of-type { border-bottom: none; }
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-text h2 { margin-bottom: 16px; }
.feature-detail-text p { margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.feature-list-item .check { color: var(--secondary); flex-shrink: 0; margin-top: 2px; }
.feature-mock {
  background: linear-gradient(145deg, var(--bg) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--border);
}
.mock-bar--40  { width: 40%; background: var(--primary-light); opacity: 0.5; }
.mock-bar--70  { width: 70%; background: var(--secondary); opacity: 0.4; }
.mock-bar--55  { width: 55%; background: var(--accent); opacity: 0.4; }
.mock-bar--85  { width: 85%; }
.mock-level {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mock-level-badge {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
.mock-level-bar { flex: 1; height: 8px; border-radius: var(--radius-pill); background: var(--bg); overflow: hidden; }
.mock-level-fill { height: 100%; background: var(--secondary); border-radius: var(--radius-pill); }

@media (max-width: 780px) {
  .feature-detail { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .feature-detail.reverse { direction: ltr; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p.lead { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 28px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.bio-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.bio-avatar {
  width: 160px; height: 160px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.bio-name { font-size: 1.4rem; margin-bottom: 4px; }
.bio-title { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.bio-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .bio-card { grid-template-columns: 1fr; text-align: center; }
  .bio-avatar { margin: 0 auto; }
  .bio-tags { justify-content: center; }
}

/* ============================================================
   RESOURCES / BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 24px; }
.blog-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); margin-bottom: 10px; }
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p  { font-size: 0.88rem; }
.blog-card-footer { padding: 0 24px 20px; font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; }

@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand .nav-logo-text span { color: var(--accent); }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.88rem; margin: 12px 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.footer-col h5 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom-links { display: flex; gap: 20px; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   UTILITIES / MISC
   ============================================================ */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.tag-row  { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(26,82,118,0.08);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Success/error states */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.alert--success { background: #EAFAF1; color: #1E8449; border: 1px solid #A9DFBF; }
.alert--error   { background: #FDEDEC; color: #C0392B; border: 1px solid #F1948A; }

/* Scroll reveal (added by JS) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Print */
@media print { .nav, .footer, .cta-band { display: none; } }
