/* ============================================================
   Shivayexch — shivayexch.live
   Design: Shivay Devotion — Sacred orange on white
   Fonts:  Yatra One (headings) + Wix Madefor Text (body)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-darker: #9a3412;
  --primary-light: #fb923c;
  --primary-soft: #ffedd5;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --saffron: #f97316;

  /* Surfaces */
  --bg-body: #ffffff;
  --bg-section: #fff7ed;
  --bg-section-2: #fffbeb;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --bg-dark-3: #172033;

  /* Text */
  --text: #1c1917;
  --text-muted: #57534e;
  --text-light: #78716c;
  --text-invert: #f8fafc;
  --text-invert-muted: #cbd5e1;

  /* Lines / effects */
  --border: #fed7aa;
  --border-soft: #f5e9dd;
  --ring: rgba(234, 88, 12, 0.35);
  --glow: rgba(234, 88, 12, 0.28);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #f97316 0%, #ea580c 55%, #c2410c 100%);
  --grad-amber: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  --grad-warm: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  --grad-dark: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.08);
  --sh-md: 0 6px 18px rgba(124, 45, 18, 0.10), 0 2px 6px rgba(124, 45, 18, 0.06);
  --sh-lg: 0 22px 50px -12px rgba(154, 52, 18, 0.28);
  --sh-glow: 0 12px 34px -8px var(--glow);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(18px, 5vw, 40px);
  --nav-h: 74px;

  --font-head: 'Yatra One', system-ui, serif;
  --font-body: 'Wix Madefor Text', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.2px;
  color: var(--text);
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.text-grad {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.section--tint { background: var(--bg-section); }
.section--warm { background: var(--grad-warm); }
.section--dark { background: var(--grad-dark); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-invert-muted); }
.section-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }
.section-head h2 { margin-top: 12px; }

.grid { display: grid; gap: clamp(18px, 3vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--sh-glow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--glow); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 2px var(--border);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.btn--dark { background: var(--bg-dark); color: #fff; box-shadow: var(--sh-md); }
.btn--dark:hover { background: var(--bg-dark-2); }
.btn--wa { background: linear-gradient(135deg, #25d366, #14a63f); box-shadow: 0 12px 30px -10px rgba(20, 166, 63, .5); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--sh-md); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-muted);
  padding: 9px 15px;
  border-radius: var(--r-full);
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav-links a.is-active { color: var(--primary-dark); background: var(--primary-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-links .btn { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--text);
  background: var(--primary-soft);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 104px);
  background:
    radial-gradient(1100px 520px at 82% -8%, #ffedd5 0%, rgba(255,237,213,0) 60%),
    radial-gradient(760px 460px at 4% 8%, #fff7ed 0%, rgba(255,247,237,0) 55%),
    var(--bg-body);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 600; font-size: 0.85rem;
  padding: 7px 14px 7px 8px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 { margin: 20px 0 0; }
.hero h1 .line { display: block; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-top: 20px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 38px; }
.hero-stat .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--primary-dark); line-height: 1; }
.hero-stat .lbl { font-size: 0.82rem; color: var(--text-light); font-weight: 600; margin-top: 6px; letter-spacing: .3px; }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-orb {
  position: relative;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-primary);
  display: grid; place-items: center;
  box-shadow: var(--sh-lg), inset 0 -30px 60px rgba(154,52,18,.45), inset 0 20px 40px rgba(255,237,213,.35);
  animation: floaty 7s ease-in-out infinite;
}
.hero-orb::before {
  content: "";
  position: absolute; inset: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.45);
}
.hero-orb .trishul { width: 46%; color: #fff; filter: drop-shadow(0 8px 16px rgba(124,45,18,.4)); }
.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sh-lg);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 0.92rem;
  border: 1px solid var(--border-soft);
}
.hero-chip .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); }
.hero-chip .ic svg { width: 22px; height: 22px; }
.hero-chip small { display: block; font-weight: 500; font-size: 0.76rem; color: var(--text-light); }
.hero-chip--1 { top: 6%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.hero-chip--2 { bottom: 12%; right: -6%; animation: floaty 5.4s ease-in-out .6s infinite; }
.hero-chip--3 { bottom: -3%; left: 12%; animation: floaty 6.6s ease-in-out .3s infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Marquee trust strip */
.trust-strip { background: var(--bg-dark); color: var(--text-invert); padding: 15px 0; overflow: hidden; }
.trust-track { display: flex; gap: 48px; align-items: center; width: max-content; animation: marquee 26s linear infinite; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: #fde3c8; white-space: nowrap; }
.trust-item svg { width: 20px; height: 20px; color: var(--amber-light); }
.trust-item .sep { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--border); }
.feature-ic {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  margin-bottom: 18px;
}
.feature-ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { font-size: 0.98rem; }
.card--accent { background: var(--grad-primary); color: #fff; border: none; }
.card--accent h3, .card--accent p { color: #fff; }
.card--accent .feature-ic { background: rgba(255,255,255,.18); color: #fff; }

/* Game cards */
.game-card { padding: 0; }
.game-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .thumb img { transform: scale(1.07); }
.game-card .thumb .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15,23,42,.72); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .5px;
  padding: 5px 11px; border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.game-card .thumb .mult {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--grad-amber); color: #3a1d05;
  font-family: var(--font-head); font-size: 0.9rem;
  padding: 4px 12px; border-radius: var(--r-full);
  box-shadow: var(--sh-md);
}
.game-card .body { padding: 20px 22px 24px; }
.game-card .body h3 { font-size: 1.24rem; margin-bottom: 5px; }
.game-card .body p { font-size: 0.92rem; }
.game-card .play {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--primary-dark); font-size: 0.92rem;
}
.game-card .play svg { width: 16px; height: 16px; transition: transform .2s ease; }
.game-card:hover .play svg { transform: translateX(4px); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.5rem; color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--sh-glow);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 7px; }

/* ---------- Section decorations ---------- */
.deco-trishul {
  position: absolute; pointer-events: none;
  color: var(--primary);
  opacity: 0.05;
  z-index: 0;
}
.deco-trishul--tr { top: -30px; right: -20px; width: 260px; transform: rotate(12deg); }
.deco-trishul--bl { bottom: -40px; left: -30px; width: 220px; transform: rotate(-18deg); }
.section > .container { position: relative; z-index: 1; }

/* ============================================================
   TOOLS
   ============================================================ */
.tool-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tool-wrap.reverse .tool-media { order: 2; }
.tool-media {
  background: var(--grad-dark);
  color: #fff;
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.tool-media::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 360px at 50% 30%, rgba(234,88,12,.35), transparent 70%);
}
.tool-media > * { position: relative; z-index: 1; }
.tool-body { padding: clamp(28px, 4vw, 44px); }
.tool-body .eyebrow { margin-bottom: 12px; }
.tool-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.tool-body p { font-size: 1rem; }

/* Mantra Counter — Mala */
.mala {
  position: relative;
  width: min(320px, 82vw);
  aspect-ratio: 1;
}
.mala svg { width: 100%; height: 100%; overflow: visible; }
.mala .bead { fill: rgba(255,255,255,.16); transition: fill .15s ease, r .15s ease; cursor: pointer; }
.mala .bead.on { fill: url(#beadGrad); }
.mala-center {
  position: absolute; inset: 0; margin: auto;
  width: 46%; height: 46%;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,.5), inset 0 -10px 24px rgba(124,45,18,.5);
  cursor: pointer;
  border: 3px solid rgba(255,255,255,.5);
  transition: transform .1s ease;
  user-select: none;
}
.mala-center:active { transform: scale(0.94); }
.mala-center.mala-flash { animation: malaPulse .6s ease; }
@keyframes malaPulse { 0%,100% { box-shadow: 0 14px 30px -8px rgba(0,0,0,.5), inset 0 -10px 24px rgba(124,45,18,.5); } 50% { box-shadow: 0 0 0 14px rgba(245,158,11,.35), 0 14px 30px -8px rgba(0,0,0,.5); transform: scale(1.05); } }
.mala-center .om { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.mala-center small { font-size: 0.72rem; opacity: .9; margin-top: 4px; }
.mantra-readout { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.readout-box {
  flex: 1 1 90px; text-align: center;
  background: var(--bg-section); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 14px 10px;
}
.readout-box .v { font-family: var(--font-head); font-size: 1.7rem; color: var(--primary-dark); line-height: 1; }
.readout-box .k { font-size: 0.74rem; color: var(--text-light); font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: .4px; }
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Karma Calculator */
.karma-field { margin-bottom: 20px; }
.karma-field .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.karma-field label { font-weight: 700; font-size: 0.95rem; }
.karma-field .val { font-family: var(--font-head); color: var(--primary-dark); font-size: 1.05rem; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: var(--r-full);
  background: var(--primary-soft);
  outline-offset: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 3px 8px rgba(154,52,18,.4), 0 0 0 4px #fff;
  cursor: pointer; border: none;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; border: none;
  background: var(--primary); box-shadow: 0 3px 8px rgba(154,52,18,.4), 0 0 0 4px #fff; cursor: pointer;
}
.karma-result {
  text-align: center;
  color: #fff;
}
.karma-tier-badge {
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.35);
  display: grid; place-items: center; margin: 0 auto 16px;
  box-shadow: inset 0 0 30px rgba(234,88,12,.4);
}
.karma-tier-badge svg { width: 56px; height: 56px; color: var(--amber-light); }
.karma-points { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--amber-light); }
.karma-points small { font-family: var(--font-body); font-size: .9rem; color: var(--text-invert-muted); display: block; font-weight: 600; letter-spacing: 1px; }
.karma-tier-name { font-family: var(--font-head); font-size: 1.5rem; margin-top: 12px; color: #fff; }
.karma-tier-sub { font-size: .9rem; color: var(--text-invert-muted); }
.karma-progress { height: 8px; border-radius: var(--r-full); background: rgba(255,255,255,.16); margin: 18px 0 8px; overflow: hidden; }
.karma-progress span { display: block; height: 100%; background: var(--grad-amber); border-radius: inherit; transition: width .4s ease; }
.karma-next { font-size: .82rem; color: var(--text-invert-muted); }

/* Scratch card */
.scratch-stage { position: relative; width: min(320px, 84vw); aspect-ratio: 5 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.scratch-prize {
  position: absolute; inset: 0;
  background: var(--grad-warm);
  display: grid; place-items: center; text-align: center;
  padding: 20px;
}
.scratch-prize .amt { font-family: var(--font-head); font-size: 2.4rem; color: var(--primary-dark); line-height: 1.05; }
.scratch-prize .sub { font-size: .9rem; color: var(--text-muted); margin-top: 6px; font-weight: 600; }
.scratch-prize .trishul { width: 44px; color: var(--primary); margin: 0 auto 8px; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scratch-canvas:active { cursor: grabbing; }
.scratch-hint { text-align: center; font-size: .84rem; color: var(--text-invert-muted); margin-top: 14px; }

.tools-stack { display: grid; gap: clamp(26px, 4vw, 44px); }
.tool-wrap .prose { max-width: none; }
.perk-line { margin-top: 18px; padding: 13px 17px; background: var(--bg-section); border: 1px solid var(--border-soft); border-radius: var(--r-md); font-size: .92rem; color: var(--text-muted); }
.perk-line strong { color: var(--primary-dark); }
.tool-note { font-size: .8rem; color: var(--text-light); margin-top: 14px; line-height: 1.55; }
.formula { font-size: .82rem; color: var(--text-light); margin-top: 14px; background: var(--bg-section-2); border: 1px dashed var(--border); padding: 10px 14px; border-radius: var(--r-sm); }

/* Popular game pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.game-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border-soft); box-shadow: var(--sh-sm); padding: 11px 18px; border-radius: var(--r-full); font-weight: 600; font-size: .94rem; transition: transform .16s ease, border-color .16s ease; }
.game-pill:hover { transform: translateY(-2px); border-color: var(--border); }
.game-pill .d { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-primary); }

/* Info list (about / contact) */
.info-list { display: grid; gap: 18px; }
.info-row { display: flex; gap: 15px; align-items: flex-start; }
.info-row .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; }
.info-row .ic svg { width: 24px; height: 24px; }
.info-row h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.info-row p { font-size: .95rem; margin: 0; }
.info-row a { color: var(--primary-dark); font-weight: 600; }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band .s .n { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--primary-dark); line-height: 1; }
.stat-band .s .l { font-size: .86rem; color: var(--text-muted); font-weight: 600; margin-top: 8px; }
@media (max-width: 720px){ .stat-band { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--r-md); background: #fff; margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item.open { box-shadow: var(--sh-md); border-color: var(--border); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 1.04rem; color: var(--text);
}
.faq-q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; transition: transform .25s ease, background .2s ease; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Auth (login/signup) ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.auth-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: clamp(26px, 4vw, 42px);
}
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border-soft); border-radius: var(--r-md);
  background: #fff; color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.input-wrap { position: relative; }
.input-wrap .toggle-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-light); padding: 4px; }
.input-wrap .toggle-eye svg { width: 20px; height: 20px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.checkline input { margin-top: 3px; accent-color: var(--primary); width: 17px; height: 17px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: .92rem; color: var(--text-muted); }
.auth-alt a { color: var(--primary-dark); font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-light); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--border-soft); }
.auth-aside { }
.auth-aside .benefit { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.auth-aside .benefit .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: #fff; color: var(--primary-dark); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.auth-aside .benefit .ic svg { width: 24px; height: 24px; }
.auth-aside .benefit h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 3px; }
.auth-aside .benefit p { font-size: .92rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(700px 340px at 88% -20%, #ffedd5 0%, rgba(255,237,213,0) 62%),
    var(--bg-section);
  padding: clamp(46px, 7vw, 78px) 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative; overflow: hidden;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 620px; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-light); font-weight: 600; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Prose (legal/content) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 15px; line-height: 1.75; }
.prose ul { margin: 0 0 16px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--text-muted); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 17px; height: 17px;
  background: url("../images/trishul.svg") center/contain no-repeat;
}
.prose a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose .callout {
  background: var(--bg-section); border-left: 4px solid var(--primary);
  padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 22px 0;
}
.prose .callout p { margin: 0; }
.toc {
  background: var(--bg-section); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 24px 26px; margin-bottom: 34px;
}
.toc h4 { font-family: var(--font-body); font-weight: 800; font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.toc ul { display: grid; gap: 8px; }
.toc a { color: var(--text-muted); font-weight: 600; font-size: .95rem; }
.toc a:hover { color: var(--primary-dark); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: var(--grad-primary);
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.92); max-width: 560px; margin: 14px auto 0; font-size: 1.08rem; }
.cta-inner .hero-cta { justify-content: center; margin-top: 30px; }
.cta-inner .deco-trishul { opacity: .12; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--text-invert-muted); padding: clamp(48px, 7vw, 76px) 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-invert-muted); font-size: .94rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fde3c8; transition: background .18s ease, transform .18s ease; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 800; color: #fff; font-size: .82rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-invert-muted); font-size: .94rem; transition: color .16s ease; }
.footer-col a:hover { color: var(--amber-light); }
.footer-18 {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(234,88,12,.14); border: 1px solid rgba(234,88,12,.4);
  color: #fed7aa; font-weight: 700; font-size: .86rem;
  padding: 9px 16px; border-radius: var(--r-full); margin-bottom: 16px;
}
.footer-18 .n { background: var(--primary); color: #fff; border-radius: 7px; padding: 2px 8px; font-family: var(--font-head); font-size: .8rem; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 26px; font-size: .82rem; color: #94a3b8; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .86rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--amber-light); }

/* ---------- Reveal animation ---------- */
/* Hidden state only applies when JS is active, so content is never lost. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--bg-dark); color: #fff;
  padding: 13px 22px; border-radius: var(--r-full);
  box-shadow: var(--sh-lg); font-weight: 600; font-size: .94rem;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--amber-light); }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none !important; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: .8rem; padding: 6px 13px; border-radius: var(--r-full); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .hero-orb { width: min(340px, 74%); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tool-wrap, .tool-wrap.reverse { grid-template-columns: 1fr; }
  .tool-wrap.reverse .tool-media { order: 0; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 16px var(--gutter) 24px;
    box-shadow: var(--sh-lg); border-bottom: 1px solid var(--border);
    gap: 6px;
  }
  .site-header.menu-open .nav-links a { padding: 13px 16px; font-size: 1.02rem; }
  .site-header.menu-open .nav-links .btn { display: flex; margin-top: 8px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-chip { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
}
