:root {
  color-scheme: light;
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-alt: #0d0f1f;
  --text: #0b1020;
  --muted: #5e6478;
  --accent: #6c63ff;
  --accent-dark: #4d43f0;
  --accent-soft: #e7e7ff;
  --shadow: 0 24px 48px rgba(13, 15, 31, 0.15);
  --radius: 24px;
}

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

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.hero {
  background: radial-gradient(circle at top left, #f7d8ff 0%, #f5f6fb 45%, #dbe7ff 100%);
  padding: 32px 6vw 120px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.logo {
  font-weight: 700;
  display: flex;
  flex-direction: column;
  font-size: 20px;
}

.logo small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(108, 99, 255, 0.3);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(108, 99, 255, 0.35);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(108, 99, 255, 0.4);
  box-shadow: none;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 2vw + 2rem, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.subhead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

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

.hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-metrics h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-metrics p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-card li::before {
  content: "●";
  color: var(--accent);
  margin-right: 8px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.section {
  padding: 90px 6vw;
}

.section.alt {
  background: var(--surface-alt);
  color: #f7f7ff;
}

.section.alt .eyebrow {
  color: #d5d8ff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(2rem, 1.2vw + 1.8rem, 3rem);
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
}

.section.alt .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: var(--surface);
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.section.alt .card {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card.highlight {
  border-left: 4px solid var(--accent);
}

.tag {
  display: inline-flex;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.section.alt .tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.stack {
  display: grid;
  gap: 20px;
}

.stack-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 18px;
}

.stack-item span {
  font-weight: 700;
  font-size: 1.5rem;
  color: #cdd3ff;
}

.gradient-panel {
  background: linear-gradient(140deg, rgba(108, 99, 255, 0.2), rgba(255, 255, 255, 0.05));
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gradient-panel ul {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.gradient-panel li::before {
  content: "✓";
  color: #b8c1ff;
  margin-right: 8px;
}

.pill {
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.section.alt .pill {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.cta {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  padding: 48px 6vw 64px;
  background: var(--surface-alt);
  color: #f7f7ff;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer a {
  color: #fff;
}

.small {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-metrics {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
