/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --text: #1E1B4B;
  --text-muted: #5B5478;
  --border: rgba(76, 29, 149, 0.14);
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 10px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 20px 60px -20px rgba(76, 29, 149, 0.35);
  --radius: 16px;
  --radius-lg: 22px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: #ffffff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; 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(--text); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.section { padding-block: 4rem; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; 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(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.2s, box-shadow 0.2s, border-color 0.2s; }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; align-items: center; gap: 1.75rem; }
.primary-nav a { color: var(--text); font-weight: 500; font-size: 0.98rem; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { 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: 0.55rem 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); }
.nav-toggle { background: none; border: 1px solid var(--border); border-radius: 10px; padding: 0.4rem; color: var(--text); cursor: pointer; display: inline-flex; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s; text-decoration: none; }
.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: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.14); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { background: #ea580c; box-shadow: var(--shadow-lg); }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(160deg, #FAF5FF 0%, #F3E8FF 55%, #EDE9FE 100%); }
.hero-compact { padding-block: 3rem 2rem; }
.hero-glow { position: absolute; inset: -20% 20% auto -10%; height: 60%; background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.18), transparent 60%), radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.25), transparent 65%); filter: blur(20px); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .lede { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-bottom: 3rem; }
.hero-visual { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(76, 29, 149, 0.45); background: #fff; border: 1px solid var(--border); }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

/* === Proof strip === */
.proof-strip { background: #ffffff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; padding-block: 1.5rem; color: var(--text-muted); font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em; }

/* === Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }
.card h3 { margin-bottom: 0.6rem; }
.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.14), rgba(249, 115, 22, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Services diagram === */
.services-layout { display: grid; gap: 2rem; }
.services-diagram { margin: 0; background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.services-diagram img { border-radius: 12px; width: 100%; height: auto; }
.services-diagram figcaption { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 0.75rem; }

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--text); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--text-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding-block: 3rem; }
.cta-band-inner { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: var(--radius-lg); padding: 2.5rem; display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band-inner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band-inner p { color: rgba(255,255,255,0.85); margin: 0; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pricing-card { position: relative; background: var(--color-neutral-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); background: #ffffff; }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-light); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; }
.pricing-card__plan { font-size: 1.15rem; color: var(--color-primary); margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--text); margin: 0.5rem 0 1rem; }
.pricing-card__lede { color: var(--text-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--text); font-size: 0.98rem; }
.pricing-card__cta { margin-top: auto; }

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

/* === Contact === */
.contact-layout { display: grid; gap: 2.5rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.contact-form h2 { margin-bottom: 0.5rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.92rem; font-weight: 500; color: var(--text); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 0.9rem; font-family: inherit; font-size: 1rem; color: var(--text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }
.form-consent input { margin-top: 0.2rem; }
.contact-details { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.contact-details address { font-style: normal; color: var(--text-muted); line-height: 1.8; }
.contact-band { display: grid; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-band p { margin: 0; color: var(--text-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.88); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(250, 245, 255, 0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(250, 245, 255, 0.8); font-size: 0.95rem; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: 0.9rem; }
.copyright { padding-top: 1.5rem; border-top: 1px solid rgba(250, 245, 255, 0.15); font-size: 0.85rem; color: rgba(250, 245, 255, 0.6); }

/* === 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); box-shadow: var(--shadow-lg); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { border: none; padding: 0.55rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; cursor: pointer; background: rgba(250, 245, 255, 0.12); color: var(--color-neutral-light); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; background: var(--color-accent); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; cursor: pointer; }

/* === Reveal motion === */
.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; } .site-header { scroll-behavior: auto; } }

/* === Responsive === */
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .section { padding-block: 5.5rem; }
  .hero { padding-block: 6rem 4rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr auto; padding: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-band { grid-template-columns: 1fr auto; }
  .services-layout { grid-template-columns: 1.5fr 1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 1023px) {
  .primary-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(250, 245, 255, 0.98); backdrop-filter: blur(16px); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.75rem; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 0.5rem 0; }
  .primary-nav .nav-cta { text-align: center; }
}
