:root {
  --bg: #0b0c16;
  --accent: #7c5cff;
  --accent-soft: #a78bfa;
  --text: #f4f4f6;
  --text-dim: rgba(244, 244, 246, 0.6);
  --text-dimmer: rgba(244, 244, 246, 0.4);
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 20% 15%, rgba(124, 92, 255, 0.2), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.14), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(236, 72, 153, 0.12), transparent 40%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(11, 12, 22, 0.6);
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

header.site img.logo {
  height: 22px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.35);
}

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

.btn-ghost {
  color: var(--text-dim);
  border-color: var(--border);
  background: var(--glass);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.4);
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid rgba(124, 92, 255, 0.3);
  background: rgba(124, 92, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 14px 28px;
  font-size: 15px;
}

/* timeline glow decoration */
.timeline-glow {
  height: 3px;
  max-width: 480px;
  margin: 64px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 92, 255, 0.15) 15%,
    rgba(167, 139, 250, 0.75) 40%,
    rgba(236, 72, 153, 0.45) 55%,
    rgba(124, 92, 255, 0.15) 85%,
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sections */
section {
  padding: 72px 0;
}

section .section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

section .section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

section .section-head p {
  color: var(--text-dim);
  margin: 0;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  transform: translateY(-2px);
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

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

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 54px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.4);
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

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

/* Final CTA */
.cta {
  text-align: center;
  padding: 90px 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 18px;
  font-weight: 700;
}

.cta p {
  color: var(--text-dim);
  margin: 0 0 32px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site p {
  margin: 0;
  color: var(--text-dimmer);
  font-size: 0.85rem;
}

footer.site img.icon {
  height: 18px;
  width: auto;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
}
