* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --bg-alt: #ffffff;
  --bg-dark: #162027;
  --text: #1a1f24;
  --muted: #5b6672;
  --accent: #1f7a8c;
  --accent-soft: #e5f3f6;
  --highlight: #f2d06b;
  --border: #e0e4e8;
}

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-alt);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: absolute;
  right: 4%;
  top: 70px;
  min-width: 200px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-links.open {
  display: flex;
}

@media (min-width: 840px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    gap: 1.5rem;
  }
}

main {
  padding-bottom: 4rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: #f2f4f6;
}

.section-dark .muted {
  color: #c4cbd2;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.muted {
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    flex-direction: row;
  }

  .grid-3 {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid-3 > div {
    flex: 1 1 calc(33% - 1rem);
  }
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card.alt {
  background: var(--accent-soft);
  border: none;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial {
  border-left: 4px solid var(--highlight);
  padding-left: 1.2rem;
  font-style: italic;
}

.quote-block {
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 2rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}

@media (min-width: 720px) {
  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.badge {
  background: var(--highlight);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  margin-top: 0.6rem;
}

footer {
  background: var(--bg-dark);
  color: #dfe5ea;
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 820px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .cookie-actions {
    flex-direction: row;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 21, 26, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: 18px;
  width: min(540px, 92%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
}

.toggle-button {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-button.active {
  background: var(--accent);
  color: #fff;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  background: var(--accent-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
