:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-border: rgba(30, 27, 75, 0.10);
  --color-muted: rgba(30, 27, 75, 0.68);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.20);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  background-image: radial-gradient(ellipse 900px 500px at 85% -10%, rgba(6, 182, 212, 0.10), transparent 60%),
                    radial-gradient(ellipse 700px 400px at -10% 20%, rgba(124, 58, 237, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
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); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; }

/* === 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 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(30, 27, 75, 0.15); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 1px solid var(--color-border); color: var(--color-neutral-dark); border-radius: 10px; padding: 0.4rem 0.55rem; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: 0.4rem 0; text-decoration: none; }
.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[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), #5B21B6); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.primary-nav.is-open { display: flex; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 2rem; align-items: center; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #5B21B6); color: #fff; box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5); }
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(124, 58, 237, 0.6); }
.btn-accent { background: linear-gradient(135deg, var(--color-accent), #0891B2); color: #fff; box-shadow: 0 8px 24px -8px rgba(6, 182, 212, 0.55); }
.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); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.875rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (card archetype) === */
.hero { padding: 3rem 0 4rem; position: relative; }
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero-card__inner::before {
  content: '';
  position: absolute; inset: -1px;
  background: radial-gradient(circle at 90% 0%, rgba(6, 182, 212, 0.18), transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.18), transparent 55%);
  pointer-events: none;
  border-radius: inherit;
}
.hero-card__inner > * { position: relative; }
.hero__sub { font-size: 1.1rem; color: var(--color-muted); max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-card__inner { padding: 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }
.intro { text-align: left; }
.intro h2 { text-align: left; }
.intro p { font-size: 1.075rem; color: var(--color-muted); }

/* === Grids & 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 {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.25); }
.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(6, 182, 212, 0.12)); color: var(--color-primary); margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; padding: 2.5rem 1.5rem; text-align: center; position: relative; }
.testimonial blockquote::before { content: '\201E'; font-family: var(--font-heading); font-size: 5rem; line-height: 1; color: var(--color-secondary); position: absolute; top: -0.5rem; left: 50%; transform: translateX(-50%); opacity: 0.5; }
.testimonial p { font-size: 1.25rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { margin: 2rem 0; }
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), #4C1D95);
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start; justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band__inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-band__inner > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 0.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; padding: 3rem; } }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem 1.35rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease); }
.faq-list details[open] { box-shadow: var(--shadow-md); }
.faq-list summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact band === */
.contact-band { text-align: left; }
.contact-band p { font-size: 1.075rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-form .btn { align-self: flex-start; }
@media (min-width: 640px) { .contact-form { padding: 2.25rem; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.82); margin-top: 4rem; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 0.85rem; letter-spacing: 0.02em; }
.site-footer a { color: rgba(250, 245, 255, 0.82); display: inline-block; }
.site-footer a:hover { color: var(--color-accent); text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-tagline { color: rgba(250, 245, 255, 0.7); margin-top: 0.75rem; max-width: 32ch; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1rem; font-size: 0.875rem; }
.footer-copy { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250, 245, 255, 0.12); font-size: 0.875rem; color: rgba(250, 245, 255, 0.6); }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }

/* === 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.1rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-width: 560px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.9rem; line-height: 1.55; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid rgba(250, 245, 255, 0.15); padding-top: 1rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner .btn-primary { background: var(--color-accent); box-shadow: none; }
.cookie-banner .btn-ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.25); }
.cookie-banner .btn-ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* === 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; } html { scroll-behavior: auto; } }
