:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5B4B8A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(31, 17, 71, 0.06);
  --shadow-md: 0 14px 40px -16px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -24px 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; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.0625rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8125rem; font-weight: 500; color: var(--color-primary); margin-bottom: 1rem; }

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

/* === Logo === */
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Header / nav (glass) === */
.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 var(--color-border);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.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 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1200px; margin-inline: auto; padding: 0.5rem 1.25rem; }
.primary-nav { display: flex; align-items: center; }
.primary-nav__list { list-style: none; display: none; gap: 1.75rem; margin: 0; padding: 0; }
.primary-nav__list.is-open { display: flex; }
.primary-nav__list a { position: relative; color: var(--color-neutral-dark); font-weight: 500; font-family: var(--font-heading); padding: 0.25rem 0; }
.primary-nav__list a::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__list a:hover::after, .primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 0.5rem; }
.nav-toggle__bar { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav__list { display: flex; }
}
@media (max-width: 899px) {
  .primary-nav__list { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem; }
  .primary-nav__list li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav__list li:last-child { border-bottom: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 500;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  font-size: 1rem; line-height: 1;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: #fff; border-color: var(--color-primary); transform: translateY(-2px); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(160deg, #FAF5FF 0%, #EDE4FF 60%, #DCC9FF 100%); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(249, 115, 22, 0.18), transparent 70%), radial-gradient(50% 60% at 10% 30%, rgba(124, 58, 237, 0.25), transparent 70%); }
.hero__inner { position: relative; max-width: 980px; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 56ch; margin: 1rem auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px -20px rgba(76, 29, 149, 0.45); border: 1px solid var(--color-border); background: #fff; }
.hero__visual img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
  .hero__sub { font-size: 1.25rem; }
}

/* === Intro / split === */
.section--intro { text-align: center; }
.section--intro p { font-size: 1.0625rem; }
.split { display: grid; gap: 2rem; align-items: center; }
.split__media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Card grid === */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); 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(249, 115, 22, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }

/* === Quote === */
.quote { margin: 0; padding: 2.5rem 1.5rem; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--color-accent); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.1875rem; line-height: 1.6; color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; margin: 0 0 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: 0.9375rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(249, 115, 22, 0.3), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 56ch; margin: 0 auto 2rem; font-size: 1.0625rem; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === 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; padding: 2.25rem; border-radius: 16px; border: 1px solid var(--color-border); background: var(--color-neutral-light); 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-color: var(--color-accent); border-width: 2px; background: #fff; }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #fff; padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-heading); }
.pricing-card__plan { font-size: 1.25rem; margin: 0 0 0.25rem; color: var(--color-primary); }
.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.9375rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.5rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); list-style: none; padding-right: 2rem; position: relative; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-form label { display: grid; gap: 0.4rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: 0.9375rem; }
.contact-form input, .contact-form textarea { font: inherit; font-family: var(--font-body); padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.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.18); }
.contact-form button { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #EDE4FF; padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer a { color: #EDE4FF; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}
.site-footer__heading { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer__tagline { color: rgba(237, 228, 255, 0.75); margin-top: 0.75rem; font-size: 0.9375rem; }
.site-footer__legal { margin-top: 1rem; font-size: 0.875rem; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 0.9375rem; color: rgba(237, 228, 255, 0.85); }
.site-footer__copy { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(237, 228, 255, 0.15); font-size: 0.8125rem; color: rgba(237, 228, 255, 0.6); }
.site-footer .logo img { filter: brightness(0) invert(1); }

/* === 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 24px 48px -12px rgba(0, 0, 0, 0.45); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9375rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.3); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(250, 245, 255, 0.1); color: #fff; }
.cookie-banner__actions .btn--primary { background: var(--color-accent); }
.cookie-banner__actions .btn--primary:hover { background: #fb923c; }
.cookie-banner__prefs { display: grid; gap: 0.6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; }

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