/* Base */
:root {
  --bg: #0e0f14;
  --bg-soft: #161823;
  --text: #f2f4f8;
  --muted: #b8bfcc;
  --accent: #4fd1c5;
  --accent-2: #7aa2ff;
  --card: #1b1e2b;
  --border: #2a3042;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 15, 20, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Mobile menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 86%;
  max-width: 320px;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.hero-card {
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.15), rgba(122, 162, 255, 0.12));
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  font-size: 36px;
  margin: 8px 0 0;
}

.hero p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.price {
  font-weight: 700;
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial span {
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-hidden {
  display: none;
}

/* Cookie modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  z-index: 50;
}

.modal-content {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: all;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.switch:last-child {
  border-bottom: none;
}

.switch button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
}

.switch button[aria-checked="true"] {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* Responsive */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-card {
    max-width: 480px;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 16px);
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 18px;
  }

  .contact-grid {
    flex-direction: row;
  }

  .contact-card {
    flex: 1 1 0;
  }
}
