/* Base */
:root {
  --bg: #0f1115;
  --surface: #151922;
  --surface-2: #1c2230;
  --text: #e8e8e3;
  --muted: #b6bcc7;
  --amber: #f2b35b;
  --amber-deep: #b45309;
  --accent: #6ee7b7;
  --border: #2b3342;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface);
}

.section.panel {
  background: linear-gradient(135deg, rgba(242, 179, 91, 0.14), rgba(110, 231, 183, 0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--amber);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--amber);
  color: #1a1d24;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--amber-deep);
  color: #fef3c7;
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: none;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand span {
  color: var(--amber);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
}

.mobile-menu.open {
  display: flex;
}

.mobile-panel {
  width: min(92vw, 380px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.mobile-panel a {
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-panel a:last-child {
  border-bottom: none;
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 12px 0 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.4rem;
  color: var(--accent);
}

/* Cards and blocks */
.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.icon-item {
  flex: 1 1 200px;
  background: var(--surface-2);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
}

.icon-item svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  fill: var(--amber);
}

.highlight {
  border-left: 4px solid var(--amber);
  padding-left: 16px;
}

/* Services */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.price-tag {
  color: var(--accent);
  font-weight: 700;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* Testimonials */
.testimonial {
  background: var(--surface-2);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
}

.testimonial p {
  margin-top: 0;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: #0c0f14;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  display: none;
  gap: 14px;
  flex-direction: column;
  z-index: 60;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions-space {
  margin-top: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 12, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 24px;
  width: min(92vw, 560px);
  box-shadow: var(--shadow);
}

.modal-card h3 {
  margin-top: 0;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

/* Layout helpers */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    flex-direction: row;
  }

  .hero-card,
  .stats-row {
    flex: 1;
  }

  .stats-row {
    gap: 20px;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card,
  .grid .service-card,
  .grid .testimonial {
    flex: 1 1 calc(50% - 20px);
  }

  .two-col {
    flex-direction: row;
  }

  .two-col > div {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .grid .card,
  .grid .service-card,
  .grid .testimonial {
    flex: 1 1 calc(33% - 20px);
  }
}
