/* Base */
:root {
  --bg: #0f1114;
  --bg-soft: #161a1f;
  --card: #1c2229;
  --text: #f5f7fa;
  --muted: #b7c0cc;
  --accent: #39ff88;
  --accent-2: #7bf1ff;
  --border: #2a313a;
  --warning: #ffd166;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  background: var(--accent);
  color: #07110a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: transparent;
  border-color: var(--accent-2);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: none;
  gap: 12px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 12, 0.7);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  z-index: 50;
}

.mobile-menu.open {
  display: flex;
}

.mobile-panel {
  width: min(360px, 92%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-panel a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-panel a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric {
  flex: 1 1 140px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  border: 1px solid var(--border);
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
}

/* Feature blocks */
.feature-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* Highlight */
.highlight {
  background: linear-gradient(120deg, rgba(57, 255, 136, 0.16), rgba(123, 241, 255, 0.1));
  border: 1px solid rgba(123, 241, 255, 0.3);
  border-radius: var(--radius);
  padding: 24px;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat {
  flex: 1 1 180px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

/* Testimonials */
.quote {
  font-size: 1.1rem;
  color: var(--text);
}

.quote-card {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 20px;
  border-radius: var(--radius-sm);
}

/* Process */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.step-number {
  font-weight: 700;
  color: var(--accent);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Tables / Comparison */
.comparison {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-title {
  font-weight: 600;
  color: var(--text);
}

/* CTA */
.cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: none;
  z-index: 60;
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 15, 0.8);
  z-index: 70;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: min(560px, 92%);
  box-shadow: var(--shadow);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.cookie-option:last-child {
  border-bottom: none;
}

/* Utility */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Responsive */
@media (min-width: 760px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33.333% - 12px);
  }

  .feature-row {
    flex-direction: row;
  }

  .feature-block {
    flex: 1 1 0;
  }

  .stats {
    flex-direction: row;
  }

  .steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(50% - 12px);
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
