:root {
  --bg-deep: #0A1628;
  --bg-section: #0E1D33;
  --bg-card: #132741;
  --bg-warm: #FFF8F0;
  --fg-primary: #F0F4FA;
  --fg-secondary: #8A9BBD;
  --fg-muted: #5A6F8F;
  --accent: #FF6B4A;
  --accent-glow: rgba(255, 107, 74, 0.15);
  --accent-secondary: #4AE3C0;
  --gradient-start: #FF6B4A;
  --gradient-end: #FF3D7F;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1140px;
}

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

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

body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 120px 24px 100px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 74, 0.3);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.stat-card-1 .stat-number { color: var(--accent); }
.stat-card-2 .stat-number { color: var(--accent-secondary); }
.stat-card-3 .stat-number { color: #7C8AFF; }
.stat-card-4 .stat-number { color: #FFD166; }

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* === SCALE / PROBLEM SECTION === */
.scale {
  padding: 100px 0;
  background: var(--bg-section);
}

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.scale h2,
.intelligence h2,
.operations h2,
.marketplace-engine h2,
.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 48px;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.problem-icon {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* === INTELLIGENCE SECTION === */
.intelligence {
  padding: 100px 0;
  background: var(--bg-deep);
}

.intel-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.intel-desc {
  font-size: 17px;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-top: -24px;
}

.intel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.intel-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-section);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.intel-feature:hover {
  border-color: rgba(74, 227, 192, 0.3);
}

.feature-marker {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  margin-top: 8px;
}

.intel-feature h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.intel-feature p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* === OPERATIONS SECTION === */
.operations {
  padding: 100px 0;
  background: var(--bg-section);
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}

.ops-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ops-card:hover {
  transform: translateY(-4px);
}

.ops-card-inner {
  padding: 36px 28px;
}

.ops-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.ops-card p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

.ops-card-large {
  border-color: rgba(255, 107, 74, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 74, 0.05) 100%);
}

.ops-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ops-metric-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.ops-metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-secondary);
  background: rgba(74, 227, 192, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
}

/* === MARKETPLACE ENGINE === */
.marketplace-engine {
  padding: 100px 0;
  background: var(--bg-deep);
}

.engine-desc {
  font-size: 17px;
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-top: -24px;
  margin-bottom: 48px;
}

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

.engine-item {
  padding: 32px 28px;
  background: var(--bg-section);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s ease;
}

.engine-item:hover {
  border-color: rgba(255, 107, 74, 0.25);
}

.engine-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engine-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.engine-item p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

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

.closing-content {
  max-width: 720px;
  margin: 0 auto;
}

.closing h2 {
  margin-bottom: 24px;
}

.closing p {
  font-size: 18px;
  color: var(--fg-secondary);
  line-height: 1.75;
}

.closing-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 107, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* === FOOTER === */
.site-footer {
  padding: 40px 0;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg-primary);
}

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

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 80px 24px 60px;
  }
  .problems-grid {
    grid-template-columns: 1fr;
  }
  .intel-features {
    grid-template-columns: 1fr;
  }
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .engine-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .scale h2,
  .intelligence h2,
  .operations h2,
  .marketplace-engine h2,
  .closing h2 {
    font-size: 1.6rem;
  }
  .hero-visual {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 20px 18px;
  }
  .engine-item {
    flex-direction: column;
    gap: 12px;
  }
  section {
    padding: 60px 0;
  }
  .closing {
    padding: 80px 0;
  }
}