:root {
  --bg: #080b10;
  --bg-elevated: #0e1219;
  --bg-card: #141922;
  --fg: #e8e6e3;
  --fg-muted: #8a8c96;
  --fg-dim: #4d5060;
  --accent: #e84c3d;
  --accent-glow: rgba(232, 76, 61, 0.12);
  --accent-bright: #ff6b5b;
  --accent-green: #2ecc71;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 76, 61, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(46, 204, 113, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(232, 76, 61, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

/* CTA button */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.cta-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translate(2px, -2px);
}

/* Scoreboard visual */
.hero-visual {
  margin-top: 4.5rem;
  position: relative;
  z-index: 1;
}

.scoreboard {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  min-width: 320px;
}

.scoreboard-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: background 0.2s ease;
}

.scoreboard-row:last-child {
  border-bottom: none;
}

.scoreboard-row:hover {
  background: var(--bg-card);
}

.team {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 60px;
}

.divider {
  color: var(--fg-dim);
  font-size: 0.7rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ---- PROBLEM ---- */
.problem {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

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

.problem-label,
.features-label,
.workflow-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.problem h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 700px;
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  border-top: 2px solid var(--accent);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
}

.problem-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- FEATURES ---- */
.features {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.features-inner {
  max-width: 900px;
  margin: 0 auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:first-child {
  padding-top: 0;
}

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

.feature-icon {
  font-size: 1.5rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(232, 76, 61, 0.15);
  border-radius: 6px;
  flex-shrink: 0;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.93rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ---- WORKFLOW ---- */
.workflow {
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}

.workflow-inner {
  max-width: 900px;
  margin: 0 auto;
}

.workflow h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 3.5rem;
}

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

.workflow-step {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 70px;
}

.step-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.93rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  border-top: 1px solid var(--border);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.closing-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

.closing-credits {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

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

  .feature-item {
    flex-direction: column;
    gap: 1rem;
  }

  .workflow-step {
    flex-direction: column;
    gap: 1rem;
  }

  .step-number {
    font-size: 2rem;
    width: auto;
  }

  .hero {
    min-height: 70vh;
    padding: 4rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .scoreboard {
    min-width: 0;
    width: 100%;
  }

  .problem,
  .features,
  .workflow {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}
