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

:root {
  --bg: #080D18;
  --surface: #0F1623;
  --surface-raised: #151D2E;
  --border: rgba(255,255,255,0.07);
  --accent: #3B82F6;
  --accent-glow: rgba(59,130,246,0.15);
  --text: #F1F5F9;
  --muted: #94A3B8;
  --dim: #475569;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(8,13,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 36px; display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93C5FD;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #3B82F6;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #3B82F6, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 0 0 rgba(59,130,246,0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
}

.btn-secondary {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--dim); }

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--dim);
}

/* ── SECTION ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── FEATURES GRID ── */
.features { border-top: 1px solid var(--border); }

.features-header { margin-bottom: 3.5rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.3);
  background: var(--surface-raised);
}

.feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how { border-top: 1px solid var(--border); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 19px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(59,130,246,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3B82F6;
  z-index: 1;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── CTA BAND ── */
.cta-band {
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo img { height: 28px; opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  footer { flex-direction: column; align-items: flex-start; }
}
