/* Saradha — Education Theme */

:root {
  --bg:        #F7F9FC;
  --bg-alt:    #E8EEF6;
  --fg:        #1C2B4A;
  --fg-muted:  #5A6A82;
  --accent:    #1A56DB;
  --accent-2:  #6C63FF;
  --border:    #C9D3E6;
  --ell:       #0E7490;
  --iep:       #7C3AED;
  --adv:       #B45309;
  --white:     #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding: 5rem 2rem 4rem; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26,86,219,0.12);
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ── Forms ──────────────────────────────────────────────── */
.hero-form, .closing-form {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.hero-form input, .closing-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
}
.hero-form input:focus, .closing-form input:focus {
  border-color: var(--accent);
}
.hero-form button, .closing-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.hero-form button:hover, .closing-form button:hover { background: #1447c0; }
.hero-form button:disabled { opacity: 0.7; cursor: not-allowed; }
.hero-fine-print, .closing-fine {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ── Stats ──────────────────────────────────────────────── */
.stats { background: var(--accent); padding: 3.5rem 2rem; }
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ── Section Shared ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ── Users (Teachers) ───────────────────────────────────── */
.users { padding: 5rem 2rem; background: var(--bg); }
.users-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.users-body {
  font-size: 0.975rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.users-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.users-checklist li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}
.users-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.users-checklist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ── Lesson Card (visual) ───────────────────────────────── */
.lesson-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07);
}
.lesson-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.lesson-label { font-size: 0.75rem; color: var(--fg-muted); font-weight: 500; }
.lesson-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--accent);
  font-family: 'Source Sans 3', sans-serif;
}
.lesson-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.lesson-mods { display: flex; flex-direction: column; gap: 0.875rem; }
.mod {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  background: var(--bg);
}
.mod-ell { border-left: 3px solid var(--ell); }
.mod-iep { border-left: 3px solid var(--iep); }
.mod-adv { border-left: 3px solid var(--adv); }
.mod-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-family: 'Source Sans 3', sans-serif;
}
.mod-ell .mod-tag { background: #E0F7FA; color: var(--ell); }
.mod-iep .mod-tag { background: #EDE9FE; color: var(--iep); }
.mod-adv .mod-tag { background: #FEF3C7; color: var(--adv); }
.mod-desc { font-size: 0.825rem; color: var(--fg-muted); line-height: 1.5; }

/* ── Educators ──────────────────────────────────────────── */
.educators { padding: 5rem 2rem; background: var(--bg-alt); }
.educators-inner { max-width: 1100px; margin: 0 auto; }
.section-header { max-width: 650px; margin-bottom: 3.5rem; }
.educators-sub { font-size: 0.975rem; color: var(--fg-muted); line-height: 1.75; margin-top: 0.75rem; }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.edu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.edu-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.edu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.edu-body { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { padding: 5rem 2rem; background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 800px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  position: relative;
}
.pricing-district {
  border-color: var(--accent);
  border-width: 2px;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.25rem 0.875rem;
  border-radius: 99px;
  font-family: 'Source Sans 3', sans-serif;
}
.pricing-header { margin-bottom: 1.5rem; }
.pricing-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.35rem;
}
.pricing-tagline { font-size: 0.875rem; color: var(--fg-muted); }
.pricing-price { margin-bottom: 1.75rem; }
.price-amount {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
}
.price-period {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1447c0; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ── Closing ─────────────────────────────────────────────── */
.closing { padding: 6rem 2rem; background: var(--fg); }
.closing-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.closing-form {
  justify-content: center;
  margin-bottom: 1rem;
}
.closing-fine { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 2.5rem 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--fg-muted); }

/* ── District Form ─────────────────────────────────────── */
.district-form { display: flex; flex-direction: column; gap: 0; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.35rem;
}
.form-group .required { color: var(--accent); }
.form-group .optional { color: var(--fg-muted); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-success {
  background: #D1FAE5;
  color: #065F46;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}
#df-submit { margin-top: 0.25rem; }
#df-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .users-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .edu-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-tagline { display: none; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .stats { padding: 2.5rem 1.25rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .users, .educators, .pricing { padding: 3rem 1.25rem; }
  .closing { padding: 4rem 1.25rem; }
  .footer { padding: 2rem 1.25rem; }
  .hero-form, .closing-form { flex-direction: column; }
  .hero-form button, .closing-form button { width: 100%; }
  .btn { width: 100%; display: block; }
}