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

:root {
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --purple-600: #9333ea;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--slate-950);
  color: var(--slate-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--purple-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.logo-icon-sm {
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 7px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--slate-200);
  background: rgba(30, 41, 59, 0.6);
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
  color: #fff;
}

.btn-primary {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-400);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-400);
}

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

/* ─── Features ─────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-400);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
}

/* ─── How it works ─────────────────────────────────────────────────────── */
.how-it-works {
  padding: 80px 0 100px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--purple-600));
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-400);
}

/* ─── CTA ──────────────────────────────────────────────────────────────── */
.cta {
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(147, 51, 234, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 24px;
  padding: 64px 32px;
}

.cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: var(--slate-400);
  margin-bottom: 32px;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-tagline {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
}

.footer-copy {
  font-size: 13px;
  color: var(--slate-600);
}

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 120px 0 60px; }
  .hero-sub { font-size: 16px; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
