:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B95;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(31, 17, 71, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 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%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* === Typography === */
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: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-primary); font-weight: 600; margin: 0 0 0.75rem; }

/* === Layout === */
.container { max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, #F5EEFF 0%, var(--color-neutral-light) 100%); position: relative; }
.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === 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 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(76, 29, 149, 0.4); border-bottom-color: var(--color-border); }
.site-header__inner { max-width: 1160px; margin-inline: auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark); border-radius: 10px; padding: 0.4rem 0.5rem; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s 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: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.primary-nav .nav-cta::after { display: none; }
@media (min-width: 900px) { .primary-nav { display: flex; } }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .primary-nav.is-open { position: static; flex-direction: row; padding: 0; box-shadow: none; border-bottom: 0; background: transparent; } }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); border: 1px solid transparent; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); text-decoration: none; }
.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 12px 24px -12px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { box-shadow: 0 18px 34px -14px rgba(124, 58, 237, 0.7); }
.btn-ghost { background: transparent; border-color: var(--color-border); color: var(--color-neutral-dark); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); border-color: var(--color-primary); }
.btn-on-dark { box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.4); }
.btn-link { background: transparent; color: var(--color-neutral-light); padding: 0.4rem 0.6rem; border: 0; text-decoration: underline; border-radius: 6px; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* === Hero card === */
.hero { padding-block: 3rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.10), transparent 55%), radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.18), transparent 60%); pointer-events: none; z-index: 0; }
.hero-card__wrap { position: relative; z-index: 1; padding-inline: 1rem; max-width: 940px; margin-inline: auto; }
.hero-card__inner { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.hero-card__inner h1 { max-width: 24ch; }
.hero-sub { font-size: 1.1rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; }
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .hero { padding-block: 5rem; } .hero-card__inner { padding: 3.75rem 3.5rem; } }

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

.card { background: #fff; padding: 1.75rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.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: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(34, 197, 94, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.97rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem 1.5rem; text-align: center; position: relative; color: var(--color-neutral-dark); }
.testimonial .quote-mark { display: block; margin: 0 auto 0.75rem; color: var(--color-secondary); opacity: 0.5; }
.testimonial p { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.55; max-width: 60ch; margin: 0 auto 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 500; }
@media (min-width: 768px) { .testimonial p { font-size: 1.5rem; } }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.22), transparent 55%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }
.cta-band .container { position: relative; }

/* === 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 { background: var(--color-neutral-light); padding: 2.25rem 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); position: relative; display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s 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); background: #fff; }
.pricing-card__badge { position: absolute; top: -14px; right: 1.25rem; background: var(--color-accent); color: #fff; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; font-family: var(--font-heading); letter-spacing: 0.06em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.25rem; margin-bottom: 0.25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.4rem 0; font-size: 0.95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem 1.4rem; margin-bottom: 0.85rem; transition: box-shadow 0.2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); position: relative; padding-right: 1.75rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.85rem; color: var(--color-muted); }

/* === Contact === */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.5rem; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
@media (min-width: 768px) { .contact-card { padding: 3rem; } }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); font-size: 0.92rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); border: 1px solid var(--color-border); background: var(--color-neutral-light); color: var(--color-text); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.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.18); }
.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.82); padding: 3rem 0 2rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.logo--footer img { filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; font-size: 0.95rem; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.copy { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* === 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.4rem; border-radius: var(--radius-md); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5); max-width: 640px; }
@media (min-width: 768px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.9rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }

/* === Scroll reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; } .site-header { transition: none; } .btn, .card, .pricing-card { transition: none; } }
