/* =========================================================
   LikhiBoli.com — style.css  (v6 "Kinetic")
   Near-black canvas, bold editorial type, sliding Hindi/English
   word marquees, saffron→rose→violet voice gradient. Energetic
   and modern, but clarity + trust markers kept front-and-centre.
   ========================================================= */

:root {
  --bg: #0A0A0F;
  --bg-2: #14141C;             /* raised cards */
  --bg-3: #1A1A26;
  --text: #F5F1E8;            /* warm ivory */
  --dim: #ADA7B8;             /* secondary (AA on bg) */
  --faint: #8A8598;           /* small print (AA-ish) */
  --rule: rgba(245, 241, 232, 0.11);

  --g1: #FFB454; --g2: #FF5E7A; --g3: #9D7BFF;
  --grad-voice: linear-gradient(92deg, #FFB454 6%, #FF5E7A 52%, #9D7BFF 96%);
  --amber: #FFB454;
  --teal: #2DD4BF;            /* demo + trust accent */
  --record-red: #FF4D4D;
  --transcribe-orange: #FFA94D;

  --font-display: "Tiro Devanagari Hindi", Georgia, serif;
  --font-body: "Anek Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.05rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.14; font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #FFC97E; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* gradient text helper */
.grad { background: var(--grad-voice); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-body); font-weight: 800;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.3s var(--ease), filter 0.2s var(--ease); will-change: transform;
}
.btn-cta {
  background: linear-gradient(92deg, #FFB454, #FF9A3D); color: #1A1206;
  box-shadow: 0 0 0 1px rgba(255,180,84,.25), 0 12px 40px -12px rgba(255,150,60,.6);
}
.btn-cta:hover { color: #1A1206; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 46px -12px rgba(255,150,60,.8); }
.btn-cta:active { transform: translateY(0); }
.btn-sm { padding: 0.5em 1.15em; font-size: 0.95rem; }
.btn-lg { padding: 0.95em 1.9em; font-size: 1.12rem; }
.btn-ghost { background: transparent; color: var(--faint); border: 1.5px dashed var(--faint); padding: 0.85em 1.6em; font-size: 1.05rem; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.72); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--amber); }
.brand-word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 1.75rem); }
.site-nav > a:not(.btn) { color: var(--dim); font-weight: 500; font-size: 0.98rem; transition: color 0.2s var(--ease); }
.site-nav > a:not(.btn):hover { color: var(--text); }
@media (max-width: 560px) { .site-nav > a:not(.btn) { display: none; } }

/* ---------- Section rhythm ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700; color: var(--amber); margin-bottom: 0.9rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--rule); }
.section-tight { padding-block: clamp(1.75rem, 4vw, 2.5rem); }
.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); letter-spacing: -0.015em; max-width: 24ch; margin-bottom: 1.75rem; }

/* =========================================================
   HERO — kinetic marquees + big editorial headline
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 780px);
  display: flex; align-items: center;
  padding-block: clamp(2rem, 6vh, 4rem);
}
.marq {
  position: absolute; left: 0; right: 0; display: flex; white-space: nowrap; pointer-events: none;
  font-weight: 800; font-size: clamp(3rem, 11vw, 9rem); line-height: 1; opacity: 0.07; z-index: 0;
}
.marq-1 { top: 6%; animation: slideL 30s linear infinite; }
.marq-2 { bottom: 8%; animation: slideR 34s linear infinite; }
.marq .u { -webkit-text-stroke: 2px var(--text); color: transparent; padding: 0 0.28em; }
.marq .f { color: var(--text); padding: 0 0.28em; }
.marq .hi { font-family: var(--font-display); font-weight: 400; }
@keyframes slideL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slideR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.hero-center { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero .eyebrow { color: var(--amber); }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 11vw, 7rem); line-height: 0.98; letter-spacing: -0.02em; color: var(--text); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--dim); max-width: 46ch; margin: 1.4rem auto 1.75rem; line-height: 1.55; }
.hero-sub span[lang="hi"] { color: var(--text); font-weight: 500; }

.trust-chips { list-style: none; margin: 0 auto 1.9rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; justify-content: center; }
.trust-chips li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; color: var(--dim); font-weight: 500; }
.trust-chips .chk { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(45,212,191,.16); color: var(--teal); font-size: 0.72rem; font-weight: 800; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.cta-meta { color: var(--faint); font-size: 0.9rem; }
.scroll-cue { font-weight: 600; color: var(--amber); margin-top: 0.4rem; }

/* =========================================================
   LIVE DEMO — dark product card
   ========================================================= */
.demo-section { border-top: 1px solid var(--rule); padding-block: clamp(3.5rem, 8vw, 6rem); }
.demo-wrap { text-align: center; }
.demo-section h2 { font-size: clamp(1.6rem, 3.8vw, 2.2rem); max-width: 20ch; margin: 0 auto 0.9rem; }
.demo-lead { color: var(--dim); max-width: 52ch; margin: 0 auto 2.6rem; }

/* Real LikhiBoli overlay: listening (waveform) → transcribing (spark) */
.flow-demo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(1rem, 4vw, 2.5rem); max-width: 780px; margin: 0 auto; }
.fd-step { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.fd-pill {
  display: inline-flex; align-items: center; gap: 0.8rem;
  height: 54px; padding: 0 1.15rem;
  background: var(--bg-3); border: 1px solid rgba(245,241,232,.14); border-radius: 14px;
  box-shadow: 0 22px 50px -24px rgba(0,0,0,.9), inset 0 1px 0 rgba(245,241,232,.06);
}
.fd-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--record-red); animation: dotPulse 1.15s var(--ease) infinite; }
#fd-wave { display: block; width: 240px; height: 46px; }
@media (max-width: 460px){ #fd-wave { width: 190px; } }
.fd-transcribe { font-weight: 600; font-size: 1.02rem; color: var(--text); }
.fd-spark { flex: none; width: 20px; height: 20px; color: var(--transcribe-orange); animation: sparkSpin 1.5s linear infinite; }
@keyframes sparkSpin { to { transform: rotate(360deg); } }
.fd-arrow { color: var(--teal); align-self: center; margin-top: 14px; }
.fd-arrow svg { width: 40px; height: 24px; }
.fd-cap { color: var(--dim); font-size: 0.98rem; text-align: center; max-width: 26ch; }
.fd-cap b { color: var(--text); font-weight: 700; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }
@media (max-width: 640px){
  .flow-demo { grid-template-columns: 1fr; gap: 1.6rem; }
  .fd-arrow { margin: 0; transform: rotate(90deg); }
}

/* =========================================================
   MORPH SPECTACLE BAND
   ========================================================= */
.band {
  position: relative; overflow: hidden; border-top: 1px solid var(--rule);
  background: radial-gradient(120% 90% at 50% 0%, rgba(157,123,255,.10), transparent 55%), var(--bg);
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
.band-inner { text-align: center; }
.morph-wrap { width: min(720px, 94vw); height: clamp(140px, 22vw, 230px); margin: 0 auto 0.75rem; }
#morph-canvas { width: 100%; height: 100%; display: block; }
.band-story { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.38; max-width: 24ch; margin: 0 auto; color: var(--text); }
.band-story strong { font-weight: 400; background: var(--grad-voice); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   SHOWCASE
   ========================================================= */
.showcase-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 780px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-copy h2 { margin-bottom: 1.1rem; }
.showcase-copy > p { color: var(--dim); margin-bottom: 1.4rem; max-width: 42ch; }
.showcase-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.showcase-points li { position: relative; padding-left: 1.6rem; color: var(--dim); font-size: 0.98rem; }
.showcase-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px 1px rgba(45,212,191,.5); }
.showcase-points strong { color: var(--text); font-weight: 600; }
.showcase-shot { margin: 0; justify-self: center; }
.showcase-shot img { width: 100%; max-width: 330px; height: auto; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9); border: 1px solid rgba(245,241,232,.08); }
.showcase-shot figcaption { margin-top: 0.85rem; text-align: center; font-size: 0.82rem; color: var(--faint); }

/* =========================================================
   FEATURES
   ========================================================= */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 680px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.feature:first-child, .features > .feature:nth-child(2) { border-top: none; }
@media (max-width: 680px) { .features > .feature:nth-child(2) { border-top: 1px solid var(--rule); } }
.feat-icon { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--amber); background: rgba(255,180,84,.10); box-shadow: inset 0 0 0 1px rgba(255,180,84,.18); }
.feat-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.feature p { color: var(--dim); font-size: 1rem; }

/* =========================================================
   PRIVACY
   ========================================================= */
.privacy-statements { display: grid; gap: 1.4rem; max-width: 720px; }
.privacy-statements p { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--dim); padding-left: 1.25rem; border-left: 2px solid var(--teal); }
.privacy-statements strong { color: var(--text); }
.privacy-statements em { font-style: italic; }

/* =========================================================
   OFFLINE VS ONLINE
   ========================================================= */
.table-scroll { overflow-x: auto; margin-bottom: 2.75rem; }
.compare { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 0.95rem 1.1rem; vertical-align: top; }
.compare thead th { font-weight: 700; font-size: 1.05rem; border-bottom: 1.5px solid var(--rule); color: var(--text); }
.compare thead th:nth-child(2) { color: var(--teal); }
.compare thead th:nth-child(3) { color: var(--amber); }
.compare tbody th { font-weight: 600; color: var(--faint); width: 22%; }
.compare tbody tr { border-bottom: 1px solid var(--rule); }
.compare tbody td { color: var(--dim); }

.gemini-steps h3 { font-size: 1.15rem; margin-bottom: 1.4rem; }
.step-time { color: var(--faint); font-weight: 400; font-size: 0.92rem; }
.key-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .key-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .key-steps { grid-template-columns: 1fr; } }
.key-steps li { display: flex; flex-direction: column; gap: 0.75rem; }
.key-shot { margin: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: #08080D; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 6px; }
.key-shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 6px; }
.key-steps li p { font-size: 0.95rem; color: var(--dim); line-height: 1.5; }
.key-steps li p strong { color: var(--text); }
.mini-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,180,84,.14); color: var(--amber); font-size: 0.82rem; font-weight: 700; margin-right: 0.35rem; vertical-align: -0.15em; }
.sysreq { text-align: center; color: var(--faint); font-size: 0.95rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 780px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; font-weight: 600; font-size: 1.08rem; position: relative; transition: color 0.2s var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 0.25rem; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease), border-color 0.2s var(--ease); }
.faq-list summary:hover { color: var(--amber); }
.faq-list summary:hover::after { border-color: var(--amber); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); border-color: var(--amber); }
.faq-body { padding: 0 0 1.25rem; }
.faq-body p { color: var(--dim); max-width: 68ch; }
.faq-list details[open] .faq-body { animation: faqReveal 0.28s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* =========================================================
   SUPPORT / FOOTER
   ========================================================= */
.support-inner { text-align: center; max-width: 640px; margin: 0 auto; }
#support h2 { font-family: var(--font-display); max-width: none; margin-inline: auto; margin-bottom: 0.75rem; }
.support-inner > p { color: var(--dim); margin-bottom: 1.75rem; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-line { color: var(--faint); font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.92rem; }
.footer-nav a { color: var(--dim); font-weight: 500; }
.footer-nav a:hover { color: var(--amber); }
.footer-note { margin-top: 1.1rem; color: var(--faint); font-size: 0.8rem; max-width: 70ch; }

/* =========================================================
   Reveal + reduced motion
   ========================================================= */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marq { display: none; }
  .fd-dot, .fd-spark { animation: none !important; }
}
