/* ============================================================
   SWAI CONSULT — AI-ERA ENHANCEMENT LAYER
   Bold neon/glass overrides for a modern AI workspace feel
   ============================================================ */

/* ── Nav logo — 260px desktop, scales on tablet/mobile ──── */
.nav-logo .lo-wrap        { padding: 18px; }
.nav-logo .lo-wrap img    { width: 260px !important; height: auto !important; }
nav.scrolled .nav-logo .lo-wrap img { width: 200px !important; }

/* ── About card logo — centred with bottom spacing ──────── */
.about-card .lo-lg        { margin: 0 auto 2rem; }

/* ── Footer brand — centred logo + text ─────────────────── */
.fbrand                   { text-align: center !important; }
.fbrand p                 { max-width: 100% !important; text-align: center !important; margin: 0 auto; }
.fbrand .lo-wrap          { margin: 0 auto 1rem !important; }
.fbrand .lo-wrap img      { height: auto !important; }

/* ── Mobile — responsive scaling ────────────────────────── */
@media (max-width: 900px) {
  .nav-logo .lo-wrap img        { width: 180px !important; }
  nav.scrolled .nav-logo .lo-wrap img { width: 150px !important; }
  .about-card .lo-lg            { width: 280px; height: 280px; }
  .fbrand .lo-md                { width: 180px; height: 180px; }
}

@media (max-width: 600px) {
  .nav-logo .lo-wrap img        { width: 140px !important; }
  .nav-logo .lo-wrap            { padding: 10px; }
  .about-card .lo-lg            { width: 230px; height: 230px; }
  /* Hide orbiting nodes on small screens to avoid overflow */
  .about-card .lo-node,
  .fbrand .lo-node              { display: none; }
  .fbrand .lo-md                { width: 150px; height: 150px; }
  .fbrand                       { padding: 0 1rem; }
  /* Footer grid: single column on mobile */
  .footer-grid                  { grid-template-columns: 1fr !important; gap: 2rem !important; }
  /* Send overlay stage on small screens */
  .so-stage                     { width: 220px !important; height: 220px !important; }
  .so-node                      { display: none; }
}

/* ── Phone-only: shrink all logos for portrait phones ≤ 430px */
@media (max-width: 430px) {
  /* Nav logo */
  .nav-logo .lo-wrap img        { width: 100px !important; }
  .nav-logo .lo-wrap            { padding: 8px; }

  /* About card logo */
  .about-card .lo-lg            { width: 180px; height: 180px; }

  /* Footer logo */
  .fbrand .lo-md                { width: 110px; height: 110px; }

  /* Hide orbit rings on tiny screens — just show the logo */
  .about-card .lo-r2,
  .about-card .lo-r3,
  .fbrand .lo-r2,
  .fbrand .lo-r3                { display: none; }

  /* Video wrapper orbit rings */
  .vid-ring-inner,
  .vid-node                     { display: none; }

  /* Hero canvas if visible in landscape */
  #logoCanvas,
  .logo-video                   { max-width: 220px; }
}

/* ── Reusable logo orbit rings (.lo-wrap) ────────────────── */
.lo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.lo-wrap img {
  position: relative; z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0,229,255,0.7));
  animation: lo-pulse 2.4s ease-in-out infinite;
}
@keyframes lo-pulse {
  0%,100% { filter: drop-shadow(0 0 10px rgba(0,229,255,0.5)); }
  50%      { filter: drop-shadow(0 0 28px rgba(0,229,255,1.0)); }
}
.lo-r1,.lo-r2,.lo-r3 {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.lo-node {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%; z-index: 3;
}
@keyframes lo-cw  { to { transform: translate(-50%,-50%) rotate(360deg);  } }
@keyframes lo-ccw { to { transform: translate(-50%,-50%) rotate(-360deg); } }

/* ── Small — nav logo ───────────────────────────────── */
.lo-sm { padding: 14px; }
.lo-sm img  { height: 42px; width: auto; }
.lo-sm .lo-r1 { width: 140%; height: 140%; border: 1px solid rgba(0,229,255,0.30); animation: lo-cw  9s linear infinite; }
.lo-sm .lo-r2 { width: 180%; height: 180%; border: 1px solid rgba(33,150,243,0.18); animation: lo-ccw 14s linear infinite; }

/* ── Medium — footer: full overlay-style ────────────── */
.lo-md { width: 220px; height: 220px; }
.lo-md img  { width: 54%; height: 54%; }
.lo-md .lo-r1 { width: 68%;  height: 68%;  border: 1.5px solid rgba(0,229,255,0.35); animation: lo-cw  7s   linear infinite; }
.lo-md .lo-r2 { width: 84%;  height: 84%;  border: 1px   solid rgba(33,150,243,0.24); animation: lo-ccw 10s  linear infinite; }
.lo-md .lo-r3 { width: 100%; height: 100%; border: 1px   solid rgba(156,39,176,0.20); animation: lo-cw  14s  linear infinite; }
/* footer nodes — orbit radius ~75px (half of 220*0.68 = 74.8px) */
.lo-md .lo-node { width:9px; height:9px; margin:-4.5px 0 0 -4.5px; }
.lo-md .lo-na { background:#00E5FF; box-shadow:0 0 8px #00E5FF; animation:lo-mna 3.2s linear infinite; }
.lo-md .lo-nb { background:#2196F3; box-shadow:0 0 8px #2196F3; animation:lo-mnb 4.5s linear infinite; }
.lo-md .lo-nc { background:#9C27B0; box-shadow:0 0 8px #9C27B0; animation:lo-mnc 5.8s linear infinite; }
.lo-md .lo-nd { background:#4CAF50; box-shadow:0 0 8px #4CAF50; animation:lo-mnd 4s   linear infinite; }
.lo-md .lo-ne { background:#FF6B35; box-shadow:0 0 8px #FF6B35; animation:lo-mne 5s   linear infinite; }
@keyframes lo-mna{from{transform:rotate(0deg)   translateX(74px)rotate(0deg)}   to{transform:rotate(360deg)  translateX(74px)rotate(-360deg)}}
@keyframes lo-mnb{from{transform:rotate(72deg)  translateX(86px)rotate(-72deg)} to{transform:rotate(432deg)  translateX(86px)rotate(-432deg)}}
@keyframes lo-mnc{from{transform:rotate(144deg) translateX(78px)rotate(-144deg)}to{transform:rotate(504deg)  translateX(78px)rotate(-504deg)}}
@keyframes lo-mnd{from{transform:rotate(216deg) translateX(92px)rotate(-216deg)}to{transform:rotate(576deg)  translateX(92px)rotate(-576deg)}}
@keyframes lo-mne{from{transform:rotate(288deg) translateX(82px)rotate(-288deg)}to{transform:rotate(648deg)  translateX(82px)rotate(-648deg)}}

/* ── Large — about card (360px stage) ───────────────────── */
.lo-lg { width: 360px; height: 360px; }
.lo-lg img  { width: 62%; height: 62%; }
.lo-lg .lo-r1 { width: 68%;  height: 68%;  border: 1.5px solid rgba(0,229,255,0.35); animation: lo-cw  7s   linear infinite; }
.lo-lg .lo-r2 { width: 84%;  height: 84%;  border: 1px   solid rgba(33,150,243,0.24); animation: lo-ccw 10s  linear infinite; }
.lo-lg .lo-r3 { width: 100%; height: 100%; border: 1px   solid rgba(156,39,176,0.20); animation: lo-cw  14s  linear infinite; }
/* nodes orbit at outer ring edges: r1=122px, r2=151px */
.lo-lg .lo-node { width:10px; height:10px; margin:-5px 0 0 -5px; }
.lo-lg .lo-na { background:#00E5FF; box-shadow:0 0 10px #00E5FF; animation:lo-lna 3.2s linear infinite; }
.lo-lg .lo-nb { background:#2196F3; box-shadow:0 0 10px #2196F3; animation:lo-lnb 4.5s linear infinite; }
.lo-lg .lo-nc { background:#9C27B0; box-shadow:0 0 10px #9C27B0; animation:lo-lnc 5.8s linear infinite; }
.lo-lg .lo-nd { background:#4CAF50; box-shadow:0 0 10px #4CAF50; animation:lo-lnd 4s   linear infinite; }
@keyframes lo-lna{from{transform:rotate(0deg)   translateX(122px)rotate(0deg)}   to{transform:rotate(360deg)  translateX(122px)rotate(-360deg)}}
@keyframes lo-lnb{from{transform:rotate(90deg)  translateX(152px)rotate(-90deg)} to{transform:rotate(450deg)  translateX(152px)rotate(-450deg)}}
@keyframes lo-lnc{from{transform:rotate(180deg) translateX(134px)rotate(-180deg)}to{transform:rotate(540deg)  translateX(134px)rotate(-540deg)}}
@keyframes lo-lnd{from{transform:rotate(270deg) translateX(168px)rotate(-270deg)}to{transform:rotate(630deg)  translateX(168px)rotate(-630deg)}}

/* ── Floating WhatsApp button ────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9000;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4);
  animation: wa-ping 2.4s ease-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
  animation: none;
}
@keyframes wa-ping {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0   rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #111;
}

/* WhatsApp icon in contact section */
.wa-icon {
  background: linear-gradient(135deg,#25D366,#128C7E) !important;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ── Role tag (CEO / COO) beside phone numbers ───────────── */
.role-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #00E5FF;
  background: rgba(0,229,255,0.10);
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ── Hover-audio text highlight (.ha-text) ───────────────── */
.ha-text {
  border-radius: 6px;
  padding: 3px 6px;
  margin: -3px -6px;
  cursor: default;
  transition: background 0.35s ease, color 0.35s ease,
              text-shadow 0.35s ease, box-shadow 0.35s ease;
}
.ha-text:hover {
  background: rgba(0, 229, 255, 0.10);
  color: #00E5FF;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.7), 0 0 6px rgba(0, 229, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.18);
}

/* ── Send overlay ────────────────────────────────────────── */
.so-overlay {
  position: fixed; inset: 0;
  background: rgba(3, 8, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.so-overlay.active { display: flex; }

/* No card background — stage floats directly on the dark overlay */
.so-card { background: none; border: none; text-align: center; }

/* Logo stage — bigger, logo fills inner ring */
.so-stage {
  position: relative;
  width: 300px; height: 300px;
  margin: 0 auto 1.8rem;
}
.so-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  height: 56%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(0,229,255,0.8));
  animation: so-logo-pulse 2s ease-in-out infinite;
}
@keyframes so-logo-pulse {
  0%,100% { filter: drop-shadow(0 0 14px rgba(0,229,255,0.55)); }
  50%      { filter: drop-shadow(0 0 36px rgba(0,229,255,1)); }
}

/* Spinning rings — scaled to 300px stage */
.so-ring { position: absolute; border-radius: 50%; }
.so-r1 { inset: 0;    border: 1.5px solid rgba(0,229,255,0.38); animation: so-cw  8s   linear infinite; }
.so-r2 { inset: 18px; border: 1px   solid rgba(33,150,243,0.26); animation: so-ccw 5.5s linear infinite; }
.so-r3 { inset: 36px; border: 1px   solid rgba(156,39,176,0.22); animation: so-cw  3.8s linear infinite; }
@keyframes so-cw  { to { transform: rotate(360deg);  } }
@keyframes so-ccw { to { transform: rotate(-360deg); } }

/* Orbiting nodes — orbit at outer ring edge ~140px */
.so-node {
  position: absolute; border-radius: 50%;
  width: 11px; height: 11px;
  top: 50%; left: 50%; margin: -5.5px 0 0 -5.5px;
}
.so-na { background:#00E5FF; box-shadow:0 0 12px #00E5FF; animation:so-oa 3s   linear infinite; }
.so-nb { background:#2196F3; box-shadow:0 0 12px #2196F3; animation:so-ob 4.2s linear infinite; }
.so-nc { background:#9C27B0; box-shadow:0 0 12px #9C27B0; animation:so-oc 5s   linear infinite; }
.so-nd { background:#4CAF50; box-shadow:0 0 12px #4CAF50; animation:so-od 3.6s linear infinite; }
.so-ne { background:#FF6B35; box-shadow:0 0 12px #FF6B35; animation:so-oe 4.8s linear infinite; }
@keyframes so-oa{from{transform:rotate(0deg)   translateX(142px)rotate(0deg)}   to{transform:rotate(360deg)  translateX(142px)rotate(-360deg)}}
@keyframes so-ob{from{transform:rotate(72deg)  translateX(122px)rotate(-72deg)} to{transform:rotate(432deg)  translateX(122px)rotate(-432deg)}}
@keyframes so-oc{from{transform:rotate(144deg) translateX(108px)rotate(-144deg)}to{transform:rotate(504deg)  translateX(108px)rotate(-504deg)}}
@keyframes so-od{from{transform:rotate(216deg) translateX(132px)rotate(-216deg)}to{transform:rotate(576deg)  translateX(132px)rotate(-576deg)}}
@keyframes so-oe{from{transform:rotate(288deg) translateX(118px)rotate(-288deg)}to{transform:rotate(648deg)  translateX(118px)rotate(-648deg)}}

/* Sending text */
.so-label { color:rgba(190,215,255,0.8); font-size:1rem; margin-bottom:0.9rem; letter-spacing:.04em; }
.so-dots  { display:flex; justify-content:center; gap:10px; }
.so-dots span {
  width:9px; height:9px; border-radius:50%; background:#00E5FF;
  animation: so-bounce 1.3s ease-in-out infinite;
}
.so-dots span:nth-child(2){ animation-delay:.22s; }
.so-dots span:nth-child(3){ animation-delay:.44s; }
@keyframes so-bounce {
  0%,80%,100%{ transform:scale(0.5); opacity:0.3; }
  40%         { transform:scale(1);   opacity:1;   }
}

/* ── Success card — pops up over the animation ─────────── */
#soSuccess {
  display: none;
  position: fixed; inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: so-fadein 0.5s ease;
}
#soSuccess.active { display: flex; }
@keyframes so-fadein {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

.so-success-card {
  background: rgba(6,14,30,0.97);
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 28px;
  padding: 2.6rem 2.4rem;
  text-align: center;
  width: 90%; max-width: 440px;
  box-shadow: 0 0 60px rgba(0,229,255,0.13), 0 0 120px rgba(33,150,243,0.08);
  animation: so-card-in 0.5s cubic-bezier(.22,.68,0,1.15);
}
@keyframes so-card-in {
  from { opacity:0; transform:scale(0.88); }
  to   { opacity:1; transform:scale(1); }
}

.so-success-logo {
  width: 130px; margin: 0 auto 1.2rem; display: block;
  filter: drop-shadow(0 0 14px rgba(0,229,255,0.6));
}

.so-check-svg { width:66px; height:66px; display:block; margin:0 auto 1.1rem; }
.so-check-circle {
  fill:none; stroke:#00E5FF; stroke-width:2;
  stroke-dasharray:166; stroke-dashoffset:166;
  animation: so-circle 0.7s ease forwards;
}
.so-check-tick {
  fill:none; stroke:#00E5FF; stroke-width:3.5;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:48; stroke-dashoffset:48;
  animation: so-tick 0.4s 0.6s ease forwards;
}
@keyframes so-circle { to { stroke-dashoffset:0; } }
@keyframes so-tick   { to { stroke-dashoffset:0; } }

.so-ty-head { color:#fff; font-size:1.4rem; font-weight:700; margin-bottom:0.5rem; }
.so-ty-body { color:rgba(190,215,255,0.75); font-size:0.92rem; line-height:1.65; margin-bottom:1.5rem; }
.so-ty-body strong { color:#00E5FF; }

.so-close-btn {
  background: linear-gradient(135deg,#00E5FF,#2196F3);
  color:#fff; border:none; border-radius:50px;
  padding:0.75rem 2.2rem; font-size:0.95rem; font-weight:600;
  cursor:pointer; transition:opacity 0.2s, transform 0.2s;
}
.so-close-btn:hover { opacity:0.85; transform:scale(1.04); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #060F1C; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #00E5FF, #2196F3); border-radius: 3px; }

/* ── HERO: animated circuit-grid overlay ─────────────────── */
#hero { isolation: isolate; }
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 18s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}

/* ── HERO: diagonal light-sweep beam ─────────────────────── */
#hero::after {
  content: '';
  position: absolute;
  top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,229,255,0.035) 40%,
    rgba(33,150,243,0.05) 50%,
    rgba(0,229,255,0.035) 60%,
    transparent 100%);
  transform: skewX(-15deg);
  animation: heroSweep 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes heroSweep {
  0%   { left: -80%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 170%; opacity: 0; }
}

/* Ensure hero text stays above pseudo-elements */
.hero-inner { position: relative; z-index: 5; }

/* ── "Intelligent AI" — glowing gradient headline ────────── */
#hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #00E5FF 0%, #42A5F5 45%, #00BCD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: aiPulse 3.5s ease-in-out infinite alternate;
}
@keyframes aiPulse {
  from { filter: drop-shadow(0 0 14px rgba(0,229,255,0.5)); }
  to   { filter: drop-shadow(0 0 32px rgba(0,229,255,0.85)); }
}

/* ── Eyebrow — tech status badge ─────────────────────────── */
.eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #00E5FF !important;
  background: rgba(0,229,255,0.08) !important;
  border: 1px solid rgba(0,229,255,0.35) !important;
  border-radius: 20px;
  padding: 0.32rem 1rem !important;
  margin-bottom: 1.3rem !important;
  box-shadow: 0 0 18px rgba(0,229,255,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 10px #00E5FF, 0 0 20px rgba(0,229,255,0.5);
  animation: statusBlink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px #00E5FF; }
  50%       { opacity: 0.25; box-shadow: none; }
}

/* ── Hero stats — bright glowing numbers ─────────────────── */
.stat-num {
  font-size: 2.6rem !important;
  font-weight: 900 !important;
  background: linear-gradient(160deg, #ffffff 20%, #00E5FF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 12px rgba(0,229,255,0.4));
  display: block !important;
}

/* ── btn-pri: blue glow + shimmer sweep ──────────────────── */
.btn-pri {
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 24px rgba(33,150,243,0.45), 0 0 0 1px rgba(33,150,243,0.25) !important;
  transition: box-shadow 0.3s ease, transform 0.25s ease !important;
}
.btn-pri:hover {
  box-shadow: 0 8px 44px rgba(0,229,255,0.5), 0 0 0 1px rgba(0,229,255,0.45) !important;
  transform: translateY(-3px) !important;
}
.btn-pri::after {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0%   { left: -130%; }
  55%  { left: 160%; }
  100% { left: 160%; }
}

/* ── .tag / section badge — neon pill ────────────────────── */
.tag {
  display: inline-block !important;
  background: rgba(33,150,243,0.1) !important;
  border: 1px solid rgba(33,150,243,0.4) !important;
  border-radius: 20px !important;
  padding: 0.28rem 0.95rem !important;
  box-shadow: 0 0 16px rgba(0,188,212,0.18), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  letter-spacing: 2.5px;
}
#process .tag, .eco-section .tag {
  color: #00E5FF !important;
  background: rgba(0,229,255,0.08) !important;
  border-color: rgba(0,229,255,0.38) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.22) !important;
}

/* ── .h2 span — electric blue → cyan gradient ────────────── */
.h2 span {
  background: linear-gradient(135deg, #2196F3 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Service cards — visible neon accent + tilt-ready ───── */
.svc-card {
  border-color: rgba(33,150,243,0.18) !important;
  box-shadow: 0 2px 16px rgba(33,150,243,0.07), inset 0 1px 0 rgba(255,255,255,0.7) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  will-change: transform;
}
.svc-card:hover {
  border-color: rgba(0,229,255,0.45) !important;
  box-shadow:
    0 20px 60px rgba(0,188,212,0.16),
    0 0 0 1px rgba(0,229,255,0.25),
    0 0 40px rgba(0,229,255,0.08) !important;
}

/* ── Step numbers — cyan ring + glow on hover ────────────── */
.step-n {
  position: relative;
  transition: all 0.3s;
}
.step-n::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(0,229,255,0.55);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.3s, transform 0.3s;
}
.step:hover .step-n::after {
  opacity: 1;
  transform: scale(1);
  animation: pingRing 1.3s ease-out infinite;
}
.step:hover .step-n {
  background: rgba(0,229,255,0.12) !important;
  border-color: #00E5FF !important;
  box-shadow: 0 0 0 4px rgba(0,229,255,0.12), 0 0 24px rgba(0,229,255,0.3);
  color: #00E5FF !important;
}
@keyframes pingRing {
  0%   { transform: scale(1);    opacity: 0.8; }
  100% { transform: scale(1.7);  opacity: 0; }
}

/* ── Eco cards — deep glassmorphism ─────────────────────── */
.eco-card {
  background: rgba(255,255,255,0.05) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  border: 1px solid rgba(0,229,255,0.14) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.07) !important;
  transition: all 0.35s ease !important;
  will-change: transform;
}
.eco-card:hover {
  border-color: rgba(0,229,255,0.32) !important;
  box-shadow:
    0 18px 52px rgba(0,188,212,0.22),
    0 0 0 1px rgba(0,229,255,0.22),
    inset 0 1px 0 rgba(255,255,255,0.1) !important;
  transform: translateY(-7px);
}

/* ── Nav scrolled — cyan glow border ─────────────────────── */
nav.scrolled {
  border-bottom: 1px solid rgba(0,229,255,0.22) !important;
  box-shadow: 0 2px 48px rgba(0,0,0,0.5), 0 1px 0 rgba(0,229,255,0.12) !important;
}

/* ── Logo video — floating, no background, orbit rings ──── */
.video-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Glow aura */
.video-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,229,255,0.22) 0%,
    rgba(33,150,243,0.10) 45%,
    transparent 70%);
  animation: logoGlowPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Outer orbit ring */
.video-logo-wrap::after {
  content: '';
  position: absolute;
  width: 108%;
  height: 108%;
  border-radius: 50%;
  border: 1.5px solid rgba(0,229,255,0.28);
  animation: vidRingCW 9s linear infinite;
  pointer-events: none;
  z-index: 2;
  /* dashed look via background */
  background: transparent;
  box-shadow: 0 0 18px rgba(0,229,255,0.10);
}

@keyframes vidRingCW  { to { transform: rotate(360deg); } }
@keyframes vidRingCCW { to { transform: rotate(-360deg); } }

/* Inner ring via extra element added in HTML */
.vid-ring-inner {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px solid rgba(33,150,243,0.22);
  animation: vidRingCCW 13s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Orbiting nodes on outer ring */
.vid-node {
  position: absolute;
  width: 108%;
  height: 108%;
  border-radius: 50%;
  animation: vidRingCW 9s linear infinite;
  pointer-events: none;
  z-index: 3;
}
.vid-node::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 9px;
  border-radius: 50%;
}
.vid-node-1 { animation-duration: 9s; }
.vid-node-1::before { background: #00E5FF; box-shadow: 0 0 10px rgba(0,229,255,0.8); }
.vid-node-2 { animation-duration: 9s; animation-delay: -3s; }
.vid-node-2::before { background: #7B2FFF; box-shadow: 0 0 10px rgba(123,47,255,0.8); }
.vid-node-3 { animation-duration: 9s; animation-delay: -6s; }
.vid-node-3::before { background: #2196F3; box-shadow: 0 0 10px rgba(33,150,243,0.8); }

.logo-video,
#logoCanvas {
  position: relative;
  z-index: 1;
  border-radius: 0;
  max-width: 580px;
}

@keyframes logoGlowPulse {
  from { opacity: 0.55; transform: scale(0.92); }
  to   { opacity: 1;    transform: scale(1.08); }
}

/* ── #process aurora blob ────────────────────────────────── */
#process { position: relative; overflow: hidden; }
#process::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  top: -250px; right: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.09) 0%, transparent 65%);
  animation: auroraFloat 11s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* ── .eco-section aurora blob ────────────────────────────── */
.eco-section { position: relative; overflow: hidden; }
.eco-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 600px;
  bottom: -260px; left: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.09) 0%, transparent 65%);
  animation: auroraFloat 14s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}
@keyframes auroraFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(55px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 65px) scale(0.92); }
}

/* ── Footer gradient hairline border ─────────────────────── */
footer { position: relative; }
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,229,255,0.6) 30%,
    rgba(33,150,243,0.8) 55%,
    rgba(0,229,255,0.6) 75%,
    transparent 100%);
}

/* ── About card glow accents ─────────────────────────────── */
.about-card {
  box-shadow: 0 12px 48px rgba(0,0,0,0.3),
              0 0 0 1px rgba(0,229,255,0.1),
              0 0 60px rgba(0,188,212,0.08) !important;
}

/* ── Why/Metric bar enhanced gradient ────────────────────── */
.mbar {
  background: linear-gradient(90deg, #00E5FF, #2196F3) !important;
  box-shadow: 0 0 8px rgba(0,229,255,0.35);
}

/* ══════════════════════════════════════════════════════════
   IMAGERY ADDITIONS
   ══════════════════════════════════════════════════════════ */

/* ── Hero floating AI insight cards — orbit system ───────── */
.hero-visual { position: relative; }

/* Orbit pivot: zero-size div centered on the logo */
.hfc-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 10;
  pointer-events: none;
}

/* Each card is positioned at the orbit center, then moved out by keyframe */
.hfc {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(6, 18, 44, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 13px;
  padding: 0.55rem 0.95rem 0.55rem 0.7rem;
  color: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,255,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: auto;
}

.hfc-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF, 0 0 16px rgba(0,229,255,0.4);
  animation: statusBlink 2s ease-in-out infinite;
  flex-shrink: 0;
}
.hfc-ico {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(0,229,255,0.08);
  border-radius: 8px;
  flex-shrink: 0;
}
.hfc-body b    { display: block; font-size: 0.84rem; font-weight: 800; line-height: 1.2; }
.hfc-body small{ font-size: 0.68rem; opacity: 0.55; }

/* Orbit keyframes — 120° apart, all upright via counter-rotation */
.hfc-1 { animation: orbit1 22s linear infinite; }
.hfc-2 { animation: orbit2 22s linear infinite; }
.hfc-3 { animation: orbit3 22s linear infinite; }

@keyframes orbit1 {
  from { transform: translate(-50%,-50%) rotate(0deg)   translateX(268px) rotate(0deg);   }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(268px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%,-50%) rotate(120deg)  translateX(268px) rotate(-120deg); }
  to   { transform: translate(-50%,-50%) rotate(480deg)  translateX(268px) rotate(-480deg); }
}
@keyframes orbit3 {
  from { transform: translate(-50%,-50%) rotate(240deg)  translateX(268px) rotate(-240deg); }
  to   { transform: translate(-50%,-50%) rotate(600deg)  translateX(268px) rotate(-600deg); }
}

@media (max-width: 960px) { .hfc-orbit { display: none; } }

/* ── Founder profile photo — zoom to waist ───────────────── */
.avatar {
  width: 210px !important;
  height: 210px !important;
  box-shadow: 0 0 0 5px rgba(0,229,255,0.25), 0 0 0 10px rgba(33,150,243,0.12), 0 16px 48px rgba(0,0,0,0.45) !important;
}
.avatar img {
  transform: scale(1.55) translateY(4%);
  transform-origin: center 25%;
}

/* ── Tech tools strip (services section) ────────────────── */
.tech-tools-bar {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(13,37,69,0.04), rgba(33,150,243,0.05));
  border: 1px solid rgba(33,150,243,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ttb-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
  flex-shrink: 0;
}
.ttb-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 1;
}
.ttb-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  border: 1px solid rgba(33,150,243,0.15);
  border-radius: 30px;
  padding: 0.38rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(33,150,243,0.07);
  transition: all 0.25s;
}
.ttb-chip:hover {
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 4px 16px rgba(0,229,255,0.12);
  transform: translateY(-2px);
}
.ttb-chip svg { flex-shrink: 0; }

/* ── AI Processing Flow diagram (process section) ────────── */
.ai-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3.5rem;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.afb-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  flex-shrink: 0;
}
.afb-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
}
.afb-node:hover .afb-icon {
  background: rgba(0,229,255,0.12);
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 20px rgba(0,229,255,0.25);
}
.afb-node.afb-ai .afb-icon {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 24px rgba(0,229,255,0.2);
  width: 72px; height: 72px;
  font-size: 1.8rem;
}
.afb-node.afb-out .afb-icon {
  background: rgba(46,200,120,0.1);
  border-color: rgba(46,200,120,0.4);
}
.afb-ring {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.3);
  animation: pingRing 2s ease-out infinite;
}
.afb-node span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}
.afb-connector {
  flex: 1;
  min-width: 32px;
  max-width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.afb-packet {
  position: absolute;
  top: -3px; left: -6px;
  width: 12px; height: 8px;
  border-radius: 4px;
  background: #00E5FF;
  box-shadow: 0 0 10px #00E5FF;
  animation: packetFlow 2s linear infinite;
}
.afb-p2 { animation-delay: 0.5s; }
.afb-p3 { animation-delay: 1s; }
.afb-p4 { animation-delay: 1.5s; }
@keyframes packetFlow {
  0%   { left: -6px;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@media (max-width: 640px) {
  .ai-flow { gap: 0.5rem; padding: 1.5rem 0.75rem; }
  .afb-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .afb-node.afb-ai .afb-icon { width: 54px; height: 54px; font-size: 1.4rem; }
  .afb-ring { width: 68px; height: 68px; top: -6px; }
  .afb-connector { min-width: 14px; }
}

/* ── Live AI dashboard (why section) ─────────────────────── */
.live-dash {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.ld-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.ld-blink {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
  animation: statusBlink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.ld-live {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #00E5FF;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 20px;
  padding: 0.15rem 0.55rem;
}
.ld-agents {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.ld-agent {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.ld-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ld-dot.green  { background: #2ECC71; box-shadow: 0 0 6px #2ECC71; animation: statusBlink 2.5s ease-in-out infinite; }
.ld-dot.yellow { background: #F1C40F; box-shadow: 0 0 6px #F1C40F; animation: statusBlink 1.5s ease-in-out infinite; }
.ld-bar-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}
.ld-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.ld-fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, #2196F3, #00E5FF);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0,229,255,0.4);
  animation: ldPulse 3s ease-in-out infinite alternate;
}
@keyframes ldPulse {
  from { opacity: 0.75; width: 68%; }
  to   { opacity: 1;    width: 78%; }
}
.ld-pct {
  font-weight: 800;
  color: #00E5FF;
  min-width: 32px;
  text-align: right;
}

/* ── Expertise node network (founder section) ────────────── */
.xp-network {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #060F1C 0%, #0A1E3E 55%, #0D2545 100%);
  border-radius: 20px;
  border: 1px solid rgba(0,229,255,0.1);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
/* subtle circuit grid background */
.xp-network::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
/* nodes */
.xpn-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,229,255,0.14);
  border-radius: 13px;
  color: rgba(255,255,255,0.82);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  cursor: default;
}
.xpn-node:hover {
  background: rgba(0,229,255,0.07);
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 22px rgba(0,229,255,0.14);
  transform: scale(1.02);
}
.xpn-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.09);
  display: flex; align-items: center; justify-content: center;
  color: #00E5FF;
  flex-shrink: 0;
  transition: all 0.3s;
}
.xpn-node:hover .xpn-icon {
  border-color: #00E5FF;
  box-shadow: 0 0 16px rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.14);
}
/* horizontal connector */
.xpn-hconn {
  align-self: center;
  height: 2px;
  background: rgba(0,229,255,0.14);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.xpn-hpkt {
  position: absolute;
  top: -3px; left: -10px;
  width: 12px; height: 8px;
  border-radius: 4px;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
  animation: xpHFlow 2.4s linear infinite;
}
.xpnhp2 { animation-delay: 0.8s; }
.xpnhp3 { animation-delay: 1.6s; }
@keyframes xpHFlow {
  0%   { left: -10px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% + 6px); opacity: 0; }
}
/* vertical connector cells */
.xpn-vcell {
  display: flex;
  justify-content: center;
  padding: 5px 0;
  z-index: 1;
}
.xpn-vmid {
  height: 36px;
  z-index: 1;
}
.xpn-vline {
  width: 2px;
  height: 28px;
  background: rgba(0,229,255,0.14);
  position: relative;
  overflow: hidden;
}
.xpn-vpkt {
  position: absolute;
  left: -3px; top: -10px;
  width: 8px; height: 12px;
  border-radius: 4px;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF;
  animation: xpVFlow 2s linear infinite;
}
.xpnvp2 { animation-delay: 0.5s; }
.xpnvp3 { animation-delay: 1s; }
.xpnvp4 { animation-delay: 1.5s; }
@keyframes xpVFlow {
  0%   { top: -12px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% + 4px); opacity: 0; }
}
@media (max-width: 640px) {
  .xp-network { grid-template-columns: 1fr; padding: 1.25rem; }
  .xpn-hconn, .xpn-vmid { display: none; }
  .xpn-vcell { display: none; }
  .xpn-node { font-size: 0.8rem; }
}

/* ── Node colour themes ───────────────────────────────────── */

/* C1 — Royal Blue */
.xpn-c1 { border-color: rgba(68,138,255,0.28) !important; border-left: 3px solid #448AFF !important; }
.xpn-c1 .xpn-icon { color: #448AFF; border-color: rgba(68,138,255,0.45); background: rgba(68,138,255,0.12); }
.xpn-c1:hover { border-color: rgba(68,138,255,0.6) !important; box-shadow: 0 0 24px rgba(68,138,255,0.2) !important; background: rgba(68,138,255,0.07) !important; }
.xpn-c1:hover .xpn-icon { border-color: #448AFF; box-shadow: 0 0 18px rgba(68,138,255,0.45); background: rgba(68,138,255,0.18); }

/* C2 — Cyan */
.xpn-c2 { border-color: rgba(0,229,255,0.28) !important; border-left: 3px solid #00E5FF !important; }
.xpn-c2 .xpn-icon { color: #00E5FF; border-color: rgba(0,229,255,0.45); background: rgba(0,229,255,0.12); }
.xpn-c2:hover { border-color: rgba(0,229,255,0.6) !important; box-shadow: 0 0 24px rgba(0,229,255,0.2) !important; background: rgba(0,229,255,0.07) !important; }
.xpn-c2:hover .xpn-icon { border-color: #00E5FF; box-shadow: 0 0 18px rgba(0,229,255,0.45); background: rgba(0,229,255,0.18); }

/* C3 — Violet */
.xpn-c3 { border-color: rgba(224,64,251,0.28) !important; border-left: 3px solid #E040FB !important; }
.xpn-c3 .xpn-icon { color: #E040FB; border-color: rgba(224,64,251,0.45); background: rgba(224,64,251,0.12); }
.xpn-c3:hover { border-color: rgba(224,64,251,0.6) !important; box-shadow: 0 0 24px rgba(224,64,251,0.2) !important; background: rgba(224,64,251,0.07) !important; }
.xpn-c3:hover .xpn-icon { border-color: #E040FB; box-shadow: 0 0 18px rgba(224,64,251,0.45); background: rgba(224,64,251,0.18); }

/* C4 — Orange */
.xpn-c4 { border-color: rgba(255,145,0,0.28) !important; border-left: 3px solid #FF9100 !important; }
.xpn-c4 .xpn-icon { color: #FF9100; border-color: rgba(255,145,0,0.45); background: rgba(255,145,0,0.12); }
.xpn-c4:hover { border-color: rgba(255,145,0,0.6) !important; box-shadow: 0 0 24px rgba(255,145,0,0.2) !important; background: rgba(255,145,0,0.07) !important; }
.xpn-c4:hover .xpn-icon { border-color: #FF9100; box-shadow: 0 0 18px rgba(255,145,0,0.45); background: rgba(255,145,0,0.18); }

/* C5 — Emerald */
.xpn-c5 { border-color: rgba(105,240,174,0.28) !important; border-left: 3px solid #69F0AE !important; }
.xpn-c5 .xpn-icon { color: #69F0AE; border-color: rgba(105,240,174,0.45); background: rgba(105,240,174,0.12); }
.xpn-c5:hover { border-color: rgba(105,240,174,0.6) !important; box-shadow: 0 0 24px rgba(105,240,174,0.2) !important; background: rgba(105,240,174,0.07) !important; }
.xpn-c5:hover .xpn-icon { border-color: #69F0AE; box-shadow: 0 0 18px rgba(105,240,174,0.45); background: rgba(105,240,174,0.18); }

/* C6 — Gold */
.xpn-c6 { border-color: rgba(255,215,64,0.28) !important; border-left: 3px solid #FFD740 !important; }
.xpn-c6 .xpn-icon { color: #FFD740; border-color: rgba(255,215,64,0.45); background: rgba(255,215,64,0.12); }
.xpn-c6:hover { border-color: rgba(255,215,64,0.6) !important; box-shadow: 0 0 24px rgba(255,215,64,0.2) !important; background: rgba(255,215,64,0.07) !important; }
.xpn-c6:hover .xpn-icon { border-color: #FFD740; box-shadow: 0 0 18px rgba(255,215,64,0.45); background: rgba(255,215,64,0.18); }

/* ── Connector packet colours matching their nodes ───────── */
.xpn-hc1 .xpn-hpkt { background: #448AFF; box-shadow: 0 0 8px #448AFF; }
.xpn-hc1 { background: linear-gradient(90deg, rgba(68,138,255,0.25), rgba(0,229,255,0.25)); }

.xpn-hc2 .xpn-hpkt { background: #C060FF; box-shadow: 0 0 8px #C060FF; }
.xpn-hc2 { background: linear-gradient(90deg, rgba(224,64,251,0.25), rgba(255,145,0,0.25)); }

.xpn-hc3 .xpn-hpkt { background: #90F0C0; box-shadow: 0 0 8px #90F0C0; }
.xpn-hc3 { background: linear-gradient(90deg, rgba(105,240,174,0.25), rgba(255,215,64,0.25)); }

.xpn-vc1 .xpn-vpkt { background: #448AFF; box-shadow: 0 0 8px #448AFF; }
.xpn-vc1 .xpn-vline { background: rgba(68,138,255,0.2); }

.xpn-vc2 .xpn-vpkt { background: #00E5FF; box-shadow: 0 0 8px #00E5FF; }
.xpn-vc2 .xpn-vline { background: rgba(0,229,255,0.2); }

.xpn-vc3 .xpn-vpkt { background: #E040FB; box-shadow: 0 0 8px #E040FB; }
.xpn-vc3 .xpn-vline { background: rgba(224,64,251,0.2); }

.xpn-vc4 .xpn-vpkt { background: #FF9100; box-shadow: 0 0 8px #FF9100; }
.xpn-vc4 .xpn-vline { background: rgba(255,145,0,0.2); }

/* ── Animated data flow on process connector line ────────── */
.steps::after {
  content: '';
  position: absolute;
  top: 31px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #00E5FF 10%, rgba(0,229,255,0.6) 50%, transparent 100%);
  background-size: 30% 100%;
  animation: connectorFlow 2.2s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes connectorFlow {
  0%   { background-position: -30% center; }
  100% { background-position: 130% center; }
}

/* ── Services section subtle hex/circuit background ──────── */
#services {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(33,150,243,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,188,212,0.04) 0%, transparent 40%);
}

/* ── Cursor glow ─────────────────────────────────────────── */
#cursorGlow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,229,255,0.07) 0%,
    rgba(33,150,243,0.04) 40%,
    transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  will-change: left, top;
  transition: opacity 0.4s;
}
