:root {
  --navy: #0F172A;
  --teal: #14B8A6;
  --teal-light: #5EEAD4;
  --teal-dark: #0D9488;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --navy-light: #1E293B;
  --navy-medium: #334155;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Hero */
.hero {
  background: var(--navy);
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 100px;
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

.hero .lede {
  font-size: 1.2rem;
  color: var(--slate-light);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(100, 116, 139, 0.2);
}

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

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Problem */
.problem {
  padding: 100px 24px;
  background: var(--white);
}

.problem-container {
  max-width: 900px;
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 48px;
  color: var(--navy);
}

.problem-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.problem-card {
  flex: 1;
  min-width: 140px;
  padding: 24px 16px;
  background: var(--off-white);
  border-radius: 12px;
  text-align: center;
  border: 1px solid #E2E8F0;
}

.problem-icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.4;
}

.problem-arrow {
  color: var(--slate-light);
  font-size: 1.2rem;
}

.problem-statement {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
  padding: 24px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), rgba(20, 184, 166, 0.02));
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
}

/* Features */
.features {
  padding: 100px 24px;
  background: var(--off-white);
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 56px;
  color: var(--navy);
}

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

.feature-card {
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.08);
}

.feature-primary {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: var(--navy);
}

.feature-primary h3 {
  color: var(--white);
}

.feature-primary p {
  color: var(--slate-light);
}

.feature-primary .feature-tag {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-light);
}

.feature-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-dark);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 100px 24px;
  background: var(--white);
}

.hiw-container {
  max-width: 800px;
  margin: 0 auto;
}

.hiw-container h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 64px;
  color: var(--navy);
}

.hiw-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  padding: 32px 0;
  position: relative;
  padding-left: 80px;
}

.hiw-number {
  position: absolute;
  left: 0;
  top: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.08);
  border-radius: 12px;
}

.hiw-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.hiw-step p {
  font-size: 0.95rem;
  color: var(--slate);
}

.hiw-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  margin-left: 27px;
}

/* Closing */
.closing {
  padding: 120px 24px;
  background: var(--navy);
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 24px;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--slate-light);
  margin-bottom: 48px;
  line-height: 1.7;
}

.closing-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.closing-details span {
  padding: 8px 20px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 100px;
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 48px 24px;
  background: var(--navy-light);
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .problem-grid {
    flex-direction: column;
  }

  .problem-arrow {
    transform: rotate(90deg);
  }

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

  .feature-primary {
    grid-column: 1;
  }

  .hiw-step {
    padding-left: 64px;
  }

  .hiw-number {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .hiw-connector {
    margin-left: 21px;
  }

  .closing-details {
    flex-direction: column;
    align-items: center;
  }
}