:root {
  --primary: #6C2BD9;
  --primary-dark: #1e0b27;
  --accent: #FF01B6;
  --accent-dark: #5022a5;
  --text-on-dark: #ffffff;
  --header-bg: rgba(30, 11, 39, 0.92);
  --card-bg: rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 2px 24px rgba(44, 0, 44, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Aktiv Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  background: var(--primary);
  color: var(--text-on-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-fixed-header {
  padding-top: 62px;
}

a {
  color: inherit;
}

a,
button {
  font: inherit;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.main-header {
  width: 100%;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  width: 118px;
  transition: transform 0.23s ease;
}

.header-logo-link:hover .header-logo,
.header-logo-link:focus-visible .header-logo {
  transform: scale(1.07) rotate(-2deg);
}

.header-nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.9;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 1, 182, 0.16);
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.nav-link[aria-current="page"] {
  background: rgba(255, 1, 182, 0.24);
  opacity: 1;
}

.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  padding: 0.45rem;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 1, 182, 0.13);
  transform: translateY(-1px);
  outline: none;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 80vw);
  height: 100vh;
  padding: 96px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(30, 11, 39, 0.95);
  box-shadow: -2px 0 24px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1050;
}

.mobile-menu .nav-link {
  justify-content: flex-start;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  body.has-fixed-header {
    padding-top: 84px;
  }

  .header-inner {
    height: 84px;
    padding: 0 28px;
  }

  .header-nav {
    display: flex;
    gap: 20px;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .page-section {
    padding: 88px 28px 64px;
  }

  footer {
    padding: 32px 24px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    /* Stretch header content full-width on desktop so logo sits near the left edge */
    max-width: none;
    margin: 0;
    padding: 0 40px 0 16px; /* reduce left padding to pull logo closer to corner */
    gap: 24px;
  }

  .header-logo {
    width: 140px;
  }

  .nav-link {
    font-size: 1.02rem;
    padding: 0.6rem 1.1rem;
  }

  .page-section {
    padding: 112px 0 80px;
  }

  footer {
    padding: 40px 0;
  }
}

main {
  width: 100%;
}

.page-section {
  width: 100%;
  padding: 72px 18px 48px;
  box-sizing: border-box;
}

footer {
  text-align: center;
  padding: 24px 18px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: rgba(20, 10, 30, 0.98);
  color: #fff;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.35);
}

.cookie-banner .cookie-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.95;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  padding: 0.55rem 1.2rem;
}

.cookie-actions [data-variant="secondary"] {
  background: rgba(255,255,255,0.14);
}

@media (max-width: 640px) {
  .cookie-banner .cookie-content {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

[data-scroll-top] {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--text-on-dark);
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.23);
  transition: background 0.2s ease, transform 0.2s ease;
  display: none;
  z-index: 1020;
}

[data-scroll-top]:hover,
[data-scroll-top]:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  outline: none;
}

[data-scroll-top].is-visible {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: var(--text-on-dark);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  outline: none;
}

/* Clickable cards (pricing) */
.is-clickable { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .mobile-menu {
    transition-duration: 0.15s;
  }
}

/* (Removed) Voice narration controls */
