:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B2E;
  --color-muted: #6B6485;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.2);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::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; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; margin: 0 0 .8rem; letter-spacing: -0.02em; 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; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding: 4rem 0; }
.section--tinted {
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.15) 0%, rgba(250, 245, 255, 0) 100%);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.lede { font-size: 1.1rem; color: var(--color-text); }

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

/* === Header (glass nav) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(76, 29, 149, 0.06);
  transition: background .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 4px 20px -10px rgba(76, 29, 149, 0.15);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  gap: 1rem;
}
.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; }

.site-nav {
  display: none;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  font-weight: 500;
  color: var(--color-neutral-dark);
  position: relative;
  padding: .35rem 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 1rem; right: 1rem; top: calc(100% + .5rem);
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  gap: 1rem;
  align-items: stretch;
}
.site-nav.is-open a { padding: .5rem 0; }

/* === Hero (hero-card) === */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(196, 181, 253, 0.25), rgba(250, 245, 255, 0));
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-card__card {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(76, 29, 149, 0.06);
}
.hero-card__card h1 {
  max-width: 20ch;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
  color: var(--color-muted);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-card__image {
  margin: 1rem auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(76, 29, 149, 0.35);
}
.hero-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 6rem; }
  .hero-card__card { padding: 4rem 3.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.5);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(139, 92, 246, 0.6); }
.btn-ghost {
  background: rgba(139, 92, 246, 0.08);
  color: var(--color-neutral-dark);
  border-color: rgba(139, 92, 246, 0.2);
}
.btn-ghost:hover { background: rgba(139, 92, 246, 0.15); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn-link { background: transparent; color: var(--color-neutral-dark); padding: .5rem .75rem; }
.btn-link:hover { color: var(--color-primary); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* === Grids & Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(76, 29, 149, 0.05);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  display: flex;
  flex-direction: column;
  color: var(--color-text);
}
.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(139, 92, 246, 0.15), rgba(16, 185, 129, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .96rem; margin: 0; }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial-section { padding: 3rem 0; }
.testimonial {
  margin: 0;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  text-align: left;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-neutral-dark);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.testimonial cite {
  display: block;
  color: var(--color-muted);
  font-style: normal;
  font-size: .95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.25), transparent 55%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 48ch; margin: 0 auto 1.75rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-neutral-dark);
}
.cta-band .btn-primary:hover { color: var(--color-neutral-dark); background: var(--color-neutral-light); }

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid rgba(76, 29, 149, 0.12);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.35);
}
.pricing-card__badge {
  position: absolute;
  top: -14px; right: 20px;
  background: var(--color-accent);
  color: #fff;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.pricing-card__plan {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin: 0;
}
.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;
}
.pricing-card__lede {
  color: var(--color-muted);
  font-size: .95rem;
  margin: 0 0 1rem;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex-grow: 1;
}
.pricing-card__features li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--color-text);
}
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

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

/* === Contact form === */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(76, 29, 149, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: .9rem; }
.field input, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  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(139, 92, 246, 0.18);
}
.form-consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.45;
}
.form-consent input { margin-top: .2rem; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band__meta { color: var(--color-muted); font-size: 1rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255, 255, 255, 0.7); margin-top: .5rem; font-size: .95rem; }
.footer-legal { margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  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-md);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.cookie-banner__actions .btn-link { color: #fff; }
.cookie-banner__actions .btn-link:hover { color: var(--color-secondary); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; }

/* === 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; }
  * { scroll-behavior: auto !important; }
}
