/* ───────── Tokens ───────── */
:root {
  --navy:        #0b3b5c;
  --navy-deep:   #062a44;
  --navy-soft:   #0e4972;
  --tide:        #5fd3c2;
  --teal:        #0a8a7a;
  --cream:       #f7f5f1;
  --paper:       #fdfcf9;
  --ink:         #0c1620;
  --ink-2:       #41525f;
  --muted:       #6b7884;
  --line:        #e2e0d8;
  --line-soft:   #ecebe4;
  --gold:        #c9a14a;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 2px rgba(11,22,32,0.04), 0 2px 6px rgba(11,22,32,0.05);
  --shadow-md:   0 8px 22px rgba(11,22,32,0.08), 0 2px 6px rgba(11,22,32,0.05);
  --shadow-lg:   0 30px 70px rgba(11,22,32,0.18), 0 6px 18px rgba(11,22,32,0.08);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Plus Jakarta Sans', system-ui, sans-serif;
  --deva:  'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1180px;
}

/* ───────── Base ───────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal); }
button { font-family: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* ───────── Type ───────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--navy-deep); margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; max-width: 22ch; }
h3 { font-size: 20px; line-height: 1.3; }
.display {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 22px; color: var(--navy-deep);
  text-wrap: pretty;
}
.display .accent { color: var(--teal); }
.lede { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); line-height: 1.55; max-width: 56ch; margin: 0 0 26px; text-wrap: pretty; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede.light { color: rgba(255,255,255,0.78); }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--teal); letter-spacing: 2.6px; text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker.light { color: var(--tide); }
.eyebrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  letter-spacing: 1.6px; text-transform: uppercase;
  background: var(--cream); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.18s ease;
  text-decoration: none;
}
.btn.full { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--cream); }

/* ───────── Topbar ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,252,249,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-deep); }
.brand-mark svg { border-radius: 8px; box-shadow: 0 2px 8px rgba(11,59,92,0.2); display: block; }
.brand-word { font-size: 20px; letter-spacing: -0.4px; }
.brand-word [lang="hi"] { font-family: var(--deva); margin-right: 1px; }

.topnav { display: flex; gap: 28px; margin-left: auto; }
.topnav a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.topnav a:hover { color: var(--navy); }

.top-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-toggle button {
  border: none; background: transparent; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-2);
}
.lang-toggle button.on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ───────── Hero ───────── */
.hero { padding: 80px 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-bottom: 80px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--cream); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.tick.light { background: rgba(95,211,194,0.18); color: var(--tide); }

/* hero phones */
.hero-visual { position: relative; height: 540px; }
.phone {
  position: absolute; width: 280px; height: 540px;
  border-radius: 36px; background: #1a1a1a; padding: 8px;
  box-shadow: var(--shadow-lg);
}
.phone-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; }
.phone-1 { left: 8%; top: 0; transform: rotate(-4deg); }
.phone-2 { right: 0; top: 60px; transform: rotate(5deg); width: 250px; height: 480px; }

.ps-1 { background: linear-gradient(165deg, #0e4972 0%, #062a44 100%); position: relative; padding: 60px 24px; color: #fff; }
.ps-1-overlay { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-top: 40px; }
.ps-1-greet { font-family: var(--deva); font-size: 26px; font-weight: 700; }
.ps-1-sub { font-size: 13px; color: rgba(255,255,255,0.65); letter-spacing: 0.2px; }

.ps-2 { background: var(--cream); padding: 28px 16px; display: flex; flex-direction: column; gap: 10px; }
.ps-2-card { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.ps-2-card.sm { padding: 12px 16px; }
.ps-2-eyebrow { font-size: 10px; font-weight: 700; color: var(--teal); letter-spacing: 1.4px; margin-bottom: 6px; }
.ps-2-name { font-size: 15px; font-weight: 700; color: var(--navy-deep); margin-bottom: 2px; }
.ps-2-name.sm { font-size: 14px; margin-bottom: 0; }
.ps-2-phone { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.ps-2-row { display: flex; gap: 8px; }
.pill { width: 38px; height: 28px; border-radius: 8px; }
.pill-wa { background: #25d366; }
.pill-sms { background: var(--navy); }
.pill-call { background: var(--teal); }

/* hero stats */
.hero-stats { background: var(--navy-deep); color: #fff; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-num { font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: -1px; color: var(--tide); margin-bottom: 4px; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ───────── Sections ───────── */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { margin: 0 auto 18px; }

/* ───────── Problem ───────── */
.problem { background: var(--cream); }
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pcard {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; position: relative;
}
.pcard-num {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 1.4px; margin-bottom: 18px;
}
.pcard h3 { color: var(--navy-deep); margin-bottom: 10px; }
.pcard p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.pcard-fix { padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
.pcard-fix-lbl { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 1.4px; text-transform: uppercase; }
.pcard-fix span:last-child { font-size: 14.5px; color: var(--navy-deep); font-weight: 500; }

/* ───────── Voices ───────── */
.voices { background: var(--paper); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  margin: 0; background: var(--cream); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--line);
}
.quote blockquote {
  font-family: var(--serif); font-size: 19px; line-height: 1.45;
  color: var(--navy-deep); margin: 0 0 22px; quotes: none;
}
.q-name { font-weight: 700; color: var(--navy-deep); font-size: 14px; }
.q-role { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ───────── Pricing ───────── */
.pricing { background: var(--cream); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.plan-featured { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.plan-featured h3, .plan-featured .plan-name, .plan-featured .price-amt { color: #fff; }
.plan-featured .plan-tag, .plan-featured .plan-feats li { color: rgba(255,255,255,0.78); }
.plan-flag {
  position: absolute; top: -12px; left: 32px;
  background: var(--tide); color: var(--navy-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.plan-name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy-deep); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.price-amt { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--navy-deep); letter-spacing: -1px; }
.price-per { font-size: 14px; color: var(--muted); }
.plan-featured .price-per { color: rgba(255,255,255,0.6); }
.plan-tag { font-size: 14px; color: var(--ink-2); min-height: 40px; }
.plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-feats li { font-size: 14.5px; color: var(--ink-2); padding-left: 24px; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan-featured .plan-feats li::before { color: var(--tide); }
.pricing-foot { text-align: center; margin-top: 32px; color: var(--muted); font-size: 14px; }

/* ───────── FAQ ───────── */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.2fr; gap: 64px; align-items: start; }
.faq-side h2 { margin-bottom: 18px; }
.faq-side .lede a { color: var(--teal); border-bottom: 1px solid var(--teal); }
.faq-list { display: flex; flex-direction: column; }
.faq-list details {
  border-bottom: 1px solid var(--line); padding: 22px 0;
}
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary {
  font-size: 17px; font-weight: 600; color: var(--navy-deep);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--teal);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ───────── Team ───────── */
.team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.member-photo {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 24px; letter-spacing: 1px;
  margin-bottom: 18px; font-family: var(--serif);
}
.member-name { font-size: 18px; font-weight: 700; color: var(--navy-deep); }
.member-role { font-size: 13px; color: var(--teal); font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; margin: 2px 0 12px; }
.member-bio { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* ───────── Demo ───────── */
.demo { background: linear-gradient(165deg, #0e4972 0%, #062a44 100%); color: #fff; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.demo h2 { color: #fff; }
.demo-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-points li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.85); font-size: 15px; }
.demo-form {
  background: var(--paper); border-radius: var(--radius-lg); padding: 32px;
  color: var(--ink); display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10,138,122,0.12);
}
.form-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.form-success {
  padding: 14px 16px; background: var(--cream); border: 1px solid var(--tide);
  border-radius: 10px; color: var(--navy-deep); font-size: 14.5px;
  display: flex; flex-direction: column; gap: 4px;
}

/* ───────── Footer ───────── */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer .brand-word { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-tag { font-size: 14px; max-width: 32ch; margin: 18px 0 0; line-height: 1.5; }
.foot-h { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(255,255,255,0.65); font-size: 14px; }
.foot-col a:hover { color: var(--tide); }
.foot-bottom { padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; gap: 10px; flex-wrap: wrap; }
.foot-dot { color: rgba(255,255,255,0.3); }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 60px; }
  .hero-visual { height: 480px; max-width: 540px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .problem-grid, .quotes, .plans, .team-grid { grid-template-columns: 1fr; }
  .faq-grid, .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .topnav { display: none; }
  section { padding: 70px 0; }
  .hero { padding-top: 50px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .top-actions .btn { display: none; }
  .phone-1 { left: 0; }
  .phone-2 { right: 0; transform: rotate(5deg) scale(0.86); }
}

/* Hindi typography pass — Devanagari needs more line-height */
[lang="hi"] .display, html[lang="hi"] .display { line-height: 1.16; }
html[lang="hi"] .lede { line-height: 1.65; }
html[lang="hi"] body { font-family: var(--deva), var(--sans); }
html[lang="hi"] .display, html[lang="hi"] h2, html[lang="hi"] h3 {
  font-family: var(--deva), var(--serif);
  font-weight: 700;
}
