/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1b1b1f;
  background: #f7f7fb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section--alt {
  background: #ffffff;
}

.section--accent {
  background: #eef3ff;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5bd7;
  font-weight: 600;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 12px 0 16px;
}

h1 {
  font-size: 2.1rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #2f3bd6;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #2f3bd6;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.button--ghost {
  background: transparent;
  color: #2f3bd6;
}

.button:hover, .button:focus-visible {
  background: #1d28b1;
  border-color: #1d28b1;
  color: #ffffff;
}

.button--ghost:hover, .button--ghost:focus-visible {
  background: #eef0ff;
  color: #1d28b1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 50;
  border-bottom: 1px solid #e5e7f4;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #1b1b1f;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid #c8cbe6;
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.nav {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: 54px;
  right: 0;
  background: #ffffff;
  border: 1px solid #dfe1f2;
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(18, 22, 68, 0.12);
}

.nav-menu a {
  padding: 8px 6px;
  border-radius: 8px;
}

.nav-menu a:hover, .nav-menu a:focus-visible {
  background: #f1f2ff;
}

.nav-menu--open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e5e7f4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards and blocks */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e5e7f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card--accent {
  background: #2f3bd6;
  color: #ffffff;
  border-color: transparent;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #2f3bd6;
}

/* Split blocks */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #e5e7f4;
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e5e7f4;
}

.stat strong {
  font-size: 1.4rem;
  display: block;
}

/* Testimonials */
.quote {
  background: #ffffff;
  border-left: 4px solid #2f3bd6;
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Services */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e5e7f4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price {
  font-weight: 700;
  color: #2f3bd6;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  border: 1px solid #e5e7f4;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7f4;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
}

.faq-item[aria-expanded="true"] .faq-answer {
  display: block;
}

/* Footer */
.footer {
  background: #11122b;
  color: #d7daf7;
  padding: 32px 0;
}

.footer a {
  color: #d7daf7;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer small {
  color: #a5abd8;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7f4;
  padding: 16px;
  display: none;
  z-index: 60;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 18, 43, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 70;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cookie-option input {
  margin-top: 4px;
}

/* Contact blocks */
.info-block {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7f4;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #eef0ff;
  color: #2f3bd6;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Utility */
.muted {
  color: #5a5c6a;
}

.spacer {
  height: 8px;
}

@media (min-width: 720px) {
  h1 {
    font-size: 2.6rem;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .hero-grid {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card, .service-card {
    flex: 1 1 calc(50% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .panel {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 20px;
  }

  .nav-menu a {
    padding: 4px 0;
  }
}
