/* Offline Radio – website styles. Same palette as the app. */
:root {
  --bg: #f7f7fa;
  --surface: #ffffff;
  --surface-2: #f1f1f6;
  --border: #ececf2;
  --text: #14121f;
  --muted: #6b6b80;
  --pink: #f43f6e;
  --orange: #f97316;
  --green: #16a34a;
  --blue: #2563eb;
  --purple: #7c3aed;
  --cyan: #0891b2;
  --yellow: #e6a700;
  --brand: linear-gradient(135deg, #ff3d6e 0%, #ff7a45 100%);
  --shadow: 0 10px 30px rgba(20, 18, 31, 0.06);
  --shadow-lg: 0 30px 60px rgba(20, 18, 31, 0.14);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 16px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px rgba(244, 63, 110, .32); }
.btn-dark { background: var(--text); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; line-height: 1.1; }
.btn .two-line { line-height: 1.15; text-align: left; }
.btn svg { flex: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 250, .82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; white-space: nowrap; }
.brand img { width: 40px; height: 40px; }
.brand .fm {
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 1px 6px; border-radius: 6px; letter-spacing: 0;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.lang-switch {
  display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 12px; gap: 2px;
}
.lang-switch button {
  border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 9px; color: var(--muted); cursor: pointer;
}
.lang-switch button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.nav .btn { padding: 10px 16px; font-size: 14px; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255, 122, 69, .20), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: auto auto -30% -15%; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(124, 58, 237, .10), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -1.5px; margin: 18px 0 18px; font-weight: 800; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--green); }

.hero-visual { position: relative; height: 620px; }
.phone {
  width: 290px; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 10px; background: #14121f;
  box-shadow: var(--shadow-lg); position: absolute;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px; }
.phone.back { right: 6%; top: 0; transform: rotate(6deg); opacity: .98; }
.phone.front { left: 4%; top: 46px; transform: rotate(-4deg); z-index: 2; }
.float-card {
  position: absolute; z-index: 3; background: var(--surface); border-radius: 18px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600;
}
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card.one { left: -2%; bottom: 70px; }
.float-card.two { right: 0; top: 120px; }
.icon-tile {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 14px rgba(20, 18, 31, .12);
}
.t-pink { background: linear-gradient(135deg, #ff5b86, #f43f6e); }
.t-green { background: linear-gradient(135deg, #2bbf62, #16a34a); }
.t-purple { background: linear-gradient(135deg, #9461f5, #7c3aed); }
.t-blue { background: linear-gradient(135deg, #4b80f5, #2563eb); }
.t-orange { background: linear-gradient(135deg, #fb8c3c, #f97316); }
.t-cyan { background: linear-gradient(135deg, #22a8c7, #0891b2); }
.t-yellow { background: linear-gradient(135deg, #f2bd1f, #e6a700); }
.t-dark { background: linear-gradient(135deg, #3a3550, #14121f); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; position: relative; z-index: 1; }
.stat { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-size: 26px; letter-spacing: -.5px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker { color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -1px; line-height: 1.15; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 18px; margin: 16px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
.feature.highlight { background: var(--brand); color: #fff; border: 0; }
.feature.highlight p { color: rgba(255, 255, 255, .88); }
.feature.highlight .icon-tile { background: rgba(255, 255, 255, .22); box-shadow: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; right: 24px; font-size: 54px; font-weight: 800; line-height: 1;
  color: var(--surface-2);
}
.step h3 { margin: 16px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.alt { background: var(--surface); border-block: 1px solid var(--border); }

.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shots .phone { position: relative; width: 240px; transform: none; }
.shots figcaption { margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--muted); }

.india { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.india h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; line-height: 1.15; margin: 8px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--surface); border: 1px solid var(--border); padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip b { color: var(--muted); font-weight: 500; margin-left: 6px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.cta-band {
  background: var(--brand); color: #fff; border-radius: 32px; padding: 56px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 8px; letter-spacing: -.8px; line-height: 1.15; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn-ghost { background: #fff; color: var(--text); border: 0; }
.cta-band .cta-row { position: relative; z-index: 1; }

footer { padding: 56px 0 40px; border-top: 1px solid var(--border); margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 12px; font-size: 15px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
footer a:hover { color: var(--text); }
.copyright { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 24px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1px; margin: 0 0 6px; }
.legal .meta { color: var(--muted); margin-bottom: 28px; }
.legal .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #2f2c40; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 12px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface-2); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .india { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); margin-left: auto; cursor: pointer; }
  .nav .btn-get { display: none; }
  .nav-inner { gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding-top: 40px; }
  .hero-visual { height: 480px; }
  .phone { width: 230px; }
  .phone.front { left: 0; }
  .phone.back { right: 0; }
  .float-card.two { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal .card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
