/* ============================================
   PURPLE CLOVER LEARNING
   Warm, inviting, professional
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---- Variables ---- */
:root {
  --purple-deep: #4A1D6B;
  --purple: #6B3FA0;
  --purple-mid: #8B5FBF;
  --lavender: #C9A8E8;
  --lavender-light: #EDE3F5;
  --lavender-pale: #F7F1FC;
  --cream: #FAF6F1;
  --cream-dark: #F0EAE0;
  --sage: #6B9E78;
  --sage-light: #E8F0EB;
  --gold: #C4956A;
  --gold-light: #F5EDDF;
  --text-dark: #2D1B38;
  --text-mid: #5A4367;
  --text-light: #8A7694;
  --white: #FFFFFF;
  --border: #E8DFF0;
  --shadow-sm: 0 2px 8px rgba(74, 29, 107, 0.06);
  --shadow-md: 0 4px 20px rgba(74, 29, 107, 0.1);
  --shadow-lg: 0 8px 40px rgba(74, 29, 107, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-deep); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 500;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
.text-muted { color: var(--text-light); }
.text-accent { color: var(--purple); }
.text-sage { color: var(--sage); }

/* ---- Layout ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple-deep);
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown .dropdown-trigger::after {
  content: '▾';
  font-size: 0.7rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
}
.dropdown-menu a:hover {
  background: var(--lavender-pale);
  color: var(--purple);
}
.dropdown-menu a small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--purple-deep);
  cursor: pointer;
  padding: 4px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 200;
  padding: 24px;
  flex-direction: column;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--purple-deep);
  cursor: pointer;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-links a {
  display: block;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-links a:hover {
  background: var(--lavender-pale);
  color: var(--purple);
}
.mobile-nav-links .sub-link {
  padding-left: 32px;
  font-size: 1rem;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 16px rgba(107, 63, 160, 0.25);
}
.btn-primary:hover {
  background: var(--purple-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107, 63, 160, 0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--lavender);
}
.btn-secondary:hover {
  border-color: var(--purple);
  background: var(--lavender-pale);
  color: var(--purple-deep);
}
.btn-sage {
  background: var(--sage);
  color: white;
  box-shadow: 0 4px 16px rgba(107, 158, 120, 0.25);
}
.btn-sage:hover {
  background: #5A8A66;
  color: white;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--lavender-pale);
  color: var(--purple);
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.card-text {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--lavender-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--lavender-pale);
  border: 1px solid var(--lavender);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 20px;
  color: var(--purple-deep);
}
.hero h1 em {
  font-style: italic;
  color: var(--sage);
}
.hero-text {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-light);
}
.hero-trust span::before {
  content: '✓ ';
  color: var(--sage);
  font-weight: 700;
}
.hero-image-area {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--lavender-light);
  box-shadow: var(--shadow-lg);
  display: none;
}
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; }
  .hero-image-area { display: block; position: relative; right: auto; top: auto; transform: none; flex-shrink: 0; margin-left: 60px; }
}

/* ---- Sections ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Feature cards */
.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--lavender-pale);
}
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.feature-card p {
  color: var(--text-mid);
  font-size: 0.92rem;
}

/* Path cards (for Parents vs Daycare) */
.path-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.path-card.purple::before { background: var(--purple); }
.path-card.sage::before { background: var(--sage); }
.path-card:hover {
  border-color: var(--lavender);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.path-card .path-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.path-card h3 { margin-bottom: 12px; }
.path-card p { color: var(--text-mid); margin-bottom: 20px; }
.path-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.path-card ul li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.path-card ul li::before {
  content: '✦';
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
}
.path-card.sage ul li::before { color: var(--sage); }

/* Testimonial / Quote */
.quote-block {
  background: var(--lavender-pale);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.quote-block::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--lavender);
  position: absolute;
  top: 16px;
  left: 32px;
  line-height: 1;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--purple-deep);
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 24px;
}
.quote-author {
  padding-left: 24px;
  font-weight: 600;
  color: var(--text-mid);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 50%, var(--purple-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: white;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-banner .btn-primary {
  background: white;
  color: var(--purple);
}
.cta-banner .btn-primary:hover {
  background: var(--cream);
  color: var(--purple-deep);
}

/* ---- Newsletter Form ---- */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.1);
}
.newsletter-form input::placeholder { color: var(--text-light); }

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}

/* ---- Email Gate Modal ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 27, 56, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-dark); }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 20px; }
.modal .form-group {
  margin-bottom: 16px;
}
.modal .form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-mid);
}
.modal .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.modal .form-group input:focus {
  border-color: var(--purple);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  background: var(--lavender);
  color: var(--purple-deep);
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 280px;
}
.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover { color: white; }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Blog ---- */
.blog-header {
  padding: 60px 0 40px;
  text-align: center;
}
.blog-grid { gap: 32px; }
.blog-card .card-img { height: 220px; }

/* Blog post */
.post-header {
  padding: 60px 0 32px;
  text-align: center;
}
.post-header .card-tag { margin-bottom: 16px; }
.post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 700px;
  margin: 0 auto 16px;
}
.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}
.post-content {
  padding-bottom: 60px;
}
.post-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.post-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}
.post-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.post-content ul, .post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.post-content li {
  margin-bottom: 8px;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.post-content strong { color: var(--text-dark); }

/* ---- Resource Cards ---- */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-card .card-img { height: 180px; }
.resource-card .card-body { flex: 1; display: flex; flex-direction: column; }
.resource-card .card-text { flex: 1; }
.resource-card .btn { margin-top: auto; }
.coming-soon-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-top: 12px;
}

/* ---- Course pages ---- */
.course-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--lavender-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}
.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--lavender-pale);
  border: 1px solid var(--lavender);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
}
.course-hero h1 {
  color: var(--purple-deep);
  margin-bottom: 16px;
}
.course-hero .hero-text {
  max-width: 600px;
}
.course-price {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.course-price .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--purple-deep);
}
.course-price .period {
  font-size: 1rem;
  color: var(--text-light);
}

/* Track accordion */
.track-section {
  margin-bottom: 32px;
}
.track-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.track-header:hover {
  border-color: var(--lavender);
  box-shadow: var(--shadow-sm);
}
.track-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lavender-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.track-header h3 {
  flex: 1;
  font-size: 1.15rem;
}
.track-toggle {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: var(--transition);
}
.track-content {
  display: none;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.track-content.open {
  display: block;
}
.track-content ul {
  list-style: none;
}
.track-content ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.track-content ul li:last-child { border-bottom: none; }
.track-content ul li::before {
  content: '◆';
  color: var(--lavender);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin: 16px 0 4px;
}
.pricing-card .period {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-card ul li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  padding: 32px;
  background: var(--lavender-pale);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.contact-info-card h4 { margin-bottom: 8px; }
.contact-info-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 0; }
.contact-info-card a { font-weight: 500; }

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

/* ---- About ---- */
.about-hero {
  padding: 80px 0 60px;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--lavender-light);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.8; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--lavender-pale);
  border-radius: var(--radius-md);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--purple);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .about-image img { height: 300px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

/* ---- 404 ---- */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.page-404 h1 { font-size: 4rem; color: var(--lavender); margin-bottom: 12px; }
.page-404 p { color: var(--text-mid); margin-bottom: 24px; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-mid);
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.08);
}
textarea.form-input { resize: vertical; min-height: 120px; }

/* ---- Utilities ---- */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.divider {
  width: 60px;
  height: 3px;
  background: var(--lavender);
  border-radius: 2px;
  margin: 24px auto;
}

/* ---- Alert/Success Messages ---- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 16px;
  display: none;
}
.alert.show { display: block; }
.alert-success {
  background: var(--sage-light);
  color: #2D5A3A;
  border: 1px solid rgba(107, 158, 120, 0.3);
}
.alert-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid rgba(153, 27, 27, 0.2);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ---- Sleep Training Grid ---- */
@media (max-width: 768px) {
  #sleep-training .container > div {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Payment success banner */
.payment-success-banner {
  background: var(--sage-light);
  color: #2D5A3A;
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.payment-success-banner .close-banner {
  margin-left: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #2D5A3A;
  opacity: 0.6;
  transition: var(--transition);
}
.payment-success-banner .close-banner:hover { opacity: 1; }

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .cta-banner, .newsletter-form { display: none; }
}
