:root {
  --bg: #0d0704;
  --bg-2: #17100b;
  --card: #1f1611;
  --line: #3a2a1f;
  --text: #f6ece2;
  --muted: #b8a797;
  --orange: #fb7a1c;
  --orange-2: #ffa24d;
  --cream: #ffe9d2;
  --radius: 18px;
  --wrap: 1120px;
  --display: "Tiro Devanagari Hindi", "Hind", Georgia, serif;
  --body: "Poppins", "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="hi"] body { font-family: "Hind", "Poppins", system-ui, sans-serif; font-size: 17px; }

/* Language switching: both languages live in the HTML, one is hidden. */
html[data-lang="en"] [lang="hi"],
html[data-lang="hi"] [lang="en"] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 7, 4, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; white-space: nowrap; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.nav a:hover { color: var(--text); }

.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg-2); flex-shrink: 0; }
.lang-toggle button {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font: 500 .85rem/1 var(--body); padding: 8px 13px; border-radius: 999px;
}
.lang-toggle button[aria-pressed="true"] { background: var(--orange); color: #1a0d03; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #1a0d03; text-decoration: none;
  font-weight: 500; padding: 13px 22px; border-radius: 14px;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn.ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--orange); background: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 30%, rgba(251, 122, 28, .22), transparent 70%);
}
.hero .wrap > *, .jap .wrap > * { min-width: 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--orange-2); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html[data-lang="hi"] .eyebrow { letter-spacing: .04em; font-size: .95rem; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero h1 em { font-style: normal; color: var(--orange); }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 34em; margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 38px 0 0; padding: 0; list-style: none; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--cream); }
.stats span { color: var(--muted); font-size: .9rem; }

.sun {
  aspect-ratio: 1; width: min(100%, 440px); margin-left: auto; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 60% 34%, #fff 0, #ffe3c6 42%, #fb7a1c 100%);
  box-shadow: 0 0 0 10px rgba(251, 122, 28, .12), 0 0 120px rgba(251, 122, 28, .35);
}
.sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; mix-blend-mode: multiply; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(251, 122, 28, .14); color: var(--orange-2); margin-bottom: 16px;
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--body); font-weight: 500; font-size: 1.05rem; margin-bottom: 6px; }
html[data-lang="hi"] .feature h3 { font-family: "Hind", sans-serif; font-weight: 600; font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .94rem; }

.kands { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.kand { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.kand img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kand div { padding: 18px 20px 22px; }
.kand small { color: var(--orange-2); font-size: .8rem; letter-spacing: .06em; }
.kand h3 { font-size: 1.35rem; margin: 4px 0 8px; }
.kand p { color: var(--muted); font-size: .92rem; }

/* ---------- Naam Jap ---------- */
.jap .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jap ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.jap li { padding-left: 26px; position: relative; }
.jap li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.counter {
  width: min(100%, 340px); margin: 0 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: 26px; text-align: center;
}
.counter .naam { font-family: var(--display); font-size: 2rem; color: var(--orange-2); }
.counter button {
  width: 190px; height: 190px; margin: 22px auto 18px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--orange); background: radial-gradient(circle, rgba(251, 122, 28, .28), rgba(251, 122, 28, .05));
  color: var(--text); display: grid; place-content: center; gap: 2px; font-family: var(--body);
  transition: transform .08s;
}
.counter button:active { transform: scale(.96); }
.counter button b { font-family: var(--display); font-weight: 400; font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.counter button span { color: var(--muted); font-size: .82rem; }
.counter .bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.counter .bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .2s; }
.counter .goal { color: var(--muted); font-size: .82rem; margin-top: 10px; font-variant-numeric: tabular-nums; }

/* ---------- CTA + footer ---------- */
.final { text-align: center; }
.final img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 22px; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.final p { color: var(--muted); margin: 12px auto 26px; max-width: 34em; }

.contact { text-align: center; border-bottom: 0; }
.contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.contact p { color: var(--muted); margin: 12px auto 26px; max-width: 34em; }
.contact .btn { overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-right: auto; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .note { flex-basis: 100%; font-size: .82rem; opacity: .8; }

/* ---------- Privacy policy ---------- */
.policy { padding: 56px 0 80px; }
.policy .wrap { max-width: 780px; }
.policy h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.policy .meta { color: var(--muted); margin: 12px 0 26px; font-size: .93rem; }
.policy .summary {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--orange);
  border-radius: 14px; padding: 20px 22px; margin-bottom: 12px;
}
.policy .summary ul { margin: 8px 0 0; }
.policy h2 { font-size: 1.5rem; margin: 40px 0 12px; scroll-margin-top: 84px; }
.policy h3 { font-family: var(--body); font-weight: 500; font-size: 1.02rem; margin: 22px 0 6px; color: var(--cream); }
html[data-lang="hi"] .policy h3 { font-family: "Hind", sans-serif; font-weight: 600; font-size: 1.1rem; }
.policy p, .policy li { color: #d9cbbd; }
.policy p + p { margin-top: 12px; }
.policy ul { padding-left: 22px; margin: 10px 0; }
.policy li { margin: 6px 0; }
.policy li::marker { color: var(--orange); }
.policy strong { color: var(--text); font-weight: 500; }
.table-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; }
.policy table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: #d9cbbd; }
.policy th { background: var(--card); color: var(--text); font-weight: 500; }
.policy tr:last-child td { border-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero .wrap, .jap .wrap { grid-template-columns: 1fr; gap: 36px; }
  .sun { margin: 0 auto; width: min(78%, 340px); order: -1; }
  section { padding: 56px 0; }
}
@media (max-width: 420px) {
  .brand b { font-size: 1.05rem; }
  .lang-toggle button { padding: 8px 10px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
