:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8b8b9e;
  --fg-dim: #5a5a6e;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00d4aa;
  --green-glow: rgba(0, 212, 170, 0.12);
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === BUTTONS === */
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #8b7cf8 100%);
  color: #fff;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
  transition: box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(108, 92, 231, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
}

@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-glow), transparent),
              radial-gradient(ellipse 60% 40% at 80% 80%, var(--green-glow), transparent);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(108, 92, 231, 0.3);
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--accent-glow);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Terminal */
.hero-visual {
  margin-top: 48px;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: auto;
  margin-right: auto;
  font-family: 'Space Grotesk', monospace;
}

.terminal-body {
  padding: 20px;
  font-family: 'Space Grotesk', monospace;
  font-size: 13px;
  line-height: 2;
}

.line { color: var(--fg-muted); }
.line.active { color: var(--green); }
.prompt { color: var(--accent-light); margin-right: 8px; }
.check { color: var(--green); font-weight: bold; }

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.typing::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--green);
  margin-left: 2px;
}

/* === METRICS === */
.metrics {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.metrics-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.metric {
  text-align: center;
  flex: 1;
  padding: 0 24px;
}

.metric-value {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--fg), var(--fg-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 8px;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* === HOW IT WORKS === */
.how {
  padding: 120px 24px;
}

.how-inner {
  max-width: 700px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  min-width: 60px;
  line-height: 1;
  padding-top: 4px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === FEATURES === */
.features {
  padding: 100px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, var(--accent-glow), transparent);
}

.closing-inner {
  max-width: 650px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.closing-text:last-child {
  color: var(--fg);
  font-weight: 500;
  font-size: 1.2rem;
  margin-top: 24px;
}

/* === HERO CTAs — email capture + Book a Demo === */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.waitlist-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 520px;
}

.waitlist-form--sm {
  max-width: 420px;
}

.waitlist-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-input:focus {
  border-color: rgba(108, 92, 231, 0.5);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.waitlist-input::placeholder { color: var(--fg-dim); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.45);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  color: var(--fg-muted);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}

.btn-secondary--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.waitlist-feedback {
  min-height: 20px;
  font-size: 0.85rem;
  color: var(--fg-dim);
  text-align: center;
  margin-top: 4px;
}

.waitlist-feedback.error { color: #ff9090; }

.waitlist-success {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  padding: 12px 0;
}

.hero-trust {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

/* === POSITIONING SECTION === */
.positioning {
  padding: 100px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.positioning-inner {
  max-width: 700px;
  margin: 0 auto;
}

.positioning-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  border: 1px solid rgba(0, 212, 170, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--green-glow);
}

.positioning h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.positioning-text {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.positioning-points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

.pos-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* === PRICING SECTION === */
.pricing {
  padding: 100px 24px;
}

.pricing-inner {
  max-width: 820px;
  margin: 0 auto;
}

.pricing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s;
}

.pricing-card:hover { border-color: rgba(108, 92, 231, 0.2); }

.pricing-card--featured {
  border-color: rgba(108, 92, 231, 0.35);
  background: linear-gradient(160deg, rgba(108, 92, 231, 0.08), var(--bg-card));
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.plan-price {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.plan-per {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-plan:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

.btn-plan--featured {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn-plan--featured:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.4);
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* === CLOSING CTAs === */
.closing-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .metrics-inner { flex-direction: column; gap: 32px; }
  .metric-divider { width: 60px; height: 1px; }
  .feature-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 12px; }
  .step-number { font-size: 1.8rem; min-width: auto; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .terminal-body { font-size: 11px; padding: 14px; }
  .lede { font-size: 1rem; }
  .waitlist-form { flex-direction: column; }
  .waitlist-input, .btn-primary { width: 100%; justify-content: center; }
  .hero-ctas { width: 100%; padding: 0 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .positioning { padding: 60px 20px; }
  .pricing { padding: 60px 20px; }
  .closing-ctas { padding: 0 16px; }
  .waitlist-form--sm { max-width: 100%; }
}