@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --primary:   #0053ff;
  --secondary: #d92b90;
  --accent:    #ff8ea0;
  --lime:      #f4fc84;
  --bg:        #f5f6fa;
  --dark:      #0a0f2c;
  --text:      #1a1a2e;
  --text-muted: #5a6278;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: white;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(0,83,255,.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,83,255,.4);
}
.btn-ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: white;
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255,255,255,.2);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,.3);
}

/* ── Section shared ──────────────────────── */
section {
  display: flex;
  padding: 5rem 0;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 2rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

/* ── Hero ────────────────────────────────── */
.hero {
  background: linear-gradient(170deg, #dce9ff 0%, #f0f5ff 40%, #ffffff 100%);
  text-align: center;
  padding: 0;
  min-height: 100vh;
}

.hero-logo {
  margin-bottom: 1rem;
}

.hero-logo img,
.hero-logo svg {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.wordmark {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0;
  line-height: 1;
}
.wordmark-infra   { color: var(--primary); }
.wordmark-harmony { color: var(--secondary); }

.hero .kicker {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.15;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero .sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-credentials-hint {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.hero-credentials-hint a {
  color: var(--primary);
  text-decoration: none;
}
.hero-credentials-hint a:hover {
  text-decoration: underline;
}

/* ── Problem ─────────────────────────────── */
.problem {
  background: white;
  text-align: center;
}

.problem h2 { color: var(--text); }

.problem .intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg);
  padding: 2rem 1rem 1.75rem;
  border-radius: 1.25rem;
}

.stat-card .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
  font-weight: 600;
}

.graph-wrap {
  margin: 0 0 2.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,15,44,.10);
  background: #f0f1f3;
}

.graph-img {
  display: block;
  width: 100%;
  height: auto;
}

.problem .outro {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ── Features ────────────────────────────── */
.features {
  background: var(--bg);
  text-align: center;
}

.features h2 { margin-bottom: 0.5rem; }

.features .lead {
  color: var(--text-muted);
  margin: 0 auto 3rem;
  max-width: 520px;
}

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

.feature-card {
  background: white;
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  text-align: left;
  box-shadow: 0 2px 12px rgba(10,15,44,.06);
}

.feature-card .icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ── How it works ────────────────────────── */
.how {
  background: white;
  text-align: center;
}

.how h2 { margin-bottom: 3rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% / 3 + 1.5rem);
  right: calc(50% / 3 + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step { position: relative; z-index: 1; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3b7eff);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(0,83,255,.3);
}

.step h3 {
  font-weight: 800;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ── Demo CTA ────────────────────────────── */
.demo {
  background: var(--primary);
  color: white;
  text-align: center;
}

.demo h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.demo .sub {
  opacity: 0.8;
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  max-width: 480px;
}

.credentials {
  display: inline-block;
  margin-top: 2.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 0.9rem;
}

.credentials p {
  margin: 0 0 0.75rem;
  font-weight: 700;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 0.75rem;
}

.credentials table { border-collapse: collapse; }
.credentials td { padding: 0.25rem 0; }
.credentials td:first-child {
  padding-right: 1.5rem;
  opacity: 0.7;
  font-weight: 600;
}
.credentials td:last-child { font-family: monospace; font-size: 0.95rem; }

.demo-credentials-hint {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
}
.demo-credentials-hint a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-credentials-hint a:hover {
  color: rgba(255,255,255,.85);
}

/* ── Footer ──────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

footer a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
}

footer a:hover { color: rgba(255,255,255,.9); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 1rem 0 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .btn { justify-content: center; }
}
