:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5A9E;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
}

/* === 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%; display: block; height: auto; }
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 0.6em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === 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 rgba(76, 29, 149, 0.08);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; max-width: 1200px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; gap: .25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.08); box-shadow: var(--shadow-sm); }
.primary-nav a { color: var(--color-neutral-dark); padding: .65rem .25rem; font-weight: 500; font-size: 1rem; position: relative; }
.primary-nav a:hover { text-decoration: none; color: var(--color-primary); }
.primary-nav a.nav-cta { color: var(--color-neutral-light); background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); padding: .55rem 1.1rem; border-radius: 999px; margin-top: .25rem; text-align: center; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: .25rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: .5rem .9rem; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; 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, .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
}

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #F3E8FF 100%); }
.hero-slim { padding-bottom: 2rem; }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 80%; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.18), transparent 70%), radial-gradient(closest-side, rgba(167, 139, 250, 0.35) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 0 auto 1.75rem; font-size: 1.125rem; color: var(--color-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-image { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(124, 58, 237, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76, 29, 149, 0.25); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(202, 138, 4, 0.55); }

/* === Section basics === */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

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

/* === Cards grid === */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .cards-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin: .75rem 0 .5rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; font-size: .975rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(167, 139, 250, 0.2)); color: var(--color-primary); }

/* === Split section === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.split-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.1)); }
.testimonial-section h2 { text-align: center; }
.testimonial { text-align: center; font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); margin: 0; padding: 1rem; position: relative; }
.testimonial p { font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { display: block; font-family: var(--font-body); font-size: .95rem; font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.85); max-width: 55ch; margin: 0 auto 1.5rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid rgba(76, 29, 149, 0.08); border-radius: var(--radius-md); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.05rem; list-style: none; padding-right: 1.5rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid.pricing-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { position: relative; background: #fff; padding: 2.25rem; border-radius: 16px; border: 1px solid rgba(76, 29, 149, 0.12); display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.pricing-card__plan { margin: 0 0 .5rem; color: var(--color-neutral-dark); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; }
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { width: 100%; text-align: center; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.08); }
.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: 1.5px solid rgba(76, 29, 149, 0.15); 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); }
.contact-form textarea { resize: vertical; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; font-size: .875rem; color: var(--color-muted); }
.form-consent input { width: auto; margin-top: .2rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
.contact-form .btn { align-self: flex-start; margin-top: .5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer .logo img { height: 64px; }
.footer-tag { margin-top: .75rem; color: rgba(250, 245, 255, 0.7); font-size: .95rem; }
.site-footer h4 { font-family: var(--font-heading); font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-neutral-light); margin: 0 0 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: rgba(250, 245, 255, 0.85); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); text-decoration: none; }
.footer-contact p { margin: 0 0 .75rem; font-size: .95rem; }
.legal-links a { margin-inline: .1rem; }
.copyright { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(250, 245, 255, 0.12); font-size: .85rem; color: rgba(250, 245, 255, 0.6); }

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

/* === 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: 0 20px 60px -20px rgba(0,0,0,0.6); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-size: .85rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(250, 245, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .15s; }
.cookie-banner button:hover { background: rgba(250, 245, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #a67104; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { font-size: .85rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }
