/* ═══════════════════════════════════════════════════════════════════
   EchoVaani — Marketing Site
   Warm cream, editorial, intentional
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #FAF8F5;
  --bg-alt: #F5F0EB;
  --surface: #FFFFFF;
  --border: #E6DFD8;
  --border-hl: #D6CFC6;
  --text: #1C1917;
  --text-2: #78716C;
  --text-3: #A8A29E;
  --purple: #6B4FA0;
  --amber: #E08C3B;
  --grad: linear-gradient(135deg, #6B4FA0 0%, #E08C3B 100%);
  --glow: rgba(107,79,160,0.2);
  --sh-1: rgba(28,25,23,0.05);
  --sh-2: rgba(28,25,23,0.09);
  --sh-3: rgba(28,25,23,0.14);
  /* Layout */
  --max-w: 1160px;
  --section-pad: 110px;
  --page-x: max(5%, calc((100% - var(--max-w)) / 2));
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body {
  font-family:'Inter',sans-serif;
  background:var(--bg); color:var(--text);
  overflow-x:hidden; width:100%;
  line-height:1.6; -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.serif { font-family:'Playfair Display',serif; font-weight:500; }
em { font-family:'Playfair Display',serif; font-style:italic; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }

.grad-text {
  background:var(--grad);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text; display:inline-block;
}

/* ── Ambient ───────────────────────────────────────────────────── */
.glow {
  position:fixed; width:50vw; height:50vw; border-radius:50%;
  pointer-events:none; z-index:0; filter:blur(120px);
  max-width:600px; max-height:600px;
}
.glow-1 { top:-10vh; right:0; background:radial-gradient(circle,rgba(224,140,59,0.07),transparent 60%); }
.glow-2 { top:40vh; left:-25vw; background:radial-gradient(circle,rgba(107,79,160,0.07),transparent 60%); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 32px; border-radius:8px;
  font:600 0.95rem/1 'Inter',sans-serif;
  cursor:pointer; border:1px solid transparent;
  transition:all 0.25s ease; white-space:nowrap;
  height:48px;
}
.btn-p {
  background:var(--grad); color:#fff;
  box-shadow:0 2px 8px var(--glow);
}
.btn-p:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(107,79,160,0.3); filter:brightness(1.06); }
.btn-o {
  background:var(--surface); color:var(--text);
  border:1px solid var(--border);
}
.btn-o:hover { border-color:var(--purple); background:var(--bg); }
.btn-sm { padding:9px 20px; font-size:0.88rem; height:38px; }
.btn-lg { padding:16px 40px; font-size:1.05rem; height:56px; }
.btn-full { width:100%; height:auto; padding:14px 20px; }

/* ── Nav ───────────────────────────────────────────────────────── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:0 var(--page-x);
  height:60px;
  display:flex; justify-content:space-between; align-items:center;
  background:rgba(250,248,245,0.92); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  transition:box-shadow 0.3s;
}
nav.scrolled { box-shadow:0 1px 12px var(--sh-1); }
.logo { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.logo img { width:32px; height:32px; border-radius:50%; }
.logo span { font-size:1.15rem; font-weight:600; }
.nav-mid { display:flex; gap:36px; flex:1; justify-content:center; }
.nav-mid a { color:var(--text-2); font-size:0.92rem; font-weight:500; transition:color 0.2s; }
.nav-mid a:hover { color:var(--text); }
.nav-end { display:flex; gap:12px; flex:0 0 auto; }

/* ── Section wrapper ───────────────────────────────────────────── */
.section { padding:var(--section-pad) var(--page-x); position:relative; z-index:2; }
.alt-bg { background:var(--bg-alt); }
.section-hdr { text-align:center; margin-bottom:64px; }
.section-tag {
  color:var(--amber); font:500 0.72rem/1 'DM Mono',monospace;
  text-transform:uppercase; letter-spacing:2.5px;
  margin-bottom:14px; display:block;
}
.section-title { font-size:clamp(2rem,3vw,2.8rem); line-height:1.15; color:var(--text); margin-bottom:0; }
.section-sub { color:var(--text-2); font-size:1.05rem; max-width:540px; margin:20px auto 0; line-height:1.7; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position:relative; padding:calc(60px + 12vh) var(--page-x) 10vh;
  text-align:center; min-height:100vh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; z-index:1;
}
.hero h1 {
  font-size:clamp(2.8rem,5vw,5rem);
  line-height:1.06; letter-spacing:-0.025em;
  margin-bottom:24px; max-width:760px;
}
.hero p {
  font-size:clamp(1rem,1.6vw,1.12rem);
  color:var(--text-2); max-width:520px;
  margin:0 auto 36px; line-height:1.8;
}

/* Hero CTA: the two buttons side-by-side, vertically centered on their midlines */
.hero-cta {
  display:flex; gap:16px; justify-content:center;
  align-items:center;   /* ← keeps both buttons on same baseline */
  margin-bottom:72px;
  flex-wrap:wrap;
}
.hero-cta-stack {
  display:flex; flex-direction:column;
  align-items:center; gap:8px;
}
.hero-cta-note { font-size:0.76rem; color:var(--text-3); letter-spacing:0.2px; }

/* ── Mockup ────────────────────────────────────────────────────── */
.mockup-wrap { position:relative; width:100%; max-width:440px; margin:0 auto; perspective:900px; }
.mockup {
  background:#1A1520; border:1px solid rgba(255,255,255,0.08);
  border-radius:20px; padding:22px;
  box-shadow:0 24px 64px var(--sh-3);
  text-align:left;
  transform:rotateX(3deg) rotateY(-2deg);
  transition:transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.mockup-wrap:hover .mockup { transform:rotateX(0) rotateY(0); }
.mockup-hdr {
  display:flex; align-items:center; gap:12px;
  padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,0.07); margin-bottom:16px;
}
.mockup-av { width:44px; height:44px; border-radius:50%; border:2px solid var(--purple); overflow:hidden; }
.mockup-av img { width:100%; height:100%; object-fit:cover; }
.mockup-name { font-family:'Playfair Display',serif; font-weight:500; font-size:1.05rem; color:#F0EAE0; }
.mockup-status { font-size:0.72rem; color:#10B981; display:flex; align-items:center; gap:5px; }
.pulse-dot { width:6px; height:6px; background:#10B981; border-radius:50%; animation:blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.msg { padding:12px 16px; border-radius:14px; margin-bottom:12px; font-size:0.9rem; line-height:1.5; max-width:88%; }
.msg-u { background:rgba(255,255,255,0.05); margin-left:auto; border-bottom-right-radius:4px; color:rgba(255,255,255,0.6); }
.msg-ai {
  background:var(--grad); border-bottom-left-radius:4px; color:#fff;
  box-shadow:0 8px 16px rgba(107,79,160,0.15);
}
.wave { display:flex; align-items:center; gap:3px; margin-bottom:6px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255,0.15); }
.wave-bar { width:2.5px; height:10px; background:#fff; border-radius:2px; animation:wav 1s infinite alternate ease-in-out; }
.wave-bar:nth-child(2){animation-delay:.2s;height:16px} .wave-bar:nth-child(3){animation-delay:.4s;height:7px}
.wave-bar:nth-child(4){animation-delay:.1s;height:12px} .wave-bar:nth-child(5){animation-delay:.5s;height:9px}
.wave-label { font-size:0.65rem; margin-left:6px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; opacity:0.8; }
@keyframes wav { 0%{transform:scaleY(0.4);opacity:0.4} 100%{transform:scaleY(1);opacity:1} }

/* ── Steps ─────────────────────────────────────────────────────── */
.steps { max-width:680px; margin:0 auto; }
.step {
  display:flex; gap:28px; align-items:flex-start;
  padding:32px 0;
  border-bottom:1px solid var(--border);
}
.step:last-child { border-bottom:none; }
.step-num {
  font:500 2.4rem/1 'Playfair Display',serif;
  color:var(--border-hl); flex-shrink:0; width:56px;
  padding-top:2px;
}
.step-body h3 { font-size:1.2rem; margin-bottom:10px; font-weight:500; }
.step-body p { color:var(--text-2); line-height:1.75; font-size:0.95rem; }

/* ── Split (alternating feature sections) ──────────────────────── */
.split {
  display:grid; grid-template-columns:1fr 1fr; gap:72px;
  align-items:center; max-width:min(1000px, 100%); margin:0 auto;
}
.split-reverse .split-text { order:2; }
.split-reverse .split-visual { order:1; }
.split-title { font-size:clamp(1.8rem,2.8vw,2.4rem); line-height:1.15; margin-bottom:20px; }
.split-text p { color:var(--text-2); line-height:1.75; font-size:0.98rem; }
.split-text .section-tag { text-align:left; }

.feature-card {
  display:flex; align-items:center; gap:14px;
  padding:16px 20px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; margin-bottom:12px;
  font-size:0.9rem; color:var(--text);
  box-shadow:0 1px 3px var(--sh-1);
  transition:border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color:rgba(107,79,160,0.2); box-shadow:0 4px 12px var(--sh-2); }
.feature-card svg { color:var(--purple); flex-shrink:0; }

/* ── Testimonials ──────────────────────────────────────────────── */
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:min(1080px,100%); margin:0 auto; }
.testi {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:32px;
  box-shadow:0 1px 3px var(--sh-1);
  transition:all 0.25s ease;
}
.testi:hover { border-color:rgba(107,79,160,0.15); transform:translateY(-3px); box-shadow:0 6px 20px var(--sh-2); }
.testi-quote {
  font-family:'Playfair Display',serif;
  font-size:1rem; font-style:italic;
  line-height:1.7; color:var(--text);
  margin-bottom:24px;
}
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-av { width:40px; height:40px; border-radius:50%; overflow:hidden; }
.testi-av img { width:100%; height:100%; object-fit:cover; }
.testi-name { font-weight:600; font-size:0.88rem; }
.testi-role { font-size:0.78rem; color:var(--text-3); }

/* ── Pricing ───────────────────────────────────────────────────── */
#pricing {
  max-height:2000px; opacity:1; padding-top:var(--section-pad); padding-bottom:var(--section-pad);
  overflow:hidden;
  transition: max-height 0.7s cubic-bezier(0.25,1,0.5,1),
              opacity 0.5s ease,
              padding 0.7s cubic-bezier(0.25,1,0.5,1);
}
#pricing.pricing-hidden {
  max-height:0; opacity:0; padding-top:0; padding-bottom:0;
  pointer-events:none;
}
.billing-toggle {
  display:inline-flex; background:var(--surface);
  border:1px solid var(--border); border-radius:8px; padding:3px;
  margin:0 auto 48px; box-shadow:0 1px 3px var(--sh-1);
}
.tog {
  padding:9px 22px; border:none; background:transparent;
  color:var(--text-3); font:500 0.9rem/1 'Inter',sans-serif;
  cursor:pointer; border-radius:6px;
  transition:all 0.25s; display:flex; align-items:center; gap:8px;
}
.tog.active { background:var(--grad); color:#fff; box-shadow:0 2px 8px var(--glow); font-weight:600; }
.save-badge { background:rgba(255,255,255,0.2); color:#fff; padding:2px 7px; border-radius:4px; font-size:0.65rem; font-weight:700; }
.tog.active .save-badge { background:#fff; color:var(--purple); }

.pricing-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; max-width:min(960px,100%); margin:0 auto;
}
.price-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:36px 32px;
  display:flex; flex-direction:column;
  box-shadow:0 1px 3px var(--sh-1);
  transition:all 0.25s;
}
.price-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px var(--sh-2); }
.price-card.featured {
  border:2px solid var(--purple);
  background:linear-gradient(180deg,rgba(107,79,160,0.03),var(--surface));
  box-shadow:0 8px 32px rgba(107,79,160,0.1);
  position:relative;
}
.price-card.featured:hover { transform:translateY(-4px); }
.plan-badge {
  position:absolute; top:0; left:50%; transform:translate(-50%,-50%);
  padding:5px 14px; background:var(--grad); color:#fff;
  font:700 0.7rem/1 'Inter',sans-serif; text-transform:uppercase;
  letter-spacing:0.5px; border-radius:6px; box-shadow:0 2px 8px var(--glow);
}
.price-tier { font:500 1.2rem/1 'Playfair Display',serif; margin-bottom:8px; }
.price-val { font:500 3rem/1 'Playfair Display',serif; margin-bottom:8px; }
.price-val span { font-size:1rem; color:var(--text-3); font-weight:400; font-family:'Inter',sans-serif; }
.price-desc { color:var(--text-2); font-size:0.9rem; margin-bottom:28px; }
.feat-list { list-style:none; margin-bottom:32px; flex:1; }
.feat-list li { display:flex; align-items:center; gap:10px; margin-bottom:12px; color:var(--text-2); font-size:0.9rem; }
.feat-list li svg { flex-shrink:0; width:18px; height:18px; color:var(--amber); }

/* ── CTA ───────────────────────────────────────────────────────── */
.cta-bottom {
  padding:var(--section-pad) var(--page-x); text-align:center;
  background:var(--bg-alt);
  border-top:1px solid var(--border); z-index:2; position:relative;
}
.cta-bottom h2 { font-size:clamp(2rem,3.5vw,3.2rem); margin-bottom:16px; }

/* ── Footer ────────────────────────────────────────────────────── */
footer {
  padding:48px var(--page-x) 36px;
  border-top:1px solid rgba(255,255,255,0.06);
  display:flex; flex-direction:column; align-items:center; gap:20px;
  background:#1A1520; z-index:2; position:relative;
}
footer .logo span { color:#F0EAE0; }
.footer-links { display:flex; gap:28px; }
.footer-links a { color:rgba(240,234,224,0.45); font-size:0.85rem; transition:color 0.2s; }
.footer-links a:hover { color:#F0EAE0; }
.copyright { color:rgba(240,234,224,0.3); font-size:0.8rem; }

/* ── FAQ Accordion ─────────────────────────────────────────────── */
.faq-list { max-width:680px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:first-child { border-top:1px solid var(--border); }
.faq-q {
  width:100%; text-align:left; background:none; border:none;
  padding:22px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font:500 1rem/1.5 'Inter',sans-serif; color:var(--text);
  transition:color 0.2s;
}
.faq-q:hover { color:var(--purple); }
.faq-icon {
  font-size:1.4rem; font-weight:300; color:var(--purple);
  transition:transform 0.35s cubic-bezier(0.25,1,0.5,1);
  flex-shrink:0; line-height:1;
}
.faq-item.open .faq-icon { transform:rotate(45deg); }
.faq-a {
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 0.4s cubic-bezier(0.25,1,0.5,1);
}
.faq-item.open .faq-a { grid-template-rows:1fr; }
.faq-a > p {
  overflow:hidden;
  color:var(--text-2); line-height:1.8; font-size:0.95rem;
  padding-bottom:0;
  transition:padding-bottom 0.4s cubic-bezier(0.25,1,0.5,1);
}
.faq-item.open .faq-a > p { padding-bottom:24px; }

/* ── Reveal ────────────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:all 0.7s cubic-bezier(0.25,1,0.5,1); }
.reveal.active { opacity:1; transform:translateY(0); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width:960px) {
  :root { --section-pad:80px; --page-x:5%; }
  .nav-mid { display:none; }
  .nav-end { gap:8px; }
  .nav-end .btn { padding:8px 14px; font-size:0.82rem; }
  .hero-cta { flex-direction:column; align-items:center; }
  .hero-cta .btn, .hero-cta .hero-cta-stack { width:100%; max-width:320px; }
  .hero-cta-stack .btn { width:100%; }
  .split { grid-template-columns:1fr; gap:40px; }
  .split-reverse .split-text, .split-reverse .split-visual { order:unset; }
  .testi-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
}

@media (max-width:680px) {
  :root { --section-pad:64px; }
  .testi-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:2.4rem; }
}
