/* Base */
:root {
  --bg: #0f1214;
  --bg-soft: #161a1e;
  --card: #1d2227;
  --text: #f2f4f6;
  --muted: #b7c0c8;
  --accent: #f2a93b;
  --accent-strong: #f28c28;
  --border: #2a3138;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2.5rem 1.5rem 4rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.3rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 18, 20, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-bar {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-links a {
  color: var(--muted);
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Cards & lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--card);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.price {
  font-weight: 600;
  color: var(--accent);
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(242, 169, 59, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
  width: fit-content;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.testimonial strong {
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--card);
  border-radius: 0.9rem;
  border: 1px solid var(--border);
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 18, 20, 0.7);
  z-index: 40;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.toggle button {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #1a1a1a;
  border-color: transparent;
}

/* Responsive */
@media (min-width: 768px) {
  main {
    padding: 3.5rem 2rem 5rem;
  }

  .nav-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .hero-actions,
  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-grid,
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-item,
  .footer-links a {
    flex: 1 1 220px;
  }
}
