*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4fb;
  --bg-alt: #ffffff;
  --text: #1f1b24;
  --muted: #5b5266;
  --primary: #7a2fc3;
  --primary-dark: #5d2099;
  --accent: #2b1f3b;
  --border: #e3dced;
  --shadow: rgba(31, 27, 36, 0.08);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 12px 24px var(--shadow);
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.menu-toggle {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(122, 47, 195, 0.35);
  outline-offset: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
}

.mobile-menu.is-open {
  display: flex;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 0 56px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(140deg, #2b1f3b, #4c2670 55%, #7a2fc3);
  color: #fff;
}

.hero p {
  color: #f0e9fb;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: #fff;
  color: var(--accent);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.dark {
  background: var(--primary);
  color: #fff;
}

.btn.light {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px var(--shadow);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 18px var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(122, 47, 195, 0.12);
  color: var(--primary);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
}

.list span {
  color: var(--primary);
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.testimonial strong {
  color: var(--accent);
}

.banner {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer {
  background: var(--accent);
  color: #f2eef8;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #f2eef8;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 36, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-panel {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #faf8fd;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 840px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    padding: 48px;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 280px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
