:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --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 { scroll-behavior: smooth; }
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;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Header (glass 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: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.3);
}
.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; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  background: none;
  border: 0;
  color: var(--color-neutral-dark);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
}
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-soft);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  cursor: pointer;
  border: 0;
  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 { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(124, 58, 237, 0.6); text-decoration: none; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1.5px solid rgba(76, 29, 149, 0.2);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero card === */
.hero {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-card__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(76, 29, 149, 0.06);
}
.hero-card__inner .lede { font-size: 1.15rem; color: rgba(76, 29, 149, 0.75); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px -25px rgba(76, 29, 149, 0.4);
}
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(76, 29, 149, 0.7); }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(76, 29, 149, 0.25); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: rgba(76, 29, 149, 0.8); margin-bottom: 0; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(249, 115, 22, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Prose === */
.prose h2 { text-align: center; margin-bottom: 1.5rem; }
.prose p { font-size: 1.05rem; line-height: 1.75; color: rgba(76, 29, 149, 0.85); }

/* === Testimonial === */
.testimonial blockquote {
  margin: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.08));
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  position: relative;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--color-neutral-dark);
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  padding: 3rem 0;
}
.cta-band > .container {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); }

/* === Stats === */
.stats .stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.95rem; color: rgba(76, 29, 149, 0.75); }

/* === FAQ === */
.faq details {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(76, 29, 149, 0.08);
}
.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: 0;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: rgba(76, 29, 149, 0.8); }

/* === Contact band === */
.contact-band > .container {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(76, 29, 149, 0.08);
}

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form label { font-weight: 600; font-size: 0.95rem; margin-top: 0.75rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(76, 29, 149, 0.15);
  border-radius: 12px;
  background: #fff;
  color: var(--color-neutral-dark);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 1rem 0;
  color: rgba(76, 29, 149, 0.8);
}
.form-consent input { margin-top: 0.25rem; }
.contact-form button { align-self: flex-start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(250, 245, 255, 0.6);
}
address { font-style: normal; line-height: 1.7; }

/* === 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: 16px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(250, 245, 255, 0.15); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(250, 245, 255, 0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner [data-cookie-save] { background: var(--color-primary); color: #fff; margin-top: 0.5rem; align-self: flex-start; }

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