:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.22);
  --shadow-lg: 0 30px 70px -20px rgba(76, 29, 149, 0.28);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  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); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.lede { color: #4c1d95aa; }

/* === 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 30px -20px rgba(76, 29, 149, 0.25); }
.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; }
.nav-toggle { background: none; border: 1px solid rgba(76, 29, 149, 0.15); border-radius: 10px; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.5rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(76, 29, 149, 0.1); box-shadow: var(--shadow-md); }
.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); }
.primary-nav a.nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; text-align: center; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: 0; 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 12px 30px -10px rgba(124, 58, 237, 0.5); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.6); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid rgba(76, 29, 149, 0.25); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #05341a; box-shadow: 0 12px 30px -10px rgba(34, 197, 94, 0.55); }
.btn-accent:hover { transform: translateY(-2px); color: #05341a; box-shadow: 0 18px 40px -12px rgba(34, 197, 94, 0.65); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 50% 20%, rgba(167, 139, 250, 0.35), transparent 70%), radial-gradient(40% 40% at 80% 60%, rgba(34, 197, 94, 0.12), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: #3f2a70; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero-image { max-width: 1000px; margin: 2rem auto 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(76, 29, 149, 0.1); }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

.proof-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; margin: 3rem 0 0; padding: 0; color: #4c1d95aa; font-size: 0.95rem; }
.proof-strip strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 700; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(250, 245, 255, 0) 90%); }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }

/* === Cards / grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 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); display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; }
.card h3 { margin-top: 0.5rem; }
.card p { color: #3f2a70; font-size: 0.98rem; margin-bottom: 0; }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; 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: 0.5rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.25rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent); text-align: left; }
.testimonial p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.95rem; color: #4c1d95aa; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: 0.4rem; font-size: 0.95rem; color: var(--color-neutral-dark); font-weight: 500; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 1rem; padding: 0.85rem 1rem; border: 1px solid rgba(76, 29, 149, 0.18); border-radius: 12px; background: #fff; 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 4px rgba(124, 58, 237, 0.15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; font-weight: 400 !important; color: #3f2a70; }
.form-consent input { margin-top: 0.25rem; }
.contact-form button[type="submit"] { justify-self: start; margin-top: 0.5rem; }

/* === Contact card === */
.contact-card { display: grid; gap: 1.5rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.08); }
.contact-card address { font-style: normal; }
.contact-card strong { display: block; color: var(--color-primary); font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
@media (min-width: 768px) { .contact-card { grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 2.5rem; } }
@media (min-width: 1000px) { .contact-card { grid-template-columns: repeat(4, 1fr); } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.82); padding: 4rem 0 1.5rem; margin-top: 3rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-grid nav a { display: block; padding: 0.25rem 0; }
.footer-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 0.25rem; }
.tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.logo-footer img { filter: brightness(0) invert(1); height: 60px; }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(255,255,255,0.6); text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

/* === 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); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner__actions .btn-ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { margin-top: 0.5rem; justify-self: start; }

/* === 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; }
  html { scroll-behavior: auto; }
}
