:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
  --radius-small: 12px;
  --shadow-rest: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 50px -20px rgba(76, 29, 149, 0.35);
  --shadow-hero: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === Base === */
*, *::before, *::after { 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;
}
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); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

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

/* === 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(250, 245, 255, 0.92);
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.06);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: .25rem; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); background: var(--color-neutral-light); border: 1px solid rgba(76, 29, 149, 0.1); border-radius: 16px; padding: 1rem; box-shadow: var(--shadow-lift); }
.primary-nav a { padding: .6rem .75rem; border-radius: 8px; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; margin-top: .25rem; }
.primary-nav .nav-cta:hover { color: #fff; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 1rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 30px -12px rgba(139, 92, 246, 0.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(76, 29, 149, 0.2); }
.btn-ghost:hover { background: rgba(139, 92, 246, 0.08); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.5); }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(16, 185, 129, 0.10), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(139, 92, 246, 0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #f3ecff);
  overflow: hidden;
}
.hero__card {
  max-width: 880px; margin-inline: auto;
  background: #fff; border-radius: 24px; padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(139, 92, 246, 0.12);
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: rgba(76, 29, 149, 0.85); max-width: 55ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__image { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(76, 29, 149, 0.4); }
.hero__image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem; }
.section-head p { color: rgba(76, 29, 149, 0.75); }
.intro { text-align: center; }
.intro h2 { margin-bottom: 1.25rem; }
.intro p { color: rgba(76, 29, 149, 0.85); font-size: 1.05rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border-radius: var(--radius-card); padding: 1.75rem;
  border: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: var(--shadow-rest);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(76, 29, 149, 0.85); margin: 0; }
.icon-badge {
  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); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial { margin: 0; padding: 2rem 1rem; }
.quote-mark { color: var(--color-secondary); opacity: .8; margin-bottom: .5rem; }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); max-width: 60ch; margin-inline: auto; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding-block: 3.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.25), transparent 50%);
  pointer-events: none;
}
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { opacity: .9; max-width: 55ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-band .btn { position: relative; }

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

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  position: relative;
  background: var(--color-neutral-light);
  padding: 2.25rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(76, 29, 149, 0.12);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border: 2px solid var(--color-accent); background: #fff; box-shadow: var(--shadow-lift); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px;
  letter-spacing: .04em;
}
.pricing-card__plan { margin: 0 0 .5rem; font-size: 1.25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .5rem; }
.pricing-card__lede { color: rgba(76, 29, 149, 0.75); 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; padding: .4rem 0; color: rgba(76, 29, 149, 0.9); font-size: .98rem; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list details {
  background: #fff; border-radius: 12px; padding: 1rem 1.25rem;
  border: 1px solid rgba(139, 92, 246, 0.12);
  transition: box-shadow .2s var(--ease);
}
.faq-list details[open] { box-shadow: var(--shadow-rest); }
.faq-list summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-heading);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--color-primary); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: .75rem 0 0; color: rgba(76, 29, 149, 0.85); }

/* === Contact === */
.contact-band-section { text-align: center; }
.contact-band-card { background: #fff; border-radius: var(--radius-card); padding: 2.5rem; box-shadow: var(--shadow-rest); border: 1px solid rgba(139, 92, 246, 0.1); }
.contact-line { color: rgba(76, 29, 149, 0.85); }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info { padding: 1rem 0; }
.contact-info p { color: rgba(76, 29, 149, 0.85); }
.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius-card);
  border: 1px solid rgba(139, 92, 246, 0.12); box-shadow: var(--shadow-rest);
}
.contact-form h2 { margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid rgba(76, 29, 149, 0.18);
  font-family: var(--font-body); font-size: 1rem; color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  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 3px rgba(139, 92, 246, 0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: 1rem 0 1.25rem; color: rgba(76, 29, 149, 0.85); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(250, 245, 255, 0.1); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .85rem; }
.footer-logo img { height: 60px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(250, 245, 255, 0.7); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(250, 245, 255, 0.75); margin-bottom: .75rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; font-size: .9rem; }
.copyright { padding-top: 1.25rem; font-size: .9rem; color: rgba(250, 245, 255, 0.55); text-align: center; }

/* === 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 50px -10px rgba(0, 0, 0, 0.4);
  max-width: 640px; margin-inline: 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 {
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent; color: var(--color-neutral-light);
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cookie-banner button:hover { transform: translateY(-1px); background: rgba(250, 245, 255, 0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }
