:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 50px -20px rgba(76, 29, 149, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #1f1147;
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .75em; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 245, 255, 0.7);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 20px -10px rgba(76, 29, 149, 0.18); }
.site-header__inner {
  max-width: 1180px; margin-inline: auto; padding: .75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: none; border: 0; color: var(--color-neutral-dark);
  cursor: pointer; padding: .5rem; border-radius: 8px;
}
.site-nav { display: none; flex-direction: column; gap: .25rem; }
.site-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.1); box-shadow: 0 10px 30px -10px rgba(76, 29, 149, 0.2); }
.site-nav a { padding: .65rem .25rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light) !important; padding: .65rem 1.1rem !important; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { color: var(--color-neutral-light) !important; }

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

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

/* === Hero (saas-spotlight) === */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4rem; }
.hero--spotlight {
  background: linear-gradient(160deg, rgba(124,58,237,0.06), rgba(167,139,250,0.04) 60%, transparent);
}
.hero__glow {
  position: absolute; inset: -10% 20% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.18), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 56ch; margin-inline: auto; font-size: 1.15rem; color: rgba(76, 29, 149, 0.78); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual {
  max-width: 980px; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(76, 29, 149, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.08);
  background: var(--color-neutral-light);
}
.hero__visual img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 5rem; }
  .hero__sub { font-size: 1.25rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: rgba(76, 29, 149, 0.7); font-size: 1.05rem; }
.section--quote { padding: 3rem 0; }

/* === Cards / Grids === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #ffffff; border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(76, 29, 149, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.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(249, 115, 22, 0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card p { color: rgba(31, 17, 71, 0.78); margin-bottom: 0; }

/* === Split === */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lift); }

/* === Quote === */
.quote { margin: 0; text-align: center; padding: 2.5rem 1rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(167,139,250,0.07)); }
.quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem; padding: 3rem 1.5rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light); text-align: center;
  box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.6);
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.88); max-width: 52ch; margin: 0 auto 1.5rem; }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 14px 30px -10px rgba(249,115,22,0.65); }
.cta-band .btn--primary:hover { background: #fb8a3c; }

/* === Stats === */
.grid--stats { grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .grid--stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #ffffff; padding: 2rem 1.5rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-soft); border: 1px solid rgba(76,29,149,0.06); }
.stat__num { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--color-accent); margin-bottom: .5rem; letter-spacing: -0.02em; }
.stat p { color: rgba(31,17,71,0.75); margin: 0; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 980px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative; background: #ffffff; padding: 2.25rem; border-radius: var(--radius);
  border: 1px solid rgba(76, 29, 149, 0.12);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: 0 20px 40px -20px rgba(249, 115, 22, 0.25); }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.pricing-card__plan { margin-bottom: .25rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-neutral-dark); margin-bottom: 1rem; letter-spacing: -0.02em; line-height: 1.1; }
.pricing-card__lede { color: rgba(31, 17, 71, 0.7); margin-bottom: 1.5rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .4rem 0; color: rgba(31,17,71,0.85); }
.pricing-card__features span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin: 0; }
.pricing-card__cta .btn { width: 100%; }

/* === FAQ === */
.faq details {
  background: #ffffff; border-radius: 12px; padding: 1rem 1.25rem;
  margin-bottom: .75rem; border: 1px solid rgba(76,29,149,0.08);
  box-shadow: var(--shadow-soft);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); list-style: none; padding-right: 2rem; position: relative; font-family: var(--font-heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .75rem 0 0; color: rgba(31,17,71,0.78); }

/* === Contact === */
.contact-info p { color: rgba(31,17,71,0.85); }
.contact-info strong { color: var(--color-neutral-dark); }
.contact-form { background: #ffffff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(76,29,149,0.08); }
.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form span { display: block; font-weight: 600; color: var(--color-neutral-dark); font-size: .9rem; margin-bottom: .35rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid rgba(76,29,149,0.18); font: inherit; font-size: 1rem;
  background: var(--color-neutral-light); color: #1f1147;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.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); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: .5rem; width: 100%; }
@media (min-width: 600px) { .contact-form button { width: auto; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,245,255,0.82); margin-top: 4rem; padding: 3rem 0 1.5rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(250,245,255,0.82); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.tagline { color: rgba(250,245,255,0.7); font-size: .95rem; max-width: 28ch; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.logo--footer img { height: 64px; margin-bottom: 1rem; filter: brightness(1.4); }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,245,255,0.12); font-size: .85rem; color: rgba(250,245,255,0.65); }

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

/* === 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);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  border: 0; padding: .6rem 1rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  background: rgba(250,245,255,0.12); color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner__actions button:hover { background: rgba(250,245,255,0.2); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #fb8a3c; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.18); display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  margin-top: .5rem; padding: .55rem 1rem; border: 0; border-radius: 999px;
  background: var(--color-accent); color: var(--color-neutral-light);
  font-weight: 600; cursor: pointer;
}
