:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #1f1235;
  background: var(--color-neutral-light);
  -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); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 .75rem; line-height: 1.15; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-neutral-dark); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Logo === */
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.7);
  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: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 20px -12px rgba(76,29,149,0.2); }
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; gap: 1rem;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid rgba(76,29,149,0.08); }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.primary-nav a { display: block; padding: .5rem 0; font-weight: 500; color: var(--color-neutral-dark); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: var(--color-primary); color: #fff !important; padding: .5rem .9rem !important; border-radius: 999px; }
.nav-cta:hover { background: var(--color-neutral-dark); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; background: transparent; border: 0; }
  .primary-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 1.5rem; }
  .primary-nav a { position: relative; padding: .25rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
    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.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76,29,149,0.2); }
.btn-ghost:hover { background: rgba(139,92,246,0.08); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 40px -12px rgba(16,185,129,0.5); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(16,185,129,0.6); color: #fff; }

/* === Hero (centered) === */
.hero.hero-centered { text-align: center; padding: 4rem 1.25rem 3rem; position: relative; overflow: hidden; }
.hero.hero-centered::before {
  content: ''; position: absolute; inset: -20% 10% auto 10%; height: 60%;
  background: radial-gradient(closest-side, rgba(139,92,246,0.18), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.75rem; font-weight: 600; color: var(--color-primary);
  background: rgba(139,92,246,0.1); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 { max-width: 28ch; margin: 0 auto 1.25rem; font-weight: 700; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.125rem; color: #4a3a6b; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__figure { max-width: 1100px; margin: 3.5rem auto 0; padding: 0 1.25rem; }
.hero__figure img {
  border-radius: var(--radius-lg); box-shadow: 0 30px 70px -30px rgba(76,29,149,0.4);
  aspect-ratio: 16/9; object-fit: cover; width: 100%;
}
@media (min-width: 768px) {
  .hero.hero-centered { padding: 6rem 1.5rem 4rem; }
}

/* === Sections === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section--narrow { max-width: 780px; }
.section--narrow h2 { text-align: center; }
.section--narrow > p { font-size: 1.0625rem; color: #3d2d5a; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__sub { max-width: 52ch; margin: 0 auto; color: #4a3a6b; font-size: 1.0625rem; }

/* === Grid / cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(76,29,149,0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(16,185,129,0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: #3d2d5a; margin: 0; }

/* === Quote === */
.section--quote { max-width: 900px; }
.quote {
  margin: 0; padding: 2.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.06), rgba(196,181,253,0.14));
  border-radius: var(--radius-lg); border: 1px solid rgba(76,29,149,0.08);
}
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: #4a3a6b; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 4rem 1.25rem; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
}
.cta-band__inner { max-width: 700px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
@media (min-width: 1200px) { .cta-band { margin-inline: auto; max-width: 1150px; } }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { 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;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .3rem .75rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase;
}
.pricing-card__plan { margin: 0 0 .25rem; font-size: 1.25rem; }
.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 .5rem; }
.pricing-card__lede { color: #4a3a6b; margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; color: #3d2d5a; font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { text-align: center; width: 100%; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff; border: 1px solid rgba(76,29,149,0.08);
  border-radius: var(--radius); padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.3rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .85rem 0 0; color: #3d2d5a; }

/* === Contact band === */
.contact-band {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(76,29,149,0.08); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
}
.contact-band h2 { margin-bottom: .5rem; }
@media (min-width: 640px) { .contact-band { flex-direction: row; justify-content: space-between; align-items: center; } }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(76,29,149,0.08); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: .9rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border: 1.5px solid rgba(76,29,149,0.15); border-radius: 10px;
  background: var(--color-neutral-light); color: #1f1235;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139,92,246,0.15); outline: none; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: #3d2d5a; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); margin-top: 4rem; padding: 3rem 1.25rem 1.5rem; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(255,255,255,0.15); }
.site-footer__copy { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .875rem; color: rgba(255,255,255,0.6); text-align: center; }

/* === 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: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 520px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(250,245,255,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600; font-size: .85rem;
  padding: .55rem .95rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.1); color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(255,255,255,0.2); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #0ea371; }
.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; align-self: flex-start; background: var(--color-primary); color: #fff; }

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