:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4B7A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-rest: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-hover: 0 20px 40px -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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; 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.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
main { display: block; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.7); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 245, 255, 0.7);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 8px 24px -16px rgba(76, 29, 149, 0.25);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Hero (hero-card) === */
.hero {
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(202, 138, 4, 0.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(167, 139, 250, 0.25), transparent 55%),
    var(--color-neutral-light);
}
.hero-card__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  text-align: center;
  border: 1px solid var(--color-border);
}
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 56ch; margin: 0 auto 2rem; }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-card__media { margin: 1.5rem 0 0; }
.hero-card__media img {
  border-radius: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: 0 20px 60px -20px rgba(76, 29, 149, 0.4);
}

/* === Sections === */
section { padding: 4rem 1.25rem; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.075rem; }
.intro { max-width: 720px; margin: 0 auto; }
.intro h2 { text-align: center; }
.intro p { font-size: 1.075rem; color: var(--color-text); }
.intro--with-media { display: grid; gap: 2rem; max-width: 1100px; }
.intro--with-media .intro__media img { border-radius: 16px; box-shadow: var(--shadow-rest); aspect-ratio: 4/3; object-fit: cover; }

/* === Cards grid === */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.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(167, 139, 250, 0.2));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.975rem; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.12));
}
.testimonial blockquote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.testimonial cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 0.95rem; color: var(--color-muted); font-family: var(--font-body); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.35);
}
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-rest);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; }
.pricing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-card__plan { margin: 0 0 0.25rem; font-size: 1.25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); font-family: var(--font-heading); margin: 0 0 0.75rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-muted); font-size: 0.95rem; margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; padding: 0.4rem 0; color: var(--color-text); font-size: 0.95rem; }
.pricing-card__cta { margin: 0; }
.pricing-card__cta .btn { width: 100%; }

/* === FAQ === */
.faq { max-width: 760px; margin: 0 auto; }
.faq__list details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-rest);
}
.faq__list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  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: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form-section { max-width: 680px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-rest); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.site-footer__cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 1rem; margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.logo--footer img { height: 56px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.tagline { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.legal-links { margin-top: 1rem; font-size: 0.875rem; }
.copyright { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
address { font-style: normal; line-height: 1.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 20px 50px -10px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .site-footer__cols { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    border: none;
  }
  .primary-nav a { padding: 0.5rem 0; }
  .primary-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    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); }
  .hero { padding: 5rem 1.5rem 6rem; }
  .hero-card__inner { padding: 4rem 3rem; }
  section { padding: 5rem 1.5rem; }
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .intro--with-media { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .intro--with-media .intro__text h2 { text-align: left; }
}

@media (min-width: 1024px) {
  .hero-card__inner { padding: 4.5rem 4rem; }
}
