/* === Tokens === */
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 70px -20px rgba(30, 58, 138, 0.3);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .75rem; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0 0 1rem; }

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

/* === Header (glass sticky 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(239, 246, 255, 0.72);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 24px -12px rgba(30, 58, 138, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  background: transparent; border: 0; color: var(--color-primary);
  padding: .5rem; cursor: pointer; border-radius: 8px;
}
.nav-toggle:hover { background: rgba(30, 58, 138, 0.08); }

.primary-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  flex-direction: column;
  gap: .25rem;
  box-shadow: var(--shadow-sm);
}
.primary-nav.open { display: flex; }
.primary-nav a {
  color: var(--color-ink);
  padding: .6rem .5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); background: rgba(59, 130, 246, 0.08); }
.nav-cta { background: var(--color-primary); color: #fff !important; padding: .55rem 1rem !important; border-radius: 999px !important; margin-top: .25rem; }
.nav-cta:hover { background: var(--color-neutral-dark); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static;
    flex-direction: row; align-items: center;
    background: transparent; border: 0; padding: 0; box-shadow: none;
    gap: .25rem;
  }
  .primary-nav a { padding: .4rem .65rem; font-size: .9rem; position: relative; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: .65rem; right: .65rem; bottom: .1rem;
    height: 2px; background: var(--color-accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; margin-left: .5rem; }
}

/* === Hero (centered, gradient band) === */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(249, 115, 22, 0.10), transparent 55%),
    linear-gradient(135deg, var(--color-neutral-light) 0%, #ffffff 55%, #E0EDFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12), transparent 50%);
  pointer-events: none;
}
.hero.hero-compact { padding: 3rem 0 1.5rem; }
@media (min-width: 768px) { .hero { padding: 5.5rem 0 4.5rem; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
  padding: .35rem .9rem;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  max-width: 22ch;
  margin: 0 auto 1.25rem;
  color: var(--color-primary);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem; margin-bottom: 2.5rem;
}
.hero-image {
  max-width: 960px; margin: 2rem auto 0;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-image img { width: 100%; height: auto; display: block; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(30, 58, 138, 0.6); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; background: #ea6a0f; }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { color: var(--color-muted); }

.intro h2 { text-align: center; margin-bottom: 1rem; }
.intro p { color: var(--color-muted); font-size: 1.05rem; text-align: center; }

/* === Cards grid === */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59, 130, 246, 0.3); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(249, 115, 22, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin: 0 0 .5rem; }
.card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, var(--color-neutral-light), #ffffff); }
.testimonial blockquote {
  margin: 0; text-align: center;
  position: relative;
  padding: 1rem 0;
}
.testimonial .quote-mark { color: var(--color-accent); opacity: .5; margin: 0 auto .75rem; display: block; }
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
  max-width: 34ch;
  margin: 0 auto 1.25rem;
}
.testimonial cite {
  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;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.25), transparent 55%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(239, 246, 255, 0.85); margin-bottom: 1.75rem; }

/* === Contact band === */
.contact-band {
  background: var(--color-neutral-light);
}
.contact-band p { color: var(--color-muted); font-size: 1.05rem; }

/* === Pricing === */
.pricing-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  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-md);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.pricing-card__plan { margin: 0 0 .25rem; font-size: 1.25rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li {
  display: flex; gap: .5rem;
  align-items: flex-start;
  padding: .35rem 0;
  font-size: .95rem;
  color: var(--color-ink);
  border-bottom: 1px solid rgba(30, 58, 138, 0.06);
}
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__features span { color: var(--color-accent); font-weight: 700; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.faq details:first-of-type { border-top: 1px solid var(--color-border); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  list-style: none;
  padding-right: 2rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 1.5rem; line-height: 1;
  color: var(--color-accent);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .88rem; color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; }
.contact-form .btn { justify-self: start; margin-top: .5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(239, 246, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(239, 246, 255, 0.12);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 .9rem; }
.site-footer a { color: rgba(239, 246, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .logo-footer img { height: 60px; }
.site-footer .tagline { font-family: var(--font-heading); font-size: .95rem; color: rgba(239, 246, 255, 0.75); margin-top: .75rem; max-width: 30ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .92rem; }
.site-footer address { font-style: normal; font-size: .92rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex !important; flex-wrap: wrap; gap: .75rem; font-size: .85rem; }
.legal-links li { margin: 0; }
.copyright { padding-top: 1.25rem; font-size: .82rem; color: rgba(239, 246, 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);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 560px;
  margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  border: 0; cursor: pointer;
  font-family: var(--font-heading);
  font-size: .85rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 999px;
  background: rgba(239, 246, 255, 0.15);
  color: var(--color-neutral-light);
  transition: background .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(239, 246, 255, 0.25); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a0f; }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(239, 246, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: .5rem; font-size: .88rem; color: var(--color-neutral-light); }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; background: var(--color-secondary); color: #fff; margin-top: .35rem; }

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