:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5B8A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.section { padding-block: 4rem; }
.section--muted { background: linear-gradient(180deg, #F5EEFF 0%, var(--color-neutral-light) 100%); }
.section__head { margin-bottom: 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 10px 30px -20px rgba(76,29,149,0.2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: 0.5rem; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav a { padding: 0.75rem 0.5rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta:hover { color: #fff; }
.primary-nav.is-open { display: flex; padding: 1rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; }
  .primary-nav a { padding: 0.5rem 0; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(34,197,94,0.08), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(167,139,250,0.22), transparent 60%),
    linear-gradient(180deg, #F1E7FF 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero__inner { text-align: center; }
.hero h1 { max-width: 24ch; margin-inline: auto; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 1rem auto 2rem; }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__visual { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero__visual::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); pointer-events: none; }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.6rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  text-align: center;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -10px rgba(124,58,237,0.5); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124,58,237,0.6); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(124,58,237,0.06); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border-radius: var(--radius-md); padding: 1.75rem;
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(76,29,149,0.25); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,197,94,0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
a.card-link { text-decoration: none; }
a.card-link:hover { color: inherit; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content: "„"; font-family: var(--font-heading); font-size: 5rem; color: var(--color-secondary); position: absolute; top: -0.5rem; left: 1rem; line-height: 1; }
.quote p { font-size: 1.15rem; color: var(--color-text); font-style: italic; margin: 0.5rem 0 1rem; padding-left: 2.5rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-weight: 500; padding-left: 2.5rem; display: block; }

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  padding: 3rem 1.5rem; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 30%, rgba(34,197,94,0.18), transparent 60%),
    linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3); }
.cta-band .btn--primary:hover { color: var(--color-neutral-dark); background: var(--color-neutral-light); }
@media (min-width: 768px) {
  .cta-band { padding: 4rem 3rem; margin-inline: auto; max-width: 1150px; }
}

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--color-border); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease-out); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem; position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 18px;
  background: var(--color-accent); color: #fff;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
.pricing-card__plan { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--color-primary); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; min-height: 3em; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--color-text); font-size: 0.98rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { width: 100%; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-neutral-light); color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.75); display: block; padding: 0.25rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(255,255,255,0.6); }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; margin-top: 2rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); text-align: center; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr 1.3fr; gap: 3rem; } }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem;
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #1BA84C; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.5rem 1rem; background: var(--color-primary); color: #fff; border: 0; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
