:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4A78;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 50px -20px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1rem; }
a  { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--color-primary); color: #fff; padding: .5rem 1rem; border-radius: 6px; z-index: 10000; }

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

.eyebrow { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header === */
.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 rgba(76, 29, 149, 0.08);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 6px 24px -20px rgba(76, 29, 149, 0.3); }
.nav-inner { max-width: 1200px; margin-inline: auto; padding: .875rem 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; display: block; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { font-weight: 500; color: var(--color-neutral-dark); position: relative; padding: .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 .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a.nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav a.nav-cta::after { display: none; }
.primary-nav a.nav-cta:hover { background: var(--color-neutral-dark); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px 8px; background: transparent; border: 1px solid rgba(76, 29, 149, 0.15); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); border-bottom: 1px solid rgba(76, 29, 149, 0.08); gap: 1rem; }
@media (min-width: 768px) { .primary-nav.is-open { position: static; padding: 0; flex-direction: row; align-items: center; } }

/* === Hero card === */
.hero { padding-block: 3rem 2rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 90% 10%, rgba(34, 197, 94, 0.10), transparent 60%),
              radial-gradient(900px 500px at 10% 100%, rgba(167, 139, 250, 0.35), transparent 60%),
              linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.03));
  z-index: -1;
}
.hero-card__panel {
  max-width: 880px; margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.35), 0 4px 20px rgba(76, 29, 149, 0.06);
  border: 1px solid rgba(76, 29, 149, 0.06);
  text-align: left;
}
.hero-card__panel h1 { max-width: 22ch; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__visual { margin-top: 1.5rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-card__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3rem; }
  .hero-card__panel { padding: 4rem 3.5rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 999px; border: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(124, 58, 237, 0.35); outline-offset: 2px; }
.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.6); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76, 29, 149, 0.2); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #04220E; box-shadow: 0 10px 24px -10px rgba(34, 197, 94, 0.55); }
.btn-accent:hover { background: #16a34a; color: #fff; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-tinted { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(124, 58, 237, 0.04)); }
.section h2 { margin-bottom: 2rem; }
.container.narrow h2 { text-align: left; }
.container.narrow p { font-size: 1.0625rem; color: var(--color-muted); }

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  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(34, 197, 94, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }

.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }

/* === Quote === */
.quote { margin: 0; padding: 2rem 1.5rem; border-left: 3px solid var(--color-primary); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.quote p { font-size: 1.1875rem; line-height: 1.55; color: var(--color-neutral-dark); font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 300px at 80% 20%, rgba(34, 197, 94, 0.25), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin: 0 auto 1.75rem; font-size: 1.0625rem; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius-md); background: #fff; border: 1px solid rgba(76, 29, 149, 0.12); display: flex; flex-direction: column; box-shadow: var(--shadow-soft); 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: 2px solid var(--color-accent); box-shadow: 0 24px 60px -24px rgba(34, 197, 94, 0.35); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #04220E; font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: .5rem; }
.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: .5rem; }
.pricing-card__lede { color: var(--color-muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .625rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .9375rem; color: var(--color-text); }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex: 0 0 auto; }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); padding: 1rem 1.25rem; 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; position: relative; padding-right: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--color-primary); font-size: 1.25rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); border: 1px solid rgba(76, 29, 149, 0.06); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .9375rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid rgba(76, 29, 149, 0.18); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); }
.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.18); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .25rem; }
.contact-form .btn { align-self: flex-start; }

.contact-band { text-align: center; }
.contact-line { font-size: 1rem; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1.25rem; flex-direction: row; flex-wrap: wrap; gap: .75rem 1.25rem; font-size: .875rem; }
.legal-links li { list-style: none; }
.logo--footer img { height: 64px; margin-bottom: .75rem; filter: brightness(1.5); }
.footer-tag { color: rgba(255,255,255,0.7); font-size: .9375rem; margin: 0; }
.copyright { max-width: 1200px; margin: 2rem auto 0; padding: 1.5rem 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: .875rem; color: rgba(255,255,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; border-radius: var(--radius-md); box-shadow: 0 20px 60px -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: .9375rem; line-height: 1.5; color: rgba(255,255,255,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; font-weight: 600; font-size: .875rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #04220E; border-color: transparent; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #16a34a; color: #fff; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .875rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; font: inherit; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; border: none; background: var(--color-primary); color: #fff; cursor: pointer; }

/* === 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; }
  html { scroll-behavior: auto; }
}
