:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 60px -20px rgba(76, 29, 149, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  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; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 1rem; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header / nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 6px 24px -12px rgba(76, 29, 149, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: none;
  border: 0;
  color: var(--color-neutral-dark);
  padding: .5rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: .5rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  text-align: center;
}
.primary-nav .nav-cta:hover { text-decoration: none; background: var(--color-neutral-dark); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 1.75rem;
  }
  .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);
  }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(124, 58, 237, 0.65); }
.btn-accent {
  background: var(--color-accent);
  color: #04220f;
  box-shadow: 0 12px 28px -12px rgba(34, 197, 94, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(167, 139, 250, 0.25), transparent 60%),
              linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub {
  max-width: 52ch;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  color: rgba(76, 29, 149, 0.85);
}
.hero-cta { margin-bottom: 3rem; }
.hero-figure {
  margin: 0 auto;
  max-width: 960px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: #fff;
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt {
  background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%);
  border-top: 1px solid rgba(76, 29, 149, 0.06);
  border-bottom: 1px solid rgba(76, 29, 149, 0.06);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.lede { font-size: 1.1rem; color: rgba(76, 29, 149, 0.75); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
}

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

/* === Cards === */
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Split === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.split-figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Testimonial === */
.testimonial {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.testimonial p { max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: .95rem;
  font-family: var(--font-body);
  color: rgba(76, 29, 149, 0.7);
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 60ch; margin-inline: auto; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; margin-bottom: 0; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(76, 29, 149, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lift);
}
.pricing-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-accent);
  color: #04220f;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.pricing-card__plan { font-size: 1.1rem; margin-bottom: .25rem; color: var(--color-primary); }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: .25rem 0 1rem;
  color: var(--color-neutral-dark);
}
.pricing-card__lede { color: rgba(76, 29, 149, 0.75); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  gap: .5rem;
  padding: .4rem 0;
  font-size: .95rem;
  color: var(--color-neutral-dark);
  border-bottom: 1px solid rgba(76, 29, 149, 0.06);
}
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__cta { width: 100%; }

/* === Contact form === */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(76, 29, 149, 0.08);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--color-neutral-dark);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .85rem;
  color: rgba(76, 29, 149, 0.85);
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 3px; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer .logo img { filter: brightness(0) invert(1); height: 56px; }
.site-footer .tagline { font-size: .95rem; margin-top: 1rem; opacity: .85; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1.25rem; font-size: .95rem; line-height: 1.7; }
.legal-links li { display: inline-block; margin-right: 1rem; font-size: .85rem; }
.copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: rgba(250, 245, 255, 0.6);
  margin: 0;
}

/* === Reveal motion === */
.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; }
}

/* === 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;
  border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.4);
  max-width: 520px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cookie-banner__actions button {
  flex: 1 1 auto;
  border: 0;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.2); }
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  color: #04220f;
}
.cookie-banner__actions [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cookie-banner__prefs label {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .9rem;
}
.cookie-banner__prefs button {
  margin-top: .5rem;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}
