:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #5b5680;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(30, 27, 75, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { 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; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }

/* === Header === */
.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 rgba(30, 27, 75, 0.08);
  transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 30px -20px rgba(30, 27, 75, 0.2); }
.nav-inner {
  max-width: 1200px; margin-inline: auto; padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid rgba(30, 27, 75, 0.15);
  color: var(--color-neutral-dark);
  padding: .5rem; border-radius: 10px; cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 1rem; right: 1rem; top: 100%;
  background: var(--color-neutral-light);
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-lift);
  gap: .25rem;
}
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .5rem .75rem; border-radius: 8px; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: var(--color-neutral-dark); color: var(--color-neutral-light) !important; }
.nav-cta:hover { background: var(--color-primary); color: var(--color-neutral-light) !important; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: .25rem; position: static; padding: 0; background: none; border: none; box-shadow: none; }
  .primary-nav a { padding: .5rem .9rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3rem; }
.hero--spotlight::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.15), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(167, 139, 250, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.06));
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 1100px; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
.hero--compact { padding: 3rem 0 1rem; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 1rem;
  background: rgba(124, 58, 237, 0.08); padding: .35rem .8rem; border-radius: 999px;
}
.hero h1 { max-width: 20ch; margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 1.25rem auto 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero-visual { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.proof-strip {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center;
  padding: 1rem; font-size: .9rem; color: var(--color-muted); font-weight: 500;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  font-family: var(--font-body);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #5b21b6);
  color: var(--color-neutral-light);
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.7); color: var(--color-neutral-light); }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1.5px solid rgba(30, 27, 75, 0.2);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Sections === */
.section { padding: 4rem 0; }
.section--tinted { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(6, 182, 212, 0.04)); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-sub { color: var(--color-muted); max-width: 55ch; margin-inline: auto; }
.prose { font-size: 1.05rem; color: var(--color-muted); line-height: 1.75; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.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(6, 182, 212, 0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }

@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } .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); } }

/* === Quote === */
.quote {
  border: none; margin: 0; padding: 2rem;
  background: var(--color-neutral-light);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.quote p { font-size: 1.2rem; font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 500; line-height: 1.5; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), #2d1e6e);
  color: var(--color-neutral-light);
  padding: 4rem 0; margin: 3rem 0 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25), transparent 40%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.8); max-width: 55ch; margin: 0 auto 1.75rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 27, 75, 0.12);
  background: var(--color-neutral-light);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-lift); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.1rem; color: var(--color-muted); font-weight: 500; margin-bottom: .25rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin: 0 0 .5rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.5rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px dashed rgba(30, 27, 75, 0.08); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark);
  cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative;
}
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; line-height: 1; color: var(--color-primary); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info p { color: var(--color-muted); }
.contact-info strong { color: var(--color-neutral-dark); }
.contact-form {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 27, 75, 0.08);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  padding: .75rem .9rem; border-radius: 10px; border: 1px solid rgba(30, 27, 75, 0.15);
  font-family: var(--font-body); font-size: 1rem; background: #fff;
  transition: border-color .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.15); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .5rem; font-size: .85rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.75);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: .75rem; }
.site-footer a { color: rgba(250, 245, 255, 0.75); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: .75rem; }
.tagline { font-style: italic; color: rgba(250, 245, 255, 0.6); }
.legal-links { margin-top: 1rem; }
.legal-links a { font-size: .85rem; }
.copyright { border-top: 1px solid rgba(250, 245, 255, 0.1); padding-top: 1.5rem; margin-top: 2rem; font-size: .85rem; color: rgba(250, 245, 255, 0.5); text-align: center; }

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

/* === 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-md);
  box-shadow: var(--shadow-lift);
  max-width: 720px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(250, 245, 255, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  padding: .55rem 1rem; border-radius: 999px; border: none;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: transform .15s, background .2s;
}
.cookie-banner__actions button:first-child { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__actions button { background: rgba(250, 245, 255, 0.12); color: var(--color-neutral-light); }
.cookie-banner__actions button:first-child { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; background: var(--color-accent); color: var(--color-neutral-dark); margin-top: .5rem; }
