:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a26;
  --fg-primary: #e8e8f0;
  --fg-secondary: #8888a0;
  --fg-muted: #555570;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.3);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(88, 60, 255, 0.15) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-tag::before {
  content: '';
  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.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--fg-primary);
}

.hero h1 span {
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero visual - fake performance card */
.hero-visual {
  position: relative;
}

.perf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

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

.perf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.perf-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.perf-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
}

.perf-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.perf-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.perf-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}

.perf-bar {
  flex: 1;
  background: var(--accent-dim);
  border-radius: 2px 2px 0 0;
  min-height: 8px;
  transition: height 0.3s ease;
}

.perf-bar.active {
  background: var(--accent);
}

.perf-months {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.perf-months span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
}

/* Floating stats */
.stat-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.stat-float.top-right {
  top: -20px;
  right: -20px;
}

.stat-float.bottom-left {
  bottom: -16px;
  left: -16px;
}

.stat-float-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-float-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-primary);
}

.stat-float-value.green { color: var(--accent); }

/* ============ HOW IT WORKS ============ */
.how-section {
  padding: 120px 0;
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 64px;
  max-width: 600px;
}

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

.how-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s ease;
}

.how-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
}

.how-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--bg-card);
  line-height: 1;
  margin-bottom: 24px;
  -webkit-text-stroke: 1px var(--fg-muted);
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.how-card p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ============ EDGE SECTION ============ */
.edge-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.edge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.edge-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.edge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
}

.edge-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.edge-item p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* Comparison table */
.compare-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 16px 24px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: none; }

.compare-row.header {
  background: rgba(0, 212, 170, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  padding: 12px 24px;
}

.compare-row span:first-child {
  color: var(--fg-secondary);
  font-size: 13px;
}

.compare-row span {
  text-align: center;
}

.compare-row span:first-child {
  text-align: left;
}

.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--fg-muted); }
.partial { color: #ffaa00; }

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

.closing-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-secondary);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }
  .hero { padding: 100px 0 60px; }
  .how-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; gap: 48px; }
  .container { padding: 0 24px; }
  .stat-float.top-right { top: -12px; right: -8px; }
  .stat-float.bottom-left { bottom: -12px; left: -8px; }
  .compare-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; font-size: 11px; padding: 12px 16px; }
  .closing-section { padding: 100px 0; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}