:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1236;
  --color-muted: #6B5B8A;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --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-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  box-shadow: 0 10px 24px -8px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(124, 58, 237, 0.7); color: #fff; }
.btn-ghost {
  color: var(--color-neutral-dark);
  background: transparent;
  border-color: rgba(76, 29, 149, 0.25);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }

/* === 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: box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 24px -18px rgba(76, 29, 149, 0.35); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; max-width: 1280px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s; }
.primary-nav { display: none; flex-direction: column; gap: .5rem; width: 100%; padding: 1rem 0; }
.primary-nav a { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); padding: .5rem 0; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; 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 { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); padding: .5rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.site-header.nav-open .primary-nav { display: flex; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; width: auto; padding: 0; gap: 1.5rem; }
}

/* === Hero === */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 80%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(34, 197, 94, 0.12), transparent 60%),
              radial-gradient(50% 50% at 20% 20%, rgba(167, 139, 250, 0.35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__inner h1 { max-width: 28ch; margin-left: auto; margin-right: auto; }
.hero__sub { max-width: 56ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__image { margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 960px; aspect-ratio: 16/9; object-fit: cover; }
.hero--slim { padding-bottom: 2rem; }
.hero--slim .hero__inner { padding-bottom: 0; }

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

/* === Sections === */
.intro, .highlights, .pricing, .faq, .contact, .contact-band, .testimonial, .cta-band { padding: 4rem 0; }
.intro.alt { background: var(--color-neutral-light); }
.intro h2, .contact-band h2, .faq h2, .testimonial cite { text-align: center; }
.intro p { text-align: center; font-size: 1.075rem; color: var(--color-text); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 56ch; margin: 0 auto; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .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 .2s var(--ease), box-shadow .2s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card-link h3 { color: var(--color-neutral-dark); }
.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; }
.card__stat { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--color-accent); margin: 0 0 .25rem; line-height: 1; }

/* === Testimonial === */
.testimonial { background: var(--color-neutral-light); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.5rem; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { 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: 56ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35); }
.cta-band .btn-primary:hover { color: var(--color-primary); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.12);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { font-family: var(--font-heading); font-size: 1.25rem; 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 1rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .65rem; font-size: .98rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin: 0; }
.pricing-card__cta .btn { width: 100%; text-align: center; }

/* === FAQ === */
.faq-list details {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list 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-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info h3 { margin-top: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px dashed rgba(76, 29, 149, 0.1); font-size: .95rem; }
.contact-form { background: #fff; border: 1px solid rgba(76, 29, 149, 0.1); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid rgba(76, 29, 149, 0.15); border-radius: 10px; background: #fff; color: var(--color-text); 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: .6rem !important; font-weight: 400 !important; font-size: .85rem !important; color: var(--color-muted) !important; font-family: var(--font-body) !important; }
.form-consent input { width: auto; margin-top: .2rem; flex-shrink: 0; }
.form-consent a { text-decoration: underline; }
.contact-band { background: var(--color-neutral-light); text-align: center; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.8); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 30ch; }
.footer-nav a, .footer-contact a { font-size: .95rem; }
.footer-contact address { font-style: normal; margin-bottom: 1rem; color: rgba(255,255,255,0.8); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.legal-links a { padding: 0; display: inline; font-size: .85rem; }
.footer-copy { text-align: center; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); font-size: .85rem; }

/* === 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 -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button { font-family: var(--font-heading); font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; cursor: pointer; font-size: .9rem; transition: background .2s; }
.cookie-banner button:hover { background: rgba(255,255,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: #16a34a; }
.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); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }

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