/* ─── TOKENS ─── */
:root {
  --bg:         #070B14;
  --bg-1:       #0C1221;
  --bg-2:       #111929;
  --bg-3:       #161f32;
  --border:     rgba(148,163,184,0.08);
  --border-2:   rgba(148,163,184,0.14);

  --blue:       #2B80E8;
  --blue-dim:   rgba(43,128,232,0.12);
  --blue-glow:  rgba(43,128,232,0.25);
  --teal:       #00C9A7;
  --teal-dim:   rgba(0,201,167,0.1);
  --amber:      #F59E0B;
  --purple:     #8B5CF6;
  --green:      #10B981;
  --red-dim:    rgba(239,68,68,0.12);
  --red-border: rgba(239,68,68,0.25);
  --red-text:   #FCA5A5;

  --tx:         #DDE3EE;
  --tx-2:       #7D8BA3;
  --tx-3:       #47546A;

  --radius:     10px;
  --radius-lg:  16px;

  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:       #F2F5FA;
    --bg-1:     #FFFFFF;
    --bg-2:     #F7F9FC;
    --bg-3:     #EEF2F8;
    --border:   rgba(0,0,0,0.07);
    --border-2: rgba(0,0,0,0.12);
    --tx:       #101828;
    --tx-2:     #4B5869;
    --tx-3:     #8A96AB;
    --blue-dim: rgba(43,128,232,0.08);
    --teal-dim: rgba(0,201,167,0.08);
    --red-dim:  rgba(239,68,68,0.06);
  }
}

:root[data-theme="light"] {
  --bg:       #F2F5FA;
  --bg-1:     #FFFFFF;
  --bg-2:     #F7F9FC;
  --bg-3:     #EEF2F8;
  --border:   rgba(0,0,0,0.07);
  --border-2: rgba(0,0,0,0.12);
  --tx:       #101828;
  --tx-2:     #4B5869;
  --tx-3:     #8A96AB;
  --blue-dim: rgba(43,128,232,0.08);
  --teal-dim: rgba(0,201,167,0.08);
  --red-dim:  rgba(239,68,68,0.06);
}

:root[data-theme="dark"] {
  --bg:         #070B14;
  --bg-1:       #0C1221;
  --bg-2:       #111929;
  --bg-3:       #161f32;
  --border:     rgba(148,163,184,0.08);
  --border-2:   rgba(148,163,184,0.14);
  --tx:         #DDE3EE;
  --tx-2:       #7D8BA3;
  --tx-3:       #47546A;
  --blue-dim:   rgba(43,128,232,0.12);
  --teal-dim:   rgba(0,201,167,0.1);
  --red-dim:    rgba(239,68,68,0.12);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ─── LAYOUT ─── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px;
  background: rgba(7,11,20,0.82);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: light) {
  nav { background: rgba(242,245,250,0.88); }
}
:root[data-theme="light"] nav { background: rgba(242,245,250,0.88); }

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 1.1rem; font-weight: 700;
  color: var(--tx); white-space: nowrap;
}
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--tx-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--tx); }
.nav-cta {
  flex-shrink: 0; padding: 8px 18px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-mobile-cta { display: none; }

/* ─── HERO ─── */
.hero {
  padding: 148px 0 96px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 65% 45%, rgba(43,128,232,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0,201,167,0.06) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  color: var(--teal); letter-spacing: 0.05em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px; text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem; color: var(--tx-2);
  max-width: 440px; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.18s;
  text-decoration: none; line-height: 1;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 22px var(--blue-glow);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 10px 28px var(--blue-glow); }
.btn-ghost {
  background: transparent; color: var(--tx-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { color: var(--tx); border-color: var(--blue); }

/* ─── HERO MOCKUP ─── */
.hero-mockup-wrap { position: relative; }
.hero-glow-orb {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,128,232,0.22), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(32px); pointer-events: none;
}
.hero-mockup {
  position: relative; z-index: 1; border-radius: 14px;
  border: 1px solid var(--border-2); overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

/* ─── APP WINDOW ─── */
.scan-window {
  background: #070D1C; font-family: var(--font-mono);
  font-size: 11.5px; color: #4D6A8A; user-select: none;
}
.scan-titlebar {
  background: #060B18; height: 36px; display: flex;
  align-items: center; padding: 0 14px; gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.scan-dot { width: 11px; height: 11px; border-radius: 50%; }
.scan-dot.r { background: #FF5F57; }
.scan-dot.y { background: #FEBC2E; }
.scan-dot.g { background: #28C840; }
.scan-titlebar-label { flex: 1; text-align: center; font-size: 11px; color: #3A4F68; letter-spacing: 0.02em; }
.scan-toolbar {
  background: #060D1A; padding: 8px 12px;
  display: flex; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.scan-drive-btn {
  padding: 4px 12px; border-radius: 5px; font-size: 10.5px;
  border: 1px solid rgba(255,255,255,0.07); color: #5B7A9A; background: #0A1424;
}
.scan-drive-btn.active {
  background: rgba(43,128,232,0.15); border-color: rgba(43,128,232,0.35); color: #7EB3F0;
}
.scan-body { display: grid; grid-template-columns: 152px 1fr; }
.scan-sidebar { border-right: 1px solid rgba(255,255,255,0.05); padding: 10px 0; min-height: 240px; }
.scan-sidebar-header {
  font-size: 9.5px; letter-spacing: 0.1em; color: #2E4560;
  padding: 0 12px 8px; text-transform: uppercase;
}
.scan-tree-item {
  padding: 4px 12px; font-size: 10.5px; display: flex;
  align-items: center; gap: 5px; color: #4D6A8A;
}
.scan-tree-item.active { background: rgba(43,128,232,0.12); color: #7EB3F0; }
.scan-tree-item.child  { padding-left: 22px; font-size: 10px; }
.scan-tree-item.child2 { padding-left: 32px; font-size: 10px; }
.scan-main { overflow: hidden; }
.scan-treemap { padding: 8px; display: flex; gap: 6px; height: 240px; }
.tm-col { display: flex; flex-direction: column; gap: 6px; }
.tm-block {
  border-radius: 5px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  overflow: hidden; transition: filter 0.15s;
}
.tm-block:hover { filter: brightness(1.12); }
.tm-block-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.9); }
.tm-block-size  { font-size: 9.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.scan-statusbar {
  background: #060B18; border-top: 1px solid rgba(255,255,255,0.04);
  padding: 6px 12px; display: flex; align-items: center; gap: 16px;
  font-size: 10px; color: #3A4F68;
}
.scan-progress-wrap { flex: 1; max-width: 160px; }
.scan-progress-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.scan-progress-fill {
  height: 100%; width: 49%;
  background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 2px;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; }
.trust-item { padding: 0 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-val {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 800;
  color: var(--tx); line-height: 1; margin-bottom: 4px;
}
.trust-val .accent { color: var(--blue); }
.trust-label { font-size: 0.82rem; color: var(--tx-3); }

/* ─── SECTION CHROME ─── */
.sec-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue); margin-bottom: 12px;
}
.sec-heading {
  font-size: clamp(1.55rem, 3.2vw, 2.3rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 14px;
}
.sec-sub { color: var(--tx-2); max-width: 520px; }
.sec-sub.centered { margin: 0 auto; }

/* ─── FEATURES ─── */
.features { padding: 96px 0; }
.features-intro { margin-bottom: 56px; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card {
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  border-color: rgba(43,128,232,0.3); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-dim); border: 1px solid rgba(43,128,232,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.feat-card p  { font-size: 0.875rem; color: var(--tx-2); line-height: 1.65; }

/* ─── HOW IT WORKS ─── */
.how {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-1) 30%, var(--bg-1) 70%, transparent 100%);
}
.how-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3,1fr);
  gap: 32px; position: relative;
}
.how-grid::before {
  content: ''; position: absolute;
  top: 28px; left: calc(16.66% + 14px); right: calc(16.66% + 14px);
  height: 1px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: 0.2;
}
.how-step { text-align: center; padding: 0 12px; }
.how-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 800; color: #fff;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.how-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.how-step p  { font-size: 0.875rem; color: var(--tx-2); line-height: 1.65; }

/* ─── PRICING ─── */
.pricing { padding: 96px 0; }
.pricing-card {
  max-width: 480px; margin: 56px auto 0;
  background: var(--bg-1); border: 1px solid rgba(43,128,232,0.25);
  border-radius: 20px; padding: 48px 44px; text-align: center;
  box-shadow: 0 24px 60px rgba(43,128,232,0.08); position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.pricing-pill {
  display: inline-block; background: var(--blue-dim);
  border: 1px solid rgba(43,128,232,0.2); color: #7EB3F0;
  padding: 5px 14px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 22px;
}
.pricing-amount {
  font-family: var(--font-mono); font-size: 4rem; font-weight: 800;
  line-height: 1; margin-bottom: 6px; color: var(--tx);
}
.pricing-amount sup { font-size: 1.8rem; vertical-align: 0.55em; opacity: 0.6; }
.pricing-note  { font-size: 0.82rem; color: var(--tx-3); margin-bottom: 34px; }
.pricing-feats { list-style: none; text-align: left; margin-bottom: 36px; }
.pricing-feats li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--tx-2);
}
.pricing-feats li:last-child { border: none; }
.check { color: var(--teal); font-size: 1rem; flex-shrink: 0; }
.pricing-btn  { width: 100%; justify-content: center; font-size: 1rem; padding: 15px; }
.pricing-fine { margin-top: 16px; font-size: 0.77rem; color: var(--tx-3); }
.pricing-fine a { color: var(--blue); }

/* ─── ORDER FORM ─── */
.order { padding: 96px 0; }
.order-card {
  max-width: 540px; margin: 0 auto;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px 44px;
}
.order-head { margin-bottom: 32px; }
.order-head h2 { margin-bottom: 8px; }
.order-head p  { color: var(--tx-2); font-size: 0.9rem; }
.order-info-box {
  background: var(--blue-dim); border: 1px solid rgba(43,128,232,0.15);
  border-radius: 8px; padding: 14px 16px;
  font-size: 0.855rem; color: var(--tx-2);
  margin-bottom: 28px; line-height: 1.6;
}
.order-info-box strong { color: var(--blue); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--tx-2); margin-bottom: 6px; }
input[type="text"],
input[type="email"] {
  width: 100%; padding: 11px 14px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 8px; color: var(--tx);
  font-size: 0.9rem; font-family: var(--font-sans);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s; appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,128,232,0.12);
}
input::placeholder { color: var(--tx-3); }
.form-submit { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; margin-top: 6px; }
.form-note  { text-align: center; font-size: 0.77rem; color: var(--tx-3); margin-top: 14px; }
.form-note a { color: var(--blue); }
.form-error {
  background: var(--red-dim); border: 1px solid var(--red-border);
  color: var(--red-text); border-radius: 8px;
  padding: 11px 14px; font-size: 0.855rem; margin-top: 10px; display: none;
}
.form-success { display: none; text-align: center; padding: 12px 0; }
.success-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(16,185,129,0.1); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem;
}
.form-success h3 { font-size: 1.2rem; color: var(--green); margin-bottom: 8px; }
.form-success p  { font-size: 0.9rem; color: var(--tx-2); }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.65s linear infinite; display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── FAQ ─── */
.faq { padding: 96px 0; }
.faq-list { max-width: 680px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  color: var(--tx); gap: 16px;
}
.faq-icon { color: var(--blue); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.28s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding-bottom: 20px; font-size: 0.875rem; color: var(--tx-2); line-height: 1.7; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-a   { max-height: 260px; }

/* ─── LEGAL ─── */
.legal-section { padding: 56px 0; border-top: 1px solid var(--border); }
.legal-section .inner { max-width: 680px; margin: 0 auto; }
.legal-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.legal-section h3 { font-size: 0.95rem; font-weight: 600; color: var(--tx); margin: 22px 0 8px; }
.legal-section p  { font-size: 0.875rem; color: var(--tx-2); line-height: 1.7; margin-bottom: 8px; }

/* ─── FOOTER ─── */
footer { padding: 48px 0 40px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-logo  { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.footer-copy  { font-size: 0.78rem; color: var(--tx-3); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--tx-3); transition: color 0.15s; }
.footer-links a:hover { color: var(--tx); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mockup-wrap { display: none; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .how-grid  { grid-template-columns: 1fr; gap: 36px; }
  .how-grid::before { display: none; }
}
@media (max-width: 640px) {
  .feat-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--border); padding-top: 24px; }
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-mobile-cta { display: block; }
  .order-card, .pricing-card { padding: 32px 22px; }
  .form-row   { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
