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

:root {
  --bg-primary: #09090b;
  --bg-secondary: #131316;
  --bg-card: #1a1a1f;
  --fg-primary: #fafafa;
  --fg-secondary: #a1a1aa;
  --fg-muted: #71717a;
  --accent: #c084fc;
  --accent-glow: rgba(192, 132, 252, 0.15);
  --accent-hot: #e879f9;
  --border: #27272a;
  --gradient-purple: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #22d3ee 100%);
  --gradient-dark: linear-gradient(180deg, #09090b 0%, #131316 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, rgba(129, 140, 248, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(192, 132, 252, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
  font-weight: 500;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 28px;
}

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

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

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* FEATURES */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}

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

.feature-card {
  background: var(--bg-secondary);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card);
}

.feature-card:first-child {
  border-radius: 16px 0 0 0;
}

.feature-card:nth-child(3) {
  border-radius: 0 16px 0 0;
}

.feature-card:nth-child(4) {
  border-radius: 0 0 0 16px;
}

.feature-card:last-child {
  border-radius: 0 0 16px 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(192, 132, 252, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* COMPARISON */
.comparison {
  padding: 120px 0;
  position: relative;
}

.comparison::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  color: var(--fg-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
}

.comparison-table th.highlight {
  color: var(--accent);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
  color: var(--fg-secondary);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--fg-primary);
}

.comparison-table td.highlight {
  color: var(--accent);
  font-weight: 500;
}

.comparison-table tr:hover td {
  background: rgba(192, 132, 252, 0.03);
}

/* CLOSING */
.closing {
  padding: 160px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.1;
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .feature-card {
    border-radius: 0 !important;
  }

  .feature-card:first-child {
    border-radius: 16px 16px 0 0 !important;
  }

  .feature-card:last-child {
    border-radius: 0 0 16px 16px !important;
  }

  .hero-stats {
    gap: 32px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  footer .container {
    flex-direction: column;
    gap: 12px;
  }
}
