/* ════════════════════════════════════════════════════════════════════════
   Retailer360 — Landing page
   Display: Bricolage Grotesque · Body: Inter · Numerics: Geist Mono
   Terracotta accent (#D8743C) + warm charcoal ink on warm off-white.
   Art direction: dark hero → light product story → dark CTA.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --accent:        #D8743C;
  --accent-2:      #EE8A4E;  /* brighter terracotta for dark backgrounds */
  --accent-strong: #B85427;  /* deeper — for text/links on light */
  --accent-soft:   #FBEDE2;
  --accent-line:   rgba(216,116,60,0.22);

  /* Warm ink ramp */
  --ink:           #1C1713;  /* warm near-black */
  --ink-soft:      #463E37;  /* warm body alt */
  --muted:         #6A6157;  /* 5.8:1 on --bg, passes AA */
  --muted-2:       #7C7368;  /* 4.6:1 on --bg, passes AA */

  /* Surfaces (warm neutral) */
  --bg:            #FBFAF8;
  --bg-alt:        #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #F6F3EF;
  --border:        #ECE6DF;
  --border-strong: #DCD3C8;

  /* Dark band (hero / cta) */
  --night:         #16110D;
  --night-2:       #221A13;
  --on-night:      #FBF7F2;
  --on-night-soft: rgba(251,247,242,0.72);

  /* Semantic */
  --success:       #0E9E6E;
  --warning:       #E08A12;
  --danger:        #EF4444;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape — warm-tinted shadows */
  --radius:    16px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(40,28,18,0.04), 0 2px 8px rgba(40,28,18,0.05);
  --shadow:    0 4px 14px rgba(40,28,18,0.06), 0 16px 40px rgba(40,28,18,0.07);
  --shadow-lg: 0 14px 32px rgba(40,28,18,0.10), 0 36px 70px rgba(40,28,18,0.13);
  --shadow-accent: 0 10px 28px rgba(216,116,60,0.32);

  --container: 1180px;
  --section-py: clamp(4.5rem, 8vw, 7.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

a, button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
svg { display: block; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ── Ambient background ──────────────────────────────────────────────────── */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.55; }
.blob-1 { top: -15%; left: -10%; width: 55vw; height: 55vw; background: rgba(216,116,60,0.10); }
.blob-2 { bottom: -25%; right: -15%; width: 60vw; height: 60vw; background: rgba(40,28,18,0.04); }
.blob-3 { top: 40%; left: 42%; width: 35vw; height: 35vw; background: rgba(216,116,60,0.06); }

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-py) 0; position: relative; }
.band-white { background: var(--bg-alt); }

/* ── Section header ──────────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto clamp(2.75rem, 5vw, 4rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--accent-strong);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.05rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 1rem;
  text-wrap: balance;
}
.section-desc { font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: var(--muted); line-height: 1.65; text-wrap: pretty; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; width: 100%; z-index: 100; padding: 1.1rem 0;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent; color: var(--on-night);
}
.header.scrolled {
  background: rgba(251,250,248,0.82); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--border);
  padding: 0.75rem 0; box-shadow: 0 2px 20px rgba(40,28,18,0.05); color: var(--ink);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em;
  color: inherit;
}
.logo-mark { width: 38px; height: 38px; object-fit: contain; display: block; flex-shrink: 0; }
/* Header logo swap: white mark over the dark hero, dark mark once the header turns light on scroll */
.logo .logo-mark--dark { display: none; }
.header.scrolled .logo-mark--light { display: none; }
.header.scrolled .logo-mark--dark { display: block; }
.nav-links { display: flex; gap: 2.25rem; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--on-night-soft); transition: color 0.2s; }
.nav-link:hover { color: var(--on-night); }
.header.scrolled .nav-link { color: var(--muted); }
.header.scrolled .nav-link:hover { color: var(--ink); }
.header-actions { display: flex; gap: 0.75rem; align-items: center; }
.mobile-menu-btn { display: none; background: none; border: none; color: inherit; }

/* Header ghost button adapts to the dark hero, then to light on scroll */
.header:not(.scrolled) .btn-ghost {
  background: rgba(255,255,255,0.08); color: var(--on-night);
  border-color: rgba(255,255,255,0.22); box-shadow: none;
}
.header:not(.scrolled) .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.72rem 1.45rem; border-radius: 11px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: transform 0.18s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(216,116,60,0.4); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1ede8; transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ── Hero (dark drench) ──────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; text-align: center;
  padding-top: 10rem; padding-bottom: clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(110% 70% at 50% -8%, rgba(238,138,78,0.20), transparent 55%),
    radial-gradient(80% 60% at 80% 10%, rgba(216,116,60,0.10), transparent 60%),
    linear-gradient(180deg, var(--night-2), var(--night) 70%);
  color: var(--on-night);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
}
.hero-content { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.95rem; border-radius: 9999px;
  background: rgba(255,255,255,0.07); color: var(--on-night);
  border: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}
.pill svg { color: var(--accent-2); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 1.5rem; color: var(--on-night); text-wrap: balance;
}
.hero-title .accent { color: var(--accent-2); }
.hero-subtitle {
  font-size: clamp(1.06rem, 1.6vw, 1.27rem); color: var(--on-night-soft);
  max-width: 620px; margin-bottom: 2.25rem; line-height: 1.6; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }
.hero-note { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.15rem; font-size: 0.86rem; font-weight: 500; color: var(--on-night-soft); }
.hero-note svg { color: var(--accent-2); flex-shrink: 0; }
.hero-content > .hero-note { animation-delay: 0.30s; }
.hero .btn-ghost {
  background: rgba(255,255,255,0.08); color: var(--on-night); border-color: rgba(255,255,255,0.22); box-shadow: none;
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }
.hero-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-top: 2.25rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.95rem; border-radius: 9999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem; font-weight: 500; color: var(--on-night-soft);
}
.hero-pill svg { color: var(--accent-2); }

/* ── Dashboard mockup ────────────────────────────────────────────────────── */
.hero-mockup-wrapper { margin-top: clamp(2.75rem, 5vw, 4.25rem); width: 100%; max-width: 1000px; }
.hero-mockup {
  position: relative; width: 100%; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden; text-align: left;
}
.hero-mockup::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.mockup-toast {
  position: absolute; top: 18px; right: 18px; z-index: 10;
  background: #fff; padding: 10px 16px; border-radius: 12px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  animation: floatToast 4s ease-in-out infinite;
}
@keyframes floatToast { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mockup-ui { display: flex; gap: 1.25rem; padding: 1.25rem; }
.mockup-sidebar {
  width: 200px; background: var(--surface-2); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; border: 1px solid var(--border);
}
.mockup-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.mockup-nav-item {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.85rem; border-radius: 9px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.mockup-nav-item.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.mockup-nav-item.active svg { color: var(--accent); }
.mockup-main { flex: 1; display: flex; flex-direction: column; }
.mockup-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mockup-card.stat { padding: 1rem 1.1rem; }
.mockup-chart { display: flex; align-items: flex-end; gap: 10px; flex: 1; padding-top: 1.5rem; }
.mockup-bar { flex: 1; background: rgba(216,116,60,0.22); border-radius: 4px 4px 0 0; }
.mockup-bar.peak { background: var(--accent); }
.mockup-list-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.mockup-list-item:last-child { border-bottom: none; }
.mockup-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; font-family: var(--font-mono); }

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.trust-bar { padding: 2rem 0; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.trust-label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; color: var(--muted-2); }
.trust-badges { display: flex; gap: 1.5rem 2.25rem; flex-wrap: wrap; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.trust-badge svg { color: var(--accent); }

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-value { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.6rem; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.stat-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ── How it works ────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.step {
  position: relative; padding: 2.25rem 1.85rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem;
}
.step-num::before {
  content: attr(data-n); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent); font-family: var(--font-mono); font-size: 1.05rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.step-arrow {
  position: absolute; top: 3.4rem; right: -1.05rem; transform: translateY(-50%); z-index: 2;
  width: 26px; height: 26px; color: var(--accent); background: var(--bg-alt); display: grid; place-items: center;
}

/* ── How it works: 2-column (demo left, vertical steps right) ────────────── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.75rem); align-items: center; }
.how-grid .voice-demo { margin: 0 auto; width: 100%; }
.how-grid .steps-grid { grid-template-columns: 1fr; gap: 1.1rem; }
.how-grid .step { padding: 1.5rem 1.6rem; }
.how-grid .step-num { margin-bottom: 0.85rem; }
/* Arrow points downward between vertically stacked steps */
.how-grid .step-arrow {
  top: auto; bottom: -0.95rem; right: 50%; transform: translateX(50%) rotate(90deg);
}
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-grid .voice-demo { max-width: 520px; }
  .how-grid .step-arrow { display: none; }
}

/* ── Features (bento: one wide lead card + grid) ─────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.85rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.feature-icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center;
  margin-bottom: 1.35rem; transition: transform 0.3s var(--ease-out);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-card h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.feature-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
/* Lead feature spans two columns and inverts to dark for emphasis */
.feature-card.is-primary {
  grid-column: span 2; background: linear-gradient(135deg, var(--night-2), var(--night));
  border-color: transparent; color: var(--on-night); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px;
}
.feature-card.is-primary h3 { color: var(--on-night); font-size: 1.5rem; }
.feature-card.is-primary p { color: var(--on-night-soft); max-width: 46ch; }
.feature-card.is-primary .feature-icon { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }

/* ── Built for India ─────────────────────────────────────────────────────── */
.india-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.india-list { list-style: none; display: flex; flex-direction: column; gap: 1.35rem; margin-top: 0.5rem; }
.india-list li { display: flex; gap: 1rem; align-items: flex-start; }
.india-list .ic {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center;
}
.india-list strong { display: block; font-size: 1.04rem; margin-bottom: 0.2rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.india-list span { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* Phone mockup */
.phone-frame {
  max-width: 290px; margin: 0 auto; background: var(--ink); border-radius: 38px; padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.phone-screen { background: #fff; border-radius: 28px; overflow: hidden; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Animated voice waveform — bars pulse like a live mic input */
.wave > span { transform-origin: bottom; animation: waveBar 0.85s ease-in-out infinite; will-change: transform; }
@keyframes waveBar { 0%, 100% { transform: scaleY(0.32); } 50% { transform: scaleY(1); } }
.wave > span:nth-child(1)  { animation-delay: -0.90s; animation-duration: 0.92s; }
.wave > span:nth-child(2)  { animation-delay: -0.20s; animation-duration: 1.08s; }
.wave > span:nth-child(3)  { animation-delay: -0.55s; animation-duration: 0.78s; }
.wave > span:nth-child(4)  { animation-delay: -1.10s; animation-duration: 0.96s; }
.wave > span:nth-child(5)  { animation-delay: -0.35s; animation-duration: 0.84s; }
.wave > span:nth-child(6)  { animation-delay: -0.75s; animation-duration: 1.14s; }
.wave > span:nth-child(7)  { animation-delay: -0.15s; animation-duration: 0.88s; }
.wave > span:nth-child(8)  { animation-delay: -1.00s; animation-duration: 0.72s; }
.wave > span:nth-child(9)  { animation-delay: -0.45s; animation-duration: 1.02s; }
.wave > span:nth-child(10) { animation-delay: -0.65s; animation-duration: 0.80s; }
.wave > span:nth-child(11) { animation-delay: -0.25s; animation-duration: 0.94s; }
.wave > span:nth-child(12) { animation-delay: -0.85s; animation-duration: 1.06s; }
.wave > span:nth-child(13) { animation-delay: -0.50s; animation-duration: 0.76s; }

/* ── Voice-to-invoice demo (How it works) ───────────────────────────────── */
.voice-demo { max-width: 520px; margin: 0 auto 3.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.vd-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.15rem; background: var(--night); color: var(--on-night); }
.vd-bar .vd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: pulse 1.4s ease-in-out infinite; flex-shrink: 0; }
.vd-label { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.vd-bar .wave { display: flex; align-items: flex-end; gap: 2px; height: 18px; margin-left: auto; }
.vd-bar .wave > span { width: 3px; background: var(--accent-2); border-radius: 2px; }
.vd-body { padding: 1.15rem 1.3rem 1.4rem; }
.vd-phrase { min-height: 3em; font-size: 1.04rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.vd-phrase .vd-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: vdCaret 1s steps(1) infinite; }
@keyframes vdCaret { 50% { opacity: 0; } }
.vd-invoice { margin-top: 1rem; border-top: 1px dashed var(--border-strong); padding-top: 0.9rem; }
.vd-row, .vd-total { opacity: 0; transform: translateY(7px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.vd-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.92rem; padding: 0.4rem 0; }
.vd-name { color: var(--ink-soft); }
.vd-qty { color: var(--muted); font-size: 0.78rem; margin-left: 0.45rem; }
.vd-amt { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.vd-total { display: flex; justify-content: space-between; align-items: center; margin-top: 0.55rem; padding-top: 0.7rem; border-top: 1px solid var(--border); font-weight: 700; }
.vd-total .vd-amt { color: var(--accent-strong); font-size: 1.08rem; }
.vd-row.show, .vd-total.show { opacity: 1; transform: none; }
.vd-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0.42rem 0.85rem; border-radius: 9999px; background: rgba(14,158,110,0.1); color: var(--success); font-size: 0.82rem; font-weight: 600; opacity: 0; transform: translateY(7px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.vd-badge.show { opacity: 1; transform: none; }

/* ── Comparison table ────────────────────────────────────────────────────── */
.compare-wrapper { max-width: 980px; margin: 0 auto; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.92rem; background: var(--surface); }
.compare-table th, .compare-table td { padding: 0.95rem 1.1rem; text-align: center; }
.compare-table thead th { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.compare-table thead th:first-child, .compare-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare-table thead .col-us { color: #fff; background: var(--accent); border-radius: 12px 12px 0 0; font-weight: 700; }
.compare-table tbody td { border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .col-us { background: var(--accent-soft); font-weight: 700; color: var(--ink); }
.compare-table tbody tr:hover td { background: var(--surface-2); }
.compare-table tbody tr:hover .col-us { background: rgba(216,116,60,0.16); }
.check { color: var(--success); display: inline-flex; }
.cross { color: var(--muted-2); display: inline-flex; }
.partial { color: var(--warning); display: inline-flex; font-weight: 700; }
.price-us { font-family: var(--font-mono); color: var(--accent-strong); font-weight: 700; }
.price-other { font-family: var(--font-mono); color: var(--muted); font-size: 0.88rem; }
.compare-note { text-align: center; margin-top: 1.25rem; font-size: 0.84rem; color: var(--muted-2); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial.featured { background: linear-gradient(135deg, var(--night-2), var(--night)); border-color: transparent; box-shadow: var(--shadow-lg); }
.testimonial.featured blockquote { color: rgba(255,255,255,0.9); }
.testimonial.featured .t-author strong { color: #fff; }
.testimonial.featured .t-author span { color: rgba(255,255,255,0.6); }
.testimonial.featured .t-avatar { background: rgba(255,255,255,0.14); color: #fff; }
.t-stars { display: flex; gap: 2px; color: var(--warning); }
.testimonial blockquote { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); font-style: normal; flex: 1; }
.t-author { display: flex; align-items: center; gap: 0.85rem; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.t-author strong { display: block; font-size: 0.94rem; }
.t-author span { font-size: 0.82rem; color: var(--muted); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.25rem 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { background: linear-gradient(160deg, var(--night-2), var(--night)); border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card.featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 50% at 50% 0%, rgba(238,138,78,0.18), transparent 70%);
}
.price-card.featured > * { position: relative; }
.price-card.featured .plan-name, .price-card.featured .plan-price { color: #fff; }
.price-card.featured .plan-desc { color: rgba(255,255,255,0.68); }
.price-card.featured .plan-price span { color: rgba(255,255,255,0.6); }
.price-card.featured .features li { color: rgba(255,255,255,0.92); }
.price-card.featured .plan-fine { color: rgba(255,255,255,0.7); }
.plan-tag {
  display: inline-block; align-self: flex-start; padding: 0.28rem 0.75rem; border-radius: 9999px;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.plan-tag.free { background: #D6F2E5; color: #08603F; }
.plan-tag.popular { background: var(--accent); color: #fff; }
.plan-tag.soon { background: #E0E7FF; color: #3730A3; }
.plan-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.plan-price { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.plan-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.5; min-height: 2.7em; }
.features { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.75rem; flex: 1; }
.features li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.92rem; color: var(--ink-soft); }
.features li svg { flex-shrink: 0; }
.features li.off { color: var(--muted-2); }
.plan-fine { text-align: center; font-size: 0.78rem; color: var(--muted-2); margin-top: 0.85rem; }
.billing-note {
  display: flex; align-items: flex-start; gap: 0.6rem; max-width: 720px; margin: 2.5rem auto 0;
  padding: 1rem 1.25rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
}
.billing-note svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--muted-2); }
.billing-note a { color: var(--accent-strong); text-decoration: underline; }

/* ── App download ────────────────────────────────────────────────────────── */
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.app-badges { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.75rem; }
.app-badge { display: flex; align-items: center; gap: 0.7rem; background: var(--ink); color: #fff; padding: 0.7rem 1.15rem; border-radius: var(--radius-sm); transition: transform 0.2s var(--ease-out), box-shadow 0.2s; }
.app-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.app-badge .b-sub { font-size: 0.68rem; opacity: 0.7; display: block; }
.app-badge .b-main { font-family: var(--font-display); font-size: 0.94rem; font-weight: 700; display: block; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.app-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.app-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-tile .ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 1rem; }
.app-tile strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.3rem; }
.app-tile span { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--border-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; list-style: none; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--accent); transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin-top: 0.9rem; color: var(--muted); line-height: 1.7; font-size: 0.96rem; }
.faq-item p a { color: var(--accent-strong); text-decoration: underline; }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, var(--night-2), var(--night)); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(3.5rem, 7vw, 5.5rem) 2rem; box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 130%; background: radial-gradient(circle, rgba(238,138,78,0.32), transparent 62%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box .section-title { color: #fff; }
.cta-box .pill { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.cta-box .section-desc { color: rgba(255,255,255,0.72); }
.cta-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); margin-top: 1rem; font-size: 0.92rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-links { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.link-group h3 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); margin-bottom: 1.1rem; }
.link-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.link-group a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.link-group a:hover { color: var(--accent-strong); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.75rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* ── Cookie banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(251,250,248,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; box-shadow: 0 -4px 24px rgba(40,28,18,0.07);
  transform: translateY(100%); transition: transform 0.5s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-content p { font-size: 0.9rem; color: var(--ink-soft); }
.cookie-content a { color: var(--accent-strong); text-decoration: underline; }

/* ── Reveal animation ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Hero entrance (CSS-driven, not gated on JS) ─────────────────────────── */
.hero-content > * { animation: heroRise 0.85s var(--ease-out) both; }
.hero-content > .pill        { animation-delay: 0.02s; }
.hero-content > .hero-title  { animation-delay: 0.10s; }
.hero-content > .hero-subtitle { animation-delay: 0.18s; }
.hero-content > .hero-actions  { animation-delay: 0.26s; }
.hero-content > .hero-pills    { animation-delay: 0.34s; }
.hero-content > .hero-mockup-wrapper { animation: heroRise 1s var(--ease-out) 0.42s both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.is-primary { grid-column: span 2; }
  .step-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .india-inner, .app-inner { grid-template-columns: 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column;
    background: var(--bg-alt); padding: 1.5rem; gap: 1.25rem; display: none;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); text-align: center;
  }
  .nav-links.show { display: flex; }
  .nav-link, .header .nav-link { font-size: 1.1rem; color: var(--ink); }
  .header-actions { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { padding-top: 7.5rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }

  .mockup-sidebar { display: none; }
  .mockup-ui { padding: 1rem; }
  .mockup-main > div:first-child { flex-direction: column; gap: 0.75rem; align-items: flex-start !important; }
  .mockup-toast { display: none; }
  .mockup-chart { display: none; }

  .features-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card.is-primary { grid-column: span 1; min-height: auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-badges { flex-direction: column; }
  .app-badge { width: 100%; }

  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-links { gap: 2rem; }
  .cookie-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.1rem; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-content > *, .hero-content > .hero-mockup-wrapper { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── Skip link & focus ───────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--ink); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600; font-size: 0.95rem;
  z-index: 9999; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus, .skip-link:focus-visible { top: 0; outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.header:not(.scrolled) a:focus-visible, .hero a:focus-visible { outline-color: var(--accent-2); }
