:root {
  --bg: #05070d;
  --bg-2: #080c16;
  --card: #0e1524;
  --ink: #e8eef6;
  --chrome: #d5dce6;
  --muted: #8b95a5;
  --dim: #6d7788;
  --blue: #1e6bff;
  --blue-2: #4d8cff;
  --blue-deep: #0a3aa8;
  --glow: rgba(30, 107, 255, 0.45);
  --line: rgba(148, 176, 220, 0.14);
  --line-blue: rgba(30, 107, 255, 0.35);
  --max: 1120px;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(30, 107, 255, 0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-word { height: 26px; width: auto; }
.logo-k { height: 34px; width: auto; display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--chrome); font-size: 0.92rem; font-weight: 520; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; border-radius: 999px; padding: 11px 18px;
  font-weight: 650; font-size: 0.94rem; letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--chrome); border: 1px solid rgba(213, 220, 230, 0.28); padding: 10px 16px; }
.btn-ghost:hover { border-color: rgba(213, 220, 230, 0.5); background: rgba(255,255,255,0.04); color: #fff; }
.btn-primary {
  background: linear-gradient(180deg, #3c82ff, var(--blue)); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 8px 24px var(--glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 10px 30px rgba(30,107,255,0.65); }
.btn-lg { padding: 13px 20px; font-size: 1rem; }

.hero {
  position: relative; overflow: hidden; padding: 28px 0 0;
  background:
    radial-gradient(720px 340px at 78% 18%, rgba(30,107,255,0.2), transparent 62%),
    radial-gradient(560px 280px at 8% 90%, rgba(10,58,168,0.18), transparent 55%),
    linear-gradient(180deg, #05070d 0%, #070b14 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 12px 28px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2);
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 12px;
}
.kicker:before { content: ""; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; box-shadow: 0 0 8px var(--glow); }
.hero h1 {
  font-size: clamp(2.05rem, 3.6vw, 3.15rem); line-height: 1.06; letter-spacing: -0.045em;
  font-weight: 750; color: #f3f6fb; max-width: 14ch;
}
.tagline { margin-top: 12px; font-size: 0.86rem; font-weight: 620; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chrome); }
.tagline em { font-style: normal; color: var(--blue-2); font-weight: 750; }
.hero .sub { margin: 12px 0 20px; color: var(--muted); font-size: 1.05rem; max-width: 38ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-logo-wrap { display: flex; align-items: center; justify-content: center; background: transparent; }
.hero-logo {
  width: min(100%, 350px); height: auto; margin: 0 auto;
  background: transparent; border: 0; box-shadow: none; filter: none;
}

.devices-band { position: relative; margin-top: 4px; }
.devices { position: relative; height: 400px; }
.desktop-card {
  position: absolute; right: 0; bottom: 0; width: 500px; height: 292px;
  background: #0b1018; border-radius: 16px 16px 0 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--line-blue); overflow: hidden;
}
.desk-bar { height: 34px; background: #101826; display: flex; align-items: center; padding: 0 12px; gap: 6px; border-bottom: 1px solid var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3a4556; }
.dot.r { background: #ff6b6b; } .dot.y { background: #ffd166; } .dot.g { background: #06d6a0; }
.desk-url { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: #070b12; color: #7d8a9c; font-size: 10px; display: flex; align-items: center; padding: 0 8px; }
.desk-body { display: grid; grid-template-columns: 52px 1fr; height: calc(100% - 34px); }
.desk-side { background: #070b12; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.side-ico { height: 26px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.side-ico.on { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 0 12px var(--glow); }
.desk-main { padding: 12px 14px; }
.desk-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.kpi { background: #121a28; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; }
.kpi b { display: block; font-size: 16px; letter-spacing: -0.03em; color: #fff; }
.kpi span { font-size: 10px; color: var(--dim); }
.lead-list { background: #121a28; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lead-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 7px 10px; font-size: 11px; border-bottom: 1px solid var(--line); align-items: center; }
.lead-row:last-child { border-bottom: 0; }
.pill { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(30,107,255,0.16); color: #8bb4ff; }
.pill.warn { background: rgba(240,162,2,0.16); color: #f0b84a; }
.pill.ok { background: rgba(6,214,160,0.14); color: #4ee0b0; }
.muted { color: var(--dim); }

.phone {
  position: absolute; left: 28px; bottom: 12px; width: 196px; height: 392px;
  background: #05070d; border-radius: 34px; padding: 9px; z-index: 2;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(30,107,255,0.35), 0 0 24px rgba(30,107,255,0.14);
  border: 3px solid #1a2436;
}
.phone-notch { width: 72px; height: 14px; background: #05070d; border-radius: 0 0 12px 12px; margin: 0 auto 2px; }
.phone-screen { background: linear-gradient(180deg, #0a1220, #0e1a30); border-radius: 24px; height: calc(100% - 16px); padding: 12px 12px 14px; color: #fff; }
.status { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.phone-head { font-size: 17px; font-weight: 750; letter-spacing: -0.04em; margin-bottom: 12px; }
.icon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 6px; }
.app-icon { text-align: center; }
.tile {
  width: 48px; height: 48px; margin: 0 auto 5px; border-radius: 14px; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 6px 16px rgba(0,0,0,0.35);
}
.app-icon span { display: block; font-size: 10px; color: rgba(255,255,255,0.82); }
.glyph { width: 22px; height: 22px; }
.c1 { background: linear-gradient(160deg, #4d8cff, #1e6bff); }
.c2 { background: linear-gradient(160deg, #3a7dff, #0a3aa8); }
.c3 { background: linear-gradient(160deg, #6a8cff, #2a4fb3); }
.c4 { background: linear-gradient(160deg, #c9d2de, #6d7788); }
.c5 { background: linear-gradient(160deg, #5aa0ff, #1a4ed0); }
.c6 { background: linear-gradient(160deg, #8aa0c0, #334155); }
.c7 { background: linear-gradient(160deg, #4d8cff, #163a86); }
.c8 { background: linear-gradient(160deg, #9aa6b8, #2a3344); }

section { padding: 64px 0; }
.sec-kicker { color: var(--blue-2); font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 8px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.15; color: #f3f6fb; }
.lead { color: var(--muted); margin-top: 8px; max-width: 58ch; font-size: 1.02rem; }
.features { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,0.22); }
.card-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.card h3 { font-size: 1.08rem; letter-spacing: -0.02em; margin-bottom: 8px; color: #f3f6fb; }
.card p { color: var(--muted); font-size: 0.95rem; }
.soon { display: inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-2); background: rgba(30,107,255,0.12); border: 1px solid rgba(30,107,255,0.28); border-radius: 999px; padding: 3px 8px; }
.bot-ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; object-fit: cover; }
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #3c82ff, var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 750; margin-bottom: 14px; box-shadow: 0 0 18px var(--glow); }
.step h3 { margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.iphone-sec { background: radial-gradient(640px 320px at 80% 50%, rgba(30,107,255,0.16), transparent 60%), var(--bg-2); }
.iphone-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.mini-phone { width: 240px; margin: 0 auto; background: #05070d; border-radius: 36px; padding: 12px; border: 3px solid #1a2436; box-shadow: 0 20px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(30,107,255,0.3), 0 0 28px rgba(30,107,255,0.14); }
.mini-screen { background: linear-gradient(180deg, #0a1220, #0e1a30); border-radius: 26px; padding: 18px 14px 16px; min-height: 360px; }
.alert { background: rgba(30,107,255,0.12); border: 1px solid rgba(30,107,255,0.35); border-radius: 14px; padding: 12px; margin-bottom: 12px; font-size: 12px; }
.alert b { display: block; margin-bottom: 2px; }
.msg { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 12px; }
.msg .when { color: var(--dim); font-size: 10px; }
.pricing { background: var(--bg); }
.price-card { margin-top: 28px; background: var(--card); border: 1px solid var(--line-blue); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: center; box-shadow: 0 0 40px rgba(30,107,255,0.08); }
.price-tag { font-size: 2rem; letter-spacing: -0.04em; font-weight: 750; color: #fff; }
.checks { margin-top: 14px; color: var(--muted); }
.checks li { list-style: none; padding: 5px 0 5px 22px; position: relative; }
.checks li:before { content: "✓"; position: absolute; left: 0; color: var(--blue-2); font-weight: 700; }
.trust { background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.trust-card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 22px; }
.trust-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.trust-card p { color: var(--muted); }
.trust-card a { color: var(--blue-2); text-decoration: underline; }
.contact { background: var(--bg); }
.form-wrap { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
label { display: block; font-size: 0.86rem; font-weight: 650; margin: 0 0 6px; color: var(--chrome); }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #0a0f18; margin-bottom: 14px; outline: none; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5c6676; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,107,255,0.22); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 0.85rem; color: var(--dim); margin-top: 8px; }
.note.ok { color: #4ee0b0; }
.note.err { color: #ff8d8d; }
footer { background: #03050a; color: var(--muted); padding: 36px 0 28px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { max-width: 280px; }
.foot-wordmark { height: 46px; width: auto; margin-bottom: 6px; }
footer a:hover { color: #fff; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.copy { font-size: 0.85rem; color: var(--dim); }

/* Unfolded foldable and small tablet: stack the hero, keep two feature columns. */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding-top: 20px; }
  .hero-grid, .iphone-grid, .form-wrap, .price-card { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-logo { width: min(82vw, 340px); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .devices { height: 360px; }
  .desktop-card { width: min(480px, 86%); height: 250px; }
  .phone { width: 168px; height: 340px; left: 4px; bottom: 8px; }
  .form-wrap { padding: 22px; }
}
@media (max-width: 680px) {
  .logo-word { display: none; }
  .logo-k { display: block; }
  .nav-inner { height: 58px; }
  .cards { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .desktop-card { display: none; }
  .hero-logo { width: min(82vw, 320px); }
  .devices { height: 380px; margin-top: -8px; }
  .phone { left: 50%; transform: translateX(-50%); bottom: 0; width: 200px; height: 390px; }
  .hero-cta .btn { flex: 1 1 140px; }
  section { padding: 52px 0; }
  .price-card, .form-wrap { padding: 20px; }
}
