:root {
  --bg: #120c09;
  --bg2: #1a120d;
  --card: #1e1510;
  --card2: #261b14;
  --line: #34271d;
  --line2: #4a3727;
  --text: #f7ecdc;
  --muted: #b8a38c;
  --dim: #85725f;
  --gold: #f4ae22;
  --gold2: #ffc94d;
  --gold-ink: #241604;
  --green: #45d39a;
  --red: #ff7a6b;
  --r: 18px;
  --font: 'Mukta', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Kannada', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
html[lang='ta'] { --font: 'Noto Sans Tamil', 'Mukta', system-ui, sans-serif; }
html[lang='te'] { --font: 'Noto Sans Telugu', 'Mukta', system-ui, sans-serif; }
html[lang='kn'] { --font: 'Noto Sans Kannada', 'Mukta', system-ui, sans-serif; }
html[lang='bn'] { --font: 'Noto Sans Bengali', 'Mukta', system-ui, sans-serif; }
html[lang='gu'] { --font: 'Noto Sans Gujarati', 'Mukta', system-ui, sans-serif; }
html[lang='ml'] { --font: 'Noto Sans Malayalam', 'Mukta', system-ui, sans-serif; }
html[lang='pa'] { --font: 'Noto Sans Gurmukhi', 'Mukta', system-ui, sans-serif; }
html[lang='or'] { --font: 'Noto Sans Oriya', 'Mukta', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 560px; }
.wrap.mid { max-width: 680px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 12, 9, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { border-radius: 11px; width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand b { font-size: 19px; font-weight: 800; letter-spacing: .2px; }
.brand small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg2); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pill svg { width: 17px; height: 17px; }
.langs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.langs::-webkit-scrollbar { display: none; }
.langs button { flex: none; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 14.5px; cursor: pointer; min-height: 36px; }
.langs button[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .12s ease, filter .12s ease; min-height: 48px; text-align: center; line-height: 1.25; }
.btn:active { transform: scale(.98); }
.btn.big { min-height: 58px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: var(--gold-ink); box-shadow: 0 8px 24px -10px rgba(244, 174, 34, .7); }
.btn.gold:hover { filter: brightness(1.05); }
.btn.dark { background: var(--bg2); border: 1px solid var(--line2); color: var(--text); }
.btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--text); }
.btn[disabled], .btn.busy { opacity: .7; pointer-events: none; }
.btn.busy::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.icon-btn { background: none; border: 0; padding: 6px; color: var(--muted); cursor: pointer; }
.icon-btn svg { width: 17px; height: 17px; }
.link-btn { display: flex; align-items: center; gap: 8px; margin: 26px auto 8px; background: none; border: 0; color: var(--text); font-weight: 700; cursor: pointer; padding: 10px; }
.link-btn svg { width: 17px; height: 17px; }

/* screen 1 */
.screen { padding-top: 26px; padding-bottom: 48px; animation: rise .35s ease both; }
.hero { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(31px, 8.6vw, 60px); line-height: 1.12; margin: 4px 0 14px; font-weight: 800; letter-spacing: -.3px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 22px; max-width: 560px; }
.phone-form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.phone-row { display: grid; gap: 12px; }
.phone-box { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line2); transition: border-color .15s; }
.phone-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244, 174, 34, .15); }
.phone-box svg { color: var(--muted); width: 19px; height: 19px; }
.phone-box .cc { color: var(--muted); font-weight: 500; }
.phone-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 19px; font-weight: 600; letter-spacing: .5px; padding: 12px 0; }
.phone-box.bad { border-color: var(--red); }
.hint { color: var(--dim); font-size: 13.5px; margin: 10px 0 0; }
.err { color: var(--red); font-size: 14px; margin: 8px 0 0; font-weight: 500; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13.5px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--gold); }
.hero-art { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 62vh; background: #2a1206; box-shadow: 0 30px 60px -30px rgba(255, 120, 20, .45); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(18, 12, 9, .78); font-size: 12px; font-weight: 700; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); box-shadow: 0 0 14px 3px rgba(255, 201, 77, .55); animation: scan 3.2s ease-in-out infinite; }

/* screen 2 */
.steps { display: flex; gap: 8px; margin: 4px 0 26px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line2); }
.steps i.on { background: var(--gold); }
.h-big { font-size: clamp(28px, 7.4vw, 38px); line-height: 1.15; margin: 0 0 8px; font-weight: 800; }
.h-mid { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; margin: 22px 0 14px; font-weight: 800; }
.phone-line { display: flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; }
.phone-edit { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.phone-edit .phone-box { min-height: 50px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.ticks svg { color: var(--green); margin-top: 3px; stroke-width: 2.4; }
#s-photo .btn + input + .btn { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lock, .shield { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.lock svg, .shield svg { width: 17px; height: 17px; }

/* screen 3 */
.center { text-align: center; }
.scan-box { position: relative; width: min(240px, 64vw); aspect-ratio: 1; margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--card2); box-shadow: 0 20px 50px -20px rgba(244, 174, 34, .35); }
.scan-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-box.bad { box-shadow: 0 0 0 2px var(--red); }
.scan-box .scanline { animation-duration: 1.8s; }
.scan-steps { list-style: none; padding: 0; margin: 0 auto; display: inline-grid; gap: 14px; text-align: left; }
.scan-steps li { display: flex; align-items: center; gap: 12px; color: var(--dim); transition: color .3s; }
.scan-steps li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); flex: none; box-sizing: border-box; }
.scan-steps li.run { color: var(--text); }
.scan-steps li.run::before { border-color: var(--text); border-right-color: transparent; animation: spin .8s linear infinite; }
.scan-steps li.done { color: var(--text); }
.scan-steps li.done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 9' fill='none' stroke='%23120c09' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
#s-reject .muted { margin: 0 auto 24px; max-width: 420px; }

/* screen 4 */
.pv-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.pv-thumb { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; flex: none; background: var(--card2); }
.ok { display: flex; align-items: center; gap: 7px; color: var(--green); font-weight: 600; font-size: 14.5px; margin: 0 0 4px; }
.ok svg { width: 19px; height: 19px; }
.pv-head .h-big { margin: 0; font-size: clamp(25px, 6.6vw, 36px); }
.sec { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.25; font-weight: 800; margin: 34px 0 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; margin-bottom: 12px; }
.card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.card header b { font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: #e9dcc9; }
.badge { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg2); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.card.lock-card { background: linear-gradient(180deg, #2a1e15, #231912); border-style: dashed; border-color: var(--line2); }
.card.lock-card b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.card.lock-card b svg { width: 17px; height: 17px; color: var(--muted); }
.card.lock-card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.plans-card { margin-top: 34px; padding: 20px 16px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line2); scroll-margin-top: 120px; }
.plans-card h3 { font-size: 24px; margin: 0 0 2px; font-weight: 800; }
.plan { position: relative; display: block; width: 100%; text-align: left; margin-top: 12px; padding: 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line2); cursor: pointer; transition: border-color .15s, background .15s; }
.plan[aria-checked='true'] { border-color: var(--gold); background: #241a10; box-shadow: 0 0 0 3px rgba(244, 174, 34, .12); }
.plan-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.plan-name { font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-sub { color: var(--muted); font-size: 13.5px; display: block; margin-top: 1px; }
.plan-price { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; white-space: nowrap; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); flex: none; display: grid; place-items: center; }
.plan[aria-checked='true'] .radio { background: var(--gold); border-color: var(--gold); }
.plan[aria-checked='true'] .radio::after { content: ''; width: 9px; height: 5px; border: solid var(--gold-ink); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.best { padding: 1px 9px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 11.5px; font-weight: 800; }
.plan-inc { color: var(--muted); font-size: 13.5px; margin: 10px 0 2px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: #e7d9c5; }
.plan li svg { width: 17px; height: 17px; color: var(--green); margin-top: 3px; stroke-width: 2.4; }
.pay-phone { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--card2); display: grid; gap: 2px; }
.pay-phone b { font-size: 14px; }
.pay-phone span { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.pay-phone small { color: var(--muted); font-size: 13px; }
.shield { justify-content: center; margin-top: 12px; }
.fine { color: var(--dim); font-size: 12.5px; text-align: center; margin: 10px auto 0; max-width: 520px; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(18, 12, 9, 0), rgba(18, 12, 9, .94) 30%); animation: up .3s ease both; }
body.has-sticky .foot { padding-bottom: 110px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.foot-links a { text-decoration: none; }
.foot-contact { color: var(--muted); margin: 16px 0 0; line-height: 1.8; }
.foot-contact a { text-decoration: none; }
.foot-note { margin: 16px 0 0; font-weight: 500; }
.foot-fine { color: var(--dim); font-size: 12px; margin: 10px 0 0; }

/* dialog + toast */
.sheet { width: min(460px, calc(100% - 24px)); border: 1px solid var(--line2); border-radius: 22px; background: var(--bg2); color: var(--text); padding: 22px 18px 20px; }
.sheet::backdrop { background: rgba(0, 0, 0, .65); }
.sheet h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.sheet-x { position: absolute; top: 10px; right: 10px; }
.sheet-x button { background: none; border: 0; color: var(--muted); font-size: 18px; padding: 8px; cursor: pointer; }
.mr-form { display: grid; gap: 12px; margin-top: 14px; }
.mr-out { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); white-space: pre-wrap; max-height: 55vh; overflow: auto; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #fbeed8; color: #1e130a; font-weight: 600; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); animation: up .25s ease both; }

/* footer pages */
.doc { padding-top: 26px; padding-bottom: 50px; max-width: 760px; }
.doc h1 { font-size: 32px; line-height: 1.2; }
.doc h2 { font-size: 20px; margin-top: 26px; }
.doc p, .doc li { color: #e6d8c4; }
.doc a { color: var(--gold2); }
.doc-back { margin-top: 30px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 100% { top: 6%; } 50% { top: 92%; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes up { from { opacity: 0; transform: translate(var(--tx, 0), 12px); } }
.toast { --tx: -50%; }

@media (min-width: 720px) {
  .phone-row { grid-template-columns: 1fr auto; }
  .phone-row .btn { padding: 12px 26px; }
  .plans-card { padding: 26px 24px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding-top: 64px; padding-bottom: 80px; min-height: calc(100vh - 128px); }
  .hero-art { max-height: 640px; }
  .lead { font-size: 18.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
