/* ═══════════════════════════════════════════════════════════════════════
   PTS — Unified Trade Portal  |  Official Light Theme
   Design language: Government-grade, premium, authoritative.
   Animations: Present but restrained — elegant, not flashy.
═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Inter:wght@700;900&display=swap');

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg:           #f1f5f9;
  --surface:      rgba(255, 255, 255, 0.88);
  --surface-2:    rgba(255, 255, 255, 0.95);
  --border:       rgba(15, 23, 42, 0.06);
  --shadow-sm:    0 2px 8px rgba(15, 23, 42, 0.03), 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  --shadow-md:    0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-lg:    0 15px 35px -10px rgba(15, 23, 42, 0.12), 0 5px 15px -5px rgba(15, 23, 42, 0.04);

  /* Text */
  --text-1:       #0f172a;
  --text-2:       #475569;
  --text-3:       #94a3b8;

  /* Hub */
  --hub-bg:       #0c1e40;
  --hub-border:   rgba(59, 130, 246, 0.4);
  --hub-glow:     rgba(59, 130, 246, 0.25);

  /* System brand colours */
  --c-amber:      #c2680a;
  --c-amber-bg:   #fef3c7;
  --c-amber-mid:  rgba(194,104,10,0.12);
  --c-amber-line: #d97706;

  --c-green:      #047857;
  --c-green-bg:   #d1fae5;
  --c-green-mid:  rgba(4,120,87,0.12);
  --c-green-line: #10b981;

  --c-indigo:     #3730a3;
  --c-indigo-bg:  #e0e7ff;
  --c-indigo-mid: rgba(55,48,163,0.12);
  --c-indigo-line:#4f46e5;

  --c-rose:       #9f1239;
  --c-rose-bg:    #ffe4e6;
  --c-rose-mid:   rgba(159,18,57,0.12);
  --c-rose-line:  #e11d48;

  /* Card sizing — FIXED and slightly smaller */
  --card-w:  285px;
  --card-h:  265px;
  --card-r:  18px;

  /* Hub sizing */
  --hub-d:   196px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ── Body ────────────────────────────────────────────────────────────── */
body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  color: var(--text-1);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ── Subtle background texture ───────────────────────────────────────── */
.bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%,  rgba(217, 119, 6, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 75%,  rgba(16, 185, 129, 0.04)   0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 15%,  rgba(79, 70, 229, 0.04)  0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 18% 82%,  rgba(225, 29, 72, 0.04)  0%, transparent 65%);
}
.bg-dots {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(100,116,139,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 50%, transparent 100%);
}

/* ── Main wrapper ────────────────────────────────────────────────────── */
.site-main {
  position: relative; z-index: 5;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  max-width: 1340px; width: 100%;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

/* ═══════════════════════════════════════════════════════════════════
   DESKTOP TOPOLOGY
═══════════════════════════════════════════════════════════════════ */
.topo-wrap {
  position: relative;
  width: 100%;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG cable layer */
.topo-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Faint rail underneath cables */
.rail {
  stroke: rgba(15, 23, 42, 0.04);
  stroke-width: 2;
  fill: none;
}

/* Animated energy cable */
.cable {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 45 160;
  animation: flow 8s linear infinite;
  opacity: .8;
  transition: stroke-width .4s, opacity .4s, filter .4s;
}

/* Active cable (hovered subsystem) */
.cable.active {
  stroke-width: 4;
  opacity: 1;
  animation-duration: 4.5s;
  filter: drop-shadow(0 0 5px currentColor);
}

/* Each subsystem cable colour */
.cable-amber   { stroke: var(--c-amber-line);  }
.cable-emerald { stroke: var(--c-green-line);  animation-delay: -2s;   }
.cable-indigo  { stroke: var(--c-indigo-line); animation-delay: -4s;   }
.cable-rose    { stroke: var(--c-rose-line);   animation-delay: -1.2s; }

@keyframes flow {
  from { stroke-dashoffset: 410; }
  to   { stroke-dashoffset: 0;   }
}

/* Node endpoint dots */
.node-dot {
  opacity: .45;
  transition: opacity .4s, r .4s;
}
.dot-amber   { fill: var(--c-amber-line);  }
.dot-emerald { fill: var(--c-green-line);  }
.dot-indigo  { fill: var(--c-indigo-line); }
.dot-rose    { fill: var(--c-rose-line);   }

/* ── PTS Hub ─────────────────────────────────────────────────────────── */
.hub-wrap {
  position: absolute; z-index: 20;
  display: flex; align-items: center; justify-content: center;
}

/* Halo rings — calm, barely there */
.hub-halo {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.08);
  animation: halo-breathe 4s ease-in-out infinite;
}
.halo-1 { width: 248px; height: 248px; animation-delay:  0s;   }
.halo-2 { width: 298px; height: 298px; animation-delay: -1.3s; border-color: rgba(59, 130, 246, 0.05); }
.halo-3 { width: 348px; height: 348px; animation-delay: -2.6s; border-color: rgba(59, 130, 246, 0.03); }

@keyframes halo-breathe {
  0%,100% { transform: scale(1);    opacity: .7; }
  50%      { transform: scale(1.02); opacity: 1;  }
}

/* Slowly rotating orbit ring */
.hub-orbit-ring {
  position: absolute;
  width: 226px; height: 226px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.12);
  animation: orbit-spin 40s linear infinite;
}
.hub-orbit-ring::before,
.hub-orbit-ring::after {
  content: '';
  position: absolute; border-radius: 50%;
  background: #3b82f6;
  width: 5px; height: 5px;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
  top: -2.5px; left: 50%; transform: translateX(-50%);
}
.hub-orbit-ring::after { top: auto; bottom: -2.5px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Hub HUD Brackets */
.hud-bracket {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid rgba(59, 130, 246, 0.25);
  pointer-events: none;
  z-index: 10;
  transition: all 0.5s ease;
}
.br-tl { top: -20px; left: -20px; border-right: none; border-bottom: none; }
.br-tr { top: -20px; right: -20px; border-left: none; border-bottom: none; }
.br-bl { bottom: -20px; left: -20px; border-right: none; border-top: none; }
.br-br { bottom: -20px; right: -20px; border-left: none; border-top: none; }

.hub-wrap:hover .hud-bracket {
  border-color: rgba(59, 130, 246, 0.6);
  width: 30px; height: 30px;
}
.hub-wrap:hover .br-tl { transform: translate(-4px, -4px); }
.hub-wrap:hover .br-tr { transform: translate(4px, -4px); }
.hub-wrap:hover .br-bl { transform: translate(-4px, 4px); }
.hub-wrap:hover .br-br { transform: translate(4px, 4px); }

/* Rotating Outer Tech Ring */
.hub-orbit-outer {
  position: absolute;
  width: 236px; height: 236px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-top-color: rgba(59, 130, 246, 0.6);
  border-bottom-color: rgba(59, 130, 246, 0.6);
  animation: orbit-spin-clockwise 20s linear infinite;
  z-index: 4;
}

/* Rotating Inner Dashed Ring */
.hub-orbit-inner {
  position: absolute;
  width: 218px; height: 218px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  animation: orbit-spin-counter 15s linear infinite;
  z-index: 4;
}

@keyframes orbit-spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-spin-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Core disc - Extremely cool and high-tech styling */
.hub-core {
  position: relative; z-index: 5;
  width: var(--hub-d); height: var(--hub-d);
  border-radius: 50%;
  background: radial-gradient(circle at center, #0f1c3f 0%, #050a14 100%);
  border: 2.5px solid var(--hub-border);
  box-shadow:
    0 0 0 8px rgba(59, 130, 246, 0.04),
    0 15px 45px rgba(5, 10, 25, 0.35),
    inset 0 0 25px rgba(59, 130, 246, 0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Crosshair overlay in core */
.hud-crosshair {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  border: 1px dashed rgba(59, 130, 246, 0.08);
}
.hud-crosshair::before,
.hud-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(59, 130, 246, 0.25);
}
.hud-crosshair::before {
  top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.3) 0%, transparent 20%, transparent 80%, rgba(59,130,246,0.3) 100%);
}
.hud-crosshair::after {
  left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(59,130,246,0.3) 0%, transparent 20%, transparent 80%, rgba(59,130,246,0.3) 100%);
}

/* Volumetric Gloss effect overlay */
.hub-gloss-effect {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Radar scanning sweep */
.hub-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 60%, rgba(59, 130, 246, 0.05) 85%, rgba(59, 130, 246, 0.3) 100%);
  animation: radar-sweep-rotate 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes radar-sweep-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hub-pts {
  position: relative;
  z-index: 4;
  font-family: 'Inter', sans-serif;
  font-weight: 900; font-size: 2.8rem;
  letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 30%, #60a5fa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(59, 130, 246, 0.4));
  display: block;
}

.hub-label {
  position: relative;
  z-index: 4;
  display: block;
  font-size: 10px; font-weight: 700; color: #93c5fd;
  margin-top: 3px; max-width: 120px; line-height: 1.35;
}

/* Integrated Status Light in Core */
.hub-status-light {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 8.5px;
  font-weight: 700;
  color: #10b981;
}

.status-pulse-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: mini-pulse 2s ease-in-out infinite;
}

@keyframes mini-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hub-wrap:hover .hub-core {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow:
    0 0 0 10px rgba(59, 130, 246, 0.08),
    0 20px 55px rgba(5, 10, 25, 0.42),
    inset 0 0 35px rgba(59, 130, 246, 0.35);
  transform: scale(1.02);
}

/* ── Subsystem Cards ─────────────────────────────────────────────────── */
.card {
  position: absolute; z-index: 10;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: var(--card-r);
  background: var(--surface);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition:
    transform .38s cubic-bezier(.16,1,.3,1),
    box-shadow .38s ease,
    border-color .3s;
  cursor: pointer;
}

/* Desktop positions — mathematically aligned with SVG endpoints */
.pos-tr { top: 35px; right: 7%; }
.pos-tl { top: 35px; left: 7%; }
.pos-br { bottom: 35px; right: 7%; }
.pos-bl { bottom: 35px; left: 7%; }

/* Top colour stripe */
.card-stripe {
  height: 3.5px; width: 100%; flex-shrink: 0;
  transition: height .3s;
}
.card-etrade   .card-stripe { background: linear-gradient(90deg, var(--c-amber-line), #f59e0b); }
.card-elogistic .card-stripe{ background: linear-gradient(90deg, var(--c-green-line), #10b981); }
.card-tcn      .card-stripe { background: linear-gradient(90deg, var(--c-indigo-line),#6366f1); }
.card-ecustom  .card-stripe { background: linear-gradient(90deg, var(--c-rose-line),  #f43f5e); }

/* Hover / active lift */
.card:hover, .card.is-active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.card-etrade:hover,  .card-etrade.is-active  { border-color: rgba(217, 119, 6, 0.35); }
.card-elogistic:hover,.card-elogistic.is-active{ border-color: rgba(16, 185, 129, 0.35);  }
.card-tcn:hover,     .card-tcn.is-active     { border-color: rgba(79, 70, 229, 0.35);  }
.card-ecustom:hover, .card-ecustom.is-active  { border-color: rgba(225, 29, 72, 0.35);  }

/* Card header */
.card-head {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .85rem 1rem .45rem;
  position: relative;
}

/* Icon badge */
.card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,.08);
}
.card-etrade   .card-icon { background: linear-gradient(145deg, #f59e0b, var(--c-amber-line)); }
.card-elogistic .card-icon{ background: linear-gradient(145deg, #10b981, var(--c-green-line)); }
.card-tcn      .card-icon { background: linear-gradient(145deg, #6366f1, var(--c-indigo-line));}
.card-ecustom  .card-icon { background: linear-gradient(145deg, #f43f5e, var(--c-rose-line));  }

.card-name { font-size: .95rem; font-weight: 900; color: var(--text-1); line-height: 1.1; }
.card-desc {
  font-size: 10.5px; font-weight: 500; color: var(--text-2); margin-top: 1px; line-height: 1.3;
}

/* Status pip — top-left corner */
.card-pip {
  position: absolute; top: .85rem; left: 1rem;
  display: flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 600; color: var(--text-3);
}
.pip-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-3);
  transition: background .3s, box-shadow .3s;
}
.card-etrade:hover   .pip-dot, .card-etrade.is-active   .pip-dot { background: var(--c-amber-line);  box-shadow: 0 0 6px var(--c-amber-mid);  }
.card-elogistic:hover .pip-dot,.card-elogistic.is-active .pip-dot{ background: var(--c-green-line);  box-shadow: 0 0 6px var(--c-green-mid);  }
.card-tcn:hover      .pip-dot, .card-tcn.is-active      .pip-dot { background: var(--c-indigo-line); box-shadow: 0 0 6px var(--c-indigo-mid); }
.card-ecustom:hover  .pip-dot, .card-ecustom.is-active  .pip-dot { background: var(--c-rose-line);   box-shadow: 0 0 6px var(--c-rose-mid);   }

/* Feature list - tighter margins for smaller card container */
.card-list {
  list-style: none;
  flex: 1;
  padding: 0 1rem;
  display: flex; flex-direction: column; gap: 3px;
  overflow: hidden;
}
.card-list li {
  position: relative;
  padding-right: 12px;
  font-size: 11.5px; color: var(--text-2); line-height: 1.4;
  margin-bottom: 2px;
}
.card-list li::before {
  content: '';
  position: absolute; right: 0; top: 5px;
  width: 4.5px; height: 4.5px; border-radius: 50%;
}
.card-etrade   .card-list li::before { background: var(--c-amber-line);  }
.card-elogistic .card-list li::before{ background: var(--c-green-line);  }
.card-tcn      .card-list li::before { background: var(--c-indigo-line); }
.card-ecustom  .card-list li::before { background: var(--c-rose-line);   }
.card-list strong { color: var(--text-1); font-weight: 700; font-size: 12px; }

/* Action button - slightly more compact */
.card-btn {
  margin: .5rem 1rem .85rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .55rem;
  border-radius: 10px;
  font-size: 12px; font-weight: 700;
  transition: all .3s ease;
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-2);
  border: 1px solid rgba(15, 23, 42, 0.05);
}
.card-btn i { transition: transform .3s; }
.card:hover .card-btn i { transform: translateX(-4px); }

/* Color fills for E-Trade and E-Logistic active states */
.card-etrade:hover   .card-btn:not(.card-btn--loading),
.card-etrade.is-active .card-btn:not(.card-btn--loading) {
  background: linear-gradient(135deg, #f59e0b, var(--c-amber-line));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}
.card-elogistic:hover  .card-btn:not(.card-btn--loading),
.card-elogistic.is-active .card-btn:not(.card-btn--loading) {
  background: linear-gradient(135deg, #10b981, var(--c-green-line));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

/* Loading button */
.card-btn--loading {
  cursor: default;
  color: var(--text-3) !important;
  background: #f8fafc !important;
  border: 1.5px dashed #cbd5e1 !important;
  box-shadow: none !important;
}
.card-btn--loading i { animation: btn-spin 1.5s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: .9rem;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  font-size: .7rem; color: var(--text-3); font-weight: 600;
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE  (≤ 1024px)
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body { overflow-y: auto; }
  .site-main { padding: .75rem 1rem 1.5rem; }

  /* Hide desktop topology */
  .topo-wrap { display: none !important; }

  /* Show mobile scene */
  .mobile-scene { display: flex; flex-direction: column; align-items: center; width: 100%; }

  /* ── Radar map ── */
  .mob-radar {
    position: relative;
    width: 280px; height: 280px;
    margin: .25rem auto 0;
    display: flex; align-items: center; justify-content: center;
  }

  .mob-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
  }

  /* Mini hub */
  .mob-hub {
    position: relative; z-index: 10;
    display: flex; align-items: center; justify-content: center;
  }
  .mob-orbit-outer { width: 140px; height: 140px; }
  .mob-orbit-inner { width: 128px; height: 128px; }
  
  .mob-core {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #0f1c3f 0%, #050a14 100%);
    border: 2px solid var(--hub-border);
    box-shadow: 0 12px 35px rgba(5, 10, 25, 0.35), 0 0 24px var(--hub-glow) inset;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 5;
  }

  /* Tap-node buttons */
  .mob-node {
    position: absolute; z-index: 15;
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--text-3);
    background: var(--surface);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all .35s cubic-bezier(.175,.885,.32,1.275);
  }
  .mob-node-etrade    { top:  14px; right: 14px; }
  .mob-node-elogistic { top:  14px; left:  14px; }
  .mob-node-tcn       { bottom: 14px; right: 14px; }
  .mob-node-ecustom   { bottom: 14px; left:  14px; }

  /* Active node ring */
  .mob-node.active {
    transform: scale(1.12);
    border-width: 2px;
    background: #ffffff;
  }
  .mob-node.active::after {
    content: ''; position: absolute; inset: -7px; border-radius: 50%;
    border: 1.5px solid currentColor; opacity: .35;
    animation: node-ring 1.8s ease-out infinite;
  }
  @keyframes node-ring { 0%{transform:scale(.8);opacity:.7} 100%{transform:scale(1.8);opacity:0} }

  .mob-node.active.act-etrade    { color: var(--c-amber-line);  border-color: var(--c-amber-line);  box-shadow: 0 0 16px rgba(217, 119, 6, 0.25); }
  .mob-node.active.act-elogistic { color: var(--c-green-line);  border-color: var(--c-green-line);  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);  }
  .mob-node.active.act-tcn       { color: var(--c-indigo-line); border-color: var(--c-indigo-line); box-shadow: 0 0 16px rgba(79, 70, 229, 0.25); }
  .mob-node.active.act-ecustom   { color: var(--c-rose-line);   border-color: var(--c-rose-line);   box-shadow: 0 0 16px rgba(225, 29, 72, 0.25); }

  /* ── Carousel ── */
  .mob-slider {
    width: 100%; overflow: hidden;
    padding: .75rem 1rem .25rem;
  }
  .mob-track {
    display: flex;
    width: 400%;
    transition: transform .42s cubic-bezier(.16,1,.3,1);
  }
  .mob-slide {
    width: 25%; padding: 0 6px; flex-shrink: 0;
  }
  .mob-card {
    position: static !important;
    width: 100% !important;
    height: auto !important; min-height: 250px;
    cursor: default;
  }

  /* ── Dots ── */
  .mob-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: .9rem;
  }
  .mob-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(17,24,39,.1);
    transition: all .3s ease; padding: 0;
  }
  .mob-dot.d-on-etrade    { background: var(--c-amber-line);  width: 22px; border-radius: 4px; }
  .mob-dot.d-on-elogistic { background: var(--c-green-line);  width: 22px; border-radius: 4px; }
  .mob-dot.d-on-tcn       { background: var(--c-indigo-line); width: 22px; border-radius: 4px; }
  .mob-dot.d-on-ecustom   { background: var(--c-rose-line);   width: 22px; border-radius: 4px; }

  /* Swipe hint */
  .mob-hint {
    margin-top: .5rem;
    font-size: 10.5px; color: var(--text-3);
    display: flex; align-items: center; gap: 5px; justify-content: center;
    animation: hint-fade 2.5s ease-in-out infinite;
  }
  @keyframes hint-fade { 0%,100%{opacity:.3} 50%{opacity:.65} }
}

/* ── Desktop: hide mobile elements ── */
@media (min-width: 1025px) {
  .mobile-scene { display: none !important; }
}
