:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5A87;
  --border-soft: rgba(76, 29, 149, 0.12);
  --shadow-card: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-hover: 0 20px 40px -20px rgba(76, 29, 149, 0.35);
  --shadow-glow: 0 20px 60px -20px rgba(139, 92, 246, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }

/* === Header (glass sticky nav) === */
.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 var(--border-soft);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 8px 24px -12px rgba(76, 29, 149, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}
.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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: .5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: .5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 12px 24px -16px rgba(76, 29, 149, 0.25);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
}
.primary-nav a.is-current { color: var(--color-primary); }
.nav-cta {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light) !important;
  padding: .55rem 1rem !important;
  border-radius: 999px;
  text-align: center;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    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-current::after { transform: scaleX(1); }
  .nav-cta::after { display: none; }
}

/* === Hero (saas-spotlight) === */
.hero.spotlight {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 2rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 181, 253, 0.35), transparent 55%),
    linear-gradient(160deg, var(--color-neutral-light) 0%, #F3ECFF 100%);
}
.hero-inner { text-align: left; }
.eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: .75rem;
}
.hero.spotlight h1 { max-width: 22ch; }
.lede {
  font-size: 1.15rem;
  max-width: 58ch;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-visual {
  margin-top: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border-soft);
  background: #fff;
}
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

.proof-strip {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  border-top: 1px solid var(--border-soft);
  color: var(--color-muted);
  font-size: .95rem;
}
.proof-strip strong { color: var(--color-neutral-dark); font-weight: 700; }

@media (min-width: 900px) {
  .hero.spotlight { padding-block: 6rem 3rem; }
  .lede { font-size: 1.25rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 24px -12px rgba(139, 92, 246, 0.6);
}
.btn-primary:hover { color: var(--color-neutral-light); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(139, 92, 246, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-neutral-dark);
}
.btn-ghost:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(16, 185, 129, 0.6);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(16, 185, 129, 0.7); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 900px) { .section { padding-block: 5rem; } }
.section-title { text-align: center; margin-bottom: 2.5rem; }

/* === Grid & Cards === */
.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); }
}
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  color: inherit;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { text-decoration: none; }
.card-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(16, 185, 129, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { background: transparent; }
.testimonial {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: var(--color-neutral-light);
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; margin-bottom: 1.5rem; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }

/* === Contact card & form === */
.contact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin-inline: auto;
}
.contact-card address { font-style: normal; line-height: 1.8; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
}
.field input:focus, .field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-card);
}
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-top: 3rem;
  margin-top: 4rem;
}
.site-footer a { color: var(--color-secondary); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.footer-grid h4 { color: #fff; }
.legal-heading { margin-top: 1.25rem; }
.footer-grid nav a { display: block; padding: .25rem 0; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.logo-footer img { filter: brightness(0) invert(1); height: 64px; }
.tagline { color: var(--color-secondary); margin-top: .5rem; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.25rem;
  font-size: .9rem;
  color: var(--color-secondary);
}

/* === 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;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px 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: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-weight: 600;
}
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }

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