:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px 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;
}
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 0.75rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.7); color: #fff; }
.btn-ghost {
  color: var(--color-neutral-dark);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(76, 29, 149, 0.2);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }
.btn-accent {
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 10px 30px -12px rgba(202, 138, 4, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 40px -12px rgba(202, 138, 4, 0.7); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === 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 .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(76, 29, 149, 0.15);
  color: var(--color-neutral-dark);
  border-radius: 10px;
  padding: 0.4rem;
  cursor: pointer;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(250, 245, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.6rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  text-align: center;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
  }
  .primary-nav a { padding: 0.4rem 0; }
  .primary-nav a:not(.nav-cta)::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:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 4rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(124, 58, 237, 0.08) 50%, rgba(250, 245, 255, 0) 100%);
}
.hero-glow {
  position: absolute;
  inset: -20% 20% auto -20%;
  height: 60vh;
  background: radial-gradient(circle at center, rgba(202, 138, 4, 0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  background: rgba(124, 58, 237, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub-text, .hero-sub {
  font-size: 1.125rem;
  color: rgba(76, 29, 149, 0.75);
  max-width: 56ch;
  margin: 1rem auto 1.75rem;
}
.hero-ctas {
  display: flex; gap: 0.75rem;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-visual { max-width: 960px; margin-inline: auto; }
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

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

/* === Proof strip === */
.proof-strip {
  border-block: 1px solid rgba(76, 29, 149, 0.1);
  background: rgba(255,255,255,0.5);
}
.proof-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem;
  padding-block: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(76, 29, 149, 0.7);
  font-size: 0.95rem;
}

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: rgba(76, 29, 149, 0.7); font-size: 1.1rem; }
.intro { text-align: center; }
.intro p { font-size: 1.05rem; color: rgba(76, 29, 149, 0.85); }

/* === 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: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.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-md); }
.card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(167, 139, 250, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.stat-card { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* === Testimonial === */
.testimonial-section { background: rgba(167, 139, 250, 0.08); border-radius: var(--radius-lg); }
.testimonial {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-neutral-dark);
}
.testimonial p { margin-bottom: 1.25rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 500;
  color: var(--color-primary);
}

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

/* === Contact === */
.contact-band { background: #fff; }
.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info p { color: rgba(76, 29, 149, 0.85); }

.contact-form {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form label {
  display: flex; flex-direction: column;
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-neutral-dark);
  gap: 0.4rem;
}
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  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(124, 58, 237, 0.15);
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: rgba(76, 29, 149, 0.8);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-logo img {
  height: 64px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}
.tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a, .footer-contact a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.legal-links a { color: rgba(255,255,255,0.7); }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding: 0.25rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 0.75rem;
  color: rgba(76, 29, 149, 0.8);
  font-size: 0.97rem;
}

/* === 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: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit; font-family: var(--font-heading); font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent; color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(250, 245, 255, 0.1); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #a97303; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  padding-top: 1rem;
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
}

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