:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #6B5B84;
  --color-border: rgba(76, 29, 149, 0.12);
  --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;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(31, 18, 53, 0.06);
  --shadow-md: 0 12px 40px -18px rgba(76, 29, 149, 0.35);
  --shadow-lg: 0 30px 80px -30px rgba(76, 29, 149, 0.4);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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 { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
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; }
.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); }
.section { padding-block: 4rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem; font-weight: 600; color: var(--color-accent); margin-bottom: 0.75rem; }

/* === Header / nav (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 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(76, 29, 149, 0.35); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(76, 29, 149, 0.25); }
.primary-nav.is-open { display: flex; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: 0.6rem 0.25rem; text-decoration: none; }
.primary-nav a::after { content: ''; position: absolute; left: 0.25rem; right: 0.25rem; bottom: 0.35rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; text-align: center; margin-top: 0.5rem; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: transparent; box-shadow: none; border: 0; padding: 0; gap: 0.35rem; align-items: center; }
  .primary-nav a { padding: 0.5rem 0.85rem; font-size: 0.95rem; }
  .primary-nav .nav-cta { margin-top: 0; margin-left: 0.5rem; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.6rem; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); line-height: 1; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 12px 30px -14px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(124, 58, 237, 0.75); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); border-color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -14px rgba(249, 115, 22, 0.6); }
.btn-accent:hover { background: #ea6a12; }

/* === Hero === */
.hero { position: relative; padding-block: 3.5rem 4rem; overflow: hidden; background: linear-gradient(160deg, rgba(167, 139, 250, 0.18) 0%, rgba(250, 245, 255, 1) 55%); }
.hero-inner-page { padding-bottom: 2rem; }
.hero-glow { position: absolute; inset: -10% 20% auto -20%; height: 520px; background: radial-gradient(closest-side, rgba(249, 115, 22, 0.18), transparent 70%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 60ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.hero-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-visual::after { content: ''; position: absolute; inset: -20%; background: radial-gradient(closest-side, rgba(124, 58, 237, 0.25), transparent 70%); z-index: -1; }
.social-proof { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; color: var(--color-muted); font-size: 0.9rem; align-items: center; }

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

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-text); margin: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.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.15), rgba(249,115,22,0.15)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.section-quote { padding-block: 3rem; }
.testimonial { margin: 0; padding: 2.5rem 1.5rem; text-align: center; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(249, 115, 22, 0.08)); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
.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; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; margin-block: 3rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === Stats === */
.stats-section { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.1)); }
.stats { text-align: center; }
.stat { padding: 1.5rem 1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-heading); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: var(--color-accent); line-height: 1; letter-spacing: -0.02em; }
.stat-label { color: var(--color-muted); font-size: 0.95rem; line-height: 1.4; }

/* === Contact form === */
.form-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.form-intro h2 { margin-top: 0; }
.form-intro p { color: var(--color-muted); }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field 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; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.45; flex-wrap: wrap; }
.form-consent input { margin-top: 0.15rem; }
.contact-block a { color: var(--color-primary); }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-accent); transition: transform 0.2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0.85rem 0 0; color: var(--color-text); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin: 0 0 0.75rem; font-size: 1rem; letter-spacing: 0.02em; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.footer-tag { color: rgba(255,255,255,0.75); margin: 0.5rem 0 0; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.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; } }

/* === 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: 0 30px 60px -20px rgba(0,0,0,0.4); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background 0.2s; }
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button[data-cookie-accept]:hover { background: #ea6a12; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
