/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5b4b8a;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(31, 17, 71, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -20px 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);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
p { margin: 0 0 1rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-neutral-dark); color: #fff;
  padding: .75rem 1rem; z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header / Nav === */
.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 var(--color-border);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
}
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a {
  color: var(--color-text); font-weight: 500; font-size: .95rem;
  position: relative; padding: .25rem 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover { text-decoration: none; }
.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), var(--color-neutral-dark));
  color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-md);
  gap: .5rem;
}

/* === Hero (split) === */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; }
@media (min-width: 768px) { .hero { padding: 5rem 0 6rem; } }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%;
  height: 80%;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.10), transparent 50%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 600; color: var(--color-primary); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700; margin-bottom: 1.25rem;
}
.hero .lede {
  font-size: 1.15rem; color: var(--color-muted);
  max-width: 52ch; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.trust-line { font-size: .9rem; color: var(--color-muted); margin: 0; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-copy { order: 1; }
  .hero-visual img { aspect-ratio: 16/10; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(124, 58, 237, 0.65); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Section heads === */
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2.5rem; }
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.section-head p { color: var(--color-muted); margin: 0; }
.intro h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.intro p { color: var(--color-text); font-size: 1.075rem; }

/* === Grid / cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { 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);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.15rem; margin: .25rem 0 .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; 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.12), rgba(34, 197, 94, 0.12));
  color: var(--color-primary);
  margin-bottom: .5rem;
}

/* === Split section === */
.split-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split-visual img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md);
}
.split-copy h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }

/* === Testimonial === */
.testimonial-section { background: transparent; }
.testimonial {
  margin: 0; padding: 2rem; text-align: center;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
.testimonial cite {
  font-style: normal; color: var(--color-muted);
  font-size: .9rem; font-weight: 500;
}

/* === CTA band === */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(34, 197, 94, 0.2), transparent 50%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }
.cta-band .btn-primary {
  background: #fff; color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.cta-band .btn-primary:hover { background: var(--color-neutral-light); }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-bottom: .75rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.05rem;
  padding: .25rem 0; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--color-primary); font-weight: 700;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.form-section { background: transparent; }
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block; font-size: .9rem; font-weight: 600;
  color: var(--color-neutral-dark); margin-bottom: .35rem;
}
.form-row input, .form-row textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem;
  background: var(--color-neutral-light); color: var(--color-text);
  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 3px rgba(124, 58, 237, 0.15);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--color-muted); margin: 1rem 0 1.5rem;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

/* === Contact band === */
.contact-line { color: var(--color-muted); text-align: center; line-height: 1.9; }
.contact-line a { color: var(--color-primary); }

/* === Thank-you === */
.hero.thankyou { text-align: center; padding: 5rem 0; }
.hero.thankyou .eyebrow { color: var(--color-accent); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer h3 {
  color: #fff; font-size: .95rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 1rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.footer-tag { margin-top: .75rem; color: rgba(255,255,255,0.7); font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address {
  font-style: normal; color: rgba(255,255,255,0.85); line-height: 1.7; font-size: .95rem;
}
.legal-links { margin-top: 1rem; font-size: .85rem; color: rgba(255,255,255,0.7); }
.copyright {
  text-align: center; padding-top: 2rem; margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .85rem; color: rgba(255,255,255,0.6);
}

/* === Cookie banner === */
.consent-panel {
  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; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-left: auto;
}
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 .75rem; font-size: .9rem; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-panel button {
  border: 1px solid rgba(255,255,255,0.2); background: transparent;
  color: #fff; padding: .55rem 1rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: background .2s;
}
.consent-panel button:hover { background: rgba(255,255,255,0.1); }
.consent-panel [data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent);
  color: #08240f;
}
.consent-panel [data-cookie-accept]:hover { background: #16a34a; }
.consent-panel__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.consent-panel__prefs label {
  display: flex; align-items: center; gap: .5rem; font-size: .9rem;
}
.consent-panel__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: .5rem;
  background: var(--color-primary); border-color: var(--color-primary);
}

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

.reveal,[data-reveal],.fade-in,.animate-in{opacity:1!important;transform:none!important;visibility:visible!important}
