/* TrikonBill website. Brand: indigo #4f46e5 to violet #7c3aed (the Peak logo), saffron #f97316 for warmth.
   System fonts only: fast, private (no font service), and Hindi/Odia come out right on every phone. */
:root {
  --brand: #4f46e5; --brand-2: #7c3aed; --brand-ink: #3730a3; --accent: #f97316; --accent-soft: #fff1e6;
  --ink: #0f172a; --ink-2: #334155; --muted: #55606f; --line: #e2e8f0; --line-2: #eef0f6;
  --bg: #ffffff; --bg-soft: #f6f7fb; --bg-tint: #f3f2ff; --card: #ffffff; --ok: #047857; --ok-soft: #e7f8f1; --wa: #15803d; --err: #dc2626;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .16);
  --shadow-lg: 0 30px 60px -24px rgba(49, 46, 129, .35), 0 12px 24px -12px rgba(15, 23, 42, .18);
  --r: 18px; --r-sm: 12px; --wrap: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Nirmala UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #818cf8; --brand-2: #a78bfa; --brand-ink: #c7d2fe; --accent: #fb923c; --accent-soft: #2a1a10;
    --ink: #e5e7f0; --ink-2: #cbd5e1; --muted: #94a3b8; --line: #263045; --line-2: #1c2436;
    --bg: #0b1020; --bg-soft: #0f1629; --bg-tint: #141a33; --card: #121a2e; --ok: #34d399; --ok-soft: #0f2a22; --err: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:lang(hi) body, body:lang(hi) { font-family: var(--font), "Noto Sans Devanagari", "Mangal", sans-serif; line-height: 1.75; }
:lang(or) body, body:lang(or) { font-family: var(--font), "Noto Sans Oriya", "Noto Sans Odia", "Kalinga", sans-serif; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--ink); }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(or) h1, :lang(or) h2, :lang(or) h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: 700 16px/1.2 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(79, 70, 229, .85); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.btn-wa { color: #fff; background: var(--wa); box-shadow: 0 10px 24px -12px rgba(31, 168, 85, .8); }
.btn-wa:hover { background: #166534; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-block, .hero-ctas .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }
.link-arrow .ic { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -16px rgba(15, 23, 42, .4); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; text-decoration: none !important; }
.brand svg { width: 36px; height: 36px; filter: drop-shadow(0 6px 10px rgba(79, 70, 229, .3)); }
.brand .brand-bill { color: var(--accent); font-weight: inherit; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--bg-tint); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { border-color: var(--brand); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.lang-menu a:hover { background: var(--bg-tint); }
.lang-menu a[aria-current="true"]::after { content: "✓"; color: var(--brand); }
.hdr-login { gap: 6px; padding: 0 14px; box-shadow: none; white-space: nowrap; }
.hdr-login .ic { width: 17px; height: 17px; }
@media (max-width: 420px) { .hdr-login { padding: 0 11px; font-size: 14px; } .hdr-login .ic { display: none; } .hdr-in { gap: 10px; } .hdr-right { gap: 8px; } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mnav { display: none; }
@media (max-width: 900px) {
  .nav, .hdr-right .btn-primary { display: none; }
  .menu-btn { display: inline-flex; }
  .mnav { display: block; position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 20px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease; max-height: calc(100vh - 68px); overflow-y: auto; }
  .mnav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mnav a.mlink { display: block; padding: 14px 6px; font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); text-decoration: none; }
  .mnav .btn { margin-top: 16px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 88px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.eyebrow .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.grad-text { background: linear-gradient(100deg, #4f46e5 0%, #7c3aed 45%, #f97316 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .grad-text { background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 45%, #fdba74 100%); -webkit-background-clip: text; background-clip: text; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 15% 20%, rgba(124, 58, 237, .14), transparent 70%), radial-gradient(35% 45% at 85% 15%, rgba(79, 70, 229, .16), transparent 70%), radial-gradient(30% 40% at 70% 75%, rgba(249, 115, 22, .12), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 850; margin-top: 22px; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-android { margin-top: 18px; font-size: 15px; }
.hero-art { position: relative; min-height: 560px; display: flex; justify-content: center; }
.phone { position: relative; width: 290px; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #1e1b4b, #0f172a); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; background: #eef0ff; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 999px; background: #0b0f1d; z-index: 2; }
.hero .phone { transform: rotate(-2deg); animation: floaty 7s ease-in-out infinite; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; z-index: 3; }
.chip .dot { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.chip small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.chip-1 { top: 70px; left: -6px; animation: floaty 6s ease-in-out infinite .5s; }
.chip-2 { top: 260px; right: -14px; animation: floaty 6.5s ease-in-out infinite 1.2s; }
.chip-3 { bottom: 70px; left: 4px; animation: floaty 7s ease-in-out infinite .2s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* proof strip */
.proof { border-block: 1px solid var(--line); background: var(--bg-soft); }
.proof ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.proof li { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.proof li .ic { color: var(--ok); }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.card h3 { font-size: 20px; font-weight: 800; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-2); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.card li .ic { color: var(--ok); margin-top: 3px; width: 1.05em; height: 1.05em; }
.badge-ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.badge-ic .ic { width: 24px; height: 24px; }
.c-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); } .c-violet { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.c-orange { background: linear-gradient(135deg, #fb923c, #f97316); } .c-green { background: linear-gradient(135deg, #34d399, #059669); }
.c-sky { background: linear-gradient(135deg, #38bdf8, #0284c7); } .c-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }

/* ---------- bill demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.demo-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.demo-label { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
:lang(hi) .demo-label, :lang(or) .demo-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: .15s ease; }
.item:hover { border-color: var(--brand); background: var(--bg-tint); transform: translateY(-1px); }
.item:active { transform: scale(.98); }
.item b { font-size: 15px; line-height: 1.3; }
.item span { font-size: 13px; color: var(--muted); font-weight: 600; }
.item.pulse { animation: pulse .35s ease; }
@keyframes pulse { 50% { transform: scale(1.04); border-color: var(--brand); } }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lang-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font: 700 14px/1.2 var(--font); color: var(--ink-2); }
.lang-pill[aria-pressed="true"] { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.demo-more { margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.receipt-wrap { position: sticky; top: 90px; }
.receipt { background: #fffef8; color: #1f2937; border-radius: 6px 6px 0 0; padding: 22px 20px 16px; font: 14px/1.45 ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace; box-shadow: var(--shadow-lg); position: relative;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; padding-bottom: 30px; }
.receipt .r-c { text-align: center; }
.receipt .r-shop { font-weight: 800; font-size: 16px; }
.receipt .r-sub { font-size: 12px; color: #6b7280; }
.receipt hr { border: 0; border-top: 1.5px dashed #9ca3af; margin: 10px 0; }
.receipt .r-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.receipt .r-head { font-weight: 800; font-size: 12px; color: #374151; }
.receipt .r-line { padding: 5px 0; }
.receipt .r-name { font-weight: 700; font-family: var(--font); font-size: 14px; }
.receipt .r-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4b5563; }
.receipt .r-qty { display: inline-flex; align-items: center; gap: 4px; }
.receipt .r-qty button { width: 24px; height: 24px; border-radius: 7px; border: 1px solid #d1d5db; background: #fff; color: #111827; font: 700 14px/1 var(--font); cursor: pointer; padding: 0; }
.receipt .r-total { font-weight: 800; font-size: 18px; }
.receipt .r-empty { text-align: center; color: #6b7280; padding: 16px 0; font-family: var(--font); }
.receipt .r-thanks { text-align: center; margin-top: 8px; font-weight: 700; font-family: var(--font); }
.receipt .r-words { font-family: var(--font); }
.demo-actions { display: flex; gap: 10px; margin-top: 16px; }
.demo-actions .btn { flex: 1; }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- kirana + unit widget ---------- */
.kirana { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.k-list { display: grid; gap: 14px; }
.k-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.k-item h3 { font-size: 17px; font-weight: 800; }
.k-item p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.k-item .badge-ic { width: 42px; height: 42px; border-radius: 12px; }
.unitw { background: linear-gradient(160deg, #312e81, #4c1d95); color: #eef2ff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.unitw h3 { color: #fff; font-size: 20px; font-weight: 800; }
.unitw label { display: block; font-size: 14px; font-weight: 700; color: #c7d2fe; margin-top: 18px; }
.unitw .row { display: flex; gap: 10px; margin-top: 8px; }
.unitw input, .unitw select { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font: 700 18px/1.2 var(--font); padding: 0 14px; }
.unitw select { width: 110px; flex: none; }
.unitw select option { color: #0f172a; }
.unitw .out { margin-top: 22px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; gap: 6px; }
.unitw .out div { display: flex; justify-content: space-between; gap: 10px; }
.unitw .out b { font-size: 26px; color: #fff; }
.unitw .bag { display: flex; gap: 6px; margin-top: 18px; align-items: flex-end; height: 64px; }
.unitw .bag i { flex: 1; height: 100%; border-radius: 6px 6px 3px 3px; background: rgba(255,255,255,.14); transition: background .25s; }
.unitw .bag i.on { background: linear-gradient(#fdba74, #f97316); }

/* ---------- offline band ---------- */
.dark { background: radial-gradient(60% 80% at 80% 0%, rgba(124,58,237,.35), transparent 70%), linear-gradient(160deg, #0f172a, #1e1b4b); color: #e0e7ff; }
.dark h2 { color: #fff; }
.dark .sec-head p, .dark p { color: #c7d2fe; }
.off { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.off h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.off ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.off li { display: flex; gap: 12px; align-items: center; font-weight: 700; color: #e0e7ff; }
.off li .ic { color: #6ee7b7; }
.off-demo { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 26px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 800; color: #fff; user-select: none; }
.switch input { position: absolute; left: 0; top: 0; width: 56px; height: 32px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch .track { width: 56px; height: 32px; border-radius: 999px; background: #10b981; position: relative; transition: .2s; }
.switch .track::after { content: ""; position: absolute; top: 4px; left: 28px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:not(:checked) + .track { background: #475569; }
.switch input:not(:checked) + .track::after { left: 4px; }
.switch input:focus-visible + .track { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.off-screen { margin-top: 20px; background: #fff; color: #0f172a; border-radius: 18px; padding: 18px; display: grid; gap: 10px; }
.off-screen .bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: #64748b; }
.off-screen .net { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e7f8f1; color: #047857; }
.off-screen.is-off .net { background: #fef3c7; color: #92400e; }
.off-screen .line { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; border-bottom: 1px dashed #e2e8f0; }
.off-screen .tot { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.off-screen .saved { display: flex; gap: 8px; align-items: center; font-weight: 700; color: #047857; font-size: 14px; }

/* ---------- devices, steps ---------- */
.dev .card { display: flex; flex-direction: column; }
.dev .card .link-arrow { margin-top: auto; padding-top: 16px; }
.steps { counter-reset: s; }
.step { position: relative; padding: 26px 26px 26px 26px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--brand); background: var(--bg-tint); border: 2px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.switch-box { margin-top: 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.switch-box h3 { font-size: 19px; font-weight: 800; }
.switch-box p { color: var(--ink-2); margin-top: 6px; max-width: 720px; }

/* ---------- pricing ---------- */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto 30px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: 700 15px/1.2 var(--font); color: var(--ink-2); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: #4f46e5; color: #fff; }
.billing-toggle .save { color: var(--ok); font-size: 12px; margin-left: 6px; }
.billing-toggle button[aria-pressed="true"] .save { color: #bbf7d0; }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; box-shadow: var(--shadow); }
.plan.hot { border: 2px solid var(--brand); box-shadow: 0 24px 50px -24px rgba(79, 70, 229, .55); }
.plan .hot-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan .tag { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 2px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan .price b { font-size: 38px; font-weight: 850; letter-spacing: -.03em; }
.plan .price span { color: var(--muted); font-weight: 700; }
.plan .per-day { font-size: 13px; color: var(--ok); font-weight: 700; min-height: 20px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan li .ic { color: var(--ok); width: 1.05em; height: 1.05em; margin-top: 3px; }
.plan li.lim { font-weight: 700; color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan .every { font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 16px; }
.price-notes { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line-2); }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--bg-soft); font-weight: 800; position: sticky; top: 68px; z-index: 1; }
.cmp tbody tr:hover td { background: var(--bg-tint); }
.cmp .yes { color: var(--ok); } .cmp .no { color: var(--muted); }
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- final CTA ---------- */
.end { text-align: center; border-radius: 32px; padding: 64px 28px; color: #fff; background: radial-gradient(60% 90% at 20% 0%, rgba(249,115,22,.35), transparent 60%), linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.end h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 850; }
.end p { color: #e0e7ff; margin-top: 12px; font-size: 18px; }
.end .hero-ctas { justify-content: center; }
.end .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.end .btn-light { background: #fff; color: #3730a3; }

/* ---------- page heads, lists, forms ---------- */
.page-head { padding: 64px 0 30px; text-align: center; }
.page-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; background: radial-gradient(40% 60% at 30% 0%, rgba(124, 58, 237, .12), transparent 70%), radial-gradient(40% 60% at 75% 0%, rgba(79, 70, 229, .12), transparent 70%); }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 850; }
.page-head p { margin: 14px auto 0; font-size: 19px; color: var(--muted); max-width: 680px; }
.fgroup h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.fgroup ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.fgroup li { display: flex; gap: 10px; color: var(--ink-2); }
.fgroup li .ic { color: var(--ok); margin-top: 4px; width: 1.05em; height: 1.05em; }
.ol { counter-reset: o; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ol li { counter-increment: o; display: flex; gap: 12px; color: var(--ink-2); }
.ol li::before { content: counter(o); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field label small { font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 16px/1.4 var(--font); padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.form-msg.ok { display: block; background: var(--ok-soft); color: var(--ok); }
.form-msg.err { display: block; background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.form-note { font-size: 13px; color: var(--muted); }
.form.done .field, .form.done .btn { display: none; }
.contact-cards .card { display: flex; flex-direction: column; gap: 10px; }
.big-wa { font-size: 22px; font-weight: 850; color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted); font-weight: 600; text-align: center; margin-top: 10px; }
.notice { max-width: 760px; margin: 0 auto 24px; padding: 12px 16px; border-radius: 12px; background: var(--bg-tint); color: var(--ink-2); font-size: 14px; text-align: center; }

/* ---------- footer ---------- */
.ftr { background: #0b1020; color: #cbd5e1; padding: 60px 0 28px; }
.ftr a { color: #e0e7ff; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr .brand { color: #fff; }
.ftr p { color: #94a3b8; margin-top: 12px; max-width: 320px; }
/* The legal name of the business behind TrikonBill: at the foot of every page and on the Contact page. */
.ftr .ftr-legal { font-size: 14px; color: #cbd5e1; line-height: 1.6; }
.ftr .ftr-legal b { color: #fff; }
.page-head .page-owner { margin-top: 10px; font-size: 16px; }
.page-head .page-owner b { color: var(--ink); }
/* The Android download box on the Download page. */
.apk-btn { margin-top: 16px; min-height: 56px; font-size: 18px; }
.apk-info { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; }
.apk-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.biz-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 16px; }
.biz-list dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.biz-list dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 640px) { .biz-list { grid-template-columns: 1fr; } }
.ftr h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
:lang(hi) .ftr h2, :lang(or) .ftr h2 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-bot { margin-top: 44px; padding: 22px 70px 0 0; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #94a3b8; }
.ftr-langs { display: flex; gap: 14px; }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .8); transition: transform .2s, opacity .2s, visibility .2s; }
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .hero-grid, .demo, .kirana, .off { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin-top: 10px; }
  .receipt-wrap, .unitw { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .grid-3, .grid-2, .grid-4, .plans, .two { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-ctas .btn { width: 100%; }
  .phone { width: 250px; border-radius: 38px; }
  .chip { font-size: 13px; padding: 9px 12px; }
  .chip-1 { left: -4px; top: 40px; } .chip-2 { right: -6px; } .chip-3 { left: 0; bottom: 30px; }
  .switch-box { flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: 1fr; }
  .page-head { padding-top: 40px; }
  .card { padding: 22px; }
  .end { padding: 48px 20px; border-radius: 24px; }
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 10px 5px; }
  .cmp th:first-child, .cmp td:first-child { padding-left: 12px; min-width: 120px; }
  .cmp .ic { width: 1.1em; height: 1.1em; margin: 0 auto; }
  .demo-panel { padding: 16px; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-actions { flex-wrap: wrap; }
  .demo-actions .btn { flex: 1 1 130px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .item { padding: 10px 12px; }
  .item b { font-size: 14px; }
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
  html:not(.no-js) .wa-float:not(.show), .typing .wa-float { opacity: 0; visibility: hidden; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
@media print { .hdr, .ftr, .wa-float, .mnav { display: none !important; } }
