/* ===================== ROOT / TOKENS ===================== */
:root {
  --blue: #2540d4;
  --blue-dark: #1e34ad;
  --orange: #f37021;
  --cream: #faf8f2;
  --ink: #1a2233;
  --navy: #0f1b2d;
  --muted: #5b6473;
  --line: #ece7db;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(15,27,45,.06);
  --shadow-md: 0 14px 40px rgba(15,27,45,.10);
  --shadow-blue: 0 18px 50px rgba(37,64,212,.30);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-head: "Poppins", var(--font-body);
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }

/* ===================== LAYOUT PRIMITIVES ===================== */
.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }
.section { padding: 88px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-head .section-desc { color: var(--muted); max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; }
.section-desc { color: var(--muted); }

/* ===================== BADGES ===================== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
}
.badge-light { background: rgba(37,64,212,.08); color: var(--blue); }
.badge-warn  { background: rgba(243,112,33,.12); color: #c4551a; }
.badge-blue  { background: rgba(37,64,212,.10); color: var(--blue); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1a2b45; transform: translateY(-2px); }

.text-blue { color: var(--blue); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,242,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand-logo { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); }
.brand-logo svg { width: 100%; height: 100%; }
.brand-safe { color: var(--ink); }
.brand-sauda { color: var(--blue); }
.brand-light .brand-safe, .brand-light span:first-child { color: #fff; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 600; color: var(--muted); transition: color .15s ease; position: relative; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--blue); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--blue);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 6px; padding: 0 4%; overflow: hidden; max-height: 0; transition: max-height .3s ease, padding .3s ease; }
.mobile-nav a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 2px solid transparent; margin: 10px 0; }
.mobile-nav.open { max-height: 360px; padding-bottom: 16px; }

/* ===================== HERO ===================== */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; margin: 6px 0 20px; }
.hero-copy .lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-visual { position: relative; display: grid; place-items: center; }
.deal-card {
  width: min(400px, 100%); background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.deal-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.deal-label { font-weight: 700; color: var(--muted); font-size: .9rem; }
.pill { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.pill-green { background: rgba(22,163,74,.12); color: var(--green); }
.deal-amount { text-align: center; padding: 18px 0 24px; border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.deal-rupee { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); }
.deal-sub { color: var(--muted); font-size: .92rem; }
.deal-steps { display: grid; gap: 14px; }
.deal-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .96rem; color: var(--muted); }
.deal-steps li.done { color: var(--ink); }
.deal-steps li.active { color: var(--blue); }
.tick { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(22,163,74,.14); color: var(--green); font-size: .8rem; font-weight: 800; }
.tick-orange { background: rgba(243,112,33,.16); color: var(--orange); }
.float-lock { position: absolute; top: -14px; right: 6%; font-size: 2rem; filter: drop-shadow(0 8px 18px rgba(15,27,45,.18)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================== STORIES ===================== */
.stories { background: var(--white); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.story-emoji { font-size: 2rem; margin-bottom: 14px; }
.story-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.story-card p { color: var(--muted); font-size: .96rem; }
.story-name { display: block; margin-top: 16px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.stories-note { text-align: center; max-width: 640px; margin: 40px auto 0; font-size: 1.1rem; color: var(--muted); }
.stories-note strong { color: var(--ink); }

/* ===================== WHAT IS ===================== */
.flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 20px 0 40px; }
.flow-node { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; text-align: center; box-shadow: var(--shadow-sm); min-width: 150px; }
.flow-node-mid { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: var(--shadow-blue); }
.flow-node-mid .flow-sub { color: rgba(255,255,255,.8); }
.flow-icon { font-size: 2rem; margin-bottom: 8px; }
.flow-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.flow-sub { display: block; color: var(--muted); font-size: .88rem; }
.flow-arrow { font-size: 1.6rem; color: var(--blue); font-weight: 700; }
.callout { background: rgba(37,64,212,.06); border: 1px dashed rgba(37,64,212,.3); border-radius: var(--radius); padding: 22px 28px; text-align: center; max-width: 720px; margin: 0 auto; color: var(--ink); font-size: 1.05rem; }

/* ===================== HOW / TIMELINE ===================== */
.how { background: var(--white); }
.timeline { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; position: relative; }
.timeline li { display: flex; gap: 20px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.step-num { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-blue); }
.step-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step-body p { color: var(--muted); font-size: .98rem; }

/* ===================== CATEGORIES ===================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-emoji { font-size: 2rem; display: block; margin-bottom: 14px; }
.cat-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: .94rem; }

/* ===================== WHY SAFE ===================== */
.why-safe { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 920px; margin: 0 auto; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.feature-wide { grid-column: 1 / -1; }
.feature-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ===================== MARQUEE ===================== */
.marquee { background: var(--navy); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: scroll-x 28s linear infinite; }
.m-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 8px 18px; border-radius: 999px; white-space: nowrap; }
.m-blue { background: rgba(37,64,212,.22); color: #a9baff; }
.m-orange { background: rgba(243,112,33,.20); color: #ffb888; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== FAQ ===================== */
.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-align: left; }
.acc-icon { flex: none; font-size: 1.5rem; color: var(--blue); transition: transform .2s ease; line-height: 1; }
.acc-head[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body p { padding: 0 24px 22px; color: var(--muted); }

/* ===================== CTA / WAITLIST ===================== */
.cta-section { padding: 88px 0; }
.cta-panel { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; box-shadow: var(--shadow-blue); }
.cta-shield { font-size: 2.6rem; display: block; margin-bottom: 16px; }
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-panel > p { color: rgba(255,255,255,.85); max-width: 520px; margin: 14px auto 0; }
.waitlist-form { display: flex; gap: 12px; max-width: 520px; margin: 28px auto 0; flex-wrap: wrap; }
.waitlist-form input { flex: 1 1 240px; padding: 15px 20px; border-radius: 999px; border: 0; font-family: var(--font-body); font-size: 1rem; outline: none; }
.cta-fineprint { margin-top: 16px; font-size: .88rem; color: rgba(255,255,255,.75); }
.cta-fineprint.error { color: #ffd0b8; }
.cta-fineprint.success { color: #c9ffd8; font-weight: 700; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); color: #cdd4e0; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-sauda { color: #7d92ff; }
.footer-tag { color: #97a1b3; max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col a { display: block; color: #97a1b3; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #7c869a; font-size: .88rem; flex-wrap: wrap; gap: 10px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cards-3, .cat-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .flow { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 64px 0; }
}
@media (min-width: 861px) and (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .float-lock { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
