@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --bg-deep: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: #1a2235;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #5a6477;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-soft: #fbbf24;
  --gradient-night: linear-gradient(180deg, #0a0e1a 0%, #111827 40%, #1a1f3a 100%);
  --gradient-dawn: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  background: var(--gradient-night);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 20%, rgba(245, 158, 11, 0.06), transparent),
              radial-gradient(ellipse 40% 30% at 80% 60%, rgba(99, 102, 241, 0.04), transparent);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: var(--gradient-dawn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--fg-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stars decoration */
.stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; left: 75%; animation-delay: 0.7s; }
.star:nth-child(3) { top: 5%; left: 45%; animation-delay: 1.4s; }
.star:nth-child(4) { top: 35%; left: 90%; animation-delay: 0.3s; }
.star:nth-child(5) { top: 15%; left: 60%; animation-delay: 2.1s; }
.star:nth-child(6) { top: 40%; left: 25%; animation-delay: 1.1s; }
.star:nth-child(7) { top: 8%; left: 85%; animation-delay: 1.8s; }
.star:nth-child(8) { top: 30%; left: 10%; animation-delay: 0.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--gradient-dawn);
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft), rgba(245, 158, 11, 0.1));
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.timeline-marker {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  z-index: 1;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content .time-label {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--fg-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  background: var(--bg-deep);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0f1629 50%, #141b30 100%);
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.closing h2 .highlight {
  background: var(--gradient-dawn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing p {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  padding: 2rem;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

footer a {
  color: var(--fg-muted);
  text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-marker { width: 40px; height: 40px; font-size: 0.9rem; }
  .timeline-item { gap: 1.25rem; }
  .hero { min-height: 90vh; padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 1rem; }
  .hero .lede { font-size: 1.05rem; }
}