:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 36px -12px rgba(30, 27, 75, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-neutral-dark); 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 { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { 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, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #F5EEFF 0%, var(--color-neutral-light) 100%); }
.section-head { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-inline: auto; }
.section-head p { color: rgba(30, 27, 75, 0.7); }
.eyebrow { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: rgba(30, 27, 75, 0.75); max-width: 52ch; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250, 245, 255, 0.75); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(30, 27, 75, 0.08); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(30, 27, 75, 0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { background: transparent; border: 1px solid rgba(30, 27, 75, 0.14); border-radius: 10px; padding: 0.4rem 0.55rem; color: var(--color-neutral-dark); display: inline-flex; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.95rem; position: relative; padding-block: 0.25rem; }
.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); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid rgba(30, 27, 75, 0.08); padding: 1rem 1.25rem 1.5rem; }
.primary-nav.is-open ul { flex-direction: column; gap: 0.75rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #5B21B6); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(30, 27, 75, 0.18); }
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* === Hero (hero-split) === */
.hero { position: relative; overflow: hidden; padding-block: 3rem 4rem; }
.hero::before { content: ''; position: absolute; inset: -20% -20% auto auto; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(6, 182, 212, 0.16), transparent 70%); z-index: 0; }
.hero::after { content: ''; position: absolute; inset: auto auto -30% -20%; width: 55vw; height: 55vw; background: radial-gradient(closest-side, rgba(167, 139, 250, 0.22), transparent 70%); z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-compact { padding-block: 3.5rem 2rem; }

/* === Sections === */
.split-block { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-visual img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* === Cards / grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid rgba(30, 27, 75, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .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: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(6, 182, 212, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--color-accent); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: rgba(30, 27, 75, 0.7); font-size: 0.95rem; }

/* === 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 20% 30%, rgba(6, 182, 212, 0.25), transparent 55%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); margin-top: 1rem; }
.cta-band .btn-primary:hover { color: var(--color-primary); background: var(--color-neutral-light); }
.contact-line { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 1rem; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid rgba(30, 27, 75, 0.08); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 600; cursor: pointer; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--color-primary); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] { border-color: rgba(124, 58, 237, 0.35); }
.faq p { margin-top: 0.75rem; color: rgba(30, 27, 75, 0.8); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
.pricing-card { position: relative; background: var(--color-neutral-light); border: 1px solid rgba(30, 27, 75, 0.12); border-radius: var(--radius); padding: 2.25rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .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: 0 24px 48px -20px rgba(6, 182, 212, 0.35); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.1rem; font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin-bottom: 0.75rem; }
.pricing-card__lede { font-size: 0.98rem; color: rgba(30, 27, 75, 0.75); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; color: rgba(30, 27, 75, 0.85); }
.pricing-card__cta { align-self: stretch; }

/* === Form === */
.form-wrap { max-width: 720px; }
.contact-form { background: #fff; border: 1px solid rgba(30, 27, 75, 0.08); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(30, 27, 75, 0.18); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: rgba(30, 27, 75, 0.85); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.82); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.tagline { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-top: 1rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* === 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: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { border: none; border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 600; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__actions button[data-cookie-reject] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cookie-banner__actions button[data-cookie-settings] { background: transparent; color: rgba(255, 255, 255, 0.85); text-decoration: underline; padding-inline: 0.4rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; 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; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; background: var(--color-accent); color: var(--color-neutral-dark); border: none; border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; margin-top: 0.4rem; }

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

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .footer-logo img { height: 80px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; background: transparent; border: none; }
  .primary-nav ul { flex-direction: row; }
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .section { padding-block: 5.5rem; }
  .split-block { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
