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

:root {
  --neon: #d2ff00;
  --bg: #171717;
  --surface: #1e1e1e;
  --surface2: #252525;
  --border: rgba(210,255,0,0.12);
  --text: #f0f0f0;
  --muted: #888;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 64px;
  background: rgba(23,23,23,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  justify-self: start;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  justify-self: center;
}

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

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

.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s, background 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(210,255,0,0.45), 0 0 8px rgba(210,255,0,0.2);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
}

/* SECTIONS */
section {
  width: 100%;
}

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

/* HERO */
#hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(210,255,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210,255,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(210,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(210,255,0,0.08);
  border: 1px solid rgba(210,255,0,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--neon);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.hero-headline .accent { color: var(--neon); }

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: #999;
  margin-bottom: 40px;
  max-width: 440px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary { font-size: 15px; padding: 14px 28px; }
.hero-actions .btn-secondary { font-size: 15px; padding: 14px 28px; }

.hero-meta {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #555;
  letter-spacing: 0.06em;
}

/* DASHBOARD MOCKUP */
.dashboard-mockup {
  position: relative;
}

.window-frame {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04), 0 0 80px rgba(210,255,0,0.04);
}

.window-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-content {
  padding: 20px;
}

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

.dash-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon);
  letter-spacing: 0.06em;
}

.dash-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
  animation: pulse 1.5s infinite;
}

/* Telemetry chart */
.telemetry-chart {
  background: #141414;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}

.chart-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #555;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.chart-svg {
  width: 100%;
  height: 80px;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.stat-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 12px 14px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-value.neon { color: var(--neon); }
.stat-value.positive { color: #4ade80; }
.stat-value.negative { color: #f87171; }

/* Lap comparison */
.lap-comparison {
  background: #141414;
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.04);
}

.lap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.lap-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #777;
}

.lap-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.lap-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.lap-delta.best { color: var(--neon); }
.lap-delta.worse { color: #f87171; }

/* AI Insight panel */
.ai-panel {
  background: rgba(210,255,0,0.04);
  border: 1px solid rgba(210,255,0,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ai-icon {
  width: 24px;
  height: 24px;
  background: rgba(210,255,0,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

.ai-text {
  font-size: 11px;
  line-height: 1.5;
  color: #aaa;
}

.ai-text strong {
  color: var(--neon);
  font-weight: 600;
}

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

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

.section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: #777;
  max-width: 480px;
  line-height: 1.6;
}

.features-header {
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 40px;
  transition: background 0.25s;
  cursor: default;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(210,255,0,0.08);
  border: 1px solid rgba(210,255,0,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--neon);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
}

/* HOW IT WORKS */
#how {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(210,255,0,0.3), rgba(210,255,0,0.1), rgba(210,255,0,0.3));
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 40px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(210,255,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

/* PREVIEW */
#preview {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.preview-mockup {
  margin-top: 64px;
  position: relative;
}

.preview-window {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 60px 160px rgba(0,0,0,0.7), 0 0 120px rgba(210,255,0,0.03);
}

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.preview-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}

.preview-sidebar {
  background: #141414;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}

.sidebar-section {
  padding: 0 16px;
  margin-bottom: 24px;
}

.sidebar-section-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #444;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 8px;
  margin-bottom: 6px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sidebar-item:hover { background: rgba(255,255,255,0.04); color: #aaa; }

.sidebar-item.active {
  background: rgba(210,255,0,0.08);
  color: var(--neon);
}

.sidebar-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.preview-main {
  padding: 24px;
  background: #171717;
}

.preview-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.track-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.track-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #555;
  margin-top: 2px;
}

.big-chart {
  background: #141414;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.chart-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #666;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

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

.insight-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 16px;
}

.insight-card.highlight {
  border-color: rgba(210,255,0,0.15);
  background: rgba(210,255,0,0.03);
}

.insight-title {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.insight-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.insight-val.neon { color: var(--neon); }
.insight-val.green { color: #4ade80; }
.insight-val.red { color: #f87171; }

.insight-sub {
  font-size: 11px;
  color: #555;
  margin-top: 4px;
}

/* ─── PRICING ──────────────────────────────────────────── */

#pricing {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-sub {
  max-width: 480px;
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 36px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.1);
}

.pricing-card-popular {
  border-color: rgba(210,255,0,0.2);
  background: rgba(210,255,0,0.02);
}

.pricing-card-popular:hover {
  border-color: rgba(210,255,0,0.35);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}

.pricing-card-popular .pricing-tier {
  color: var(--neon);
}

.pricing-price {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 400;
  color: #555;
  margin-left: 2px;
}

.pricing-limit {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-limit span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: #aaa;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d2ff00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
}

.pricing-features li.pricing-no {
  color: #444;
}

.pricing-features li.pricing-no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 8px;
  border: none;
  background: var(--neon);
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.pricing-btn:hover {
  background: #e5ff33;
  transform: translateY(-1px);
}

.pricing-btn-outline {
  background: transparent;
  color: var(--neon);
  border: 1px solid rgba(210,255,0,0.25);
}

.pricing-btn-outline:hover {
  background: rgba(210,255,0,0.08);
  color: #e5ff33;
  border-color: rgba(210,255,0,0.45);
}

.pricing-btn-disabled {
  background: rgba(255,255,255,0.04);
  color: #444;
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.04);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
}

.pricing-btn-disabled:hover {
  background: rgba(255,255,255,0.04);
  transform: none;
}

/* COMMUNITY */
#community {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

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

.community-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
}

.community-stat {
  background: var(--surface);
  padding: 32px;
  text-align: center;
}

.community-stat-num {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--neon);
  display: block;
}

.community-stat-label {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.driver-strip {
  display: flex;
  gap: 0;
  margin-top: 28px;
}

.driver-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #aaa;
  margin-right: -10px;
}

.driver-avatar:nth-child(1) { background: #2d3a2d; color: #4ade80; }
.driver-avatar:nth-child(2) { background: #3a2d2d; color: #f87171; }
.driver-avatar:nth-child(3) { background: #2d2d3a; color: #60a5fa; }
.driver-avatar:nth-child(4) { background: #3a3a2d; color: var(--neon); }
.driver-avatar:nth-child(5) { background: #2d3a3a; color: #c084fc; }

.driver-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: rgba(210,255,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon);
  font-weight: 700;
  margin-right: 0;
}

.driver-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

/* DOWNLOAD CTA */
#download {
  padding: 160px 0;
}

.download-inner {
  text-align: center;
  position: relative;
}

.download-bg {
  position: absolute;
  inset: -80px;
  background: radial-gradient(ellipse at center, rgba(210,255,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.download-headline {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  position: relative;
}

.download-sub {
  font-size: 16px;
  color: #777;
  margin-bottom: 48px;
  position: relative;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon);
  color: #111;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s;
  letter-spacing: 0.005em;
}

.btn-download:hover {
  box-shadow: 0 0 40px rgba(210,255,0,0.5), 0 0 80px rgba(210,255,0,0.15);
  transform: translateY(-2px);
}

.download-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  letter-spacing: 0.06em;
}

/* ─── FAQ ──────────────────────────────────────────────── */

#faq {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-header .section-sub {
  max-width: 480px;
  margin: 0 auto;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.1);
}

.faq-item.open {
  border-color: rgba(210,255,0,0.15);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #e0e0e0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover {
  color: #fff;
}

.faq-item.open .faq-q {
  color: var(--neon);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #777;
  transition: background 0.15s, transform 0.2s ease;
}

.faq-icon::before {
  top: 50%;
  left: 6px;
  right: 6px;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon {
  border-color: rgba(210,255,0,0.35);
  background: rgba(210,255,0,0.08);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--neon);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #777;
}

.faq-item.open .faq-a > div {
  padding: 0 24px 20px;
}

.faq-a a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-a a:hover {
  color: #e5ff33;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo-img {
  height: 28px;
  width: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: #aaa; }

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

.footer-copy {
  font-size: 12px;
  color: #444;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover { color: #aaa; }

/* DOWNLOAD MODAL - Discord Embed Style */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background: #313338;
  border-radius: 12px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-server-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-server-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: #111;
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.modal-body {
  padding: 20px;
}

/* Discord embed card */
.discord-embed {
  background: #2b2d31;
  border-left: 4px solid var(--neon);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}

.discord-embed-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.discord-embed-author-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon);
}

.discord-embed-author-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.discord-embed-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.discord-embed-title .emoji {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.discord-embed-desc {
  font-size: 13px;
  color: #b5bac1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.discord-embed-field {
  margin-bottom: 12px;
}

.discord-embed-field-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.discord-embed-field-value {
  font-size: 13px;
  color: #b5bac1;
  line-height: 1.6;
}

.discord-embed-field-value code {
  background: #1e1f22;
  color: #b5bac1;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.discord-embed-field-value a {
  color: #00a8fc;
  text-decoration: none;
  word-break: break-all;
}

.discord-embed-field-value a:hover {
  text-decoration: underline;
}

.discord-embed-footer {
  font-size: 11px;
  color: #949ba4;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.modal-actions .btn-download {
  flex: 1;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

.modal-actions .btn-secondary {
  flex: 1;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* ─── INTRO LOADER ────────────────────────────────────────── */

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#page-loader.loader-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 272px;
}

.loader-logo {
  height: 44px;
  width: auto;
  opacity: 0;
  transform: translateY(7px);
  animation: loaderRise 0.5s ease forwards 0.1s;
  filter: drop-shadow(0 0 22px rgba(210,255,0,0.1));
  margin-bottom: 8px;
}

.loader-version {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #2c2c2c;
  letter-spacing: 0.14em;
  margin-bottom: 40px;
  opacity: 0;
  animation: loaderRise 0.3s ease forwards 0.38s;
}

.loader-checklist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.loader-item {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0;
}

.loader-item:nth-child(1) { animation: loaderRise 0.25s ease forwards 0.55s; }
.loader-item:nth-child(2) { animation: loaderRise 0.25s ease forwards 0.85s; }
.loader-item:nth-child(3) { animation: loaderRise 0.25s ease forwards 1.15s; }

.loader-item-label { color: #363636; white-space: nowrap; }

.loader-item-dots {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted #1d1d1d;
  margin: 0 10px;
  position: relative;
  top: 1px;
}

.loader-item-val {
  color: var(--neon);
  font-weight: 700;
  min-width: 46px;
  text-align: right;
}

.loader-progress-wrap {
  width: 100%;
  opacity: 0;
  animation: loaderRise 0.25s ease forwards 0.62s;
}

.loader-progress-track {
  width: 100%;
  height: 1px;
  background: #181818;
  position: relative;
  overflow: hidden;
}

.loader-progress-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(210,255,0,0.55), 0 0 4px rgba(210,255,0,1);
  animation: loaderBar 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.8s;
}

@keyframes loaderRise {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

@keyframes loaderBar {
  0%   { width: 0%; }
  55%  { width: 76%; }
  85%  { width: 94%; }
  100% { width: 100%; }
}

/* ─── PAGE TRANSITION ─────────────────────────────────────── */

#page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99990;
  opacity: 1;
  pointer-events: all;
  will-change: opacity;
}

/* ─── LEGAL PAGES ─────────────────────────────────────────── */

.legal-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.legal-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #555;
  letter-spacing: 0.06em;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  margin-bottom: 24px;
}

.legal-breadcrumb a { color: #555; text-decoration: none; transition: color 0.2s; }
.legal-breadcrumb a:hover { color: var(--neon); }
.legal-breadcrumb-sep { color: #333; }

.legal-page-nav {
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: sticky;
  top: 73px;
  z-index: 90;
}

.legal-page-nav-inner {
  display: flex;
  gap: 2px;
  padding: 8px 0;
  overflow-x: auto;
}

.legal-page-nav a {
  display: flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.legal-page-nav a:hover { background: rgba(255,255,255,0.05); color: #aaa; }
.legal-page-nav a.current { background: rgba(210,255,0,0.08); color: var(--neon); }

.legal-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 72px;
  padding: 72px 0 120px;
  align-items: start;
}

.legal-toc { position: sticky; top: 140px; }

.legal-toc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #444;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 12px;
}

.legal-toc-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }

.legal-toc-list a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.4;
}

.legal-toc-list a:hover { color: #aaa; background: rgba(255,255,255,0.03); }
.legal-toc-list a.active { color: var(--neon); border-left-color: var(--neon); background: rgba(210,255,0,0.04); }

.legal-body { min-width: 0; }

.legal-section {
  margin-bottom: 56px;
  scroll-margin-top: 140px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  margin-top: 28px;
  color: #ddd;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #888;
  margin-bottom: 14px;
}

.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 14px; }

.legal-section li {
  font-size: 15px;
  line-height: 1.8;
  color: #888;
  margin-bottom: 4px;
}

.legal-section strong { color: #ccc; font-weight: 600; }
.legal-section a { color: var(--neon); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

.legal-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.legal-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  text-align: left;
  padding: 10px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-table td {
  padding: 11px 16px;
  color: #888;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
  line-height: 1.65;
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table td:first-child { color: #bbb; font-weight: 500; }

.legal-callout {
  background: rgba(210,255,0,0.03);
  border: 1px solid rgba(210,255,0,0.1);
  border-left: 3px solid rgba(210,255,0,0.35);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.legal-callout p { color: #aaa; margin-bottom: 0; }

/* ─── END LEGAL PAGES ─────────────────────────────────────── */

/* ─── SCREENSHOTS ─────────────────────────────────────────── */

#screenshots {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.ss-nav {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 4px;
  margin: 48px 0 32px;
  flex-wrap: wrap;
  width: fit-content;
}

.ss-btn {
  padding: 9px 22px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #555;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.ss-btn:hover { background: rgba(255,255,255,0.04); color: #aaa; }

.ss-btn.active {
  background: rgba(210,255,0,0.09);
  color: var(--neon);
}

.ss-window {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 48px 130px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04), 0 0 80px rgba(210,255,0,0.03);
}

.ss-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ss-img-area { background: #141414; overflow: hidden; }

.ss-img-panel { display: none; }

.ss-img-panel.active {
  display: block;
  animation: ssPanelIn 0.28s ease;
}

@keyframes ssPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.ss-screenshot {
  width: 100%;
  display: block;
}

.ss-carousel { position: relative; overflow: hidden; }

.ss-slide {
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.ss-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.45);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  backdrop-filter: blur(6px);
  padding: 0;
  font-size: 20px;
  font-family: var(--font-body);
  line-height: 1;
}

.ss-arrow:hover {
  background: rgba(210,255,0,0.12);
  border-color: rgba(210,255,0,0.35);
  color: var(--neon);
}

.ss-arrow-prev { left: 16px; }
.ss-arrow-next { right: 16px; }

.ss-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.ss-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, transform 0.18s;
}

.ss-dot:hover { background: rgba(255,255,255,0.28); }
.ss-dot.active { background: var(--neon); transform: scale(1.3); }

/* ─── END SCREENSHOTS ──────────────────────────────────────── */

/* Responsive */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .dashboard-mockup { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .community-inner { grid-template-columns: 1fr; gap: 48px; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .footer-inner { gap: 32px; align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-links { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .modal-actions { flex-direction: column; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-toc { position: static; display: none; }
  .faq-header { margin-bottom: 40px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin: 0 auto; }
  .pricing-header { margin-bottom: 40px; }
}
