:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --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: 18px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(76, 29, 149, 0.2);
  --shadow-lg: 0 30px 60px -25px rgba(76, 29, 149, 0.35);
}

/* === 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;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header (glass 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, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 20px -10px rgba(76,29,149,0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.nav-toggle { display: inline-flex; background: transparent; border: 1px solid rgba(76,29,149,0.15); color: var(--color-neutral-dark); border-radius: 10px; padding: .4rem .5rem; cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; width: 100%; padding-block: 1rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a { position: relative; font-weight: 500; padding: .5rem .25rem; color: var(--color-neutral-dark); }
.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: .55rem 1rem; border-radius: 999px; text-align: center; }
.primary-nav .nav-cta:hover { color: #fff; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.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: 1px solid rgba(76,29,149,0.2); }
.btn-ghost:hover { background: rgba(139,92,246,0.08); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero spotlight === */
.hero-spotlight { position: relative; padding-block: 4rem 3rem; overflow: hidden; background: linear-gradient(180deg, #F5EEFF 0%, var(--color-neutral-light) 100%); }
.hero-glow { position: absolute; inset: -20% 20% auto -20%; height: 500px; background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 65%); pointer-events: none; z-index: 0; }
.hero-spotlight .hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-spotlight h1 { max-width: 22ch; margin-inline: auto; }
.hero-spotlight .lede { font-size: 1.15rem; max-width: 58ch; margin-inline: auto; color: rgba(76,29,149,0.85); }
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-block: 1.75rem 2.5rem; }
.hero-visual { margin: 0; margin-top: 2rem; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px -20px rgba(76,29,149,0.4); background: #fff; }
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-inner-page { padding-block: 3rem 2rem; }

/* === Proof strip === */
.proof-strip { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 1rem; }
.proof-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; font-size: .9rem; font-weight: 500; opacity: .95; }

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

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 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-lg); }
.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 p { color: rgba(76,29,149,0.85); font-size: .97rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(196,181,253,0.15)); }
.testimonial { margin: 0; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--color-primary); font-weight: 600; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-block p { margin: .35rem 0; }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(76,29,149,0.06); }
.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form label span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { width: 100%; padding: .7rem .9rem; border: 1px solid rgba(76,29,149,0.15); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }
.form-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: rgba(76,29,149,0.85); margin-bottom: 1rem; }
.form-consent input { width: auto; margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,245,255,0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(250,245,255,0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .logo img { height: 60px; }
.footer-tagline { font-size: .9rem; opacity: .8; margin-top: .5rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15); }
.footer-legal a { font-size: .85rem; }
address { font-style: normal; font-size: .9rem; line-height: 1.7; }
address a { display: inline; }
.copyright { border-top: 1px solid rgba(250,245,255,0.1); padding-top: 1.25rem; font-size: .8rem; opacity: .7; text-align: center; }

/* === Reveal === */
.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: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 0; font-family: var(--font-body); font-weight: 600; font-size: .85rem; cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-reject], .cookie-banner__actions button[data-cookie-settings] { background: rgba(250,245,255,0.15); color: var(--color-neutral-light); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15); font-size: .85rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 0; background: var(--color-accent); color: #fff; font-weight: 600; cursor: pointer; }

/* === Desktop === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; width: auto; padding-block: 0; }
  .hero-spotlight { padding-block: 6rem 4rem; }
  .hero-visual img { aspect-ratio: 21/9; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-inner > div { flex: 1; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
