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

:root {
  --font: 'Inter', system-ui, sans-serif;

  --bg:        #07090f;
  --bg-2:      #0b0e17;
  --surface:   #0f1420;
  --surface-2: #141c2e;

  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);

  --text:       #dde8ff;
  --text-2:     #7a8fad;
  --text-muted: #3a4d6a;

  --accent:      #00e5ff;
  --accent-dim:  rgba(0,229,255,0.12);
  --accent-glow: 0 0 18px rgba(0,229,255,0.35);

  --success:    #00ffa3;
  --success-bg: rgba(0,255,163,0.1);
  --danger:     #ff3b6b;
  --danger-bg:  rgba(255,59,107,0.1);

  --radius:    10px;
  --radius-lg: 18px;
  --max: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(0,229,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 60%, rgba(0,255,163,0.03) 0%, transparent 55%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }

/* ─────────────────────────────────── Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); text-shadow: var(--accent-glow); }
.brand.small { font-size: 1rem; margin-bottom: 8px; }
.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ─────────────────────────────────── Hero */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(0,255,163,0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}
.hero-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

input, select, textarea, button {
  font-family: var(--font);
  font-size: 0.95rem;
}
input[type="text"], input[type="email"], select, textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea { resize: vertical; min-height: 90px; }

button[type="submit"] {
  background: var(--accent);
  color: #04121a;
  border: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .1s, box-shadow .15s, opacity .15s;
  box-shadow: var(--accent-glow);
}
button[type="submit"]:hover { transform: translateY(-1px); }
button[type="submit"]:disabled { opacity: 0.55; cursor: default; transform: none; }

.hero-form-note, .form-status {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  min-height: 1.2em;
}
.hero-form-note.ok, .form-status.ok { color: var(--success); }
.hero-form-note.err, .form-status.err { color: var(--danger); }

/* ─────────────────────────────────── Sign mockup */
.hero-visual { display: flex; justify-content: center; }
.sign-mock { width: 100%; max-width: 380px; }
.sign-bezel {
  background: linear-gradient(145deg, #171d2c, #0a0e17);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.sign-screen {
  position: relative;
  background: #020305;
  border-radius: 8px;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.sign-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px,
    transparent 1px, transparent 3px
  );
  pointer-events: none;
}
.sign-text {
  font-weight: 800;
  font-size: clamp(1rem, 4.5vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 22px rgba(0,229,255,0.6);
  text-align: center;
  white-space: nowrap;
  animation: flicker 4.5s infinite;
}
@keyframes flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  95% { opacity: 0.6; }
  96% { opacity: 1; }
}
.sign-stand {
  width: 60%;
  height: 10px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #1a2030, #0a0d14);
  border-radius: 0 0 6px 6px;
}

/* ─────────────────────────────────── Sections */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px;
}
.section-alt { background: var(--bg-2); max-width: none; }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 8px;
}
.section-sub { color: var(--text-2); margin-bottom: 36px; }

.feature-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .15s, transform .15s;
}
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.92rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.step-num {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 0.92rem; }

.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.why-item p { color: var(--text-2); font-size: 0.92rem; }

/* ─────────────────────────────────── Lead form section */
.section-form { padding-bottom: 90px; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.form-card h2 { margin-bottom: 6px; }
.form-card form { text-align: left; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-2); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--danger); }
.form-card button[type="submit"] { align-self: flex-start; }

/* ─────────────────────────────────── Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}
.footer-inner { color: var(--text-2); font-size: 0.9rem; }
.footer-inner a { color: var(--accent); }
.footer-copy { margin-top: 6px; color: var(--text-muted); font-size: 0.8rem; }

/* ─────────────────────────────────── Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
  .feature-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-form { flex-direction: column; }
  .form-card { padding: 24px; }
}
