:root {
  --bg: #0B1426;
  --bg-elevated: #111D33;
  --bg-card: #152240;
  --fg: #F8F6F2;
  --fg-muted: #9BA8C4;
  --accent: #F5A623;
  --accent-glow: rgba(245, 166, 35, 0.15);
  --accent-bright: #FFD080;
  --negative: #FF6B6B;
  --positive: #4ADE80;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1140px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 28px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 10;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.nav-logo-accent {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.6;
}

/* Hero visual - automation flow */
.hero-visual {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 60px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  justify-content: center;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 12px;
  padding: 20px 28px;
  min-width: 150px;
}

.flow-node span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}

.flow-icon {
  font-size: 28px;
  line-height: 1;
}

.flow-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245,166,35,0.1), var(--accent), rgba(245,166,35,0.1));
  flex-shrink: 0;
}

.flow-node-3 {
  border-color: rgba(74,222,128,0.3);
}

.flow-node-3 .flow-icon {
  color: var(--positive);
}

/* ===== PROOF / STATS BAR ===== */
.proof {
  border-top: 1px solid rgba(245,166,35,0.1);
  border-bottom: 1px solid rgba(245,166,35,0.1);
  background: var(--bg-elevated);
  padding: 48px var(--gutter);
}

.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}

.proof-label {
  display: block;
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
  max-width: 200px;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(245,166,35,0.15);
}

/* ===== SECTION SHARED ===== */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 48px;
  max-width: 520px;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px var(--gutter);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(155,168,196,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(245,166,35,0.25);
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 24px;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===== PROCESS ===== */
.process {
  padding: 100px var(--gutter);
  background: var(--bg-elevated);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(155,168,196,0.06);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(245,166,35,0.15);
  min-width: 80px;
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

.step-content p {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ===== EDGE ===== */
.edge {
  padding: 100px var(--gutter);
}

.edge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.edge-lead {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.edge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edge-list li {
  font-size: 16px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.edge-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.edge-list li strong {
  color: var(--fg);
}

.edge-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.edge-card {
  border-radius: 14px;
  padding: 28px 24px;
}

.edge-card-1 {
  background: rgba(155,168,196,0.05);
  border: 1px solid rgba(155,168,196,0.08);
}

.edge-card-2 {
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.2);
}

.edge-card-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.edge-card-label.accent {
  color: var(--accent);
}

.edge-card-item {
  font-size: 15px;
  color: var(--fg-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(155,168,196,0.06);
}

.edge-card-item:last-child {
  border-bottom: none;
}

.edge-card-item.dim {
  color: var(--negative);
  opacity: 0.7;
}

.edge-card-item.glow {
  color: var(--positive);
  font-weight: 500;
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 100px var(--gutter);
  background: var(--bg-elevated);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.outcome-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid rgba(155,168,196,0.06);
}

.outcome-metric {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.outcome-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing {
  position: relative;
  padding: 120px var(--gutter);
  text-align: center;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-headline {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 20px;
}

.closing-sub {
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-display);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px var(--gutter);
  border-top: 1px solid rgba(155,168,196,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.footer-text {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .edge-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    flex-direction: column;
    gap: 0;
  }

  .flow-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(245,166,35,0.1), var(--accent), rgba(245,166,35,0.1));
  }

  .proof-inner {
    flex-direction: column;
    gap: 32px;
  }

  .proof-divider {
    width: 48px;
    height: 1px;
  }

  .process-step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    font-size: 36px;
    min-width: auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }
}