/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1235;
  --color-muted: #5B4B7A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(31, 18, 53, 0.06);
  --shadow-md: 0 20px 45px -20px rgba(76, 29, 149, 0.28);
  --shadow-lg: 0 30px 60px -25px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  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; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.section-sub { color: var(--color-muted); max-width: 60ch; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.7); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.08); text-decoration: none; transform: translateY(-2px); }
.btn--link { background: transparent; border: 0; color: var(--color-primary); padding: 0.5rem 0.75rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 10px 30px -20px rgba(76, 29, 149, 0.2); }
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }

.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: 0.98rem; position: relative; padding: 0.4rem 0; }
.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, .primary-nav a.is-active { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { background: transparent; border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem 1.5rem 1.75rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); align-items: flex-start; gap: 1rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; background: transparent; padding: 0; box-shadow: none; border: 0; }
  .logo img { height: 96px; }
}

/* === Hero (split) === */
.hero { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.12), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(167, 139, 250, 0.25), transparent 60%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-split__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.hero-split__text { max-width: 620px; }
.hero-split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.75rem; }
.proof-strip { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; color: var(--color-muted); font-size: 0.92rem; border-top: 1px solid var(--color-border); padding-top: 1.25rem; }
.proof-strip strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 700; }

.hero-thanks { padding: 5rem 0 3rem; text-align: center; }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-split__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-split__media img { aspect-ratio: 4 / 5; }
}

/* === Sections === */
.section { padding: 4rem 0; position: relative; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }
.intro .container { text-align: left; }
.intro h2 { margin-top: 0; }

/* === Cards / Highlights === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 720px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.card {
  background: #fff; padding: 1.75rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(167, 139, 250, 0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin: 0 0 0.5rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(167, 139, 250, 0.09)); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.55rem); 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: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; text-align: center; border-radius: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-left: auto; margin-right: auto; margin-bottom: 1.75rem; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: var(--color-neutral-light); }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--color-secondary); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Forms === */
.contact-form form { background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); margin-bottom: 0.4rem; }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-neutral-light); color: var(--color-ink);
  transition: border-color .15s, box-shadow .15s;
}
.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-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); margin: 0.5rem 0 1.25rem; }
.form-consent input { margin-top: 0.25rem; }
.contact-block { font-style: normal; background: #fff; padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer .logo img { height: 64px; filter: brightness(1.2) contrast(0.95); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 0.85rem; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, 0.75); line-height: 1.75; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; 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.4rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn--primary { background: var(--color-accent); color: #0a2f16; box-shadow: none; }
.cookie-banner .btn--primary:hover { transform: translateY(-1px); }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.25); }
.cookie-banner .btn--link { color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }

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