:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1B1235;
  --color-muted: #5B4B7F;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 18px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 20px 60px -20px rgba(76, 29, 149, 0.35);
  --max: 1200px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  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); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .75rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }
.container--split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .container--split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; }
.prose { font-size: 1.05rem; color: var(--color-ink); }

/* === Header / glass nav === */
.site-header {
  position: sticky; top: 0; z-index: 500;
  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: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(76, 29, 149, 0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: 0 auto; padding: .75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; 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); }
.nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff !important; padding: .55rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.nav-cta:hover { transform: translateY(-1px); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.12); gap: 1rem; align-items: flex-start; }

/* === Hero spotlight === */
.hero-spotlight { position: relative; padding: 4rem 0 3rem; overflow: hidden; }
.hero-spotlight--sub { padding-bottom: 2rem; }
.hero-spotlight__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.18), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(167, 139, 250, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(250, 245, 255, 0) 60%, var(--color-neutral-light) 100%);
  pointer-events: none;
}
.hero-spotlight__inner { position: relative; max-width: 960px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.hero-spotlight__inner--tight { max-width: 760px; }
.hero-spotlight__inner h1 { margin-bottom: 1rem; }
.hero-spotlight__inner .lede { margin: 0 auto 1.75rem; }
.hero-spotlight__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-spotlight__visual { max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.hero-spotlight__visual img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.proof-strip { position: relative; margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; color: var(--color-muted); font-size: .9rem; font-weight: 500; letter-spacing: 0.02em; }
.proof-strip span { position: relative; padding-left: 1.25rem; }
.proof-strip span::before { content: '●'; position: absolute; left: 0; color: var(--color-accent); }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.7); }
.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); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Sections === */
.section { padding: 4rem 0; }
.section--alt { background: linear-gradient(180deg, #fff, rgba(167, 139, 250, 0.08)); }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__header p { color: var(--color-muted); }

/* === Grid + cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid rgba(76, 29, 149, 0.08); border-radius: var(--radius-card); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(76, 29, 149, 0.28); }
.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(249, 115, 22, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }

/* === Split section === */
.split__text h2 { margin-bottom: 1rem; }
.split__text p { color: var(--color-muted); font-size: 1.05rem; }
.split__image { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.split__image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; font-weight: 500; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.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: var(--color-accent); box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.7); }
.cta-band .btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(249, 115, 22, 0.85); }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2rem; }
}

/* === FAQ === */
.faq details { background: #fff; border: 1px solid rgba(76, 29, 149, 0.08); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; 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%); color: var(--color-primary); font-size: 1.4rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; border: 1px solid rgba(76, 29, 149, 0.1); border-radius: var(--radius-card); padding: 2.25rem 1.75rem; display: flex; flex-direction: column; 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); }
.pricing-card__badge { position: absolute; top: -14px; right: 20px; background: var(--color-accent); color: #fff; padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 .25rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.5rem; font-size: .95rem; }
.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: .5rem; color: var(--color-ink); font-size: .95rem; }
.pricing-card__cta { margin-top: auto; text-align: center; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-card); border: 1px solid rgba(76, 29, 149, 0.1); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid rgba(76, 29, 149, 0.15); border-radius: 10px; background: #fff; color: var(--color-ink); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.site-footer .logo--footer img { filter: brightness(0) invert(1); opacity: .95; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 0; padding-bottom: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.legal-links { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, 0.7); }

/* === 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 30px 60px -20px rgba(0,0,0,0.4); max-width: 640px; margin: 0 auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font-family: var(--font-body); font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-weight: 500; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-save] { background: var(--color-primary); border-color: var(--color-primary); color: #fff; margin-top: .5rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .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; }
}
