:root {
  --bg: #12151C;
  --bg2: #1A1D24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #E8ECF3;
  --muted: #9AA3B2;
  --neon: #00E5FF;
  --neon2: #00B8A9;
  --grad: linear-gradient(135deg, #00E5FF, #00B8A9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

.bg-glow {
  position: fixed; top: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; z-index: -1;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.14), transparent 65%);
  filter: blur(20px);
}

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(18, 21, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo-img { height: 34px; width: auto; }
.logo-img-small { height: 26px; width: auto; filter: drop-shadow(0 0 8px rgba(0,229,255,0.5)); }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--neon); }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform .15s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn:hover { transform: translateY(-2px); }
.btn-neon {
  background: var(--grad); color: #06131A;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.btn-neon:hover { box-shadow: 0 0 34px rgba(0, 229, 255, 0.65); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(0, 229, 255, 0.4);
}
.btn-ghost:hover { border-color: var(--neon); box-shadow: 0 0 16px rgba(0, 229, 255, 0.25); }

/* HERO */
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 70px 24px 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.07);
  color: var(--neon); font-size: 0.82rem; font-weight: 600;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.6); } 50% { box-shadow: 0 0 0 8px rgba(0,229,255,0); } }

.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.08; margin: 18px 0; letter-spacing: -0.5px; }
.chrome {
  background: linear-gradient(180deg, #FFFFFF 0%, #B8C6CE 40%, #5E7480 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.6; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--neon); }
.stat span { color: var(--muted); font-size: 0.8rem; }

/* RADAR ANIMATION */
.radar {
  position: relative; width: min(400px, 80vw); aspect-ratio: 1; margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(0,229,255,0.06), transparent 70%),
    #141922;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.15), inset 0 0 60px rgba(0, 229, 255, 0.05);
}
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(0, 229, 255, 0.25); inset: 0; }
.r2 { inset: 25%; } .r3 { inset: 50%; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 229, 255, 0.45), transparent 70deg);
  animation: sweep 3.2s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 12px var(--neon);
  animation: blink 2.4s ease-in-out infinite;
}
.d1 { top: 28%; left: 62%; animation-delay: 0s; }
.d2 { top: 58%; left: 30%; animation-delay: 0.8s; }
.d3 { top: 70%; left: 68%; animation-delay: 1.6s; }
.d4 { top: 38%; left: 44%; animation-delay: 0.4s; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.radar-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  width: 54px; filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.8));
  animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translate(-50%, -58%); } 50% { transform: translate(-50%, -66%); } }

/* SECTIONS */
.section { max-width: 1180px; margin: 0 auto; padding: 60px 24px; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; text-align: center; margin-bottom: 36px; }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.compare-card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.before { border-color: rgba(255, 90, 90, 0.3); }
.after { border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 0 30px rgba(0, 229, 255, 0.1); }
.compare-head { font-weight: 800; margin-bottom: 14px; }
.before .compare-head { color: #FF6B6B; }
.after .compare-head { color: var(--neon); }
.compare-card ul { list-style: none; }
.compare-card li { padding: 9px 0 9px 24px; position: relative; color: var(--muted); font-size: 0.95rem; }
.before li::before { content: '✕'; position: absolute; left: 0; color: #FF6B6B; }
.after li::before { content: '✓'; position: absolute; left: 0; color: var(--neon); }
.compare-vs { font-weight: 900; color: var(--muted); font-size: 1.2rem; }

/* DEMO TABS */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 20px; }
.demo-tab {
  padding: 10px 18px; border-radius: 10px; cursor: pointer;
  background: var(--bg2); color: var(--muted);
  border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600;
  transition: all .2s;
}
.demo-tab:hover { color: var(--text); }
.demo-tab.active { color: #06131A; background: var(--grad); border-color: transparent; box-shadow: 0 0 18px rgba(0, 229, 255, 0.4); }

.demo-panel { max-width: 860px; margin: 0 auto; }
.demo-screen {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; min-height: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* MOCK DASHBOARDS */
.metric-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.metric {
  flex: 1 1 150px; background: #10131A; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px;
}
.metric span { display: block; color: var(--muted); font-size: 0.75rem; margin-bottom: 6px; }
.metric b { font-size: 1.35rem; color: var(--neon); }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 10px; }
.bar {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--neon), rgba(0, 229, 255, 0.15));
  animation: grow 0.8s ease-out;
  min-height: 8px;
}
.bar.bad { background: linear-gradient(180deg, #FF6B6B, rgba(255, 107, 107, 0.15)); }
@keyframes grow { from { height: 0; } }
.track-map {
  position: relative; height: 170px; border-radius: 12px;
  background:
    linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    #10131A;
  background-size: 30px 30px;
  overflow: hidden;
}
.route { position: absolute; stroke: var(--neon); fill: none; }
.stop-point { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.geo-zone { position: absolute; border: 2px dashed rgba(0, 229, 255, 0.5); border-radius: 50%; background: rgba(0, 229, 255, 0.06); }
.speed-gauge {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.gauge { font-size: 3rem; font-weight: 900; color: var(--neon); text-shadow: 0 0 24px rgba(0, 229, 255, 0.6); }
.gauge.warn { color: #FFB020; text-shadow: 0 0 24px rgba(255, 176, 32, 0.6); }
.gauge.danger { color: #FF6B6B; text-shadow: 0 0 24px rgba(255, 107, 107, 0.6); }
.lock-btn {
  padding: 12px 22px; border-radius: 10px; border: none; font-weight: 800;
  background: linear-gradient(135deg, #FF6B6B, #C0392B); color: #fff;
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.5);
}

/* CALCULATOR */
.calc {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
}
.calc-inputs label { display: block; margin-bottom: 22px; color: var(--muted); font-size: 0.9rem; }
.calc-inputs input { width: 100%; margin-top: 10px; accent-color: var(--neon); }
.calc-inputs b { float: right; color: var(--neon); }
.calc-result {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  background: #10131A; border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.calc-line { color: var(--muted); font-size: 0.9rem; }
.calc-big { font-size: 2.2rem; font-weight: 900; }
.calc-big.neon { color: var(--neon); text-shadow: 0 0 24px rgba(0, 229, 255, 0.55); }
.calc-note { color: var(--muted); font-size: 0.75rem; margin-top: 8px; }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.12); }
.fi { font-size: 1.7rem; }
.feature h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.ind-panel {
  max-width: 760px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; color: var(--muted); line-height: 1.6;
}

/* CONTACT */
.contact-box {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.08), transparent 60%), var(--bg2);
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 18px; padding: 40px 28px;
}
.contact-box h2 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-box p { color: var(--muted); margin-bottom: 24px; }
#leadForm { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
#leadForm input {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: #10131A; color: var(--text); font-size: 0.95rem;
}
#leadForm input:focus { outline: none; border-color: var(--neon); }
.form-alt { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }
.form-alt a { color: var(--neon); text-decoration: none; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line); padding: 30px 24px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.85rem;
}
.footer ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--neon); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-right { order: -1; }
  .nav-links { display: none; }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { text-align: center; }
  .calc { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}
