:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --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 12px 40px -20px rgba(76, 29, 149, 0.35);
  --shadow-lg: 0 30px 60px -25px rgba(76, 29, 149, 0.4);
}

/* === Reset === */
*, *::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: var(--color-neutral-dark); background: #ffffff; -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); }
button { font-family: inherit; cursor: pointer; }

/* === Typography === */
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; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: rgba(76, 29, 149, 0.8); max-width: 52ch; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section-narrow > .container { max-width: 760px; }
.section-tint { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: rgba(76, 29, 149, 0.75); }

/* === 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 var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); 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: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { position: relative; font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; padding-block: .35rem; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; 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: 0; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.08); box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Hero split === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(167, 139, 250, 0.14)); }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy { order: 1; }
.hero-visual { order: 2; }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-simple .hero-visual { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

@media (min-width: 900px) {
  .hero { padding-block: 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; cursor: pointer; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 25px -12px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 35px -12px rgba(124, 58, 237, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: 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: #ffffff; box-shadow: 0 10px 25px -12px rgba(34, 197, 94, 0.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 35px -12px rgba(34, 197, 94, 0.7); color: #fff; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .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: #ffffff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid rgba(76, 29, 149, 0.08); 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-link:hover h3 { color: var(--color-primary); }
.card h3 { margin-top: 0; font-size: 1.15rem; }
.card p { margin: 0; font-size: .95rem; color: rgba(76, 29, 149, 0.8); }
.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(34, 197, 94, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 0 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { 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.85); margin-bottom: 0; }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .cta-inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* === Contact band & form === */
.contact-band { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto; }
.contact-band p { margin: 0; }
.form-wrap { max-width: 720px; }
.contact-form { display: grid; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid rgba(76, 29, 149, 0.2); background: #fff; color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.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: .85rem; color: rgba(76, 29, 149, 0.85); line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-top: 3.5rem; padding-bottom: 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 1rem; color: rgba(255, 255, 255, 0.7); font-size: .95rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.copyright { text-align: center; font-size: .85rem; color: rgba(255, 255, 255, 0.55); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* === Reveal on scroll === */
.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: 16px; box-shadow: 0 20px 60px -20px 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: .9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: var(--color-neutral-light); font-size: .85rem; font-weight: 600; transition: background .2s, color .2s; }
.cookie-banner__actions button:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.cookie-banner__actions [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner__prefs label { font-size: .85rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; padding: .5rem 1rem; border-radius: 999px; border: 0; background: var(--color-primary); color: #fff; font-weight: 600; font-size: .85rem; }

/* === Focus === */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }
