*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4f0;
  --surface: #ffffff;
  --ink: #1d1b22;
  --muted: #5a5563;
  --accent: #5a3ec8;
  --accent-2: #0f8b7b;
  --warm: #e9d5b7;
  --shadow: 0 10px 30px rgba(29, 27, 34, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  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;
}

.section {
  padding: 64px 0;
}

.section--tight {
  padding: 40px 0;
}

.section--alt {
  background: #f1ecff;
}

.section--warm {
  background: var(--warm);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 240, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(29, 27, 34, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-toggle {
  background: none;
  border: 1px solid rgba(29, 27, 34, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  position: absolute;
  right: 4%;
  top: 64px;
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav a {
  font-weight: 500;
}

.nav.open {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: rgba(90, 62, 200, 0.12);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--surface);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card--outline {
  border: 1px solid rgba(29, 27, 34, 0.1);
  box-shadow: none;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.icon-item svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: 1.6rem;
}

.quote {
  background: var(--ink);
  color: #fff;
  padding: 32px;
  border-radius: 24px;
}

.quote p {
  color: #e4e1f5;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight {
  background: #fff2d8;
  border-radius: 18px;
  padding: 20px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  margin-top: 12px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price {
  font-weight: 700;
  color: var(--accent-2);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  padding: 16px;
  border-radius: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(15, 139, 123, 0.12);
  color: var(--accent-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: #e4e1f5;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid rgba(29, 27, 34, 0.1);
  padding: 16px;
  display: none;
  z-index: 50;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 34, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal__content {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f3ff;
  padding: 12px 16px;
  border-radius: 12px;
}

.toggle-row button {
  border: 1px solid rgba(29, 27, 34, 0.2);
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

@media (min-width: 800px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 20px;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .cards,
  .icon-row,
  .stats,
  .feature-grid,
  .service-list,
  .comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards .card,
  .icon-row .icon-item,
  .stats .stat,
  .feature-grid .card,
  .service-list .card,
  .comparison .comparison-row {
    flex: 1 1 calc(50% - 16px);
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
