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

:root {
  --blue: #0066ff;
  --blue-dark: #004ecc;
  --cyan: #00d4ff;
  --dark: #080e1a;
  --dark2: #0f1c2e;
  --dark3: #162336;
  --text: #c8d8ee;
  --muted: #6b849e;
  --white: #ffffff;
  --green: #00e676;
  --warn: #ffb300;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,14,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.logo span { color: var(--cyan); }
nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
nav ul a { text-decoration: none; color: var(--text); font-size: 0.95rem; transition: color .2s; }
nav ul a:hover { color: var(--white); }
.btn-nav {
  background: var(--blue); color: var(--white) !important;
  padding: .45rem 1.2rem; border-radius: 8px; font-weight: 600;
  transition: background .2s !important;
}
.btn-nav:hover { background: var(--blue-dark) !important; }

/* HERO */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; padding: 6rem 5% 5rem;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,102,255,.15) 0%, transparent 70%);
  min-height: 92vh;
}
.hero-content { flex: 1; max-width: 580px; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1.4rem; }
h1 span { color: var(--cyan); }
.sub { font-size: 1.15rem; color: var(--text); margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: var(--white);
  padding: .8rem 2rem; border-radius: 9px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--white);
  padding: .8rem 2rem; border-radius: 9px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.2); transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.8rem; font-weight: 900; color: var(--white); }
.hero-stats span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* DEVICE MOCKUP */
.hero-visual { flex: 0 0 auto; }
.device-mockup {
  background: var(--dark2);
  border: 1.5px solid rgba(0,212,255,.25);
  border-radius: 20px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 0 60px rgba(0,102,255,.2), 0 0 120px rgba(0,212,255,.08);
}
.device-screen { display: flex; flex-direction: column; gap: .7rem; }
.screen-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.screen-title { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.screen-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; padding: .4rem .6rem; background: rgba(255,255,255,.04); border-radius: 7px; }
.screen-row span { color: var(--muted); }
.screen-row strong { color: var(--white); }
strong.on { color: var(--green); }
strong.warn { color: var(--warn); }
.gauge-row { display: flex; align-items: center; gap: .6rem; font-size: .85rem; padding: .4rem .6rem; background: rgba(255,255,255,.04); border-radius: 7px; }
.gauge-row span { color: var(--muted); flex: 1; }
.gauge-bar { flex: 1; height: 6px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.gauge-fill { height: 100%; background: var(--cyan); border-radius: 99px; }
.gauge-row strong { color: var(--white); min-width: 2.5rem; text-align: right; }
.screen-footer { text-align: center; font-size: .78rem; color: var(--muted); padding-top: .4rem; }

/* LOGOS */
.logos { padding: 2.5rem 5%; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); text-align: center; }
.logos p { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1.2rem; }
.logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.5rem; }
.logo-row span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* SECTION SHARED */
.section-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--cyan); margin-bottom: .8rem; }
section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 3rem; }

/* FEATURES */
.features { padding: 6rem 5%; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(0,212,255,.3); transform: translateY(-3px); }
.feat-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.feature-card p { font-size: .92rem; color: var(--muted); }

/* HOW IT WORKS */
.how { padding: 6rem 5%; background: var(--dark2); }
.steps { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; }
.step-num { font-size: 2.5rem; font-weight: 900; color: var(--blue); opacity: .5; line-height: 1; margin-bottom: .5rem; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--muted); }
.step-arrow { font-size: 1.8rem; color: var(--muted); margin-top: 1.8rem; align-self: flex-start; }

/* TESTIMONIALS */
.testimonials { padding: 6rem 5%; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.testi-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 2rem;
}
.testi-card.featured { border-color: var(--blue); background: var(--dark3); }
.stars { color: #ffc107; font-size: 1.1rem; margin-bottom: .8rem; }
.testi-card p { font-size: .95rem; color: var(--text); font-style: italic; margin-bottom: 1rem; }
.testi-name { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* PRICING */
.pricing { padding: 6rem 5%; background: var(--dark2); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 960px; }
.plan {
  background: var(--dark); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 2rem; position: relative;
}
.plan.featured { border-color: var(--blue); background: var(--dark3); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .25rem .9rem; border-radius: 99px; letter-spacing: 1px; text-transform: uppercase;
}
.plan h3 { font-size: 1.1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .6rem; }
.price { font-size: 2.4rem; font-weight: 900; color: var(--white); margin-bottom: .2rem; }
.price-sub { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.plan ul li { font-size: .92rem; color: var(--text); padding-left: 1.2rem; position: relative; }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.btn-plan {
  display: block; text-align: center; text-decoration: none;
  padding: .75rem; border-radius: 9px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid var(--blue); color: var(--blue); transition: background .2s, color .2s;
}
.plan.featured .btn-plan { background: var(--blue); color: var(--white); }
.btn-plan:hover { background: var(--blue); color: var(--white); }

/* CTA */
.cta-section { padding: 7rem 5%; text-align: center; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,102,255,.15) 0%, transparent 70%); }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-section > p { color: var(--muted); max-width: 500px; margin: 0 auto 2.5rem; }
.cta-form { display: flex; flex-direction: column; gap: 1rem; max-width: 440px; margin: 0 auto 1rem; }
.cta-form input, .cta-form select {
  padding: .85rem 1.1rem; border-radius: 9px; border: 1.5px solid rgba(255,255,255,.1);
  background: var(--dark2); color: var(--white); font-size: .95rem;
}
.cta-form select option { background: var(--dark2); }
.cta-form input::placeholder { color: var(--muted); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--blue); }
.cta-fine { font-size: .8rem; color: var(--muted); }
.form-success { margin-top: 1rem; color: var(--green); font-weight: 600; }
.hidden { display: none; }

/* FOOTER */
footer { padding: 2.5rem 5%; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-logo span { color: var(--cyan); }
footer p { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .85rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 4rem 5% 3rem; min-height: unset; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 100%; display: flex; justify-content: center; }
  .device-mockup { width: 100%; max-width: 340px; }
  .step-arrow { display: none; }
  nav ul { gap: 1rem; }
}
