:root {
  --navy-950: #060b14;
  --navy-900: #0b1626;
  --navy-800: #12233a;
  --navy-700: #1a3050;
  --line: rgba(148, 178, 216, 0.16);
  --text: #eaf1fb;
  --text-dim: #9fb2c9;
  --orange: #ff9900;
  --orange-soft: #ffc266;
  --teal: #00e5c7;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

/* Background field */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
  opacity: 0.5;
}
.bg-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
}
.bg-glow--orange { top: -180px; right: -160px; background: var(--orange); }
.bg-glow--teal { top: 30%; left: -220px; background: var(--teal); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  color: var(--navy-950);
  font-weight: 800;
  font-size: 18px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 16px; }
.brand__tag { font-size: 10px; letter-spacing: 0.14em; color: var(--text-dim); font-family: var(--font-mono); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.nav__cta) { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy-950);
  font-weight: 600;
  font-size: 14px;
}
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* Eyebrow / section titles */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }
.section { max-width: var(--max-width); margin: 0 auto; padding: 96px 24px; }
.section__title { font-size: clamp(28px, 4vw, 40px); text-align: center; margin-bottom: 16px; }
.section__title--left { text-align: left; }
.section__lede {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--text-dim);
  font-size: 17px;
}
.section__lede--left { text-align: left; margin: 0 0 32px; }

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__lede { font-size: 18px; color: var(--text-dim); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.hero__trust { font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-soft));
  color: var(--navy-950);
  box-shadow: 0 8px 30px -8px rgba(255, 153, 0, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(255, 153, 0, 0.75); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Hero console panel */
.hero__panel { display: flex; justify-content: center; }
.console {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 35, 58, 0.85), rgba(11, 22, 38, 0.85));
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--orange { background: var(--orange); }
.dot--teal { background: var(--teal); }
.dot--dim { background: var(--text-dim); opacity: 0.5; }
.console__title { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.console__feed { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.console__feed li {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}
.tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  height: fit-content;
  letter-spacing: 0.04em;
}
.tag--agent { background: rgba(255, 153, 0, 0.16); color: var(--orange-soft); }
.tag--human { background: rgba(0, 229, 199, 0.16); color: var(--teal); }
.tag--signal { background: rgba(148, 178, 216, 0.16); color: var(--text-dim); }

/* Agent loop */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: start;
  margin-bottom: 64px;
}
.loop__step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.loop__icon { font-size: 24px; margin-bottom: 12px; }
.loop__step h3 { font-size: 15px; margin-bottom: 8px; }
.loop__step p { font-size: 13px; color: var(--text-dim); }
.loop__arrow { text-align: center; color: var(--teal); font-size: 20px; padding-top: 40px; }

.callout {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 153, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.08), rgba(0, 229, 199, 0.05));
  padding: 36px 40px;
  text-align: center;
}
.callout h3 { font-size: 22px; margin-bottom: 12px; }
.callout p { color: var(--text-dim); max-width: 640px; margin: 0 auto; }

/* Cards / services */
.grid--services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 199, 0.4); }
.card__icon { font-size: 22px; margin-bottom: 14px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* Pricing */
.grid--pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 153, 0, 0.08), rgba(255, 255, 255, 0.02));
  transform: scale(1.03);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan__name { font-size: 20px; margin-bottom: 6px; }
.plan__desc { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; min-height: 40px; }
.plan__price { font-size: 34px; font-weight: 800; margin-bottom: 22px; }
.plan__price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.plan__features { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan__features li { font-size: 14px; color: var(--text-dim); padding-left: 22px; position: relative; }
.plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Contact */
.section--contact { padding-bottom: 120px; }
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.lead-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--text-dim); }
.field input, .field select, .field textarea {
  background: rgba(6, 11, 20, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field textarea { resize: vertical; }
.field--captcha input { max-width: 140px; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #ff6b6b; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
.footer__sub { margin-top: 6px; font-size: 12px; opacity: 0.7; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .loop__arrow { display: none; }
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--pricing { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links { position: fixed; top: 68px; left: 0; right: 0; background: var(--navy-900); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform 0.25s ease; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__toggle { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .grid--services { grid-template-columns: 1fr; }
  .callout { padding: 28px 22px; }
}
