:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1b2330;
  --muted: #5a6575;
  --primary: #3a6ff2;
  --primary-dark: #2d57bf;
  --accent: #7fd1ff;
  --border: #e3e8f0;
  --shadow: 0 12px 30px rgba(16, 26, 44, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 249, 252, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  top: 70px;
  right: 4%;
  width: min(320px, 90%);
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover,
.nav a:focus {
  color: var(--primary-dark);
}

.mobile-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav-open .nav {
  display: flex;
}

.nav-open .mobile-toggle {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.hero {
  padding: 60px 0 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.section {
  padding: 50px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 28px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .price {
  font-weight: 700;
  color: var(--primary-dark);
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric {
  flex: 1 1 140px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial strong {
  color: var(--primary-dark);
}

.cta {
  background: linear-gradient(135deg, #e9f2ff, #f7fbff);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--border);
}

.cta .btn {
  align-self: flex-start;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}

.legal {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 18px 0;
  box-shadow: var(--shadow);
  z-index: 20;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 34, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f9fbff;
}

.toggle button {
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

@media (min-width: 860px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: auto;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .testimonial-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 280px;
  }

  .contact-grid {
    flex-direction: row;
  }

  .contact-item {
    flex: 1 1 260px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
