/* Base */
:root {
  --bg: #0f1412;
  --surface: #18201c;
  --surface-light: #243028;
  --text: #f2f4f3;
  --muted: #c4cec8;
  --accent: #e08b3e;
  --accent-strong: #f2a65a;
  --border: #2f3a34;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 18px;
}

.muted {
  color: var(--muted);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(15, 20, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.site-nav {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.menu-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.mobile-menu {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 24px;
  margin: 0;
}

.mobile-nav-list a {
  padding: 6px 0;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1209;
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
}

.price {
  font-weight: 700;
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface-light);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.testimonial span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: #0c1110;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 40;
}

.cookie-banner.is-visible {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 6, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.cookie-modal.is-open {
  display: flex;
}

.cookie-modal-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #1a231e;
}

.toggle {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle[aria-pressed="true"] {
  background: var(--accent);
  color: #1a1209;
}

/* Layout variations */
.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    max-width: 520px;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1 1 250px;
  }

  .split {
    flex-direction: row;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
