:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #4C4776;
  --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);
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { 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;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 .75em; letter-spacing: -0.02em; }
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; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

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

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

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; border: 0; padding: 0; gap: 1.75rem;
  }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--color-accent);
    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"]::after { transform: scaleX(1); }
  .nav-cta::after { display: none; }
}

/* === Hero === */
.hero-saas {
  position: relative;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(6, 182, 212, 0.12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(167, 139, 250, 0.18), transparent 60%),
    linear-gradient(180deg, #FAF5FF 0%, #F3ECFF 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.hero-inner-single { text-align: center; max-width: 780px; margin-inline: auto; }
.hero-compact { padding: 3rem 0 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: .8125rem;
  font-weight: 600; color: var(--color-primary); margin: 0 0 .75rem;
}
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; }
.hero-inner-single .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.proof-strip {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center;
  font-size: .875rem; color: var(--color-muted); font-weight: 500;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(30, 27, 75, 0.08);
}

@media (min-width: 900px) {
  .hero-saas { padding: 6rem 0 4.5rem; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .hero-copy h1 { font-size: clamp(2.75rem, 4.5vw, 4rem); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .875rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-heading); letter-spacing: -0.01em;
  cursor: pointer; border: 0; font-size: 1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.6); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1px solid rgba(30, 27, 75, 0.18);
}
.btn-ghost:hover { background: rgba(30, 27, 75, 0.04); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(6, 182, 212, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(6, 182, 212, 0.6); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }
.section-tinted { background: linear-gradient(180deg, #F7F1FF 0%, #EFE7FE 100%); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-lede { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; color: var(--color-muted); }

/* === 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: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card {
  background: #fff; border-radius: 18px; padding: 1.75rem;
  border: 1px solid rgba(30, 27, 75, 0.06);
  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; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.card h3 { margin-bottom: .5rem; }

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem 1.5rem; text-align: center;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(30, 27, 75, 0.06);
  box-shadow: var(--shadow-sm);
}
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .9rem; font-weight: 500; }

/* === CTA band === */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .5rem 0; border-bottom: 1px solid rgba(30, 27, 75, 0.08); }
.contact-list li:last-child { border-bottom: 0; }
.contact-cards .card { text-align: left; }

.contact-form { background: #fff; padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-md); border: 1px solid rgba(30, 27, 75, 0.06); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid rgba(30, 27, 75, 0.15); font-family: inherit; font-size: 1rem;
  background: #fff; color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: 0; 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: .85rem; color: var(--color-muted); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 400; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.site-footer .tagline { color: rgba(250, 245, 255, 0.65); margin-top: .5rem; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: rgba(250, 245, 255, 0.75); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.12); }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250, 245, 255, 0.1); font-size: .85rem; color: rgba(250, 245, 255, 0.6); text-align: center; }

/* === Cookie banner === */
.consent-panel {
  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: 14px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  max-width: 640px; margin-inline: auto;
  font-size: .9rem;
}
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 1rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel button {
  border: 0; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem;
  font-weight: 600; cursor: pointer; font-family: var(--font-heading);
  background: rgba(250, 245, 255, 0.12); color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.consent-panel button:hover { background: rgba(250, 245, 255, 0.2); }
.consent-panel [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.consent-panel [data-cookie-accept]:hover { background: #0891b2; }
.consent-panel__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.consent-panel__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.consent-panel__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); color: #fff; }

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

.reveal,[data-reveal],.fade-in,.animate-in{opacity:1!important;transform:none!important;visibility:visible!important}
