/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:   #E8470A;
  --orange-d: #C03A06;
  --charcoal: #111214;
  --dark:     #1A1C1F;
  --mid:      #2A2D32;
  --border:   #2E3035;
  --text:     #E8E9EB;
  --muted:    #8B8F98;
  --white:    #FFFFFF;
  --radius:   10px;
  --section-gap: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(17, 18, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}
.logo-icon-sm {
  width: 28px;
  height: 28px;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}
.logo-text span { color: var(--orange); }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--white); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 71, 10, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--white);
}
.btn-outline {
  padding: 8px 20px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ─── EYEBROW ─── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}
.eyebrow.red { color: var(--orange); font-size: 0.75rem; }

.hero .eyebrow {
  font-size: 0.75rem;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(17,18,20,0.65) 0%, rgba(17,18,20,0.85) 60%, rgba(17,18,20,1) 100%),
    url('https://sspark.genspark.ai/cfimages?u1=YIVVGIOG6jGF3LKnIV%2F9af0OVBtmYvzt7pyJ%2FUjHjdLgSg1K5Fy9sb7aNWZSBWy3k59xVbitufidv%2BlOg2ollLU0fAo9%2FHJIi41WfhOweT%2B72kYAgMg04FfVZL3%2Ft4WcdSsLIE9GPyxHiAo3Oo6KFSLnf88hX2ZfC5QrQIYc89Y18itzV3msKdWpGi4%3D&u2=ZSTJCbOuBSy69%2FVm&width=2560')
    center center / cover no-repeat;
  padding-top: 64px;
}

.hero-content {
  padding-top: 80px;
  padding-bottom: 40px;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(232, 233, 235, 0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  background: rgba(26,28,31,0.9);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 180px;
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--section-gap) 0;
}

.section-header {
  margin-bottom: 60px;
}
.section-header.center {
  text-align: center;
}

h2 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── TWO COL ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse .col-text { order: 2; }
.two-col.reverse .col-image { order: 1; }

.col-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.col-text p.eyebrow {
  font-size: 0.75rem;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--orange);
}

.col-image img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  max-height: 420px;
  border: 1px solid var(--border);
}

/* ─── PROBLEM ─── */
.problem {
  background: var(--charcoal);
}

blockquote {
  border-left: 3px solid var(--orange);
  padding: 16px 20px;
  background: rgba(232,71,10,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 28px;
  font-style: italic;
  color: rgba(232,233,235,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}
cite {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--orange);
}

/* ─── SOLUTION ─── */
.solution {
  background: var(--dark);
}

.solution-image-wrap {
  position: relative;
  margin-bottom: 60px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.solution-image-wrap img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 16px 20px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

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

.feature-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ─── */
.how {
  background: var(--charcoal);
}

.steps-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
}

.step-body {
  flex: 1;
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}
.step-arrow {
  font-size: 1.4rem;
  color: var(--border);
  padding-top: 44px;
  flex-shrink: 0;
}

/* CTA BAND */
.cta-band {
  background: var(--dark);
  border-top: 1px solid var(--border);
}

.cta-band-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-band-inner h2 {
  margin-bottom: 16px;
}

.cta-band-inner > p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-email {
  margin-top: 14px !important;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  letter-spacing: 0.02em;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer p {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-tagline {
  font-style: italic;
  opacity: 0.6;
}

/* ─── NAV ACTIVE ─── */
nav a.active { color: var(--white); }

/* ─── FADE IN ─── */
.fade-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col.reverse .col-text { order: 1; }
  .two-col.reverse .col-image { order: 2; }
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .steps-row {
    flex-direction: column;
    gap: 16px;
  }
  .step-arrow { display: none; }
  .val-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root { --section-gap: 64px; }

  .nav-inner nav a:not(.btn-outline) { display: none; }

  .hero h1 { font-size: 2rem; }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }
  .stat:last-child { border-bottom: none; }

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

  .form-row {
    grid-template-columns: 1fr;
  }
}
