/* ==========================================================================
   THE FLUTE ROOM — Design System (shared with the 30 Alankaar site; unused class-only
   sections such as pricing/curriculum/UDYAM were removed for this product site)
   Palette:  --orange (primary) / --ink (secondary) / --white / --cream (alt bg)
   Type:     'Fraunces' (display, headlines) + 'Inter' (body/UI)
   Signature: the "breath line" — a drawn SVG line motif used as a divider
   ========================================================================== */

/* Fonts are loaded with <link> tags in each page's <head> (faster than @import). */

:root {
  /* Color — "Raag cover" theme: maroon (the "30"), forest green (the Hindi
     title), antique gold (ornaments) on warm parchment. Variable NAMES are
     kept from the Alankaar design system (--orange = primary accent) so every
     component keeps working; only the values changed.
     Contrast (WCAG): white on --orange 9.0:1 · --ink on --cream 15.2:1 ·
     --ink-soft on --cream 8.2:1 · --green on --cream 8.5:1 */
  --orange: #8E1B1B;        /* primary: maroon */
  --orange-deep: #6E1212;   /* hover / accent text */
  --orange-light: #E6D2AE;  /* light gold border */
  --orange-wash: #F6ECDD;   /* parchment wash */
  --ink: #2B1B14;           /* dark brown-black */
  --ink-soft: #5A4636;      /* body text */
  --white: #FFFDF9;         /* warm white */
  --cream: #FBF5EA;         /* alt section background */
  --line: #E8DCC6;
  --gold: #B8862B;          /* decorative only (lines, icons) — not for text */
  --gold-text: #8A6418;     /* gold that passes contrast on cream */
  --gold-light: #E9C98B;    /* gold text on dark backgrounds */
  --green: #1F5134;         /* forest green */

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 8px 30px rgba(43,27,20,0.07);
  --shadow-card: 0 14px 40px rgba(142,27,27,0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

section { padding: 116px 0; position: relative; }
section.alt { background: var(--cream); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(142,27,27,0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(142,27,27,0.4); background: var(--orange-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,253,249,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(43,27,20,0.04); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-family: var(--font-display); font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 600; }
.nav-links a { opacity: 0.8; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; color: var(--orange-deep); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero { padding: 150px 0 100px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 22px;
}
.hero-copy h1 em { font-style: normal; color: var(--orange); }
.hero-copy p { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
.hero-trust .stars { color: var(--orange); letter-spacing: 2px; }
.hero-media { display: flex; flex-direction: column; gap: 18px; }
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/9;
  background: var(--ink);
}
.video-frame.small { aspect-ratio: 16/8; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(43,27,20,0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}

/* Breath line signature */
.breath-line { width: 100%; height: 46px; display: block; margin: 8px 0 0; }
.breath-line path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.breath-line circle { fill: var(--orange); }
.section-divider { padding: 6px 0 0; }
.reveal-line path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 2.2s var(--ease) forwards;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }

/* ===== Benefits ===== */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--orange-light); }
.benefit-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-wash);
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--orange-deep);
}
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Why Unlimited ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-num { font-family: var(--font-display); font-size: 20px; color: var(--orange); font-weight: 600; min-width: 32px; }
.why-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Reviews ===== */
.review-track-wrap { position: relative; }
.review-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  flex-shrink: 0;
}
.review-card .stars { color: var(--orange); margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-wash); color: var(--orange-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
}
.review-name { font-weight: 700; font-size: 14px; }
.review-loc { font-size: 12.5px; color: var(--ink-soft); }
.video-review { min-width: 220px; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.video-review iframe { width: 100%; height: 100%; border: 0; }
.slider-controls { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.slider-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slider-btn:hover { background: var(--orange-wash); border-color: var(--orange); }

/* ===== How it works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step-card { text-align: left; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--ink-soft); }

/* ===== Enrollment Form ===== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  padding: 42px;
  max-width: 720px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; }
.form-field input, .form-field select {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus {
  outline: none; border-color: var(--orange); background: var(--white);
}
.form-summary {
  background: var(--orange-wash);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.form-summary strong { font-family: var(--font-display); font-size: 20px; }
.form-error { font-size: 12.5px; color: #C0392B; min-height: 16px; }
.form-status { text-align: center; font-size: 14px; margin-top: 16px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 22px;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
}
.faq-q .plus { transition: transform 0.3s var(--ease); font-size: 20px; color: var(--orange); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }

/* ===== Trust strip ===== */
.trust-strip { display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.trust-item svg { color: var(--orange); }

/* ===== Highlight Banner (One-on-One / Hindi & English / Hindustani Classical) ===== */
.highlight-banner {
  background: linear-gradient(135deg, var(--orange-wash) 0%, var(--cream) 100%);
  border-top: 1px solid var(--orange-light);
  border-bottom: 1px solid var(--orange-light);
  padding: 34px 0;
}
.highlight-grid { display: flex; justify-content: center; align-items: stretch; gap: 18px; flex-wrap: wrap; }
.highlight-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--orange-light);
  border-radius: var(--radius);
  padding: 14px 22px;
  box-shadow: var(--shadow-soft);
  flex: 1 1 260px;
  max-width: 340px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.highlight-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.highlight-icon {
  font-size: 22px; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-wash);
  display: flex; align-items: center; justify-content: center;
}
.highlight-text { display: flex; flex-direction: column; gap: 2px; }
.highlight-text strong { font-family: var(--font-display); font-size: 14.5px; color: var(--ink); }
.highlight-text span { font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .highlight-grid { gap: 12px; }
  .highlight-item { padding: 12px 16px; max-width: none; flex: 1 1 100%; }
}

/* ===== Footer ===== */
footer { background: var(--ink); color: #fff; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 14px; max-width: 280px; }
footer h5 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; color: rgba(255,255,255,0.9); }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
footer a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.2s ease; }
footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===== Floating elements ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 850;
  box-shadow: 0 -8px 24px rgba(43,27,20,0.08);
}
.sticky-cta .price-tag { font-size: 13px; color: var(--ink-soft); }
.sticky-cta .price-tag strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); }

.whatsapp-float {
  position: fixed; bottom: 26px; right: 24px;
  z-index: 860;
  background: #1F7A4D;
  color: #fff;
  border-radius: 100px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(37,171,99,0.4);
  animation: glow-pulse 2.4s ease-in-out infinite;
  cursor: pointer;
  border: none;
  max-width: 240px;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37,171,99,0.35); }
  50% { box-shadow: 0 10px 34px rgba(37,171,99,0.7); }
}
.whatsapp-float svg { flex-shrink: 0; color: #6FE3A3; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero .container, .why-grid, .teacher-grid, .trust-cert-grid { grid-template-columns: 1fr; }
  .plan-select-grid { grid-template-columns: 1fr; }
  .flute-select-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .slots-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links,
  .header-cta .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
    padding: 5px;
  }

  /* Mobile header — prevent logo wrapping */
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
    gap: 10px;
  }

  .site-header .logo {
    font-size: 19px;
    line-height: 1.05;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }

  .site-header .header-cta {
    gap: 8px;
    flex-shrink: 0;
  }

  /* Keep the eBook CTA visible without squeezing the logo */
  .site-header .header-cta .btn-primary {
    padding: 11px 16px;
    font-size: 13px;
  }

  section { padding: 76px 0; }
  .hero { padding: 120px 0 90px; }
  .benefit-grid, .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .whatsapp-float span.label {
    display: none;
  }

  .whatsapp-float {
    padding: 11px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
    bottom: calc(74px + 18px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
  }

  .site-header .logo {
    font-size: 18px;
  }

  .site-header .header-cta {
    gap: 5px;
  }

  .site-header .header-cta .btn-primary {
    padding: 10px 12px;
    font-size: 12px;
  }

  .site-header .nav-toggle {
    padding: 4px;
  }

  .site-header .nav-toggle span {
    width: 22px;
  }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 950;
  background: var(--white);
  display: none;
  flex-direction: column;
  padding: 100px 30px 30px;
  gap: 24px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.drawer-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 28px; cursor: pointer; }
