*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f7fb;
  --text: #1f2937;
  --muted: #5b6475;
  --brand: #3b5bdb;
  --brand-dark: #273cbd;
  --accent: #22c55e;
  --panel: #ffffff;
  --soft: #e7ecf5;
  --warning: #f97316;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

header {
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--soft);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}

.nav-toggle {
  border: 1px solid var(--soft);
  background: var(--panel);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.8rem 0 1.2rem;
}

.nav-menu a {
  padding: 0.4rem 0;
  color: var(--muted);
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--brand);
}

.nav-menu.open {
  display: flex;
}

main {
  padding: 2.5rem 0 3.5rem;
}

.section {
  margin-bottom: 2.8rem;
}

.section-alt {
  background: var(--panel);
  padding: 2rem 0;
  border-radius: 24px;
}

.section-highlight {
  background: linear-gradient(135deg, rgba(59, 91, 219, 0.08), rgba(34, 197, 94, 0.12));
  padding: 2.4rem 0;
  border-radius: 24px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  background: var(--panel);
  padding: 2.4rem;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
}

.btn:hover,
.btn:focus {
  background: var(--brand-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(59, 91, 219, 0.1);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--panel);
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--soft);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card svg {
  width: 40px;
  height: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--panel);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--soft);
}

.feature-item span {
  font-weight: 600;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--panel);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border-left: 4px solid var(--brand);
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

.testimonial {
  background: var(--panel);
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--soft);
}

.testimonial p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.testimonial span {
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  background: var(--soft);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.process-step {
  background: var(--panel);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--soft);
}

.process-step strong {
  display: block;
  margin-bottom: 0.4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--soft);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-card {
  background: var(--panel);
  border: 1px solid var(--soft);
  padding: 1.2rem;
  border-radius: 16px;
}

.comparison-card h3 {
  margin-top: 0;
}

.price-tag {
  font-weight: 700;
  color: var(--brand);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-block {
  background: var(--panel);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid var(--soft);
}

footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.4rem 0;
}

footer a {
  color: #e2e8f0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f172a;
  color: #fff;
  padding: 1rem 0;
  display: none;
  z-index: 40;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-actions button {
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent);
  color: #0f172a;
}

.cookie-decline {
  background: #334155;
  color: #fff;
}

.cookie-open {
  background: transparent;
  color: #fff;
  border: 1px solid #94a3b8;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.cookie-modal.open {
  display: flex;
}

.modal-content {
  background: var(--panel);
  padding: 1.6rem;
  border-radius: 18px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.visually-hidden {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    padding: 0;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-grid,
  .stats,
  .process-steps,
  .comparison,
  .contact-grid,
  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .process-step,
  .comparison-card,
  .info-block,
  .testimonial {
    flex: 1 1 240px;
  }

  .feature-item {
    flex: 1 1 280px;
  }

  .split {
    flex-direction: row;
  }

  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .modal-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
