:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B3A;
  --color-muted: #5B5578;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(30, 27, 58, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 29, 149, 0.18);
  --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);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }

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

/* === Header (glass) === */
.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 .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px -12px rgba(76, 29, 149, 0.2); border-bottom-color: var(--color-border); }
.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; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex;
}
.nav-toggle:hover { background: rgba(124, 58, 237, 0.06); }
.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 1.5rem; gap: .25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { padding: .75rem 0; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a.is-current { color: var(--color-primary); }
.btn-nav { margin-top: .5rem; text-align: center; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { padding: .5rem 0; }
  .primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .primary-nav a:not(.btn):hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
  .btn-nav { margin-top: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600;
  font-size: .95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 28px -12px rgba(76, 29, 149, 0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(76, 29, 149, 0.6); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(249, 115, 22, 0.6); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 36px -12px rgba(249, 115, 22, 0.7); }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-link { background: transparent; border: 0; color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 600; padding: .5rem .75rem; cursor: pointer; text-decoration: underline; }

/* === Hero === */
.hero-saas { position: relative; overflow: hidden; padding-block: 3.5rem 4rem; background: linear-gradient(180deg, #FAF5FF 0%, #F1E8FF 100%); }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(closest-side at 30% 40%, rgba(249, 115, 22, 0.18), transparent 70%), radial-gradient(closest-side at 75% 30%, rgba(124, 58, 237, 0.22), transparent 65%); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); margin-bottom: 1rem; }
.hero-inner h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { font-size: 1.1rem; color: var(--color-muted); max-width: 60ch; margin: 1.25rem auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-visual::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); border-radius: inherit; pointer-events: none; }
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-inner-page { padding-block: 3rem 3rem; }

.proof-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: .85rem; color: var(--color-muted); font-family: var(--font-heading); font-weight: 500; }
.proof-strip span { display: inline-flex; align-items: center; gap: .5rem; }

@media (min-width: 768px) {
  .hero-saas { padding-block: 5rem 5rem; }
  .hero-sub { font-size: 1.2rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

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

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

.card { background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.section-alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.35); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }
.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(249, 115, 22, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Quote === */
.pull-quote { margin: 0; padding: 2rem 1.5rem; border-left: 4px solid var(--color-accent); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pull-quote p { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; color: var(--color-neutral-dark); line-height: 1.55; margin-bottom: 1rem; }
.pull-quote cite { display: block; font-style: normal; font-size: .9rem; color: var(--color-muted); font-weight: 500; }
@media (min-width: 768px) { .pull-quote { padding: 2.5rem 2.5rem; } .pull-quote p { font-size: 1.35rem; } }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(closest-side at 20% 20%, rgba(249, 115, 22, 0.25), transparent 60%); pointer-events: none; }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
@media (min-width: 768px) { .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem 1.5rem; background: #fff; margin-bottom: .75rem; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.35); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .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.15); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }

.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--color-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.contact-card address, .contact-card p { font-style: normal; margin: 0; color: var(--color-muted); }
.map-block { background: linear-gradient(135deg, #E9D8FD, #FBD9B4); border-radius: var(--radius); min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 600; text-align: center; padding: 1.5rem; }
.map-pin { display: inline-flex; color: var(--color-accent); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding-block: .25rem; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-tag { color: rgba(255,255,255,0.65); font-family: var(--font-heading); font-style: italic; margin-top: .75rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); opacity: .95; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.legal-links a { display: inline; font-size: .85rem; color: rgba(255,255,255,0.65); }
.copyright { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .85rem; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; } }

/* === 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); box-shadow: var(--shadow-lg); max-width: 560px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner .btn-link { color: var(--color-neutral-light); }

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