/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B3A;
  --color-muted: #6B6786;
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 36px -12px rgba(76, 29, 149, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  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; transition: color .2s var(--ease); }
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 .6em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .18em; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(124, 58, 237, 0.7); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76, 29, 149, 0.25); }
.btn--ghost:hover { border-color: var(--color-primary); background: rgba(124, 58, 237, 0.06); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(250, 245, 255, 0.7); border-bottom: 1px solid rgba(76, 29, 149, 0.08); transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.9); box-shadow: 0 10px 30px -20px rgba(76, 29, 149, 0.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: .5rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; 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 .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: .5rem; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem; background: rgba(250, 245, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(76, 29, 149, 0.08); display: none; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .85rem 0; border-bottom: 1px solid rgba(76, 29, 149, 0.06); }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { margin-top: .5rem; text-align: center; }
}

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero__glow { position: absolute; inset: -20% 0 auto 0; height: 60vh; background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.35), transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(34, 197, 94, 0.12), transparent 60%); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin-inline: auto; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero__image { max-width: 980px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__header p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

/* === Card === */
.card { background: #fff; border-radius: var(--radius-md); 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); display: block; color: inherit; }
.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(124, 58, 237, 0.12), rgba(167, 139, 250, 0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin: 0; }
.card h3 { margin-bottom: .5rem; }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }

/* === Intro paragraph === */
.intro__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.intro__inner p { font-size: 1.075rem; color: var(--color-text); }
.intro__split { display: grid; gap: 2rem; align-items: center; }
.intro__split p { color: var(--color-text); font-size: 1.05rem; }
.intro__image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.intro__image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .intro__split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

/* === Testimonial === */
.testimonial blockquote { max-width: 780px; margin: 0 auto; text-align: center; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: relative; }
.testimonial blockquote::before { content: '\201E'; display: block; font-family: var(--font-heading); font-size: 5rem; line-height: 0.6; color: var(--color-secondary); margin-bottom: .5rem; }
.testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); }

/* === Stats === */
.stats .stat { text-align: center; background: #fff; border-radius: var(--radius-md); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); }
.stats .stat h3 { font-size: 1.75rem; color: var(--color-accent); margin-bottom: .5rem; }
.stats .stat p { color: var(--color-muted); margin: 0; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35); }
.cta-band .btn--primary:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* === Contact === */
.contact-band .card p { color: var(--color-text); }
.contact-band .card a { word-break: break-word; }

/* === Form === */
.form__inner { max-width: 720px; margin-inline: auto; }
.form__inner form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: .8rem 1rem; border: 1.5px solid rgba(76, 29, 149, 0.15); border-radius: 10px; background: var(--color-neutral-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === FAQ === */
.faq__inner { max-width: 780px; margin-inline: auto; }
.faq details { background: #fff; border-radius: var(--radius-md); padding: 1.1rem 1.35rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); 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.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .8rem; color: var(--color-text); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer p, .site-footer address { color: rgba(255, 255, 255, 0.75); font-style: normal; margin: 0; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer nav a { color: rgba(255, 255, 255, 0.8); }
.site-footer nav a:hover { color: #fff; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__copy { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .875rem; color: rgba(255, 255, 255, 0.6); }
.site-footer .logo img { filter: brightness(0) invert(1); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; } }

/* === 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 1.5rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner .btn--ghost:hover { background: rgba(250, 245, 255, 0.1); border-color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
