/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1547;
  --color-muted: #5B4E82;
  --color-border: rgba(76, 29, 149, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.35);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::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%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
main > section { padding-block: 4rem; }
@media (min-width: 768px) { main > section { padding-block: 6rem; } }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === 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 transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: var(--shadow-sm); border-bottom-color: var(--color-border); }
.site-header__inner { max-width: 1160px; margin-inline: 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; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; border-radius: 8px; }
.primary-nav { display: none; flex-direction: column; gap: 1rem; padding: 1rem 1.25rem 1.5rem; }
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: rgba(250, 245, 255, 0.98); backdrop-filter: blur(16px); box-shadow: var(--shadow-md); border-bottom: 1px solid var(--color-border); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: .25rem 0; }
.primary-nav a:hover { text-decoration: none; color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .6rem 1.1rem; border-radius: 999px; text-align: center; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: none; box-shadow: none; border: 0; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.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 12px 28px -12px rgba(124, 58, 237, 0.6); }
.btn--primary:hover { box-shadow: 0 18px 36px -12px rgba(124, 58, 237, 0.75); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); box-shadow: inset 0 0 0 1.5px var(--color-neutral-dark); }
.btn--ghost:hover { background: var(--color-neutral-dark); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (centered) === */
.hero { position: relative; text-align: center; padding: 4rem 1.25rem 3rem; overflow: hidden; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(167, 139, 250, 0.35), transparent 60%), radial-gradient(circle at 80% 30%, rgba(202, 138, 4, 0.12), transparent 55%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero__title { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 auto 1.25rem; max-width: 28ch; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 0 auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-bottom: 3rem; }
.hero__figure { position: relative; z-index: 1; margin: 0 auto; max-width: 1100px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .hero { padding: 6rem 1.25rem 4rem; } }

/* === Intro === */
.intro { text-align: center; }
.intro h2 { max-width: 30ch; margin-inline: auto; }
.intro p { color: var(--color-muted); font-size: 1.05rem; max-width: 65ch; margin-inline: auto; }

/* === Highlights === */
.grid { display: grid; gap: 1.5rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; 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__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.22)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--color-muted); font-size: .98rem; margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08), transparent); text-align: center; }
.testimonial h2 { margin-bottom: 2rem; }
.quote { margin: 0; padding: 2rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.quote p { font-family: var(--font-heading); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; }
.quote cite { font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

/* === Pricing === */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2.25rem; box-shadow: var(--shadow-sm); 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-lg); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.5rem; background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.pricing-card__plan { margin-bottom: .25rem; font-size: 1.1rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .1em; }
.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; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .55rem; font-size: .96rem; color: var(--color-text); align-items: flex-start; }
.pricing-card__features span { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { text-align: center; }

/* === How === */
.how__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .how__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.how__text p { color: var(--color-muted); font-size: 1.02rem; }
.how__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.how__figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* === FAQ === */
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 2rem; position: relative; font-size: 1.02rem; }
.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); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 1rem 0 0; color: var(--color-muted); font-size: .98rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; }
.cta-band__inner { text-align: center; }
.cta-band h2 { color: #fff; max-width: 28ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-band .btn--primary { background: #fff; color: var(--color-primary); box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === Contact === */
.contact__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; } }
.contact__info p { color: var(--color-muted); }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.contact__list li { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.contact__list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); }
.contact__list a { color: var(--color-neutral-dark); font-weight: 500; }

.contact__form { background: #fff; padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.contact__form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact__form input, .contact__form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .15s, box-shadow .15s; }
.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.15); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-size: .85rem !important; font-weight: 400 !important; color: var(--color-muted) !important; }
.form-consent input { margin-top: .2rem; }
.form-success { color: var(--color-neutral-dark); background: rgba(124, 58, 237, 0.08); padding: 1rem; border-radius: 10px; margin: 0; font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, 0.7); font-size: .95rem; }
.site-footer__tag { max-width: 30ch; }
.site-footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__nav a { display: block; }
.site-footer__legal { margin-top: 1rem; font-size: .9rem; }
.site-footer__copy { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(255, 255, 255, 0.6); }
.logo--footer img { height: 64px; 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: var(--radius-md); box-shadow: var(--shadow-lg); max-width: 560px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-size: .88rem; font-weight: 600; padding: .6rem 1rem; border-radius: 999px; border: none; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: var(--color-neutral-light); transition: background .15s; }
.cookie-banner button:hover { background: rgba(255, 255, 255, 0.22); }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner button[data-cookie-accept]:hover { background: #a67203; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; gap: .6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; 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; } }
