/* Base */
:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1f2430;
  --text: #f2f4f8;
  --muted: #c8cdd8;
  --accent: #c7a46b;
  --accent-2: #8a6c3a;
  --border: #2a2f3a;
  --success: #3a7d5a;
  --danger: #9a4a4a;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  color: var(--muted);
  padding: 8px 4px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--text);
}

.mobile-menu.is-open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0 24px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px var(--shadow);
}

.hero-title {
  font-size: 2rem;
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1b1b1b;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-tag {
  font-weight: 700;
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 30px var(--shadow);
  z-index: 200;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 210;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
}

.cookie-option input {
  accent-color: var(--accent);
}

/* Layout enhancements */
.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .card-grid .card {
    flex: 1 1 calc(33.333% - 16px);
  }
}
