:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', 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.18);
  --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);
  --text: #1E1B4B;
  --text-muted: #6B5B95;
  --border: rgba(76,29,149,0.12);
}

/* === 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(--text); background: var(--color-neutral-light); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

/* === Header / 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 transparent; transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover), border-color .3s var(--ease-hover); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 30px -10px rgba(76,29,149,0.15); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { position: relative; color: var(--text); font-weight: 500; font-size: .97rem; padding: .25rem 0; }
.primary-nav a::after { content:''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:hover, .primary-nav a.is-active { text-decoration: none; color: var(--color-neutral-dark); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; padding: 0 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.primary-nav.is-open a { padding: .75rem 0; border-bottom: 1px solid var(--border); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: .97rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
.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.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(124,58,237,0.7); }
.btn-ghost { background: rgba(124,58,237,0.06); color: var(--color-neutral-dark); border-color: var(--border); }
.btn-ghost:hover { background: rgba(124,58,237,0.12); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 2rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(1000px 500px at 15% -10%, rgba(167,139,250,0.35), transparent 60%), radial-gradient(800px 400px at 100% 20%, rgba(34,197,94,0.12), transparent 60%), linear-gradient(180deg, rgba(250,245,255,1), rgba(250,245,255,1)); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem; }
.hero .sub { max-width: 56ch; margin-inline: auto; font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-card { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; position: relative; }
.hero-card::before { content:''; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 2px); background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(34,197,94,0.15)); z-index: -1; filter: blur(24px); opacity: .8; }
.hero-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.social-strip { margin-top: 2rem; padding: 1rem 1.5rem; text-align: center; color: var(--text-muted); font-size: .9rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.5); border-radius: 12px; }
.hero-inner-page { padding-block: 2.5rem 1rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3rem; }
}

/* === Sections === */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--text-muted); font-size: 1.1rem; }
.section-intro .container { text-align: center; }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .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); }
}

/* === Cards === */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: .25rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.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.15), rgba(167,139,250,0.15)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.section-testimonial { background: linear-gradient(180deg, transparent, rgba(167,139,250,0.08)); }
.testimonial { margin: 0; padding: 2rem 0; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.4; max-width: 40ch; margin: 0 auto 1rem; }
.testimonial cite { font-style: normal; color: var(--text-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; margin-block: 1rem; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); }
.cta-band .btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(0,0,0,0.35); }
@media (min-width: 768px) {
  .cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2.25rem 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); 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 50px -20px rgba(34,197,94,0.35); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.pricing-card__plan { font-size: 1.15rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.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 { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .4rem 0; font-size: .95rem; border-bottom: 1px dashed var(--border); }
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; 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; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease-hover); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; margin-bottom: 0; color: var(--text-muted); }

/* === Contact band === */
.contact-band { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); text-align: center; }
.contact-band p { margin-bottom: .5rem; }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-row label { font-weight: 500; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 10px; background: var(--color-neutral-light); color: var(--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.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .25rem; }
.form-consent a { color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer-logo { margin-bottom: 1rem; }
.tagline { color: rgba(255,255,255,0.7); }
.site-footer address { font-style: normal; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.legal-links { margin-top: .5rem; }
.legal-links a { font-size: .88rem; color: rgba(255,255,255,0.7); }
.copyright { padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.6); font-size: .85rem; }

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

/* === 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); border-radius: 14px; padding: 1.25rem 1.5rem; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; color: rgba(250,245,255,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-primary { background: var(--color-accent); color: #0a3d1a; }
.cookie-banner__actions .btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(250,245,255,0.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(250,245,255,0.1); }
.cookie-banner__prefs { margin-top: .9rem; display: flex; flex-direction: column; gap: .4rem; padding-top: .9rem; border-top: 1px solid rgba(250,245,255,0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; font-size: .9rem; align-items: center; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; }
