:root {
  color-scheme: dark;
  --bg: #08100f;
  --surface: #111c1a;
  --surface-2: #172522;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7f5;
  --muted: #93a49f;
  --accent: #b8ff4f;
  --accent-soft: rgba(184, 255, 79, 0.12);
  --mint: #65e6bd;
  --warning: #ffc65c;
  --radius: 22px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: var(--bg); }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 90% -5%, rgba(101, 230, 189, .14), transparent 34%),
    radial-gradient(circle at -15% 35%, rgba(184, 255, 79, .08), transparent 28%),
    var(--bg);
}

button { font: inherit; }

.app-shell {
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 18px calc(96px + env(safe-area-inset-bottom));
}

.splash { min-height: 80dvh; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #10170d;
  background: var(--accent);
  font-weight: 900;
  font-size: 28px;
  transform: rotate(-5deg);
  box-shadow: 0 14px 35px rgba(184, 255, 79, .18);
}

.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 42px; height: 42px; border-radius: 14px; font-size: 22px; }
.brand strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: 11px; }
.avatar { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 50%; font-weight: 700; }

.demo-banner { padding: 10px 13px; margin-bottom: 16px; border: 1px solid rgba(255,198,92,.22); border-radius: 14px; color: var(--warning); background: rgba(255,198,92,.07); font-size: 12px; }

.hero { padding: 24px; border: 1px solid rgba(184,255,79,.18); border-radius: 30px; background: linear-gradient(145deg, rgba(184,255,79,.10), rgba(101,230,189,.03) 60%), var(--surface); overflow: hidden; position: relative; }
.hero::after { content: "K"; position: absolute; right: -10px; bottom: -62px; color: rgba(184,255,79,.06); font-size: 190px; font-weight: 900; transform: rotate(-8deg); }
.eyebrow { margin: 0 0 9px; color: var(--mint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { max-width: 310px; margin: 0; font-size: 31px; line-height: 1.08; letter-spacing: -.05em; }
.hero-copy { max-width: 280px; margin: 12px 0 24px; color: var(--muted); line-height: 1.5; font-size: 14px; }
.primary { width: 100%; border: 0; border-radius: 17px; padding: 16px; background: var(--accent); color: #10170d; font-weight: 800; cursor: pointer; position: relative; z-index: 1; }
.secondary { width: 100%; border: 1px solid var(--line); border-radius: 17px; padding: 15px; background: var(--surface-2); color: var(--text); font-weight: 700; cursor: pointer; }

.section { margin-top: 24px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.section-title h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.section-title span { color: var(--muted); font-size: 12px; }

.status-card, .location, .plan, .info-card { border: 1px solid var(--line); background: rgba(17,28,26,.86); border-radius: var(--radius); }
.status-card { padding: 18px; }
.status-row { display: flex; justify-content: space-between; gap: 16px; }
.status-row strong { font-size: 17px; }
.status-row small { display: block; margin-top: 4px; color: var(--muted); }
.pill { height: fit-content; padding: 7px 10px; border-radius: 99px; color: var(--accent); background: var(--accent-soft); font-size: 11px; font-weight: 800; }
.progress { height: 7px; margin: 18px 0 8px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.06); }
.progress span { display: block; height: 100%; width: 33%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--accent)); }
.status-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

.locations { display: grid; gap: 10px; }
.location { display: flex; align-items: center; gap: 13px; padding: 15px; }
.flag { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); font-size: 13px; font-weight: 800; color: var(--mint); }
.location-info { flex: 1; }
.location-info strong, .location-info small { display: block; }
.location-info small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(184,255,79,.08); }
.dot.soon { background: var(--warning); box-shadow: none; }

.plans { display: grid; gap: 12px; }
.plan { padding: 18px; cursor: pointer; transition: border .2s, transform .2s; }
.plan.selected { border-color: rgba(184,255,79,.55); transform: translateY(-1px); }
.plan-head { display: flex; justify-content: space-between; gap: 14px; }
.plan h3 { margin: 0; font-size: 16px; }
.plan p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.price { text-align: right; white-space: nowrap; }
.price strong { font-size: 20px; }
.price span { display: block; color: var(--muted); text-decoration: line-through; font-size: 10px; }
.benefits { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.benefits span { padding: 7px 9px; border-radius: 10px; background: var(--surface-2); color: #c8d4d0; font-size: 10px; }

.device-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device-option { padding: 15px 12px; text-align: left; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--surface); cursor: pointer; }
.device-option.selected { border-color: rgba(184,255,79,.55); background: var(--accent-soft); }
.device-option strong, .device-option small { display: block; }
.device-option strong { font-size: 13px; }
.device-option small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.page-title { margin: 12px 0 22px; }
.page-title h1 { margin: 0; font-size: 28px; letter-spacing: -.05em; }
.page-title p { color: var(--muted); line-height: 1.5; font-size: 13px; }
.info-card { padding: 18px; margin-bottom: 12px; }
.info-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info-line:last-child { border-bottom: 0; }
.info-line span { color: var(--muted); font-size: 12px; }
.info-line strong { font-size: 13px; }
.steps { counter-reset: item; display: grid; gap: 10px; margin: 18px 0; }
.step { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 17px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.step::before { counter-increment: item; content: counter(item); width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }

.nav { position: fixed; z-index: 10; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px), 456px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,23,21,.94); backdrop-filter: blur(18px); box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.nav button { border: 0; background: transparent; color: var(--muted); padding: 9px 3px; border-radius: 14px; font-size: 10px; cursor: pointer; }
.nav button span { display: block; font-size: 18px; margin-bottom: 3px; }
.nav button.active { color: var(--accent); background: var(--accent-soft); }

.toast { position: fixed; z-index: 30; left: 50%; bottom: 102px; transform: translate(-50%, 18px); width: min(calc(100% - 36px), 430px); padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #20302c; color: var(--text); font-size: 13px; opacity: 0; pointer-events: none; transition: .25s; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 700px) {
  .app-shell { padding-top: 36px; }
}
