:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-accent: #1a1208;
  --text-primary: #e8e0d4;
  --text-secondary: #8a8278;
  --text-muted: #5a554e;
  --accent: #d4551a;
  --accent-light: #e8722e;
  --brass: #c9a96e;
  --rust: #8b3a0e;
  --steel: #3a3a3a;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,85,26,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid rgba(212,85,26,0.3);
  display: inline-block;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--steel);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brass);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--steel);
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--bg-secondary);
  padding: 100px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-statement {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.problem-detail {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--rust);
}

.problem-x {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rust);
  font-size: 1rem;
  min-width: 20px;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-accent);
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--steel);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ===== STACK / PIPELINE ===== */
.stack {
  background: var(--bg-secondary);
  padding: 100px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stack .section-label {
  text-align: center;
}

.stack-sub {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 60px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.pipe-step {
  flex: 1;
  background: var(--bg-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.03);
  max-width: 200px;
}

.pipe-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

.pipe-content h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: 8px;
}

.pipe-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: 1.2rem;
  padding: 0 8px;
  min-width: 32px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 40px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.closing-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.footer-divider {
  color: var(--steel);
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ===== CTA BUTTON ===== */
.hero-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 36px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.hero-cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.hero-cta-btn:active {
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .pipeline {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .pipe-step {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .pipe-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .pipe-num {
    font-size: 1.5rem;
    min-width: 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 24px 40px;
    min-height: 80vh;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .problem,
  .features,
  .stack,
  .closing {
    padding: 60px 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .problem-statement {
    font-size: 1.25rem;
  }

  .closing h2 {
    font-size: 1.8rem;
  }

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

  .footer-divider {
    display: none;
  }
}