/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7C3AED;
  --purple-light: #EDE9FE;
  --purple-dark: #5B21B6;
  --navy: #1E1B4B;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
}

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); z-index: 100;
}
.nav-brand { font-size: 20px; font-weight: 700; color: var(--purple); }
.nav-links  { display: flex; gap: 12px; align-items: center; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; padding: 10px 20px;
  border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all .18s; }
.btn-primary  { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-outline  { border-color: var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple-light); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 80px 40px 60px;
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 50%, #DBEAFE 100%);
  min-height: 520px;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-block; background: var(--purple); color: #fff;
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px; letter-spacing: .02em;
}
.hero-content h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.15; font-weight: 800; color: var(--navy); }
.hero-highlight { color: var(--purple); }
.hero-sub { font-size: 18px; color: var(--muted); margin: 20px 0 32px; line-height: 1.6; }
.hero-cta  { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero art */
.hero-art { position: relative; width: 340px; height: 340px; flex-shrink: 0; }
.art-circle {
  position: absolute; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 32px; animation: float 6s ease-in-out infinite;
}
.c1 { width: 100px; height: 100px; background: #7C3AED22; top: 10%; left: 20%; animation-delay: 0s; }
.c2 { width: 80px; height: 80px; background: #2563EB22; top: 50%; left: 60%; animation-delay: 1s; }
.c3 { width: 90px; height: 90px; background: #05966922; top: 15%; left: 60%; animation-delay: 2s; }
.c4 { width: 70px; height: 70px; background: #D9770622; top: 65%; left: 15%; animation-delay: 0.5s; }
.c5 { width: 110px; height: 110px; background: #DC262622; top: 55%; left: 38%; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features { padding: 72px 40px; text-align: center; }
.features h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ── How it works ─────────────────────────────────────────────────────────── */
.how-it-works { background: #F9FAFB; padding: 72px 40px; text-align: center; }
.how-it-works h2 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 48px; }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { max-width: 220px; text-align: center; }
.step-num {
  width: 52px; height: 52px; background: var(--purple); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p   { color: var(--muted); font-size: 14px; line-height: 1.5; }
.step-arrow { font-size: 28px; color: var(--purple); font-weight: 700; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; padding: 28px 40px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 14px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--purple); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .hero { flex-direction: column; padding: 48px 20px 40px; min-height: unset; }
  .hero-art { display: none; }
  .features, .how-it-works { padding: 48px 20px; }
  .footer { padding: 20px; flex-direction: column; text-align: center; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}
