@charset "UTF-8";
:root {
  --bg: #07111f;
  --bg-2: #0a1728;
  --panel: rgba(15, 31, 52, 0.78);
  --panel-solid: #0f1f34;
  --ink: #eef5ff;
  --muted: #93a9c9;
  --soft: #c4d3e8;
  --line: rgba(142, 178, 225, 0.16);
  --brand: #4d8dff;
  --brand-2: #7c5cff;
  --mint: #37d6a0;
  --amber: #ffbf69;
  --danger: #ff6b81;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(77, 141, 255, 0.18), transparent 65%),
    radial-gradient(700px 420px at 8% 8%, rgba(124, 92, 255, 0.13), transparent 60%),
    var(--bg);
  font-family: "Be Vietnam Pro", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.hidden { display: none !important; }
.mono { font-family: "Cascadia Code", Consolas, monospace; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 24px rgba(77, 141, 255, 0.35);
  font-size: 18px;
}
.logo small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.16em; font-weight: 700; margin-top: -3px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: var(--soft); font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--ink);
  padding: 11px 17px; border-radius: 11px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: 0.18s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(142, 178, 225, 0.34); background: rgba(255,255,255,0.06); }
.btn.primary { background: linear-gradient(135deg, var(--brand), #3a6fe8); border-color: transparent; box-shadow: 0 10px 30px rgba(77, 141, 255, 0.28); }
.btn.primary:hover { box-shadow: 0 14px 36px rgba(77, 141, 255, 0.38); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 21px; font-size: 15px; border-radius: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-link { color: var(--soft); font-weight: 700; font-size: 14px; }
.btn-link:hover { color: #fff; }

/* Hero */
.hero { padding: 82px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: #cfe0ff; background: rgba(77, 141, 255, 0.1);
  border: 1px solid rgba(77, 141, 255, 0.24);
  padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(55,214,160,0.14); }
.hero h1 {
  font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -0.045em;
  margin: 20px 0 18px; font-weight: 850;
}
.hero h1 .grad { background: linear-gradient(100deg, #8fb9ff, #c2a8ff 55%, #6ff0c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.hero-note .check { color: var(--mint); font-weight: 900; }

.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: -18px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(77,141,255,0.24), rgba(124,92,255,0.1), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.device-panel {
  position: relative; z-index: 1; border: 1px solid rgba(142,178,225,0.22);
  background: linear-gradient(180deg, rgba(17,36,61,0.96), rgba(9,22,39,0.96));
  border-radius: 24px; box-shadow: var(--shadow); overflow: hidden;
}
.device-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); display: block; }
.dots i:first-child { background: #ff6b81; } .dots i:nth-child(2) { background: #ffbf69; } .dots i:nth-child(3) { background: #37d6a0; }
.device-top .title { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.device-body { padding: 16px; }
.device-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 12px; padding: 11px; }
.kpi b { display: block; font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
.kpi span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 3px; }
.device-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid rgba(142,178,225,0.08); }
.device-row:first-of-type { border-top: 0; }
.device-ico { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; background: rgba(77,141,255,0.12); border: 1px solid rgba(77,141,255,0.2); font-size: 14px; }
.device-meta { flex: 1; min-width: 0; }
.device-meta b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-meta span { display: block; color: var(--muted); font-size: 10.5px; }
.pill { font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; border: 1px solid transparent; }
.pill.ok { color: #70f0c6; background: rgba(55,214,160,0.10); border-color: rgba(55,214,160,0.2); }
.pill.warn { color: #ffd18a; background: rgba(255,191,105,0.10); border-color: rgba(255,191,105,0.2); }
.pill.info { color: #9cc2ff; background: rgba(77,141,255,0.10); border-color: rgba(77,141,255,0.2); }
.floating {
  position: absolute; z-index: 2; right: -14px; bottom: -20px;
  background: #0c1e35; border: 1px solid rgba(142,178,225,0.22); border-radius: 14px;
  padding: 11px 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
}
.floating .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(55,214,160,0.12); color: var(--mint); }
.floating b { font-size: 12px; display: block; }
.floating span { font-size: 10.5px; color: var(--muted); }

/* Social proof */
.proof { padding: 16px 0 36px; }
.proof .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; }
.proof p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.proof-list { display: flex; gap: 26px; flex-wrap: wrap; color: #b9c9df; font-weight: 700; font-size: 13px; }
.proof-list span { opacity: 0.9; }

/* Sections */
section.block { padding: 66px 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head .kicker { color: #8fb9ff; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.035em; margin: 10px 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border-radius: var(--radius); padding: 24px; transition: 0.2s ease;
}
.feature:hover { border-color: rgba(142,178,225,0.34); transform: translateY(-2px); }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(77,141,255,0.12); border: 1px solid rgba(77,141,255,0.2); color: #a9c8ff; font-weight: 900; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature .tag { display: inline-block; margin-top: 14px; font-size: 11px; color: #8fb9ff; background: rgba(77,141,255,0.09); border: 1px solid rgba(77,141,255,0.18); border-radius: 999px; padding: 4px 8px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.025); }
.step .num { font-family: Consolas, monospace; font-size: 12px; color: #8fb9ff; border: 1px solid rgba(77,141,255,0.28); background: rgba(77,141,255,0.1); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 7px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* Connect band */
.connect-band {
  border: 1px solid rgba(77,141,255,0.24);
  background:
    radial-gradient(600px 260px at 86% 10%, rgba(77,141,255,0.2), transparent 65%),
    linear-gradient(120deg, rgba(17,37,64,0.96), rgba(10,24,43,0.96));
  border-radius: 26px; padding: 38px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: center;
}
.connect-band h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; line-height: 1.12; }
.connect-band p { color: var(--muted); margin: 0 0 20px; max-width: 540px; }
.mini-app { border: 1px solid rgba(142,178,225,0.2); border-radius: 16px; background: #081526; box-shadow: var(--shadow); overflow: hidden; }
.mini-app .bar { height: 36px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(255,255,255,0.03); }
.mini-app .bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.mini-app .body { padding: 14px; }
.mini-line { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.08); margin: 8px 0; }
.mini-line.w60 { width: 60%; } .mini-line.w80 { width: 80%; } .mini-line.brand { background: linear-gradient(90deg, rgba(77,141,255,0.55), rgba(124,92,255,0.28)); width: 45%; }
.mini-btn { display: inline-block; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: rgba(77,141,255,0.18); border: 1px solid rgba(77,141,255,0.28); color: #bcd6ff; font-size: 11px; font-weight: 800; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,0.025); display: flex; flex-direction: column; }
.price.featured { border-color: rgba(77,141,255,0.5); background: linear-gradient(180deg, rgba(77,141,255,0.13), rgba(255,255,255,0.02)); box-shadow: 0 18px 50px rgba(77,141,255,0.12); position: relative; }
.price .badge { font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #cfe0ff; }
.price h3 { margin: 8px 0 4px; font-size: 20px; }
.price .desc { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.price .amount { font-size: 34px; font-weight: 850; letter-spacing: -0.04em; line-height: 1.1; }
.price .amount small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; color: var(--soft); font-size: 13px; }
.price li { padding: 7px 0; border-top: 1px solid rgba(142,178,225,0.09); display: flex; gap: 9px; }
.price li:first-child { border-top: 0; }
.price li::before { content: "✓"; color: var(--mint); font-weight: 900; }
.price .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 16px; }

/* CTA */
.cta { text-align: center; padding: 76px 0; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; margin: 0 0 12px; }
.cta p { color: var(--muted); max-width: 600px; margin: 0 auto 24px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; margin-top: 20px; }

/* Auth */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.auth-side {
  padding: 54px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(700px 500px at 20% 10%, rgba(77,141,255,0.22), transparent 65%),
    radial-gradient(600px 400px at 90% 90%, rgba(124,92,255,0.18), transparent 60%),
    #081526;
  border-right: 1px solid var(--line);
}
.auth-side .quote { max-width: 470px; }
.auth-side .quote h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.04em; margin: 0 0 14px; }
.auth-side .quote p { color: var(--muted); margin: 0; }
.auth-side .mini-list { display: grid; gap: 12px; margin-top: 28px; }
.auth-side .mini-list div { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: 13.5px; }
.auth-side .mini-list b { color: var(--mint); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 34px 24px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 30px; letter-spacing: -0.035em; margin: 22px 0 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.auth-card .field { margin-bottom: 14px; }
.auth-card label { display: block; font-size: 12px; font-weight: 800; color: #c7d7ec; margin-bottom: 6px; letter-spacing: 0.01em; }
.auth-card .input, .auth-card select {
  width: 100%; color: var(--ink); background: rgba(255,255,255,0.045);
  border: 1px solid rgba(142,178,225,0.22); border-radius: 11px; padding: 12px 13px; outline: none;
  transition: 0.15s ease;
}
.auth-card .input:focus, .auth-card select:focus { border-color: rgba(77,141,255,0.7); box-shadow: 0 0 0 3px rgba(77,141,255,0.12); }
.auth-card .input::placeholder { color: #6f86a6; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 48px; }
.toggle-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; padding: 7px; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; font-size: 12.5px; color: var(--muted); }
.auth-meta a { color: #a9c8ff; font-weight: 700; }
.check-row { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 12px 0 18px; }
.check-row input { margin-top: 3px; accent-color: var(--brand); }
.auth-error { background: rgba(255,107,129,0.1); border: 1px solid rgba(255,107,129,0.28); color: #ffc2cb; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.auth-note { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 18px; }
.auth-note a { color: #a9c8ff; font-weight: 700; }
.auth-foot { color: var(--muted); font-size: 11.5px; margin-top: 26px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.help { color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .connect-band { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-art { max-width: 620px; }
  .grid-3, .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 30px)); }
  .site-header .wrap { height: 66px; }
  .header-actions .btn.ghost { display: none; }
  .hero { padding: 42px 0 34px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 15.5px; }
  .grid-3, .steps, .pricing, .grid-2, .form-row { grid-template-columns: 1fr; }
  .connect-band { padding: 24px; }
  .floating { right: 8px; bottom: -16px; }
  .proof .wrap { gap: 14px; }
  .proof-list { gap: 14px; font-size: 12px; }
  .auth-main { padding: 24px 18px; }
  .auth-card h1 { font-size: 26px; }
  .site-header .wrap { height: auto; min-height: 66px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px 12px; }
  .main-nav { display: flex; order: 3; width: 100%; gap: 20px; overflow-x: auto; white-space: nowrap; padding: 6px 0 2px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .header-actions .btn { padding: 8px 10px; font-size: 12px; }
}

/* Consistent interaction and readable focus states across public and auth pages. */
:focus-visible { outline: 3px solid rgba(111, 176, 255, .82); outline-offset: 3px; }
.feature, .step, .price, .device-panel, .connect-band { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.site-header { box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.site-header .btn { min-height: 40px; }
.site-footer a { transition: color .15s ease; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
