*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #1b1f2a;
  --muted: #5c6374;
  --brand: #4a4de3;
  --brand-dark: #2b2f9f;
  --accent: #f2b36a;
  --border: #d8deea;
  --success: #2e9d59;
  --shadow: 0 18px 40px rgba(27, 31, 42, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--surface);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(74, 77, 227, 0.12);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--brand-dark);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn.ghost:hover,
.btn.ghost:focus {
  border-color: var(--brand);
  color: var(--brand);
}

header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 14px;
  position: absolute;
  right: 4vw;
  top: 72px;
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  font-weight: 600;
  color: var(--ink);
}

.menu-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-panel {
  background: var(--surface);
  padding: 36px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card {
  padding: 18px;
  border-radius: 20px;
  background: #f9f9ff;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hero-card svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand-dark);
}

.highlight-panel {
  background: var(--brand);
  color: #fff;
  padding: 32px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote {
  background: #fff7ef;
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 16px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-item {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
}

.grid-two {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer {
  padding: 32px 0;
  background: #0f1424;
  color: #f5f5f5;
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cookie-banner,
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
}

.cookie-banner.active {
  display: flex;
  bottom: 0;
  padding: 20px;
  background: #10162b;
  color: #fff;
}

.cookie-banner .content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
  background: rgba(15, 20, 36, 0.65);
  padding: 20px;
}

.cookie-modal .panel {
  background: var(--surface);
  padding: 28px;
  border-radius: 22px;
  width: min(540px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.cookie-options input {
  accent-color: var(--brand);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 22px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-panel {
    flex: 1.3;
  }

  .hero-grid {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 280px;
  }

  .services-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 280px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-item {
    flex: 1;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial-card {
    flex: 1;
  }

  .grid-two {
    flex-direction: row;
  }

  .cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .cookie-banner {
    justify-content: center;
  }

  .cookie-banner .content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: min(1120px, 92vw);
  }
}
