:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
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.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 243, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(49, 46, 129, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(245, 243, 255, 0.92); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 0; color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer; border-radius: 8px;
}
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.25rem; box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(49,46,129,0.08); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; position: static; padding: 0; box-shadow: none; background: transparent; }
  .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 { text-decoration: none; }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero card === */
.hero-card-wrap {
  padding-block: 3rem 4rem;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(129,140,248,0.18), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
}
.hero-card {
  max-width: 960px; margin-inline: auto;
  padding: 2.5rem 1.5rem; border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(49,46,129,0.06);
  text-align: left;
}
.hero-card .lede { font-size: 1.15rem; color: #4c467a; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: 16px; 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-card { padding: 4rem; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-heading); font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid rgba(99,102,241,0.4); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: rgba(99,102,241,0.4); }
.btn-ghost:hover { background: rgba(99,102,241,0.08); }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: #5b558a; max-width: 60ch; margin-inline: auto; }
.band-soft {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(16,185,129,0.06), transparent 70%),
    var(--color-neutral-light);
}

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .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); }
}

.card {
  background: #fff; border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(49,46,129,0.06);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: #4c467a; 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(99,102,241,0.15), rgba(129,140,248,0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2rem;
  background: #fff; border-left: 4px solid var(--color-accent);
  border-radius: 12px; box-shadow: var(--shadow-sm);
}
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  padding-block: 4rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(245,243,255,0.85); max-width: 55ch; margin-inline: auto; }
.cta-band a { color: #fff; text-decoration: underline; }
.cta-band .btn { text-decoration: none; margin-top: 0.5rem; }

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem; border-radius: 16px;
  border: 1px solid rgba(49,46,129,0.12);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: #fff;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em;
}
.pricing-card__plan { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin: 0 0 0.25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 0.75rem; }
.pricing-card__lede { color: #5b558a; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.4rem 0; color: #4c467a; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { margin-top: auto; text-align: center; }

/* === FAQ === */
details {
  background: #fff; border-radius: 12px; padding: 1rem 1.25rem;
  margin-bottom: 0.75rem; border: 1px solid rgba(49,46,129,0.08);
  transition: box-shadow .2s var(--ease);
}
details[open] { box-shadow: var(--shadow-sm); }
details summary { font-weight: 600; cursor: pointer; font-family: var(--font-heading); list-style: none; padding-right: 1.5rem; position: relative; }
details summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s var(--ease); }
details[open] summary::after { content: "−"; }
details p { margin-top: 0.75rem; color: #4c467a; }

/* === Contact form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(49,46,129,0.06); }
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid rgba(49,46,129,0.15); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-neutral-dark);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: #4c467a; margin: 0.5rem 0 1rem; }
.form-consent input { width: auto; margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); }
.contact-info { padding: 0 0.5rem; }
.contact-info address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.map-block {
  height: 220px; border-radius: var(--radius);
  background: linear-gradient(135deg, #eef0ff, #f5f3ff);
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(99,102,241,0.3);
}
.map-pin { color: var(--color-primary); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(245,243,255,0.85);
  padding-block: 3rem 1.5rem; margin-top: 2rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(245,243,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.site-footer .tagline { color: rgba(245,243,255,0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 0.25rem 0; }
.footer-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem !important; margin-top: 0.5rem !important; }
.copy { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(245,243,255,0.6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }

/* === 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);
  border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--color-neutral-light); font-weight: 600; cursor: pointer; font-family: var(--font-heading);
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 0; background: var(--color-accent); color: #fff; font-weight: 600; cursor: pointer; }

/* === 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; }
  .btn, .card { transition: none; }
}
