/* Base */
:root {
  --bg: #0f1621;
  --bg-alt: #121b28;
  --panel: #182436;
  --text: #e7edf6;
  --muted: #b9c6d9;
  --accent: #f5b642;
  --accent-2: #6fc2ff;
  --border: #28364b;
  --success: #70d394;
  --warning: #f3d18a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.panel {
  background: var(--panel);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.tagline {
  font-size: 1.1rem;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #1b1b1b;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 22, 33, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  right: 20px;
  left: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 30;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card {
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric {
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(111, 194, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item svg {
  width: 28px;
  height: 28px;
  color: var(--accent-2);
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-bar {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Testimonials */
.testimonial {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.quote {
  font-size: 1.1rem;
  color: var(--text);
}

/* Process */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.step-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Tables & comparisons */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.comparison-row span {
  color: var(--muted);
}

/* Contact blocks */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-panel {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 28, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.cookie-modal.show {
  display: flex;
}

.modal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
}

.toggle-item button {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.toggle-item button.active {
  background: var(--success);
  color: #0f1a10;
  border-color: transparent;
}

/* Utilities */
.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight {
  background: rgba(245, 182, 66, 0.12);
  border: 1px solid rgba(245, 182, 66, 0.4);
  padding: 16px;
  border-radius: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 780px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-metrics {
    flex: 1;
  }

  .card-grid,
  .stats,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat-bar,
  .info-panel,
  .testimonial {
    flex: 1 1 calc(50% - 12px);
  }

  .comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .comparison-row {
    flex: 1 1 calc(50% - 12px);
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(50% - 12px);
  }

  .cookie-actions {
    flex-direction: row;
  }

  .footer-links {
    flex-direction: row;
    gap: 20px;
  }
}
