/* Rahhub – shared styles. Colours match the Rahhub logo: violet → blue with gold. */
:root {
  --bg: #0E0820;
  --page: #120A26;
  --panel: #1A1033;
  --panel2: #24183F;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.05);
  --text: #FFFFFF;
  --muted: #C4BEDA;
  --dim: #9C95B5;
  --violet: #7C4DFF;
  --blue: #3D5AFE;
  --soft: #FF9BEA;
  --gold: #C6FF3D;
  --gold2: #E2FF9A;
  --ink: #120A26;
  --green: #22C55E;
  --kahani: #FF8A3D;
  --kahani2: #FFD66B;
  --grad: #FF4FD8;
  --pink: #FF4FD8;
  --radius: 18px;
  --head: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.5px; }
p { margin: 0; }

.page { max-width: 520px; margin: 0 auto; background: var(--page); position: relative; overflow: hidden; min-height: 100vh; }
.pad { padding: 32px 18px; }
.alt { background: var(--panel); }
.alt2 { background: #0B0619; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.center { text-align: center; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--soft); text-transform: uppercase; }
.h2 { font-size: 28px; font-weight: 800; line-height: 1.1; }
.lead { font-size: 15px; color: var(--muted); line-height: 1.6; }
.small { font-size: 12px; color: var(--dim); }
.grad-text { color: var(--gold); }
.gold { color: var(--gold); }
.hidden { display: none !important; }

/* ---------- Announcement tickers ---------- */
.ticker { overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 800; padding: 9px 0; letter-spacing: 0.2px; }
.ticker .track { display: inline-flex; width: max-content; animation: rh-left 24s linear infinite; }
.ticker.rev .track { animation-name: rh-right; }
.ticker span { padding: 0 14px; }
.ticker i { font-style: normal; opacity: 0.6; }
.t-gold { background: var(--gold); color: var(--ink); }
.t-grad { background: var(--pink); color: var(--ink); }
.t-kahani { background: var(--kahani2); color: #2A0F3F; }
@keyframes rh-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rh-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Header ---------- */
.header { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand b { font-family: var(--head); font-size: 21px; letter-spacing: 2px; color: #fff; }
.brand b span { color: #8E6BFF; }
.chip-btn { background: rgba(198, 255, 61, 0.12); color: var(--gold); text-decoration: none; font-weight: 800; font-size: 14px; padding: 12px 14px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Hero ---------- */
.hero { padding: 6px 18px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.hero::before { content: ""; position: absolute; top: -90px; right: -130px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,216,0.45) 0%, rgba(255,79,216,0) 70%); pointer-events: none; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,79,216,0.18); color: var(--soft); font-size: 13px; font-weight: 700; position: relative; }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.02; letter-spacing: -1.2px; position: relative; }
.hero .hinglish { font-size: 18px; font-weight: 700; color: var(--soft); }
.phones { display: flex; justify-content: center; gap: 10px; padding: 4px 0; }
.phone { position: relative; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(0,0,0,0.55); }
.phone.main { width: 172px; border: 6px solid #251F55; outline: 1px solid rgba(255,79,216,0.45); }
.phone.story { width: 140px; align-self: flex-end; border: 5px solid #3A1752; outline: 1px solid rgba(255,214,107,0.35); background: #1B0F3A; }
.phone video, .phone .fill { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.tag { position: absolute; left: 8px; top: 8px; background: rgba(11,10,31,0.85); color: var(--gold); font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.5px; }
.tag.k { color: var(--kahani2); background: rgba(42,15,63,0.9); }
.story-cap { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(0,0,0,0.6); border-radius: 10px; padding: 6px 8px; font-size: 11px; font-weight: 800; text-align: center; }

/* ---------- Plan picker ---------- */
.picker { display: flex; flex-direction: column; gap: 12px; }
.plan { position: relative; width: 100%; text-align: left; color: var(--ink); background: #fff; border-radius: 18px; padding: 16px 14px 14px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; border: 3px solid #E6E1F7; transition: border-color .15s, box-shadow .15s; }
.plan[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 10px 30px rgba(198,255,61,0.28); }
.plan .dot { flex: 0 0 24px; height: 24px; border-radius: 12px; border: 2px solid #9C96BF; background: #fff; margin-top: 1px; }
.plan[aria-checked="true"] .dot { border: 7px solid var(--ink); background: var(--gold); }
.plan .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.plan .name { font-weight: 800; font-size: 17px; }
.plan .desc { font-size: 13px; color: #4B4566; line-height: 1.4; }
.plan .bump { align-self: flex-start; margin-top: 4px; background: #FFF3CC; color: #7A4B00; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.plan .price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.plan .price b { font-family: var(--head); font-size: 28px; line-height: 1; }
.plan .price s, .plan .price small { font-size: 12px; color: #6B6585; font-weight: 700; margin-top: 3px; }
.plan .badge { position: absolute; top: -12px; right: 12px; background: var(--pink); color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.5px; }

/* ---------- Timer ---------- */
.timer { display: flex; flex-direction: column; gap: 8px; }
.timer .label { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--soft); text-align: center; }
.timer .cells { display: flex; gap: 8px; }
.timer .cell { flex: 1; background: rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 0; text-align: center; }
.timer .cell b { font-family: var(--head); font-size: 26px; line-height: 1; display: block; }
.timer .cell small { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.timer.light .cell { background: var(--ink); color: #fff; }
.timer.light .label { color: #BE185D; }

/* ---------- Buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 18px; padding: 18px; border-radius: 16px; text-align: center; border: none; cursor: pointer; min-height: 56px; width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold2); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.2); font-weight: 600; font-size: 16px; }
.btn[disabled] { opacity: 0.7; cursor: wait; }
.pulse { animation: rh-pulse 2s infinite; }
.nudge { animation: rh-nudge 1.2s ease-in-out infinite; }
@keyframes rh-pulse { 0% { box-shadow: 0 0 0 0 rgba(198,255,61,0.55); } 70% { box-shadow: 0 0 0 12px rgba(198,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(198,255,61,0); } }
@keyframes rh-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.secure { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.upgrade { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #FFF3CC; color: #3A2A00; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.4; }
.upgrade button { flex: 0 0 auto; font-weight: 800; font-size: 13px; background: var(--ink); color: #FFD66B; border: none; border-radius: 10px; padding: 10px 12px; cursor: pointer; min-height: 44px; }
.saving { text-align: center; font-size: 13px; font-weight: 700; color: var(--gold); }

/* ---------- Trust row ---------- */
.trust3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.trust3 div { background: var(--card); border-radius: 12px; padding: 10px 4px; }
.trust3 b { display: block; font-size: 15px; color: #fff; }

/* ---------- Reels marquee ---------- */
.marquee { overflow: hidden; width: 100%; }
.marquee .row { display: flex; gap: 10px; width: max-content; animation: rh-left 44s linear infinite; }
.marquee.rev .row { animation-name: rh-right; }
.reel { flex: 0 0 132px; position: relative; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.reel video { width: 132px; height: 235px; object-fit: cover; }
.reel .tag { font-size: 10px; padding: 3px 7px; left: 7px; top: 7px; }

/* ---------- Generic cards / tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--card); border-radius: 14px; padding: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.tile b { color: var(--gold); display: block; font-size: 15px; margin-bottom: 4px; }
.terminal { background: #0B0619; border: 1px solid rgba(198,255,61,0.3); border-radius: 18px; overflow: hidden; }
.terminal .bar { display: flex; gap: 6px; padding: 10px 12px; background: #1C1846; }
.terminal .bar span { width: 10px; height: 10px; border-radius: 5px; }
.terminal .code { padding: 16px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.65; color: #E8E4F5; }
.caret { color: var(--gold); animation: rh-blink 1s infinite; }
@keyframes rh-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.result { display: flex; align-items: center; gap: 14px; background: rgba(255,79,216,0.12); border-radius: 18px; padding: 12px; }
.result .v { flex: 0 0 96px; border-radius: 14px; overflow: hidden; background: #000; }

/* comparison table */
.ctable { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; }
.ctable table { width: 100%; border-collapse: collapse; }
.ctable th { padding: 12px 8px; font-size: 13px; background: #F2EEFC; }
.ctable th:first-child { text-align: left; }
.ctable th.b { background: var(--gold); }
.ctable td { padding: 10px; font-size: 13px; border-bottom: 1px solid #EFEAF8; }
.ctable td.c { text-align: center; }
.ctable td.c svg { margin: 0 auto; }
.ctable td.bb { background: #FFF9E8; }
.ctable tr.sec td { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #7A4B00; background: #FFF3CC; }
.ctable .no { color: #A39DB8; font-weight: 800; }

/* timeline */
.steps { display: flex; flex-direction: column; }
.stepx { display: flex; gap: 14px; }
.stepx .rail { display: flex; flex-direction: column; align-items: center; }
.stepx .num { width: 38px; height: 38px; border-radius: 19px; background: var(--gold); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.stepx .num.last { background: var(--pink); color: var(--ink); }
.stepx .line { width: 2px; flex: 1; background: rgba(198,255,61,0.35); min-height: 22px; }
.stepx .txt { padding-bottom: 16px; }
.stepx .txt b { font-size: 16px; }
.stepx .txt div { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* niches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--card); border: 1px solid var(--line); color: #E8E4F5; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }

/* file tree */
.tree { background: #0B0619; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tree .root { padding: 12px 16px; background: var(--panel2); font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--gold); font-weight: 700; }
.tree .row { display: flex; gap: 12px; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.tree .row.k { background: rgba(255,214,107,0.06); }
.tree .br { font-family: ui-monospace, Menlo, monospace; color: #6E6690; font-size: 14px; }
.tree .info { flex: 1; min-width: 0; }
.tree .top { display: flex; justify-content: space-between; gap: 8px; }
.tree .top b { font-size: 15px; }
.tree .chip { font-size: 11px; font-weight: 800; color: var(--ink); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tree .d { font-size: 14px; color: var(--dim); margin-top: 4px; line-height: 1.5; }

/* kahani */
.kahani { background: linear-gradient(180deg, #2A0F3F 0%, #150A2C 100%); }
.kahani .badge-k { align-self: flex-start; background: var(--kahani2); color: #2A0F3F; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: 1px; }
.ktile { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,214,107,0.2); border-radius: 14px; padding: 14px; font-size: 13px; line-height: 1.45; color: #E2DCF2; }
.ktile b { color: var(--kahani2); display: block; font-size: 15px; margin-bottom: 4px; }
.kbuy { background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.kbuy .big { font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.05; }
.kbuy button { background: #2A0F3F; color: var(--kahani2); border: none; border-radius: 14px; padding: 16px; font-weight: 800; font-size: 16px; cursor: pointer; min-height: 48px; }

/* vs */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; }
.vs > div { border-radius: 18px; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.vs .them { background: var(--card); }
.vs .us { background: var(--gold); color: var(--ink); }
.vs .k { font-size: 12px; opacity: 0.75; }
.vs .v { font-weight: 800; font-size: 15px; }
.vs .mid { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 19px; background: var(--pink); color: var(--ink); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 3px solid var(--panel); padding: 0; }

/* reviews */
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 0 18px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.review { flex: 0 0 270px; scroll-snap-align: start; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.review img { border-radius: 12px; width: 100%; }
.review p { font-size: 15px; color: #4B4566; }
.review .who { font-weight: 800; font-size: 14px; }
.review .meta { font-size: 12px; color: #6B6585; }

/* support box */
.support { background: linear-gradient(135deg, rgba(37,211,102,0.14), rgba(255,79,216,0.12)); border: 1px solid rgba(37,211,102,0.35); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.btn-wa { background: #25D366; color: #06290F; }
.btn-wa:hover { background: #3BE07A; color: #06290F; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 16px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--gold); font-size: 24px; line-height: 1; flex: 0 0 auto; transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* final CTA */
.final { background: var(--gold); color: var(--ink); text-align: center; }
.final .btn-gold { background: var(--ink); color: #fff; }
.final h2 { font-size: 32px; line-height: 1.05; }

/* footer */
.footer { padding: 28px 18px 150px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; font-size: 13px; color: var(--dim); line-height: 1.6; background: #0B0619; }
.footer .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.footer .links a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer .links a:hover { color: var(--gold); }
.footer .contact a { color: var(--muted); text-decoration: none; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-row span { background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; padding: 5px 8px; border-radius: 6px; }

/* sticky bar */
.sticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; z-index: 30; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(18,10,38,0) 0%, rgba(18,10,38,0.96) 30%); }
.sticky .in { background: #fff; color: var(--ink); border-radius: 20px; padding: 8px 8px 8px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 -6px 30px rgba(0,0,0,0.5); }
.sticky .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sticky .plan-name { font-size: 11px; font-weight: 800; color: #6B21A8; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky .p b { font-family: var(--head); font-size: 24px; line-height: 1; }
.sticky .p s, .sticky .p small { font-size: 12px; color: #6B6585; font-weight: 700; margin-left: 4px; }
.sticky .ends { font-size: 11px; color: #BE185D; font-weight: 800; white-space: nowrap; }
.sticky .btn { width: auto; flex: 0 0 auto; font-size: 16px; padding: 14px 16px; min-height: 52px; border-radius: 14px; }

/* WhatsApp float */
.wa-float { position: fixed; right: max(14px, calc(50% - 260px + 14px)); bottom: calc(104px + env(safe-area-inset-bottom)); z-index: 40; width: 54px; height: 54px; border-radius: 27px; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

/* toast */
.toast { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 60; max-width: 92vw; background: #B91C1C; color: #fff; font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }

/* simple content pages (policies, thank-you, download) */
.doc { padding: 24px 20px 60px; display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: 30px; line-height: 1.1; }
.doc h2 { font-size: 20px; margin-top: 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15px; }
.doc ul, .doc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.box.ok { border-color: rgba(34,197,94,0.5); background: rgba(34,197,94,0.08); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); border-top-color: var(--gold); animation: rh-spin 0.9s linear infinite; margin: 0 auto; }
@keyframes rh-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .ticker .track, .marquee .row, .pulse, .nudge, .caret { animation: none !important; }
}
