/* Base */
:root {
  --bg: #0f1418;
  --surface: #171e24;
  --card: #1f2831;
  --text: #e6edf3;
  --muted: #a8b3bd;
  --accent: #5dd6c5;
  --accent-strong: #3fb6a6;
  --border: #2a3640;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, 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: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--card);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 8px;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 6px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  background: var(--card);
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-actions {
  margin-top: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #041312;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-strong);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(93, 214, 197, 0.12);
}

.link-button {
  background: none;
  border: none;
  color: var(--accent);
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-tag {
  color: var(--accent);
  font-weight: 700;
}

/* Highlights */
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial strong {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--surface);
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  z-index: 40;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 12, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.cookie-modal[aria-hidden="true"] {
  display: none;
}

.cookie-modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pref-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
}

.pref-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.pref-toggle[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content,
  .hero-panel {
    flex: 1;
  }

  .hero-panel {
    display: flex;
    justify-content: flex-end;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33.33% - 18px);
  }

  .highlight-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight-item {
    flex: 1 1 calc(50% - 12px);
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1 1 0;
  }

  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
