/* AMP AI Labs — Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

:root {
  --navy: #0B1240;
  --royal-blue: #0A5ADF;
  --cyan: #00E5E8;
  --purple: #7B1AFA;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --off-white: #F6F7FC;
  --gray-text: #5A6185;
  --border: #E3E6F2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .65rem 1.5rem; border-radius: .75rem;
  font-weight: 700; font-size: .875rem; line-height: 1;
  transition: all .2s; cursor: pointer; border: none; white-space: nowrap;
}
.btn-amber  { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-navy   { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0d1854; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-blue   { background: var(--royal-blue); color: #fff; }
.btn-blue:hover { background: #0848c0; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: .875rem; }

/* ── Gradient text ── */
.grad-text {
  background: linear-gradient(135deg, #0A5ADF 0%, #00E5E8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Section label ── */
.section-label {
  display: inline-block; padding: .25rem .75rem; border-radius: 9999px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em;
  color: var(--royal-blue); background: rgba(10,90,223,.07); border: 1px solid rgba(10,90,223,.2);
  margin-bottom: .75rem;
}

/* ── Header ── */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,247,252,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
#site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(11,18,64,.08);
}
.header-inner {
  max-width: 80rem; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 2rem; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav-logo img.logo-symbol { height: 36px; width: auto; }
.nav-logo img.logo-wordmark { height: 16px; width: auto; }

/* Desktop nav */
.desktop-nav { display: none; align-items: center; gap: .25rem; flex: 1; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; font-weight: 600;
  color: var(--gray-text); transition: all .2s; white-space: nowrap; cursor: pointer;
  background: none; border: none;
}
.nav-link:hover, .nav-link.active { color: var(--royal-blue); background: rgba(10,90,223,.07); }
.nav-link svg { transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(11,18,64,.16); padding: 1rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none; z-index: 200;
}
/* arrow caret */
.dropdown::before {
  content: ''; position: absolute; top: -6px; left: 20px;
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.dropdown.mega { width: 660px; display: grid; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 1.25rem; }
.dropdown.slim { width: 220px; }
.dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.nav-link.nav-active { color: var(--royal-blue); background: rgba(10,90,223,.07); }
.nav-link.nav-active svg { transform: rotate(180deg); }
.dropdown-group-label {
  font-size: .63rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em;
  color: var(--gray-text); margin-bottom: .625rem; padding-bottom: .375rem;
  border-bottom: 1px solid var(--border);
}
.dropdown-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .625rem; border-radius: .5rem; font-size: .8125rem; font-weight: 500;
  color: var(--gray-text); transition: all .15s;
}
.dropdown-link:hover { color: var(--royal-blue); background: rgba(10,90,223,.07); padding-left: .875rem; }
.dropdown-link svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .15s; }
.dropdown-link:hover svg { transform: scale(1.15); }

.nav-cta { margin-left: auto; display: none; }
@media (min-width: 1024px) { .nav-cta { display: flex; } }

/* ── Mobile nav ── */
.mobile-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: .5rem; border: none;
  background: none; cursor: pointer; color: var(--navy); margin-left: auto;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 110;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 20rem; max-width: 85vw;
  background: #fff; z-index: 120; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease-in-out;
  box-shadow: -4px 0 40px rgba(11,18,64,.15);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.mobile-nav-body { flex: 1; overflow-y: auto; padding: 1rem; }
.mobile-nav-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem; margin-bottom: .25rem; border-radius: .625rem;
  font-size: .875rem; font-weight: 600; color: #374151; transition: all .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--royal-blue); background: #EEF3FF; border-left: 2px solid var(--royal-blue);
}
.mobile-nav-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .75rem; margin-bottom: .25rem; border-radius: .625rem;
  font-size: .875rem; font-weight: 600; color: #374151;
  background: none; border: none; cursor: pointer; transition: all .2s;
}
.mobile-nav-toggle:hover { color: var(--royal-blue); background: #EEF3FF; }
.mobile-nav-toggle svg { transition: transform .2s; }
.mobile-nav-toggle.expanded svg { transform: rotate(180deg); }
.mobile-sub-items { display: none; margin-left: .75rem; padding-bottom: .5rem; }
.mobile-sub-items.open { display: block; }
.mobile-sub-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem .75rem; border-radius: .5rem;
  font-size: .8125rem; color: #6B7280; transition: all .15s;
}
.mobile-sub-link:hover { color: var(--royal-blue); background: #EEF3FF; }
.mobile-group-label {
  padding: .5rem .75rem .25rem; font-size: .65rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: .15em;
}
.mobile-drawer-cta { padding: 1rem; border-top: 1px solid var(--border); }

/* ── Footer ── */
#site-footer { background: var(--navy); color: #fff; }
.footer-inner { max-width: 80rem; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr repeat(4, 1fr); } }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; margin: 1rem 0; }
.footer-contact-link { font-size: .8125rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.footer-contact a { transition: color .15s; }
.footer-contact a:hover { color: var(--cyan); }
.footer-contact-link svg { flex: 0 0 14px; }
.footer-col-title { min-height: 2.6em; font-size: .7rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.35); margin-bottom: .875rem; }
.footer-link { display: block; font-size: .8125rem; color: rgba(255,255,255,.55); padding: .2rem 0; transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-service-link { display: flex; align-items: center; gap: .5rem; }
.footer-service-link svg { flex: 0 0 14px; }
.footer-quick-link { display: flex; align-items: center; gap: .5rem; }
.footer-quick-link svg { flex: 0 0 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.65); margin: 0; }
.footer-bottom-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal-links a { font-size: .75rem; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-legal-links a:hover { color: #fff; }
.footer-scroll-top {
  display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  color: rgba(255,255,255,.75); transition: color .15s, border-color .15s, background-color .15s;
}
.footer-scroll-top:hover { color: #fff; border-color: currentColor; background: rgba(255,255,255,.08); }

/* ── Marquee ── */
.marquee-outer { overflow: hidden; }
.marquee-track { display: flex; gap: 2rem; animation: marquee-scroll 25s linear infinite; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }

/* ── Hero robot ── */
.hero-stage {
  position: absolute; border-radius: 50%; overflow: hidden;
  width: 370px; height: 370px;
  background: radial-gradient(circle at 50% 58%, #142268 0%, #071540 50%, #030C22 100%);
  box-shadow: 0 0 100px 30px rgba(0,229,232,.16), 0 0 200px 60px rgba(10,90,223,.1), inset 0 0 80px rgba(0,229,232,.07);
}
.hero-stage-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,229,232,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(0,229,232,.045) 1px,transparent 1px);
  background-size: 22px 22px;
}
.hero-stage-glow {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 65%,rgba(0,229,232,.2) 0%,rgba(10,90,223,.12) 32%,transparent 62%);
  animation: hero-glow-pulse 3s ease-in-out infinite;
}
.hero-scan-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(0,229,232,.85) 50%,transparent);
  animation: scan-line 3.5s linear infinite;
}
.hero-ring-1 {
  position: absolute; border-radius: 50%; width: 405px; height: 405px;
  border: 1px dashed rgba(0,229,232,.18); border-top-color: rgba(0,229,232,.65);
  animation: spin-ring-cw 11s linear infinite;
}
.hero-ring-1::after {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #00E5E8;
  box-shadow: 0 0 12px 4px rgba(0,229,232,.85);
}
.hero-ring-2 {
  position: absolute; border-radius: 50%; width: 440px; height: 300px;
  border: 1px solid rgba(123,26,250,.18); border-right-color: rgba(123,26,250,.7);
  animation: spin-ring-ccw 7.5s linear infinite;
}
.hero-ring-2::after {
  content: ''; position: absolute; top: -5px; right: 14%;
  width: 10px; height: 10px; border-radius: 50%; background: #7B1AFA;
  box-shadow: 0 0 10px 3px rgba(123,26,250,.85);
}
.hero-robot-img {
  position: relative; z-index: 10; width: 300px; height: 300px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(0,229,232,.35), 0 0 40px 8px rgba(0,229,232,.3), 0 0 80px 20px rgba(10,90,223,.2);
}
.hero-robot-img svg { width: 100%; height: 100%; display: block; }
.hero-bracket {
  position: absolute; width: 22px; height: 22px;
  animation: bracket-pulse 2.5s ease-in-out infinite;
}
.hero-float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 1rem; backdrop-filter: blur(12px);
  z-index: 30; min-width: 148px;
}
.hero-float-card .card-icon {
  width: 40px; height: 40px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.hero-float-card .card-title { font-size: .75rem; font-weight: 900; line-height: 1; }
.hero-float-card .card-sub  { font-size: .625rem; font-weight: 600; line-height: 1; margin-top: 4px; display: flex; align-items: center; gap: 3px; }
.task-chip-wrap { position: absolute; left: 50%; top: 14px; z-index: 25; height: 32px; }
.task-chip {
  position: absolute; left: 0; opacity: 0;
  font-size: 11px; font-weight: 700; color: #00E5E8;
  padding: 5px 13px; background: rgba(3,10,35,.92);
  border: 1px solid rgba(0,229,232,.32); border-radius: 20px;
  backdrop-filter: blur(10px); white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,229,232,.15);
  animation-name: task-chip; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-fill-mode: backwards;
}

/* ── Chatbot ── */
#chatbot-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #0A5ADF, #7B1AFA);
  box-shadow: 0 4px 20px rgba(10,90,223,.45); display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
#chatbot-btn:hover { transform: scale(1.08); }
#chatbot-badge {
  position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
  border-radius: 50%; background: #EF4444; border: 2px solid #fff;
  font-size: 9px; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
#chatbot-window {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 998;
  width: 350px; max-width: calc(100vw - 2rem);
  background: #fff; border-radius: 1.25rem; border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(11,18,64,.18);
  display: none; flex-direction: column; overflow: hidden;
  max-height: 520px;
}
#chatbot-window.open { display: flex; }
.chatbot-header {
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .75rem;
  background: linear-gradient(135deg, var(--navy), #1a2d6e);
}
.chatbot-header-info { flex: 1; }
.chatbot-header-info .name { font-size: .9rem; font-weight: 800; color: #fff; }
.chatbot-header-info .status { font-size: .7rem; color: rgba(255,255,255,.6); }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; padding: .25rem; border-radius: .375rem; }
.chatbot-close:hover { color: #fff; background: rgba(255,255,255,.1); }
.chatbot-reset { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; padding: .25rem .5rem; border-radius: .375rem; font-size: .75rem; display: flex; align-items: center; gap: .25rem; }
.chatbot-reset:hover { color: #fff; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.chat-msg { max-width: 90%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble {
  padding: .625rem .875rem; border-radius: 1rem; font-size: .8125rem; line-height: 1.5;
}
.chat-msg.bot .chat-bubble { background: var(--off-white); color: var(--navy); border-bottom-left-radius: .25rem; }
.chat-msg.user .chat-bubble { background: var(--royal-blue); color: #fff; border-bottom-right-radius: .25rem; }
.chat-options { display: flex; flex-direction: column; gap: .5rem; }
.chat-option-btn {
  text-align: left; padding: .625rem .875rem; border-radius: .75rem;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  font-size: .8rem; font-weight: 500; color: var(--navy); transition: all .15s;
}
.chat-option-btn:hover { border-color: var(--royal-blue); color: var(--royal-blue); background: rgba(10,90,223,.04); }

/* ── Animations ── */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(10,90,223,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(10,90,223,0); }
  100% { box-shadow: 0 0 0 0 rgba(10,90,223,0); }
}
@keyframes spin-ring-cw  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes spin-ring-ccw { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }
@keyframes hero-glow-pulse {
  0%,100% { opacity:.5; transform:scale(1); }
  50%     { opacity:.85; transform:scale(1.07); }
}
@keyframes scan-line {
  0%   { top:8%; opacity:0; }
  8%   { opacity:1; }
  92%  { opacity:1; }
  100% { top:92%; opacity:0; }
}
@keyframes fb-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fb-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes fb-c { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes fb-d { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes dot-blink { 0%,100%{opacity:1} 50%{opacity:.15} }
@keyframes task-chip {
  0%  { opacity:0; transform:translateX(-50%) translateY(8px); }
  9%  { opacity:1; transform:translateX(-50%) translateY(0); }
  34% { opacity:1; transform:translateX(-50%) translateY(0); }
  43% { opacity:0; transform:translateX(-50%) translateY(-8px); }
  100%{ opacity:0; transform:translateX(-50%) translateY(-8px); }
}
@keyframes bracket-pulse { 0%,100%{opacity:.5} 50%{opacity:1} }
@keyframes marquee-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes reveal-up {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
.animate-reveal { animation: reveal-up .6s ease both; }

/* ══════════════════════════════════════════════════
   DARK MODE — full-site dark, scroll-reveal header,
   always-light footer
══════════════════════════════════════════════════ */

/* ── Page base ── */
body { background: #080E2A; color: #E8EAF6; }

/* ── Section backgrounds (light → dark) ── */
section.bg-white,
section[style*="#F6F7FC"],
section[style*="background:#fff"],
section[style*="background: #fff"],
section[style*="background:white"] { background: #0D1545 !important; }

/* ── Card / tile backgrounds ── */
.bg-white:not(section):not(html):not(body):not(.dropdown):not(.mobile-drawer) {
  background: rgba(255,255,255,.07) !important;
}
div[style*="background:#F6F7FC"],
div[style*="background: #F6F7FC"] { background: rgba(255,255,255,.06) !important; }
div[style*="background:#fff"],
div[style*="background: #fff"],
div[style*="background:white"],
div[style*="background: white"],
div[style*="background:rgb(255, 255, 255)"],
div[style*="background: rgb(255, 255, 255)"] { background: rgba(255,255,255,.08) !important; }

/* Keep nav dropdown and mobile drawer white */
.dropdown { background: #fff !important; }
.mobile-drawer { background: #fff !important; }

/* ── Text overrides ── */
[style*="color:#0B1240"],
[style*="color: #0B1240"],
.text-navy { color: #E8EAF6 !important; }


[style*="color:#5A6185"],
[style*="color: #5A6185"] { color: rgba(200,205,235,.72) !important; }

[style*="color:#374151"] { color: rgba(200,205,235,.8) !important; }
[style*="color:#6B7280"] { color: rgba(200,205,235,.65) !important; }
[style*="color:#1F2937"] { color: rgba(200,205,235,.85) !important; }
[style*="color:#9CA3AF"],
[style*="color: #9CA3AF"] { color: rgba(200,205,235,.52) !important; }

/* ── Border overrides ── */
[style*="border-color:#E3E6F2"],
[style*="border-color: #E3E6F2"] { border-color: rgba(255,255,255,.12) !important; }
[style*="border-bottom:1px solid #F0F2FA"],
[style*="border-top:1px solid #F0F2FA"],
[style*="border-bottom: 1px solid #F0F2FA"],
[style*="border-top: 1px solid #F0F2FA"] { border-color: rgba(255,255,255,.08) !important; }

/* ── Section label ── */
.section-label {
  color: #74AAFF;
  background: rgba(10,90,223,.2);
  border-color: rgba(10,90,223,.4);
}

/* ── Multi-select (contact form) ── */
#ms-trigger {
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #E8EAF6 !important;
}
#ms-trigger:focus-within { border-color: #0A5ADF !important; }
#ms-placeholder { color: rgba(200,205,235,.38) !important; }
#ms-panel {
  background: #0F1A4A !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.5) !important;
}
#ms-panel [style*="border-bottom"],
#ms-panel [style*="border-top"] { border-color: rgba(255,255,255,.08) !important; }
#ms-panel p[style*="color:#9CA3AF"],
#ms-panel p[style*="color: #9CA3AF"] { color: rgba(116,170,255,.8) !important; }
.ms-opt { color: #E8EAF6 !important; }
.ms-opt:hover { background: rgba(255,255,255,.08) !important; }
.ms-chip { background: rgba(10,90,223,.3) !important; color: #74AAFF !important; }
.ms-chip button { color: #74AAFF !important; }

/* ── Form inputs ── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  background: rgba(255,255,255,.07) !important;
  color: #E8EAF6 !important;
  border-color: rgba(255,255,255,.15) !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus { border-color: #0A5ADF !important; }
input::placeholder,
textarea::placeholder { color: rgba(200,205,235,.38) !important; }

/* ── Chatbot window ── */
#chatbot-window {
  background: #111B52;
  border-color: rgba(255,255,255,.1);
}
.chat-msg.bot .chat-bubble {
  background: rgba(255,255,255,.08);
  color: #E8EAF6;
}
.chat-option-btn {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: #E8EAF6;
}
.chat-option-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,229,232,.08);
}

/* ══════════════════════════════════════════════════
   HEADER — dark by default, transitions to light
   when user scrolls
══════════════════════════════════════════════════ */
#site-header {
  background: rgba(8,14,42,.88);
  border-bottom-color: transparent;
  box-shadow: none;
}
#site-header.scrolled {
  background: rgba(255,255,255,.97);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(11,18,64,.1);
}

/* Logo — dark-bg wordmark shown by default, swaps to light-bg on scroll */
.logo-wordmark-light { display: none; }
#site-header.scrolled .logo-wordmark-dark  { display: none; }
#site-header.scrolled .logo-wordmark-light { display: block; }

/* Nav links — dark header (default) */
.desktop-nav .nav-link { color: rgba(255,255,255,.82); }
.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active  { color: #fff; background: rgba(255,255,255,.1); }
.desktop-nav .nav-link.nav-active { color: #fff; background: rgba(255,255,255,.1); }
.mobile-menu-btn { color: rgba(255,255,255,.85); }

/* Nav links — light header (scrolled) */
#site-header.scrolled .desktop-nav .nav-link { color: var(--gray-text); }
#site-header.scrolled .desktop-nav .nav-link:hover,
#site-header.scrolled .desktop-nav .nav-link.active { color: var(--royal-blue); background: rgba(10,90,223,.07); }
#site-header.scrolled .desktop-nav .nav-link.nav-active { color: var(--royal-blue); background: rgba(10,90,223,.07); }
#site-header.scrolled .mobile-menu-btn { color: var(--navy); }

/* ══════════════════════════════════════════════════
   FOOTER — always light
══════════════════════════════════════════════════ */
#site-footer { background: #F6F7FC; color: var(--navy); }
#site-footer .footer-brand p { color: var(--gray-text); }
#site-footer .footer-contact-link { color: var(--gray-text); }
#site-footer .footer-contact a:hover { color: var(--royal-blue); }
#site-footer .footer-col-title { color: rgba(11,18,64,.45); }
#site-footer .footer-link { color: var(--gray-text); }
#site-footer .footer-link:hover { color: var(--navy); }
#site-footer .footer-bottom { border-top-color: var(--border); }
#site-footer .footer-bottom p { color: rgba(11,18,64,.68); }
#site-footer .footer-legal-links a { color: var(--gray-text); }
#site-footer .footer-legal-links a:hover { color: var(--navy); }
#site-footer .footer-scroll-top { color: var(--gray-text); border-color: rgba(11,18,64,.2); }
#site-footer .footer-scroll-top:hover { color: var(--navy); border-color: currentColor; background: rgba(11,18,64,.06); }

/* === ANIMATED WORKFLOW === */
.wf-section { background: #060C22; }
.wf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wf-steps { display: flex; align-items: flex-start; min-width: 480px; padding-bottom: 2px; }
.wf-step { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; min-width: 82px; }
.wf-ring { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; transition: border-color .4s, background .4s, box-shadow .4s; }
.wf-ring svg { opacity: .3; transition: opacity .4s; }
.wf-step.wf-on .wf-ring svg { opacity: 1; }
.wf-step.wf-dn .wf-ring svg { opacity: .65; }
.wf-nm { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.3); text-align: center; margin-top: 8px; line-height: 1.3; transition: color .4s; max-width: 80px; }
.wf-step.wf-on .wf-nm { color: #fff; }
.wf-step.wf-dn .wf-nm { color: rgba(255,255,255,.55); }
.wf-sep { flex: 1; min-width: 16px; height: 2px; background: rgba(255,255,255,.1); align-self: flex-start; margin-top: 26px; overflow: hidden; }
.wf-sfill { height: 100%; width: 0%; background: linear-gradient(90deg,#0A5ADF,#7B1AFA); transition: width .55s ease; }
.wf-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.wf-pb { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.wf-pb:hover { background: rgba(255,255,255,.2); }
.wf-tr { flex: 1; height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.wf-fl { height: 100%; width: 0%; background: linear-gradient(90deg,#0A5ADF,#7B1AFA); transition: width .5s ease; border-radius: 2px; }
.wf-dc { margin-top: 14px; min-height: 64px; }
.wf-crd { border: 1px solid; border-radius: 12px; padding: 14px 20px; }
.wf-ct { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.wf-cx { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.65; }
/* Scene-based workflow */
.wf-vis { position:relative; width:100%; aspect-ratio:2; overflow:hidden; border-radius:12px; background:#080d1a; }
.wf-scene { position:absolute; inset:0; opacity:0; transition:opacity 0.5s ease; }
.wf-scene svg { width:100%; height:100%; display:block; }
.wf-sinfo { padding:14px 2px 8px; }
.wf-stit { font-size:1rem; font-weight:700; margin-bottom:6px; }
.wf-sdsc { font-size:0.85rem; color:rgba(255,255,255,.65); line-height:1.65; }
.wf-tabs { display:flex; gap:6px; flex-wrap:nowrap; overflow-x:auto; margin:14px 0 2px; scrollbar-width:none; -ms-overflow-style:none; }
.wf-tabs::-webkit-scrollbar { display:none; }
.wf-tab { flex:1; min-width:60px; border:1.5px solid rgba(255,255,255,.18); background:transparent; color:rgba(255,255,255,.4); font-size:0.7rem; font-weight:600; cursor:pointer; padding:8px 4px 7px; border-radius:8px; transition:all 0.2s; text-align:center; line-height:1.3; }
.wf-tab:hover { border-color:rgba(255,255,255,.35); color:rgba(255,255,255,.7); }
.wf-tn { display:block; font-size:1rem; font-weight:800; line-height:1.1; }
.wf-tl { display:block; font-size:0.6rem; margin-top:3px; opacity:.8; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── Service Cards (homepage) ─────────────────────────────── */
.svc-card { position:relative; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:20px; padding:28px; display:flex; flex-direction:column; transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; overflow:hidden; }
.svc-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(var(--accent-rgb),.08) 0%,transparent 60%); pointer-events:none; }
.svc-card:hover { transform:translateY(-6px); border-color:rgba(var(--accent-rgb),.5); box-shadow:0 20px 60px rgba(var(--accent-rgb),.15); }
.svc-card-top { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:20px; }
.svc-icon { width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:26px; flex-shrink:0; }
.svc-num { font-size:.65rem; font-weight:800; letter-spacing:.12em; color:rgba(255,255,255,.15); }
.svc-title { font-size:1.15rem; font-weight:800; color:#fff; margin-bottom:10px; }
.svc-desc { font-size:.84rem; line-height:1.75; color:rgba(255,255,255,.5); margin-bottom:20px; flex-grow:1; }
.svc-divider { height:1px; margin-bottom:16px; }
.svc-links { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.svc-link { font-size:.82rem; font-weight:600; color:rgba(255,255,255,.6); text-decoration:none; display:flex; align-items:center; gap:8px; transition:color .15s; }
.svc-link::before { content:'→'; color:rgba(var(--accent-rgb),1); font-size:.78rem; flex-shrink:0; }
.svc-link:hover { color:#fff; }
.svc-cta { display:block; text-align:center; padding:11px 16px; border-radius:10px; border:1px solid; font-size:.8rem; font-weight:700; text-decoration:none; transition:background .15s,color .15s; margin-top:auto; }
.svc-cta:hover { background:rgba(var(--accent-rgb),.12); }
