:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5B4A8A;
  --font-heading: 'Sora', 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 80px -20px rgba(76, 29, 149, 0.35);
}

/* === 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);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
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); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
kbd, code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  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: box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 6px 24px -18px rgba(76, 29, 149, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.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: .45rem .55rem; cursor: pointer;
  display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; left: 1rem; right: 1rem; top: calc(100% + .25rem);
  background: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow-md);
}
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .5rem;
  border-radius: 8px;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; gap: .25rem;
    background: transparent; border: 0; padding: 0; box-shadow: none;
  }
  .primary-nav a { position: relative; padding: .5rem .85rem; }
  .primary-nav a::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
    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); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center; line-height: 1;
}
.btn:focus-visible { outline: 3px 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 -12px rgba(139, 92, 246, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(139, 92, 246, 0.75); color: #fff; }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(16, 185, 129, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 44px -14px rgba(16, 185, 129, 0.7); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: rgba(76, 29, 149, 0.2);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(139, 92, 246, 0.08); color: var(--color-neutral-dark); }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(196, 181, 253, 0.55), transparent 70%),
              radial-gradient(40% 40% at 80% 60%, rgba(16, 185, 129, 0.12), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  font-family: var(--font-heading); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-primary);
  margin: 0 0 1rem; font-weight: 600;
}
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub {
  max-width: 52ch; margin: 1.2rem auto 1.75rem; font-size: 1.1rem; color: var(--color-muted);
}
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-media { margin-top: 1rem; }
.hero-media img {
  width: 100%; border-radius: 20px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(76, 29, 149, 0.08);
}
.proof-strip {
  margin: 2.5rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center;
  color: var(--color-muted); font-size: .9rem; font-weight: 500;
}
.proof-strip li { position: relative; padding-left: 1rem; }
.proof-strip li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px;
  border-radius: 50%; background: var(--color-accent); transform: translateY(-50%);
}
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .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-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  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: 0; font-size: .95rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(16, 185, 129, 0.15));
  color: var(--color-primary);
}
.card-link { display: block; color: inherit; }

/* === Split section === */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.split-body h2 { margin-bottom: 1rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Quote === */
.quote-section { background: linear-gradient(180deg, transparent, rgba(196, 181, 253, 0.18)); }
.quote {
  margin: 0; padding: 2.5rem 1.5rem; text-align: center;
  position: relative;
}
.quote-mark { color: var(--color-secondary); opacity: .8; margin-bottom: .5rem; }
.quote p {
  font-family: var(--font-heading); font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500;
}
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin-block: 2rem;
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(16, 185, 129, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-inline: auto; }
.cta-inner { position: relative; z-index: 1; }
.cta-band__meta { font-size: .95rem; margin-top: 1rem; }

/* === Stats === */
.stats .stat {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block; font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem); color: var(--color-accent);
  line-height: 1.1; margin-bottom: .5rem;
}
.stat p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === Pricing === */
.grid-pricing { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .grid-pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(76, 29, 149, 0.12);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 24px 60px -20px rgba(16, 185, 129, 0.35);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.25rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-family: var(--font-heading); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px;
  font-weight: 600;
}
.pricing-card__plan { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: .08em; }
.pricing-card__price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-neutral-dark); margin: 0 0 .5rem;
}
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--color-text); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { 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;
  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 { color: var(--color-muted); margin: .75rem 0 0; font-size: .95rem; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .75rem .9rem; border-radius: 12px;
  border: 1px solid rgba(76, 29, 149, 0.18); background: #fff;
  color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.form-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }
.contact-block { font-size: 1.05rem; 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: 2rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1) opacity(0.95); }
.footer-tag { margin-top: .75rem; color: rgba(255,255,255,0.7); font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-contact p { font-size: .93rem; margin-bottom: .6rem; }
.footer-legal { margin-top: 1rem; font-size: .85rem; color: rgba(255,255,255,0.6); }
.copyright {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: .85rem; color: rgba(255,255,255,0.6);
}

/* === 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);
  border-radius: var(--radius); padding: 1.25rem;
  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: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn { padding: .6rem 1rem; font-size: .85rem; }
.cookie-banner .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.25); }
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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