:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 27, 75, 0.1);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
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; }

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

/* === Header / Nav === */
.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 .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 20px rgba(30, 27, 75, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(124, 58, 237, 0.08); }
.primary-nav { display: none; flex-direction: column; gap: .5rem; width: 100%; padding-block: 1rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: .5rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; width: auto; gap: 1.75rem; padding-block: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); font-size: 1rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.7); }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1.5px solid rgba(124, 58, 237, 0.35); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); border-color: var(--color-primary); }

/* === Hero card === */
.hero-card-wrap {
  padding-block: 3rem;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(70% 70% at 80% 30%, rgba(167, 139, 250, 0.22), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #EDE9FE);
}
.hero-card {
  max-width: 880px;
  margin-inline: auto;
  padding: 2.5rem 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; inset: -40% -30% auto auto; width: 60%; height: 60%;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.25), transparent);
  pointer-events: none;
}
.hero-card h1 { max-width: 22ch; }
.hero-sub { font-size: 1.15rem; color: rgba(30, 27, 75, 0.75); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px -20px rgba(30, 27, 75, 0.35); aspect-ratio: 16/9; }
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, #F5F3FF, #EDE9FE); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(30, 27, 75, 0.7); font-size: 1.05rem; }
.body-lede { font-size: 1.1rem; color: rgba(30, 27, 75, 0.85); }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* === Cards === */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 27, 75, 0.06);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.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.15), rgba(6, 182, 212, 0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(30, 27, 75, 0.8); font-size: .97rem; margin: 0; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; text-align: center; border-left: 4px solid var(--color-accent); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.cta-band__meta { font-size: .95rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 1.5rem; }

/* === 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: var(--radius);
  border: 1px solid rgba(30, 27, 75, 0.12);
  background: #fff;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: 0 20px 50px -20px rgba(6, 182, 212, 0.5); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #fff; padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.pricing-card__plan { font-size: 1.35rem; margin-bottom: .5rem; color: var(--color-primary); }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin: 0 0 .75rem; color: var(--color-neutral-dark); }
.pricing-card__lede { color: rgba(30, 27, 75, 0.7); font-size: .95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: .55rem; font-size: .97rem; color: rgba(30, 27, 75, 0.9); align-items: flex-start; }
.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 { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; border: 1px solid rgba(30, 27, 75, 0.08); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: .75rem; color: rgba(30, 27, 75, 0.8); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(30, 27, 75, 0.06); }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1.5px solid rgba(30, 27, 75, 0.15); background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .15s, box-shadow .15s; }
.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-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: rgba(30, 27, 75, 0.85); }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-heading); }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .logo img { filter: brightness(0) invert(1); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-grid nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-tag { margin-top: .75rem; color: rgba(255, 255, 255, 0.65); font-size: .95rem; }
.footer-legal { margin-top: 1rem; font-size: .85rem; color: rgba(255, 255, 255, 0.65); }
address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.copyline { padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, 0.6); text-align: center; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; } }

/* === 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 rgba(0, 0, 0, 0.35); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: var(--color-neutral-light); font: inherit; font-size: .9rem; cursor: pointer; transition: background .15s; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #0891B2; }
.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); }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--color-primary); color: #fff; border: 0; font: inherit; font-size: .9rem; cursor: pointer; }

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