/* RTO Calculator — apps.cilukba.com/rto */
:root {
  --bg: #070B1A;
  --bg2: #0D1330;
  --card: #111a36;
  --card2: #16204a;
  --line: rgba(148, 163, 184, 0.16);
  --ink: #F8FAFC;
  --muted: #A7B1C8;
  --dim: #6B7794;
  --blue: #2563EB;
  --sky: #60A5FA;
  --violet: #7C3AED;
  --lilac: #A78BFA;
  --amber: #F59E0B;
  --amber2: #FBBF24;
  --coral: #FF6B4A;
  --mint: #34D399;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, sans-serif;
  --shell: 1180px;
  --r: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  background:
    radial-gradient(700px 500px at 78% 12%, rgba(124, 58, 237, 0.28), transparent 70%),
    radial-gradient(800px 600px at 15% 0%, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; margin: 0; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(28px, 3.2vw, 40px); }
p { margin: 0 0 14px; color: var(--muted); }
strong { color: var(--ink); }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.grad { background: linear-gradient(90deg, var(--sky), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.eyebrow--amber { color: var(--amber2); }
.eyebrow--violet { color: var(--lilac); }
.eyebrow--coral { color: var(--coral); }
.eyebrow--mint { color: var(--mint); }

.badge { display: inline-block; line-height: 0; transition: transform 0.2s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 53px; width: auto; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
.nav__icon { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 6px 20px rgba(37,99,235,.4); }
.nav__word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.nav__spacer { flex: 1; }
.nav__links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); margin-left: 10px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17, 26, 54, 0.7); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); margin-bottom: 24px; }
.hero__lede { font-size: 19px; max-width: 34em; margin-bottom: 30px; }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__note { color: var(--muted); font-size: 16px; }

.hero__stage { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.magic {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 54px 34px 40px;
  border-radius: 36px;
  text-align: center;
  background: linear-gradient(115deg, #16225A 0%, #1E40AF 45%, #2563EB 75%, #7C3AED 100%);
  box-shadow: 0 50px 120px rgba(37, 99, 235, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
}
.magic__k { font-size: 13px; letter-spacing: 0.3em; font-weight: 700; color: #BFDBFE; }
.magic__v { font-family: var(--body); font-weight: 900; font-size: clamp(64px, 8vw, 104px); letter-spacing: -0.04em; line-height: 1; margin: 16px 0 12px; font-variant-numeric: tabular-nums; }
.magic__s { font-size: 20px; color: #E2E8F0; }
.magic__s b { color: var(--amber2); }
.magic__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.magic__chips span {
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  background: rgba(7, 11, 26, 0.45); border: 1px solid rgba(255, 255, 255, 0.14);
  animation: chip 0.6s calc(1.2s + var(--i) * 0.12s) both cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes chip { from { opacity: 0; transform: translateY(12px) scale(0.8); } }
.hero__mascot { position: absolute; z-index: 2; width: 200px; height: auto; left: -80px; bottom: -95px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }

/* ---------- player ---------- */
.watch { padding-bottom: 90px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { font-size: 18px; margin-top: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}
.player video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.player__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  border: 0; padding: 28px; cursor: pointer; font: inherit; color: var(--ink);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 45%);
  transition: opacity 0.25s ease;
}
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.player__pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px;
  background: rgba(7, 11, 26, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 700; font-size: 16px; text-align: left; line-height: 1.25;
  transition: transform 0.2s ease;
}
.player__play:hover .player__pill { transform: scale(1.04); }
.player__pill small { display: block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.player__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); }
.player__btn svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 110px; }
.stat { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat__v { font-family: var(--display); font-weight: 800; font-size: 52px; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }
.stat:nth-child(1) .stat__v { color: var(--amber2); }
.stat:nth-child(2) .stat__v { color: var(--sky); }
.stat:nth-child(3) .stat__v { color: var(--coral); }
.stat__l { color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.45; }
.stat__src { color: var(--dim); font-size: 13px; margin-top: 10px; }

/* ---------- categories ---------- */
.cats { padding-bottom: 120px; }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: transform .25s ease, border-color .25s ease; }
.cat:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.4); }
.cat__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; background: color-mix(in srgb, var(--c) 28%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); }
.cat b { font-size: 17px; }
.cat span:last-child { color: var(--muted); font-size: 14px; }

/* ---------- feature splits ---------- */
.features { padding-bottom: 60px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.split--flip > :first-child { order: 2; }
.split--flip > :last-child { order: 1; }
.split__body h3 { margin-bottom: 20px; }
.split__body h3 em { font-style: normal; color: var(--amber2); }
.split__body p { font-size: 18px; }
.device-wrap { display: flex; justify-content: center; }
.device {
  width: 300px; border-radius: 46px; padding: 10px; background: #0B0F19;
  box-shadow: 0 0 0 2px #2A3246, 0 50px 100px rgba(0, 0, 0, 0.5);
}
.device img { display: block; width: 100%; height: auto; border-radius: 37px; }
.device--sm { width: 240px; border-radius: 38px; }
.device--sm img { border-radius: 30px; }
.device-pair { display: flex; justify-content: center; gap: 22px; align-items: flex-start; }
.device--offset { margin-top: 70px; }

/* ---------- estimator ---------- */
.estimate { padding-bottom: 120px; }
.estimate__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 40px;
  background: linear-gradient(160deg, var(--card2), var(--bg2));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.estimate__copy h2 { margin-bottom: 18px; }
.estimate__mascot { display: block; width: 240px; height: auto; margin: 26px 0 -56px; }
.calc { background: rgba(7, 11, 26, 0.6); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field output { font-family: "JetBrains Mono", monospace; color: var(--amber2); font-weight: 700; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline: none;
  background: linear-gradient(90deg, var(--blue), var(--violet)) 0 / var(--p, 50%) 100% no-repeat, #26304d;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4), 0 0 0 4px rgba(96,165,250,.35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(96,165,250,.35); cursor: pointer; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--amber2); }
.calc__out { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.calc__row { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; padding: 4px 0; }
.calc__row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__magic {
  margin-top: 16px; padding: 20px 22px; border-radius: 20px; text-align: center;
  background: linear-gradient(115deg, #1E3A8A, #2563EB 60%, #7C3AED);
}
.calc__magic span { display: block; font-size: 12px; letter-spacing: 0.24em; font-weight: 700; color: #BFDBFE; }
.calc__magic b { display: block; font-size: 52px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__magic small { display: block; font-size: 12px; color: #C7D2FE; opacity: .85; }
.calc__cta { display: block; margin-top: 18px; text-align: center; font-weight: 700; text-decoration: none; padding: 14px; border-radius: 16px; background: var(--ink); color: var(--bg); transition: transform .2s; }
.calc__cta:hover { transform: translateY(-2px); }

/* ---------- pricing ---------- */
.pricing { padding-bottom: 120px; }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; max-width: 920px; margin: 0 auto; align-items: start; }
.plan { position: relative; padding: 36px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.plan--pro { background: linear-gradient(160deg, #1b2a6b, #221a55); border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 40px 100px rgba(124, 58, 237, 0.25); }
.plan__tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 800; letter-spacing: .2em; padding: 6px 10px; border-radius: 8px; background: var(--amber2); color: #1a1200; }
.plan__name { font-weight: 800; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: var(--display); font-weight: 800; font-size: 60px; letter-spacing: -0.04em; margin: 6px 0 18px; }
.plan__price span { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 2px; top: 8px; color: var(--mint); font-weight: 800; }
.plan--pro li::before { color: var(--amber2); }

/* ---------- privacy ---------- */
.privacy { padding-bottom: 120px; }
.privacy__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 36px; background: var(--card); border: 1px solid var(--line); }
.privacy h3 { margin-bottom: 16px; }
.privacy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy__item { padding: 18px; border-radius: 18px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.25); font-weight: 700; font-size: 15px; }
.privacy__item::before { content: "●"; color: var(--mint); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; padding-bottom: 120px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 19px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; color: var(--sky); transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 22px; font-size: 17px; }

/* ---------- closer ---------- */
.closer { padding-bottom: 100px; }
.closer__inner {
  position: relative; overflow: hidden; text-align: center; padding: 72px 32px 64px; border-radius: 40px;
  background: radial-gradient(900px 500px at 50% 0%, #2446b8 0%, #151d52 55%, #0D1330 100%);
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.closer__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.closer h2 { margin: 26px auto 14px; max-width: 14em; }
.closer p { font-size: 18px; }
.closer__actions { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.closer__price { color: var(--muted); font-weight: 600; }
.closer__mascot { position: absolute; right: 2%; bottom: -8px; width: 230px; height: auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__icon { width: 32px; height: 32px; border-radius: 8px; }
.footer__name { font-weight: 700; }
.footer__links { display: flex; gap: 18px; margin-left: 14px; font-size: 15px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__spacer { flex: 1; }
.footer__fine { color: var(--dim); font-size: 13px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .magic__chips span { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .hero__stage { min-height: 0; padding: 20px 0 60px; }
  .hero__mascot { width: 140px; left: -18px; bottom: -40px; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--flip { grid-template-columns: 1fr; gap: 40px; margin-bottom: 90px; }
  .split--flip > :first-child, .split--flip > :last-child { order: 0; }
  .split > .split__body { order: -1; }
  .estimate__grid { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .estimate__mascot { display: none; }
  .plans, .privacy__inner { grid-template-columns: 1fr; }
  .privacy__inner { padding: 32px 24px; }
  .stats { grid-template-columns: 1fr; }
  .closer__mascot { position: static; display: block; width: 170px; margin: -40px auto 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__word { font-size: 18px; }
  .hero h1 { font-size: 42px; }
  .hero__lede { font-size: 17px; }
  .magic { transform: none; padding: 40px 20px 30px; }
  .cats__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 18px; }
  .device { width: 260px; }
  .device--sm { width: 45%; }
  .device-pair { gap: 12px; }
  .device--offset { margin-top: 40px; }
  .player { border-radius: 18px; }
  .player__play { padding: 14px; }
  .player__pill { font-size: 14px; }
  .player__btn { width: 40px; height: 40px; }
  .privacy__grid { grid-template-columns: 1fr; }
  .closer__inner { padding: 48px 20px; }
  .calc { padding: 22px; }
  .calc__magic b { font-size: 42px; }
}
