:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-white: #ffffff;
  --color-text: #1E1B4B;
  --color-muted: #4c4a72;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(30, 27, 75, 0.25);
}

/* === 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-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
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.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  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 var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(79, 70, 229, 0.65); color: var(--color-white); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn--sm { padding: .55rem .95rem; font-size: .875rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Header / glass nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 242, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.85); border-bottom-color: var(--color-border); box-shadow: 0 4px 20px -12px rgba(30, 27, 75, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { background: transparent; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(30, 27, 75, 0.06); }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); position: relative; padding: .35rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-white); padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { transform: translateY(-2px); color: var(--color-white); }

.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; position: absolute; top: 100%; left: 0; right: 0; padding: 1.25rem; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .primary-nav.is-open { position: static; padding: 0; background: transparent; border-bottom: 0; flex-direction: row; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(129, 140, 248, 0.06) 50%, rgba(238, 242, 255, 0) 100%); }
.hero__glow { position: absolute; inset: -20% 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), rgba(249, 115, 22, 0) 60%); filter: blur(20px); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-inline: auto; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
.hero__visual { max-width: 960px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero__visual::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); border-radius: inherit; pointer-events: none; }
.hero__visual img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero--sub { padding-block: 3rem 2.5rem; }

.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

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

/* === Proof strip === */
.proof-strip { padding-block: 2rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-white); }
.proof-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; color: var(--color-muted); font-family: var(--font-heading); font-weight: 500; }
.proof-strip__inner span { display: inline-flex; align-items: center; gap: .5rem; }
.proof-strip__inner span::before { content: '●'; color: var(--color-accent); font-size: .6em; }

/* === Sections === */
section { padding-block: 4rem; }
@media (min-width: 768px) { section { padding-block: 5.5rem; } }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

.intro__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.intro__inner p { font-size: 1.1rem; color: var(--color-muted); }

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

.card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(30, 27, 75, 0.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, var(--color-neutral-light), var(--color-white)); }
.quote { max-width: 780px; margin: 0 auto; text-align: center; position: relative; padding: 0 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--color-neutral-dark); font-weight: 500; line-height: 1.4; }
.quote cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-family: var(--font-body); font-size: .95rem; }

/* === FAQ === */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-list details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem 1.35rem; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; position: relative; padding-right: 2rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: .75rem; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; background: var(--color-white); border: 1px solid var(--color-border); 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-color: var(--color-accent); border-width: 2px; box-shadow: 0 20px 50px -20px rgba(249, 115, 22, 0.35); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: var(--color-white); font-family: var(--font-heading); font-weight: 600; font-size: .75rem; padding: .3rem .75rem; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-card__plan { font-size: 1.35rem; 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 .75rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; color: var(--color-neutral-dark); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { width: 100%; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-white); border-radius: 0; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.cta-band h2 { color: var(--color-white); margin: 0 0 .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.6); }
.cta-band .btn--primary:hover { background: #ff8a3d; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === Contact form === */
.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.contact-form { display: grid; gap: 1rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15); background: var(--color-white); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.8); padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.site-footer h3 { color: var(--color-white); font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-tagline { color: rgba(255, 255, 255, 0.7); margin-top: .75rem; }
.logo--footer img { height: 64px; }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: .85rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }

/* === 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: 0 20px 50px -12px 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; color: rgba(238, 242, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(238, 242, 255, 0.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(238, 242, 255, 0.1); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); display: flex; flex-direction: column; gap: .55rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }

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