:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-text-muted: #4C1D95;
  --color-border: rgba(76, 29, 149, 0.14);
  --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(28, 16, 71, 0.06);
  --shadow-md: 0 20px 50px -20px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(76, 29, 149, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { 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 { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); margin-bottom: 1rem; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--color-text); }

/* === 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;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.5);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(124, 58, 237, 0.6); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.06); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(202, 138, 4, 0.5); }
.btn--accent:hover { color: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Header === */
.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, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark);
  padding: .5rem; border-radius: 10px; cursor: pointer;
}
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; }
.primary-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:not(.btn):hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: 1rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero--compact { padding-block: 3rem 1rem; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(167, 139, 250, 0.35), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(202, 138, 4, 0.12), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.22), transparent 60%);
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 56ch; margin: 1rem auto 1.75rem; font-size: 1.125rem; color: var(--color-text); }
.hero__cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__image {
  max-width: 1040px; margin: 2rem auto 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero__image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Sections === */
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-text-muted); font-size: 1.0625rem; margin: 0; }
.intro__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.intro__inner .prose { text-align: left; }
.intro--split { display: grid; gap: 2.5rem; max-width: 1180px; text-align: left; align-items: center; }
.intro--split .section__sub { margin-bottom: 1rem; }
.intro__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.intro__image img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .intro--split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* === Cards === */
.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); 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: var(--shadow-md); }
.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.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--color-text); font-size: .9625rem; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.1)); }
.testimonial__quote {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 2.5rem 1.5rem; position: relative;
}
.testimonial__mark { color: var(--color-secondary); margin: 0 auto 1rem; opacity: .55; }
.testimonial__quote p { font-size: 1.25rem; line-height: 1.65; font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 500; }
.testimonial__quote cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-text-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(202, 138, 4, 0.25), transparent 50%);
  pointer-events: none;
}
.cta-band__inner { position: relative; text-align: center; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; max-width: 24ch; margin: 0 auto .75rem; }
.cta-band p { max-width: 50ch; margin: 0 auto 1.75rem; color: rgba(255, 255, 255, 0.85); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@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 var(--color-border); border-radius: var(--radius);
  padding: 2.25rem; 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);
  box-shadow: 0 24px 60px -24px rgba(202, 138, 4, 0.45);
}
.pricing-card__badge {
  position: absolute; top: -.75rem; right: 1.25rem;
  background: var(--color-accent); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px;
  text-transform: uppercase;
}
.pricing-card__plan { margin: 0 0 .25rem; font-size: 1.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; }
.pricing-card__lede { color: var(--color-text-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; font-size: .9625rem; color: var(--color-text); }
.pricing-card__cta { margin: 0; }
.pricing-card__cta .btn { width: 100%; }

/* === FAQ === */
.faq__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__list details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq__list details[open] { box-shadow: var(--shadow-md); }
.faq__list summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); font-size: 1.0625rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: .75rem 0 .25rem; color: var(--color-text); }

/* === Contact form === */
.contact-form { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  border: 1px solid var(--color-border); border-radius: 12px;
  padding: .85rem 1rem; font: inherit;
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.5rem; margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.logo--footer img { height: 72px; background: rgba(255, 255, 255, 0.92); padding: .5rem .85rem; border-radius: 10px; }
.site-footer__tagline { margin-top: 1rem; color: rgba(255, 255, 255, 0.7); max-width: 32ch; }
.site-footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__legal { margin-top: 1rem; font-size: .875rem; color: rgba(255, 255, 255, 0.65); }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; 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);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  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: .9375rem; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255, 255, 255, 0.3); }
.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: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }

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