:root {
  --bg: #0c0c0f;
  --bg-secondary: #141419;
  --fg: #ffffff;
  --fg-muted: #8888a0;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.3);
  --border: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(12, 12, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero .lede {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 3s ease-out infinite;
}

.pulse-ring-2 {
  animation-delay: 1s;
}

.pulse-ring-3 {
  animation-delay: 2s;
}

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

.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px var(--accent-glow);
  color: white;
}

/* Features */
.features {
  padding: 120px 40px;
  background: var(--bg-secondary);
}

.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.features-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 18px;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

.feature p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 120px 40px;
}

.how-it-works-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.how-it-works-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.how-it-works-header p {
  color: var(--fg-muted);
  font-size: 18px;
}

.steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  text-align: center;
}

.step-number {
  font-family: 'Space Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 160px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.footer-copy {
  color: var(--fg-muted);
  font-size: 12px;
  opacity: 0.5;
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 100px 20px 60px;
  }
  
  .features {
    padding: 80px 20px;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .closing {
    padding: 100px 20px;
  }
}