/* novabill public site. One stylesheet, no external fonts or scripts. */
:root {
  --orange: #e8590c;
  --orange-deep: #c94a05;
  --orange-soft: #fff0e6;
  --ink: #241b14;
  --ink-2: #4a3f35;
  --muted: #7a6e63;
  --bg: #fffaf5;
  --surface: #ffffff;
  --line: #efe3d6;
  --green: #1f9d63;
  --blue: #3b6fe0;
  --red: #d64545;
  --shadow: 0 1px 2px rgba(60, 35, 10, .06), 0 12px 32px rgba(60, 35, 10, .10);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --orange: #ff7a33;
    --orange-deep: #ff9457;
    --orange-soft: #3a261a;
    --ink: #f6eee6;
    --ink-2: #d8cbbd;
    --muted: #aa9d90;
    --bg: #17120e;
    --surface: #221a14;
    --line: #382c22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Bengali", "Nirmala UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -.6px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
nav.main a:hover { background: var(--orange-soft); color: var(--orange-deep); }
.lang { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.lang:hover { border-color: var(--orange); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 13px 24px; border-radius: 14px; text-decoration: none; font-weight: 700; border: 2px solid var(--orange); box-shadow: 0 6px 18px rgba(232, 89, 12, .28); transition: transform .15s ease, box-shadow .15s ease, background .15s; cursor: pointer; font-size: 16px; }
.btn:hover { transform: translateY(-1px); background: var(--orange-deep); border-color: var(--orange-deep); box-shadow: 0 10px 24px rgba(232, 89, 12, .34); }
.btn.alt { background: transparent; color: var(--orange-deep); box-shadow: none; }
.btn.alt:hover { background: var(--orange-soft); }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(232, 89, 12, .16), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--orange-soft); color: var(--orange-deep); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; letter-spacing: .2px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 99, .2); }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -1.8px; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* ---------- product mockups (made of HTML, fake sample data) ---------- */
.stage { position: relative; min-height: 500px; }
.win { position: absolute; inset: 0 56px 96px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.win .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--orange-soft); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.win .bar b { width: 10px; height: 10px; border-radius: 50%; background: #f4b79a; }
.win .body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.side { background: var(--bg); border-right: 1px solid var(--line); padding: 12px 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.side div { padding: 8px 10px; border-radius: 9px; margin-bottom: 4px; }
.side .on { background: var(--orange-soft); color: var(--orange-deep); }
.tables { padding: 14px; }
.tables h4 { margin: 0 0 10px; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.pill.new { background: #efe9e3; color: #6d6359; }
.pill.cook { background: #ffe9db; color: var(--orange-deep); }
.pill.ready { background: #dff5ea; color: #187a4c; }
.pill.billreq { background: #fde3e3; color: #b73a3a; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.t { border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; min-height: 66px; background: var(--surface); font-size: 12px; position: relative; }
.t strong { display: block; font-size: 15px; }
.t span { color: var(--muted); font-size: 11px; }
.t em { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.t.run { background: #fffaf6; }
.t.run em { background: var(--orange); }
.phone { position: absolute; right: 0; bottom: 0; width: 200px; background: #1b1511; border-radius: 30px; padding: 9px; box-shadow: 0 24px 48px rgba(40, 20, 5, .35); }
.phone .scr { background: var(--bg); border-radius: 22px; overflow: hidden; padding: 14px 12px 12px; min-height: 320px; display: flex; flex-direction: column; }
.phone .scr h5 { margin: 0 0 8px; font-size: 14px; }
.line { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.line b { font-weight: 700; }
.total { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin: 12px 0 10px; }
.pay { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pay span { text-align: center; color: #fff; font-weight: 700; font-size: 12px; padding: 9px 0; border-radius: 10px; }
.pay .g { background: var(--green); }
.pay .o { background: var(--orange); }
.kot { position: absolute; left: 14px; bottom: 16px; z-index: 2; width: 170px; background: #fff; color: #241b14; border-radius: 6px; padding: 12px 12px 14px; font: 11px/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; box-shadow: 0 16px 34px rgba(40, 20, 5, .28); transform: rotate(-4deg); }
.kot b { display: block; text-align: center; font-size: 12px; letter-spacing: 1px; margin-bottom: 4px; }
.kot hr { border: 0; border-top: 1px dashed #b9aa9a; margin: 6px 0; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: color-mix(in srgb, var(--orange-soft) 55%, var(--bg)); }
.kicker { color: var(--orange-deep); font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
h2.t2 { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -1.1px; line-height: 1.15; margin: 8px 0 12px; }
.sub { color: var(--ink-2); max-width: 640px; margin: 0 0 34px; font-size: 18px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(60, 35, 10, .04); }
.card h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ico { width: 46px; height: 46px; border-radius: 13px; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.node .ico { margin: 0 auto 10px; }
.node h3 { margin: 0 0 4px; font-size: 17px; }
.node p { margin: 0; color: var(--muted); font-size: 14px; }
.arrow { align-self: center; color: var(--orange); }
.arrow svg { width: 34px; height: 34px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.status.ok { background: #e3f6ec; color: #187a4c; }
.status.warn { background: #fff1d8; color: #8a5300; }
.status.stop { background: #fde7e7; color: #b73a3a; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.status small { display: block; font-weight: 500; opacity: .85; }

/* steps */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* plans */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--orange); box-shadow: 0 18px 44px rgba(232, 89, 12, .18); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 2px 0 14px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plan li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.plan li.no { color: var(--muted); }
.plan li.no svg { color: var(--line); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; text-align: center; }

/* downloads */
.dl { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.dcard.rec { border: 2px solid var(--orange); }
.dcard h3 { margin: 12px 0 0; font-size: 20px; }
.dcard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.dcard .meta { color: var(--muted); font-size: 13px; margin-top: 8px; }
.dcard .btn { margin-top: 16px; align-self: flex-start; }
.note { background: var(--surface); border: 1px dashed var(--orange); border-radius: 16px; padding: 16px 20px; color: var(--ink-2); font-size: 15px; margin-top: 22px; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 24px; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 16px; color: var(--ink-2); }
.narrow { max-width: 780px; margin: 0 auto; }

/* closing band + footer */
.band { background: linear-gradient(135deg, #e8590c, #c94a05); color: #fff; border-radius: 28px; padding: 46px 32px; text-align: center; }
.band h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -1px; }
.band p { margin: 0 0 22px; opacity: .92; font-size: 18px; }
.band .btn { background: #fff; color: var(--orange-deep); border-color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--orange-deep); }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* reveal on scroll (kept visible when scripts are off or motion is reduced) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* documents (terms, privacy) */
.doc { max-width: 760px; padding: 44px 20px 20px; margin: 0 auto; }
.doc h1 { letter-spacing: -1px; font-size: 36px; }
.doc h2 { font-size: 20px; margin: 28px 0 6px; }
.draft { background: #fff4e0; color: #7a4b00; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .draft { background: #3b2a10; color: #ffcf8a; } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .stage { min-height: 500px; max-width: 560px; margin: 8px auto 0; width: 100%; }
  .flow { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  section { padding: 54px 0; }
  nav.main a.hide-sm { display: none; }
}
@media (max-width: 520px) {
  .win { inset: 0 44px 120px 0; }
  .win .body { grid-template-columns: 1fr; }
  .side { display: none; }
  .tgrid { grid-template-columns: repeat(3, 1fr); }
  .phone { width: 168px; }
  .kot { width: 140px; font-size: 10px; }
  .hero { padding-top: 40px; }
}
