:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(76, 29, 149, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: #1f1235; 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 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
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; }
.container.narrow { max-width: 780px; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header { position: sticky; top: 0; z-index: 50; 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.08); transition: box-shadow .2s, background .2s; }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 30px -12px rgba(76, 29, 149, 0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; max-width: 1180px; margin-inline: auto; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem; background: rgba(250, 245, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(76, 29, 149, 0.08); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .625rem 0; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .5rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 2rem; position: static; padding: 0; background: transparent; border: 0; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 5rem; overflow: hidden; }
.hero.hero-compact { padding-block: 3rem 2rem; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 30%, rgba(124, 58, 237, 0.16), transparent 70%), radial-gradient(40% 40% at 80% 60%, rgba(202, 138, 4, 0.10), transparent 70%); z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { font-size: 1.15rem; max-width: 56ch; margin: 1rem auto 2rem; color: #4a3a6b; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-figure { margin: 0; max-width: 960px; margin-inline: auto; }
.hero-figure img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .875rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.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.5); }
.btn-primary:hover { box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.6); }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--color-neutral-dark); border-color: rgba(76, 29, 149, 0.2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); border-block: 1px solid rgba(76, 29, 149, 0.06); }
.section-title { text-align: center; margin-bottom: 2.5rem; max-width: 32ch; margin-inline: auto; }

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

/* === Grids & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid rgba(76, 29, 149, 0.08); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: #4a3a6b; font-size: .975rem; }
.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(202, 138, 4, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { background: #fff; padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(76, 29, 149, 0.08); box-shadow: var(--shadow-sm); text-align: center; margin: 0; }
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-size: .95rem; color: #6b5a90; font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 60ch; margin: 0 auto 1.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3); }
.cta-band .btn-primary:hover { background: var(--color-neutral-light); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; padding: 2.25rem; border-radius: var(--radius); border: 1px solid rgba(76, 29, 149, 0.12); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 20px; background: var(--color-accent); color: var(--color-neutral-light); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .05em; padding: .35rem .75rem; border-radius: 999px; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: .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-bottom: 1rem; }
.pricing-card__lede { font-size: .95rem; color: #4a3a6b; margin-bottom: 1.5rem; min-height: 3em; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .625rem; align-items: flex-start; padding: .5rem 0; font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid rgba(76, 29, 149, 0.1); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; }
.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; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: #4a3a6b; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(76, 29, 149, 0.1); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: .375rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .875rem; border: 1px solid rgba(76, 29, 149, 0.2); border-radius: 10px; background: var(--color-neutral-light); 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.15); }
.form-consent { display: flex; gap: .625rem; align-items: flex-start; font-size: .875rem; color: #4a3a6b; flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: inline-block; padding: .2rem 0; }
.site-footer nav a { display: block; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 72px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { font-size: .875rem; opacity: .85; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; margin-top: 2rem; font-size: .875rem; opacity: .8; text-align: center; }

/* === 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: 14px; box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .925rem; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions button { font-family: var(--font-heading); font-weight: 500; font-size: .875rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #b47b03; }
.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; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; font-family: var(--font-heading); padding: .5rem 1rem; border-radius: 999px; border: 0; background: var(--color-accent); color: var(--color-neutral-light); cursor: pointer; }

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