:root {
  --bg:         #07090F;
  --surface:    #0D1117;
  --surface-2:  #111827;
  --border:     rgba(148,163,184,0.10);
  --border-md:  rgba(148,163,184,0.18);
  --border-hi:  rgba(148,163,184,0.28);
  --text:       #F0F4FF;
  --muted:      #8A9AB8;
  --dim:        #4E5D78;
  --accent:     #3D6BFF;
  --accent-h:   #5B83FF;
  --accent-dim: rgba(61,107,255,0.12);
  --green:      #22C55E;
  --green-dim:  rgba(34,197,94,0.10);
  --red:        #F44E4E;
  --red-dim:    rgba(244,78,78,0.10);
  --max:        1060px;
  --r:          10px;
  --r-lg:       16px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  /* Visible ambient glow — top of page has blue atmosphere */
  background-image: radial-gradient(ellipse 90% 60% at 50% -5%, rgba(30,55,160,0.20) 0%, transparent 65%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11" 1, "ss01" 1;
}

/* Film grain — tactile texture layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
}

h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(7,9,15,0.80);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.35);
}

/* Gradient border — fades at edges, blue peak at center */
.nav::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(148,163,184,0.15) 15%,
    rgba(91,131,255,0.40) 50%,
    rgba(148,163,184,0.15) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 14px rgba(61,107,255,0.65))
    drop-shadow(0 0 5px rgba(180,210,255,0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 14px;
  border-left: 1px solid rgba(91,131,255,0.22);
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  line-height: 1;
  margin-bottom: 7px;
  white-space: nowrap;
  background: linear-gradient(105deg, #FFFFFF 0%, #B8D0FF 45%, #E2EDFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline-lines {
  position: relative;
  height: 5px;
}

/* Primary reflection line — bright sweep */
.brand-tagline-lines::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(91,131,255,0.95) 0%,
    rgba(220,235,255,0.85) 28%,
    rgba(91,131,255,0.60) 58%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(91,131,255,0.50), 0 0 2px rgba(255,255,255,0.22);
}

/* Secondary reflection — faint ghost below */
.brand-tagline-lines::after {
  content: "";
  position: absolute;
  top: 3px; left: 8%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(91,131,255,0.28) 20%,
    rgba(148,163,184,0.18) 65%,
    transparent 100%
  );
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: rgba(61,107,255,0.10);
  border: 1px solid rgba(61,107,255,0.28);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-h);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(61,107,255,0.16);
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 2px; align-items: center; }

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 7px;
  transition: color 0.14s, background 0.14s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  font-weight: 600 !important;
  color: var(--text) !important;
  background: rgba(61,107,255,0.20) !important;
  border: 1px solid rgba(61,107,255,0.38) !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: rgba(61,107,255,0.30) !important;
  border-color: rgba(61,107,255,0.55) !important;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 0 96px;
  overflow: hidden;
  /* Dot grid — infrastructure / platform texture */
  background-image: radial-gradient(circle at 1px 1px, rgba(148,163,184,0.09) 1px, transparent 0);
  background-size: 30px 30px;
}

/* Cinematic night atmosphere — VISIBLE depth, not 4% opacity nothing */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Warm amber city-light bokeh — upper right, actually visible */
    radial-gradient(circle 220px at 80% 25%, rgba(255,160,40,0.10) 0%, transparent 100%),
    /* Secondary warm bokeh — smaller, lower */
    radial-gradient(circle 110px at 88% 58%, rgba(220,160,80,0.06) 0%, transparent 100%),
    /* Main blue atmospheric sweep — left side, clearly visible depth */
    radial-gradient(ellipse 800px 600px at -8% 55%, rgba(30,65,200,0.22) 0%, transparent 65%),
    /* Blue overhead arc — top center, creates sky-like ceiling */
    radial-gradient(ellipse 700px 360px at 28% -18%, rgba(55,95,255,0.18) 0%, transparent 60%),
    /* Warm undertone — bottom right, subtle ground warmth */
    radial-gradient(ellipse 550px 240px at 85% 108%, rgba(180,85,20,0.07) 0%, transparent 55%);
  pointer-events: none;
}

/* Bottom fade — seamless transition into signal strip */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, var(--surface) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-h);
  margin-bottom: 24px;
  opacity: 0.9;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero h1 {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 24px;
}

/* Visible gradient on main headline — white to cool blue */
.hero h1 .line-bright {
  background: linear-gradient(135deg, #FFFFFF 0%, #9DC4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .dim-line { color: var(--muted); }

.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.72;
  margin-bottom: 36px;
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: center;
}

.trust-line { font-size: 13px; color: var(--dim); }
.trust-line span { margin: 0 8px; opacity: 0.35; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-1px); }

/* Diagonal light catch — makes button feel three-dimensional */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}

.btn-primary {
  /* Gradient button — slightly lighter top, gives depth */
  background: linear-gradient(180deg, #4F7FFF 0%, #3D6BFF 100%);
  color: #fff;
  border: 1px solid rgba(91,131,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 2px 8px rgba(61,107,255,0.35);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #6290FF 0%, #4F7FFF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 4px 20px rgba(61,107,255,0.50);
}

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-hi);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 14px;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-md); }

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
}

/* Visible blue orb behind the panel — actual light source, not invisible */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(61,107,255,0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(80px);
  pointer-events: none;
}

/* ── HERO PANEL — Real glassmorphism (has colored light to blur) ── */
.hero-panel {
  background: rgba(8,12,22,0.68);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 1px 0 rgba(0,0,0,0.5),
    0 24px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.25);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.panel-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sonar ring pulse — live system indicator */
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: sonar 2.2s cubic-bezier(0.22,1,0.36,1) infinite;
}

@keyframes sonar {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.60); }
  65%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.panel-rows { padding: 4px 0; }

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.panel-row:last-child { border-bottom: none; }

.panel-row-label { font-size: 13px; color: var(--muted); font-weight: 400; }

.panel-row-val { font-size: 13px; font-weight: 500; color: var(--dim); }
.panel-row-val.is-live  { color: var(--green); }
.panel-row-val.is-price {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-footer {
  padding: 13px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.016);
}

.panel-footer-note { font-size: 12px; color: var(--dim); line-height: 1.65; }

/* ── SIGNAL STRIP ── */
.signal-strip {
  background: var(--surface);
  position: relative;
}

.signal-strip::before,
.signal-strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-md) 20%, var(--border-md) 80%, transparent 100%);
  pointer-events: none;
}
.signal-strip::before { top: 0; }
.signal-strip::after  { bottom: 0; }

.signal-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.signal-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-h);
  opacity: 0.6;
  flex-shrink: 0;
}

.signal-sep {
  width: 1px; height: 18px;
  background: var(--border-md);
  flex-shrink: 0;
}

/* ── SECTIONS ── */
section { padding: 96px 0; }

.section-header { max-width: 600px; margin-bottom: 52px; }

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-h);
  margin-bottom: 14px;
  opacity: 0.85;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-header p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.72;
}

/* ── PROBLEM ── */
#problem {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* Visible atmospheric accent — not invisible 0.03 nothing */
#problem::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse at 80% 20%, rgba(61,107,255,0.07), transparent 65%);
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border-md);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
}

.problem-card {
  background: var(--bg);
  padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.22s;
}

.problem-card:hover { background: #0B0F1A; }

.problem-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.problem-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
#how-it-works {
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  overflow: hidden;
}

.step {
  background: var(--surface);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.22s;
}

.step:hover { background: #101823; }

/* Ghost step number — decorative depth */
.step::after {
  content: attr(data-num);
  position: absolute;
  bottom: -12px; right: 8px;
  font-size: 80px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-h);
  margin-bottom: 16px;
  opacity: 0.8;
}

.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── QUALIFIED LEAD ── */
#qualified {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-md);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  overflow: hidden;
}

.qualify-card { background: var(--bg); }

.qualify-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-md);
}

.qualify-card.pass .qualify-card-header {
  background: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, rgba(34,197,94,0.06) 100%);
  border-bottom-color: rgba(34,197,94,0.20);
}
.qualify-card.fail .qualify-card-header {
  background: linear-gradient(135deg, rgba(244,78,78,0.12) 0%, rgba(244,78,78,0.06) 100%);
  border-bottom-color: rgba(244,78,78,0.20);
}

.qualify-card-header h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.qualify-card.pass h3 { color: var(--green); }
.qualify-card.fail h3 { color: var(--red); }

.qualify-header-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.qualify-card.pass .qualify-header-dot {
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,0.60);
}
.qualify-card.fail .qualify-header-dot {
  background: var(--red);
  box-shadow: 0 0 8px rgba(244,78,78,0.60);
}

.qualify-items { padding: 0 24px; }

.qualify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.qualify-item:last-child { border-bottom: none; }

.qualify-item::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  opacity: 0.8;
}
.qualify-card.pass .qualify-item::before { background: var(--green); }
.qualify-card.fail .qualify-item::before { background: var(--red); }

/* ── PRICING ── */
#pricing { position: relative; overflow: hidden; }

.pricing-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  /* Accent top border — selected/featured indicator, clearly visible */
  border: 1px solid var(--border-md);
  border-top: 2px solid rgba(61,107,255,0.65);
  border-radius: var(--r-lg);
  overflow: hidden;
  /* Visible elevation + ambient blue glow */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 1px 0 rgba(0,0,0,0.5),
    0 20px 48px rgba(0,0,0,0.32),
    0 0 60px rgba(61,107,255,0.12);
}

.pricing-card-top {
  padding: 36px 36px 28px;
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.price-unit { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.price-compare {
  font-size: 12px;
  color: var(--dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  display: inline-block;
  line-height: 1.5;
}

.pricing-card-features { padding: 0 36px; }

.price-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.price-feat:last-child { border-bottom: none; }
.price-feat::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-h);
  flex-shrink: 0;
  opacity: 0.7;
}

.pricing-card-action {
  padding: 24px 36px 28px;
  border-top: 1px solid var(--border);
}

.pricing-context { padding-top: 8px; }

.pricing-context h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.pricing-context > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.pricing-points { display: flex; flex-direction: column; gap: 16px; }

.pricing-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pricing-point:last-child { border-bottom: none; padding-bottom: 0; }
.pricing-point::before {
  content: "";
  flex-shrink: 0;
  margin-top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--dim);
}

/* ── COMPARISON TABLE ── */
#compare {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.compare-table thead tr { background: rgba(255,255,255,0.015); }

.compare-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dim);
  border-bottom: 1px solid var(--border-md);
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
  line-height: 1.5;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.018); }

/* Our column — clearly highlighted */
.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
  background: rgba(61,107,255,0.07);
  border-left: 1px solid rgba(61,107,255,0.20);
  color: var(--text);
}

/* Accent top bar on our column header */
.compare-table th:nth-child(3) {
  background: rgba(61,107,255,0.12);
  border-top: 2px solid rgba(61,107,255,0.65);
  padding-top: 12px;
  color: #A8C4FF;
}

.val-yes { color: var(--green) !important; font-weight: 500; }
.val-no  { color: var(--red) !important; }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  text-align: center;
  padding: 108px 0;
  overflow: hidden;
}

/* Strong dual-radial atmosphere — makes this section feel like a destination */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -20%, rgba(55,95,255,0.20) 0%, transparent 55%),
    radial-gradient(ellipse 700px 350px at 50% 130%, rgba(20,35,110,0.15) 0%, transparent 55%);
  pointer-events: none;
}

/* Dot grid in CTA too — ties back to hero */
.cta-section {
  background-image: radial-gradient(circle at 1px 1px, rgba(148,163,184,0.06) 1px, transparent 0);
  background-size: 30px 30px;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.cta-section .sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 420px;
  line-height: 1.7;
  position: relative;
}

.cta-section .cta-row { justify-content: center; position: relative; }
.cta-section .trust-line { margin-top: 22px; position: relative; }

/* ── FOOTER ── */
.foot {
  padding: 32px 0;
  background: var(--surface);
  position: relative;
}

/* Gradient top border — fades at edges, blue center */
.foot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border-md) 15%,
    rgba(91,131,255,0.25) 50%,
    var(--border-md) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-copy { font-size: 12px; color: var(--dim); line-height: 1.65; max-width: 580px; }
.foot-links { display: flex; gap: 2px; }

.foot-links a {
  font-size: 13px;
  color: var(--dim);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.14s, background 0.14s;
}
.foot-links a:hover { color: var(--muted); background: rgba(255,255,255,0.05); }

/* ── SUB-PAGES ── */
.page-main { padding: 72px 0 96px; }

.page-card {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 620px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 20px 48px rgba(0,0,0,0.28);
}

.page-card-header {
  padding: 28px 36px 24px;
  border-bottom: 1px solid var(--border);
}

.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-h);
  margin-bottom: 12px;
  opacity: 0.85;
}

.page-card-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.page-card-header .sub { font-size: 15px; color: var(--muted); line-height: 1.65; }

.page-card-body { padding: 0 36px; }

.page-list { display: flex; flex-direction: column; }

.page-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.page-item:last-child { border-bottom: none; }
.page-item::before {
  content: "";
  flex-shrink: 0;
  margin-top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-h);
  opacity: 0.7;
}

.fineprint {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.65;
  padding: 20px 36px;
  border-top: 1px solid var(--border);
}

.page-card-footer {
  padding: 20px 36px 28px;
  border-top: 1px solid var(--border);
}

.contact-rows { display: flex; flex-direction: column; }

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
  min-width: 52px;
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-row a { color: var(--accent-h); font-weight: 500; }
.contact-row a:hover { text-decoration: underline; }

.contact-note {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* ── SERVICE ARCHITECTURE ── */
#services {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 380px at 100% 50%, rgba(61,107,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-md);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  position: relative;
  transition: background 0.22s;
}
.service-card:hover { background: #0A0E18; }

.service-card-inner {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Inset top accent bar */
.card-performance { box-shadow: inset 0 2px 0 rgba(61,107,255,0.60); }
.card-managed     { box-shadow: inset 0 2px 0 rgba(130,90,255,0.50); }

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 22px;
  align-self: flex-start;
}

.service-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tag-performance {
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.28);
}
.tag-performance .service-tag-dot { background: var(--green); }

.tag-managed {
  color: #A89BFF;
  background: rgba(130,90,255,0.10);
  border: 1px solid rgba(130,90,255,0.25);
}
.tag-managed .service-tag-dot { background: #A89BFF; }

.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--dim);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 22px;
}

.service-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.service-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-price-custom { font-size: 22px; }

.service-price-unit {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 160px;
}

.service-features {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 26px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.service-feature:last-child { border-bottom: none; }
.service-feature::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  opacity: 0.8;
}
.card-performance .service-feature::before { background: var(--green); }
.card-managed     .service-feature::before { background: #A89BFF; }

/* ── OPERATIONS FLOW ── */
.ops-section {
  position: relative;
  overflow: hidden;
}

.ops-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.ops-intro {
  position: sticky;
  top: 88px;
}

.ops-intro h2 { margin-bottom: 14px; }

.ops-intro > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 32px;
}

.ops-industry-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin-bottom: 10px;
}

.ops-industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ops-industry-list span {
  font-size: 11px;
  color: var(--dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s;
}
.ops-industry-list span:hover { color: var(--muted); border-color: var(--border-hi); }

.ops-steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  overflow: hidden;
}

.ops-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  transition: background 0.22s;
}
.ops-step + .ops-step { border-top: 1px solid var(--border); }
.ops-step:hover { background: rgba(255,255,255,0.018); }

.ops-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  border-right: 1px solid var(--border);
}

.ops-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-h);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ops-connector {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, var(--border-md) 0%, transparent 100%);
  min-height: 16px;
  margin-top: 6px;
}
.ops-step:last-child .ops-connector { background: none; }

.ops-step-body {
  padding: 22px 22px 22px 18px;
}

.ops-step-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-h);
  margin-bottom: 5px;
  opacity: 0.75;
}

.ops-step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.ops-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ops-tag {
  font-size: 11px;
  color: var(--dim);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .pricing-layout { grid-template-columns: 1fr; gap: 40px; }
  .pricing-card { width: 100%; max-width: 440px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .ops-layout { grid-template-columns: 1fr; gap: 40px; }
  .ops-intro { position: static; }
}

@media (max-width: 768px) {
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 44px; }
  .hero .sub { font-size: 16px; }
  section { padding: 68px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 30px; }
  .qualify-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 32px; }
  .cta-section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .ops-layout { gap: 28px; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brand-text { display: none; }
  .hero h1 { font-size: 36px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .pricing-card-top,
  .pricing-card-features,
  .pricing-card-action { padding-left: 22px; padding-right: 22px; }
  .page-card-header,
  .page-card-body,
  .fineprint,
  .page-card-footer { padding-left: 20px; padding-right: 20px; }
  .qualify-items { padding: 0 18px; }
}
