:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --color-text: #1F1B4D;
  --color-muted: #605E8A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(49, 46, 129, 0.28);
}

/* === Reset & base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  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); }
a:hover { color: var(--color-neutral-dark); }

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, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.7); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: rgba(49, 46, 129, 0.2);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.65); }

/* === Header (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 243, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(49, 46, 129, 0.06);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(245, 243, 255, 0.92); box-shadow: 0 4px 30px -20px rgba(49, 46, 129, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.nav-toggle { background: none; border: 0; padding: .5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

.primary-nav { display: none; flex-direction: column; gap: 1rem; }
.primary-nav a { font-family: var(--font-heading); 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: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .5rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

.site-header.is-open .primary-nav { display: flex; padding-block: 1rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; align-items: center; }
  .logo img { height: 96px; }
}

/* === Hero === */
.hero { padding-block: 3.5rem; position: relative; overflow: hidden; }
.hero-split { background: radial-gradient(circle at 15% 20%, rgba(129, 140, 248, 0.22), transparent 60%), radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.12), transparent 55%), var(--color-neutral-light); }
.hero-simple { background: linear-gradient(135deg, var(--color-neutral-light), #fff); padding-block: 4rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-visual img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 5.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: var(--color-neutral-light); }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--color-primary); }
.section-head h2 { margin-bottom: .5rem; }

.split-block { display: grid; gap: 2.5rem; align-items: center; }
.split-visual img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split-block { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .split-reverse .split-copy { order: 2; }
  .split-reverse .split-visual { order: 1; }
}

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

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(49, 46, 129, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s 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(99, 102, 241, 0.14), rgba(16, 185, 129, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 2.5rem 1.5rem;
}
.testimonial-portrait { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.25rem; box-shadow: var(--shadow-sm); }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; 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: 3.5rem;
  margin-block: 0;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .cta-inner { grid-template-columns: 1fr auto; gap: 2.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;
  background: #fff;
  border: 1px solid rgba(49, 46, 129, 0.12);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-lg); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .85rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: .8rem;
}
.pricing-card__plan { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); font-weight: 600; 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: 1rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid rgba(49, 46, 129, 0.06); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(49, 46, 129, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 1.5rem; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; font-weight: 500; font-size: .95rem; color: var(--color-neutral-dark); gap: .35rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(49, 46, 129, 0.15);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-size: .875rem; color: var(--color-muted); font-weight: 400 !important; }
.form-consent input { margin-top: .25rem; }
.contact-form button { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(245, 243, 255, 0.85); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(245, 243, 255, 0.85); display: block; padding: .25rem 0; }
.site-footer nav a { display: block; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.75; }
.site-footer address a { display: inline; padding: 0; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.legal-links a { display: inline; padding: 0; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: .875rem; color: rgba(245, 243, 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.5rem; border-radius: 16px;
  box-shadow: var(--shadow-lg);
  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 button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  background: rgba(245, 243, 255, 0.1); color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.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 [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); color: #fff; }

/* === Reveal animation === */
.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; } .btn:hover, .card:hover, .pricing-card:hover { transform: none; } }

/* === Focus styles === */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
