/* =============================================================
   DESIGN TOKENS & RESET
   ============================================================= */
:root {
  --c-indigo: #18043D; --c-navy: #041E42; --c-blue: #0019FF;
  --c-blue-hover: #0014CC; --c-blue-active: #000EB3; --c-soft-blue: #6695FF;
  --c-surface: #FAFAFA; --c-surface-alt: #F5F7FA; --c-charcoal: #121212;
  --c-gray: #404040; --c-text: #041E42; --c-text-muted: #404040;
  --c-on-dark: #F0F0F1; --c-dim-dark: rgba(240, 246, 252, 0.62);
  --c-border: rgba(4, 30, 66, 0.09); --c-border-dark: rgba(255, 255, 255, 0.10);
  --font: 'Open Sans', system-ui, -apple-system, sans-serif;
  --tracking: -0.027em; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-v: clamp(80px, 10vw, 120px); --pad-h: clamp(20px, 5vw, 80px); --max-w: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  color: var(--c-text); background: var(--c-surface);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =============================================================
   SCROLL ANIMATION
   ============================================================= */
@supports (animation-timeline: view()) {
  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }
  .reveal {
    animation: reveal-in ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .reveal--delay-1 { animation-delay: 80ms; }
  .reveal--delay-2 { animation-delay: 160ms; }
  .reveal--delay-3 { animation-delay: 240ms; }
  .reveal--delay-4 { animation-delay: 320ms; }
  @media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }
}

/* =============================================================
   BUTTONS & SECTION LABELS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 16px 28px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 150ms var(--ease);
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 25, 255, 0.38); }
.btn--lg { font-size: 16px; padding: 18px 34px; }
.btn--sm { font-size: 13px; padding: 10px 18px; }
.btn--primary { background: var(--c-blue); color: #FFFFFF; border-color: rgba(4, 30, 66, 0.4); }
.btn--primary:hover { background: var(--c-blue-hover); transform: translateY(-1px); }
.btn--primary:active { background: var(--c-blue-active); transform: none; }
.btn--outline-dark { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.35); }
.btn--outline-dark:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.55); }
.btn--outline-light { background: transparent; color: var(--c-navy); border-color: rgba(4,30,66,0.3); }
.btn--outline-light:hover { background: rgba(4,30,66,0.04); border-color: rgba(4,30,66,0.5); }

.section-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.section-kicker--dark { color: var(--c-soft-blue); }
.section-kicker--light { color: var(--c-blue); opacity: 0.7; }

/* =============================================================
   NAVIGATION & MOBILE MENU
   ============================================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease); }
.nav.is-scrolled { background: #FAFAFA; border-bottom: 1px solid rgba(4, 30, 66, 0.09); box-shadow: 0 2px 24px rgba(4, 30, 66, 0.07); }
.nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-h); height: 66px; display: flex; align-items: center; }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; margin-right: auto; }
.nav__logo-wrap { position: relative; width: 160px; height: 36px; }
.nav__logo-img { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: auto; max-height: 100%; transition: opacity 320ms var(--ease); }
.nav__logo-img--light { opacity: 1; height: 28px; }
.nav__logo-img--dark { opacity: 0; height: 32px; }
.nav.is-scrolled .nav__logo-img--light { opacity: 0; }
.nav.is-scrolled .nav__logo-img--dark { opacity: 1; }
.nav__menu { display: none; align-items: center; gap: 4px; margin-right: 20px; }
.nav__menu > li { position: relative; }
.nav__menu > li::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.nav__menu > li > a { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: rgba(240, 246, 252, 0.82); padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: color 220ms var(--ease), background 220ms var(--ease); }
.nav__menu > li > a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.09); }
.nav__menu > li > a.is-active { color: var(--c-soft-blue); }
.nav.is-scrolled .nav__menu > li > a { color: var(--c-navy); }
.nav.is-scrolled .nav__menu > li > a:hover { color: var(--c-blue); background: rgba(0, 25, 255, 0.05); }
.nav__chevron { flex-shrink: 0; opacity: 0.65; transition: transform 220ms var(--ease), opacity 220ms var(--ease); }
.nav__menu > li > a:hover .nav__chevron { opacity: 1; }
.nav__menu > li:hover .nav__chevron { transform: rotate(180deg); opacity: 1; }
.nav__dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-8px); background: #FAFAFA; border: 1px solid rgba(4, 30, 66, 0.09); border-radius: 8px; box-shadow: 0 8px 32px rgba(4, 30, 66, 0.12), 0 2px 8px rgba(4, 30, 66, 0.06); padding: 6px 0; min-width: 220px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms var(--ease), visibility 200ms, transform 200ms var(--ease); list-style: none; z-index: 200; }
.nav__dropdown--right { left: auto; right: 0; transform: translateX(0) translateY(-8px); }
.nav__menu > li:hover .nav__dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__menu > li:hover .nav__dropdown--right { transform: translateX(0) translateY(0); }
.nav__dropdown a { display: block; padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--c-navy) !important; white-space: nowrap; transition: color 120ms, background 120ms; }
.nav__dropdown a:hover { color: var(--c-blue) !important; background: rgba(0, 25, 255, 0.04); }
.nav__dropdown a.is-current { color: var(--c-blue) !important; font-weight: 600; }
.nav__dropdown-divider { height: 1px; background: rgba(4, 30, 66, 0.08); margin: 4px 16px; }
.nav__cta { flex-shrink: 0; }
@media (max-width: 899px) { .nav__cta { display: none; } }
@media (min-width: 900px) { .nav__menu { display: flex; } }

.nav__hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; margin-left: auto; background: none; border: none; cursor: pointer; flex-shrink: 0; }
.nav__hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: rgba(240, 246, 252, 0.85); transition: transform 280ms var(--ease), opacity 220ms var(--ease), background 280ms var(--ease); }
.nav.is-scrolled .nav__hamburger span { background: var(--c-navy); }
.nav.menu-open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.menu-open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .nav__hamburger { display: none; } }

.mobile-menu { position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: var(--c-navy); z-index: 98; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(100%); transition: transform 320ms var(--ease); padding: 8px 0 56px; }
.nav.menu-open ~ .mobile-menu { transform: translateX(0); }
@media (min-width: 900px) { .mobile-menu { display: none; } }
.mobile-menu__list { list-style: none; padding: 0 var(--pad-h); }
.mobile-menu__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu__link, .mobile-submenu-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: var(--tracking); color: #F2F2F3; background: none; border: none; cursor: pointer; text-align: left; text-decoration: none; transition: color 150ms var(--ease); }
.mobile-menu__link:hover, .mobile-submenu-trigger:hover { color: var(--c-soft-blue); }
.mobile-chevron { flex-shrink: 0; opacity: 0.45; transition: transform 280ms var(--ease), opacity 220ms var(--ease); }
.mobile-menu__item.is-open .mobile-chevron { transform: rotate(180deg); opacity: 1; color: var(--c-soft-blue); }
.mobile-submenu-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease); }
.mobile-menu__item.is-open .mobile-submenu-wrap { grid-template-rows: 1fr; }
.mobile-submenu-inner { overflow: hidden; min-height: 0; }
.mobile-submenu { padding: 4px 0 20px 0; display: flex; flex-direction: column; gap: 0; }
.mobile-submenu a { display: block; padding: 12px 16px; font-size: 14px; font-weight: 500; color: rgba(240, 246, 252, 0.62); text-decoration: none; border-radius: 6px; transition: color 140ms var(--ease), background 140ms var(--ease); }
.mobile-submenu a:hover { color: #F2F2F3; background: rgba(255, 255, 255, 0.06); }
.mobile-submenu a.is-current { color: var(--c-soft-blue); font-weight: 600; }
.mobile-menu__cta { padding: 32px var(--pad-h) 0; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 18px 28px; }

/* =============================================================
   SHARED CTA BASE (Images handled in specific CSS)
   ============================================================= */
.cta-section { background-color: #041E42; background-size: cover; background-position: center; padding: clamp(100px, 14vw, 160px) var(--pad-h); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(4, 30, 66, 0.88); z-index: 0; }
.cta-arrow-graphic { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: min(500px, 42vw); pointer-events: none; opacity: 0.18; z-index: 1; }
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.cta-headline { font-size: clamp(28px, 4.2vw, 52px); font-weight: 700; letter-spacing: var(--tracking); color: #F2F2F3; line-height: 1.08; margin-bottom: 18px; }
.cta-body { font-size: 17px; color: var(--c-dim-dark); line-height: 1.55; max-width: 48ch; margin: 0 auto 40px; }
.cta-trust { margin-top: 24px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.28); letter-spacing: 0.03em; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 72px var(--pad-h) 40px; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px 32px; padding-bottom: 56px; border-bottom: 1px solid var(--c-border); margin-bottom: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-logo-img { height: 26px; width: auto; display: block; margin-bottom: 16px; opacity: 1; }
.footer-brand-desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.65; max-width: 28ch; }
.footer-col-label { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-navy); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13px; color: var(--c-text-muted); transition: color 140ms var(--ease); line-height: 1.3; }
.footer-links a:hover { color: var(--c-blue); }
.footer-links a.is-current { color: var(--c-blue); font-weight: 600; }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(4, 30, 66, 0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(4, 30, 66, 0.35); transition: color 140ms var(--ease); }
.footer-legal a:hover { color: var(--c-navy); }
