/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1147;
  --color-muted: #6B5B95;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(31,17,71,0.06);
  --shadow-md: 0 12px 40px -12px rgba(31,17,71,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(31,17,71,0.28);
}

/* === Reset === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 245, 255, 0.72);
  border-bottom: 1px solid rgba(76,29,149,0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(250,245,255,0.92); box-shadow: 0 6px 20px -12px rgba(31,17,71,0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(76,29,149,0.15); color: var(--color-neutral-dark); border-radius: 10px; padding: .5rem; cursor: pointer; }
.primary-nav { display: none; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: .35rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.75rem; align-items: center; }
  .logo img { height: 96px; }
}
@media (max-width: 899px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(250,245,255,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(76,29,149,0.1); padding: .5rem 1.25rem 1rem; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid rgba(76,29,149,0.06); }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; line-height: 1; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.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.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124,58,237,0.6); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid rgba(76,29,149,0.2); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(124,58,237,0.06); text-decoration: none; }
.btn--on-dark { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 40px -10px rgba(0,0,0,0.3); }
.btn--on-dark:hover { background: var(--color-accent); color: #fff; }

/* === Hero === */
.hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; text-align: center; }
.hero .container { position: relative; z-index: 1; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 90%; background: radial-gradient(circle at 30% 30%, rgba(167,139,250,0.35), transparent 55%), radial-gradient(circle at 75% 20%, rgba(34,197,94,0.15), transparent 55%); z-index: 0; pointer-events: none; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin-inline: auto; font-size: 1.15rem; color: var(--color-muted); margin-bottom: 2rem; }
.hero__ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__figure { margin: 0 auto; max-width: 1000px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding: 4rem 0; }
.section--tint { background: linear-gradient(180deg, rgba(167,139,250,0.08), rgba(250,245,255,0)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }

@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
}

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

.card { background: #fff; border: 1px solid rgba(76,29,149,0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(167,139,250,0.15)); color: var(--color-primary); }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.5rem; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--color-primary); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.2rem; line-height: 1.55; color: var(--color-ink); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 4rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(34,197,94,0.18), transparent 50%); pointer-events: none; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }

/* === FAQ === */
.faq details { background: #fff; border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: .75rem; border: 1px solid rgba(76,29,149,0.08); box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; padding: .35rem 0; 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; color: var(--color-muted); margin-bottom: .25rem; }

/* === Form === */
.form-card { background: #fff; border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-md); border: 1px solid rgba(76,29,149,0.08); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.field input, .field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid rgba(76,29,149,0.18); border-radius: 12px; font: inherit; color: var(--color-ink); background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124,58,237,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; margin: 1.25rem 0 1.5rem; font-size: .92rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; margin-bottom: .75rem; }
.site-footer .muted { color: rgba(255,255,255,0.65); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer__grid nav { display: flex; flex-direction: column; gap: .35rem; }
.legal-links { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; margin-top: .5rem; }
.site-footer__copy { padding-top: 1.5rem; font-size: .9rem; color: rgba(255,255,255,0.6); text-align: center; }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}

/* === Cookie banner === */
.consent-panel { 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); box-shadow: 0 20px 60px -15px rgba(0,0,0,0.4); max-width: 720px; margin: 0 auto; }
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; font-size: .95rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel__actions .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.consent-panel__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.consent-panel__actions .btn--ghost:hover { background: rgba(255,255,255,0.08); }
.consent-panel__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.consent-panel__prefs label { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; }
.consent-panel__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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

.reveal,[data-reveal],.fade-in,.animate-in{opacity:1!important;transform:none!important;visibility:visible!important}
