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

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --credito: #16a34a;
  --hero-bg: #0b1220;
  --hero-bg-2: #132040;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.08);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
}

.eyebrow--muted {
  color: var(--primary);
}

/* Topbar */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand__name {
  font-weight: 700;
  color: #fff;
}

.brand--footer .brand__name {
  color: var(--text);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__nav a:not(.btn) {
  font-size: 0.9375rem;
  color: #cbd5e1;
  transition: color 0.2s;
}

.topbar__nav a:not(.btn):hover {
  color: #fff;
}

.topbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.topbar__toggle-bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.topbar__toggle-bar + .topbar__toggle-bar {
  margin-top: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--light {
  background: #fff;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 1rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(22, 163, 74, 0.12), transparent 55%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-2) 55%, var(--bg) 100%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}

.hero__copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #86efac, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.0625rem;
  color: #94a3b8;
  max-width: 38ch;
  margin-bottom: 28px;
}

.hero__lead strong {
  color: #e2e8f0;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero__trust {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 22px;
  max-width: 36ch;
}

.hero__pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__pills li {
  font-size: 0.8125rem;
  color: #cbd5e1;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hero__caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

/* Browser frame */

.browser-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.browser-frame--shadow {
  border-color: var(--border);
  background: var(--surface);
}

.browser-frame__chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-frame--shadow .browser-frame__chrome {
  background: #f8fafc;
  border-bottom-color: var(--border);
}

.browser-frame__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.browser-frame--shadow .browser-frame__chrome span:nth-child(1) { background: #fca5a5; }
.browser-frame--shadow .browser-frame__chrome span:nth-child(2) { background: #fde68a; }
.browser-frame--shadow .browser-frame__chrome span:nth-child(3) { background: #86efac; }

/* Pains */

.pains {
  padding: 56px 0 24px;
}

.pains__header {
  max-width: 560px;
  margin-bottom: 32px;
}

.pains__header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pains__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}

.pain-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.pain-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Pillars */

.pillars {
  padding: 48px 0 72px;
}

.pillars__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.pillars__intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pillars__cta {
  text-align: center;
  margin-top: 32px;
}

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

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.pillar-card__icon--plan {
  background: #dbeafe;
  color: var(--primary);
}

.pillar-card__icon--track {
  background: #dcfce7;
  color: var(--credito);
}

.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pillar-card p {
  color: var(--text-muted);
}

/* Showcase */

.showcase {
  padding: 72px 0;
}

.showcase--alt {
  background: linear-gradient(180deg, #eef2ff 0%, var(--bg) 100%);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.showcase__grid--reverse {
  direction: rtl;
}

.showcase__grid--reverse > * {
  direction: ltr;
}

.showcase__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.showcase__copy p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.shot-stack {
  position: relative;
}

.shot-stack .browser-frame--offset {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: 72%;
  border: 3px solid var(--surface);
}

.shot-stack__label {
  position: absolute;
  left: 8px;
  top: 52px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.shots-duo {
  display: grid;
  gap: 16px;
}

.shots-duo__item figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.shots-duo__item--highlight figcaption {
  color: var(--primary);
}

/* Steps */

.steps {
  padding: 72px 0;
}

.steps__header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

.steps__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #dbeafe;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* CTA */

.cta-band {
  padding: 0 0 80px;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  box-shadow: 0 20px 50px var(--primary-glow);
}

.cta-band__inner h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 10px;
}

.cta-band__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 8px;
}

.cta-band__inner > p {
  color: #dbeafe;
  max-width: 52ch;
  margin-bottom: 16px;
}

.cta-band__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.cta-band__perks li {
  font-size: 0.875rem;
  color: #bfdbfe;
  padding-left: 18px;
  position: relative;
}

.cta-band__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #86efac;
  font-weight: 700;
}

.cta-band__action {
  text-align: center;
  flex-shrink: 0;
}

.cta-band__note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: #bfdbfe;
}

/* Footer */

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

/* Responsive */

@media (max-width: 960px) {
  .hero__grid,
  .showcase__grid,
  .pillars__grid,
  .pains__grid,
  .steps__list {
    grid-template-columns: 1fr;
  }

  .showcase__grid--reverse {
    direction: ltr;
  }

  .shot-stack .browser-frame--offset {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .shot-stack__label {
    top: auto;
    bottom: calc(100% - 12px);
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band__action {
    width: 100%;
  }

  .cta-band__action .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .topbar__nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(11, 18, 32, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
  }

  .topbar__nav.is-open {
    display: flex;
  }

  .topbar__nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .topbar__nav .btn {
    margin-top: 12px;
    width: 100%;
  }

  .hero {
    padding-top: 104px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
