/* ==========================================================================
   SHIPPINGSTATUS.NET — ENTERPRISE CARRIER DESIGN SYSTEM (styles.css)
   Inspired by Swiss Logistics & Modern Silicon Valley Infrastructure (Stripe/Flexport)
   Clean, Authoritative, High-Precision Architecture.
   Strict: Zero neon/green pulsing, zero store references, zero competitor trademarks.
   Independent Desktop & Mobile (iOS / Android) Optimizations.
   ========================================================================== */

:root {
  /* Corporate Palette */
  --primary: #0b2341;
  --primary-dark: #061528;
  --primary-light: #163761;
  --accent-blue: #0066ee;
  --accent-blue-hover: #0052cc;
  --accent-blue-light: #eff6ff;
  --accent-blue-subtle: rgba(0, 102, 238, 0.08);
  
  --navy-dark: #07172c;
  --slate-dark: #0f172a;
  --slate-medium: #475569;
  --slate-light: #64748b;
  --slate-border: #cbd5e1;
  
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  
  --success: #059669;
  --success-light: #ecfdf5;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;
  
  /* Modern Typography Stack */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Multi-Tier High-Precision Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 35, 65, 0.04);
  --shadow-sm: 0 1px 3px rgba(11, 35, 65, 0.06), 0 1px 2px rgba(11, 35, 65, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(11, 35, 65, 0.06), 0 2px 4px -2px rgba(11, 35, 65, 0.04);
  --shadow-card: 0 1px 3px rgba(11, 35, 65, 0.03), 0 10px 24px -4px rgba(11, 35, 65, 0.06);
  --shadow-hover: 0 8px 30px rgba(11, 35, 65, 0.1);
  --shadow-focus: 0 0 0 4px rgba(0, 102, 238, 0.14);
  
  /* Geometric Curvature */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
}

/* Base Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  background-image: radial-gradient(circle at 50% 0%, #edf4fc 0%, #f8fafc 520px, #f8fafc 100%);
  background-repeat: no-repeat;
  color: var(--slate-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. CORPORATE HEADER & NAV (STICKY FROSTED GLASS)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.2s ease;
}

.header-top {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: 0.2px;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.status-dot-solid {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePing 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  transition: opacity 0.15s ease;
}

.logo-wrapper:hover {
  opacity: 0.92;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #0066ee 0%, #004bb7 100%);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 2px 6px rgba(0, 102, 238, 0.3);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.logo-text span {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-medium);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(0, 102, 238, 0.06);
}

.support-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background-color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  letter-spacing: 0.2px;
}

/* ==========================================================================
   2. TRACKING SEARCH HERO
   ========================================================================== */
.hero-section {
  padding: 42px 0 26px;
  text-align: center;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--slate-medium);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.search-box-card {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  padding: 14px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-box-card:focus-within {
  border-color: rgba(0, 102, 238, 0.4);
  box-shadow: var(--shadow-hover);
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 15px;
  color: var(--slate-light);
  pointer-events: none;
  transition: color 0.15s ease;
}

.input-container:focus-within .search-icon {
  color: var(--accent-blue);
}

.tracking-input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-dark);
  font-family: var(--font-mono);
  background-color: #fafbfc;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.tracking-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-focus);
}

.btn-track {
  height: 50px;
  padding: 0 28px;
  background: linear-gradient(135deg, #0066ee 0%, #0052cc 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 102, 238, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.btn-track:hover {
  background: linear-gradient(135deg, #0077ff 0%, #005ce6 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 102, 238, 0.35);
}

.btn-track:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0, 102, 238, 0.2);
}

/* Quick Samples (Hidden from Public per Rule) */
.quick-samples {
  display: none !important;
}

/* ==========================================================================
   3. NOT FOUND ALERT
   ========================================================================= */
.alert-box {
  background-color: #ffffff;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px auto;
  max-width: 780px;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-title {
  font-size: 16px;
  font-weight: 700;
  color: #b91c1c;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-desc {
  font-size: 13.5px;
  color: var(--slate-medium);
  line-height: 1.5;
}

/* ==========================================================================
   4. TRACKING DOSSIER & STATUS HERO CARD
   ========================================================================== */
.tracking-dossier {
  margin: 18px auto 52px;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-hero-card {
  background-color: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  transition: box-shadow 0.25s ease;
}

.status-hero-card:hover {
  box-shadow: var(--shadow-hover);
}

.status-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 24px;
}

.status-badge-corp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 6px;
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 102, 238, 0.18);
  margin-bottom: 10px;
}

.status-badge-corp.status-delivered {
  background-color: var(--success-light);
  color: var(--success);
  border-color: rgba(5, 150, 105, 0.2);
}

.primary-status-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.tracking-subtext {
  font-size: 13.5px;
  color: var(--slate-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tracking-subtext strong {
  color: var(--slate-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
}

.eta-box {
  min-width: 250px;
  text-align: right;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.eta-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--slate-light);
}

.eta-date {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
}

.eta-time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* ==========================================================================
   5. 7-STAGE PROGRESSION STEPPER (EXACT ADMIN MATCH)
   ========================================================================== */
.stepper-container {
  padding-top: 26px;
}

.stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.stepper-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--slate-medium);
}

.stepper-stage-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 238, 0.16);
}

.stepper-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 12px 0 6px;
}

/* Progress track line */
.stepper-line-bg {
  position: absolute;
  top: 17px;
  left: 3.5%;
  right: 3.5%;
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 2px;
  z-index: 1;
}

.stepper-line-fill {
  position: absolute;
  top: 17px;
  left: 3.5%;
  height: 4px;
  background: linear-gradient(90deg, #0066ee 0%, #0099ff 100%);
  border-radius: 2px;
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 14%;
  cursor: default;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-light);
  line-height: 1.3;
  transition: all 0.25s ease;
}

/* Completed Step */
.step-node.completed .step-circle {
  background: linear-gradient(135deg, #0066ee 0%, #0052cc 100%);
  border-color: #0066ee;
  color: #ffffff;
}

.step-node.completed .step-label {
  color: var(--slate-dark);
  font-weight: 600;
}

/* Current / Active Step (Blue halo ring) */
.step-node.active .step-circle {
  background-color: #0066ee;
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 0 3px #0066ee, 0 0 0 7px rgba(0, 102, 238, 0.2);
  animation: activeHalo 2.5s infinite;
}

@keyframes activeHalo {
  0%, 100% { box-shadow: 0 0 0 3px #0066ee, 0 0 0 7px rgba(0, 102, 238, 0.25); }
  50% { box-shadow: 0 0 0 3px #0066ee, 0 0 0 10px rgba(0, 102, 238, 0.1); }
}

.step-node.active .step-label {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   6. DETAILS GRID: TRAVEL HISTORY + SHIPMENT FACTS
   ========================================================================== */
.details-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}

.card {
  background-color: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.count-pill {
  font-size: 11.5px;
  font-weight: 700;
  background-color: #f1f5f9;
  color: var(--slate-medium);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* Travel History Timeline */
.timeline-list {
  list-style: none;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, #0066ee 0%, #cbd5e1 80px, #e2e8f0 100%);
}

.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 22px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #cbd5e1;
  z-index: 2;
  transition: all 0.2s ease;
}

.timeline-item:first-child .timeline-dot {
  background-color: var(--accent-blue);
  border-color: #ffffff;
  box-shadow: 0 0 0 2px var(--accent-blue), 0 0 0 5px rgba(0, 102, 238, 0.2);
}

.timeline-time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.timeline-status {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.timeline-desc {
  font-size: 13.5px;
  color: var(--slate-medium);
  line-height: 1.45;
  margin-bottom: 5px;
}

.timeline-location {
  font-size: 12.5px;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Shipment Facts Table */
.facts-table {
  width: 100%;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-label {
  color: var(--slate-medium);
  font-weight: 500;
}

.fact-value {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

.fact-value.mono {
  font-family: var(--font-mono);
}

/* Adult Signature Advisory Box */
.signature-card {
  margin-top: 20px;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.05);
}

.sig-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  color: #b45309;
}

.sig-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 3px;
}

.sig-desc {
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.45;
}

/* Quick Action Buttons */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-secondary {
  flex: 1;
  height: 42px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--accent-blue);
}

.btn-secondary:active {
  transform: translateY(1px);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--navy-dark);
  color: #94a3b8;
  padding: 40px 0 28px;
  font-size: 13px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: #cbd5e1;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   8. HUB NETWORK & STRATEGIC GATEWAY MAP SECTION
   ========================================================================== */
.hub-network-section {
  margin-top: 56px;
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-light);
}

.section-header-corp {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-badge-corp {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border: 1px solid rgba(0, 102, 238, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.section-title-corp {
  font-size: 30px;
  font-weight: 800;
  color: var(--slate-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-desc-corp {
  font-size: 15px;
  color: var(--slate-medium);
  line-height: 1.6;
}

/* KPI Telemetry Banner */
.hub-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hub-kpi-card {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0066ee, #00d2ff);
}

.hub-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hub-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hub-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* Map Card */
.hub-map-card {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 36px;
}

.hub-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #07172c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.map-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00e676;
}

.map-svg-wrapper {
  position: relative;
  background: #051326;
  padding: 16px;
}

.hub-svg-map {
  width: 100%;
  height: auto;
  display: block;
}

.corridor-pulse {
  animation: transitFlow 20s linear infinite;
}

@keyframes transitFlow {
  to {
    stroke-dashoffset: -120;
  }
}

.map-hub-pin {
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.map-hub-pin:hover {
  filter: drop-shadow(0 0 12px #00e5ff);
}

.hub-beacon-ring {
  animation: beaconPulse 2.5s ease-out infinite;
  transform-origin: center;
}

@keyframes beaconPulse {
  0% { r: 8px; opacity: 0.6; }
  100% { r: 24px; opacity: 0; }
}

/* Facility Directory Cards Grid */
.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hub-facility-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hub-facility-card:hover, .hub-facility-card.active-hub {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(0, 102, 238, 0.12);
  transform: translateY(-3px);
}

.hub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hub-code-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--primary);
}

.hub-status-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hub-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hub-address {
  font-size: 13px;
  color: var(--slate-medium);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hub-spec-list {
  font-size: 12.5px;
  color: var(--slate-dark);
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.hub-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.hub-spec-bullet {
  color: var(--accent-blue);
  font-weight: 800;
}

/* ==========================================================================
   9. INDEPENDENT RESPONSIVE DESIGN (TABLET & PHONES)
   ========================================================================== */

/* Tablet & Intermediate Screens */
@media (max-width: 960px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .status-top-bar {
    flex-direction: column;
    gap: 18px;
  }
  .eta-box {
    text-align: left;
    width: 100%;
  }
  .eta-label, .eta-time {
    justify-content: flex-start;
  }
  .hub-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dedicated Mobile Mode (iPhone & Android Phones <= 680px) */
@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  /* Header on Mobile */
  .header-top {
    font-size: 11px;
    padding: 5px 0;
  }
  .header-top-inner {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  .site-header .container {
    padding: 0 10px;
  }
  .header-nav {
    height: 56px;
    gap: 4px;
    justify-content: space-between;
  }
  .logo-wrapper {
    gap: 5px;
    flex-shrink: 0;
  }
  .logo-icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
    border-radius: 6px;
  }
  .logo-text {
    font-size: 14px;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }
  .nav-links {
    gap: 2px;
    flex-shrink: 0;
  }
  .nav-link {
    font-size: 11.5px;
    padding: 4px 6px;
    min-height: 38px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .support-pill {
    display: none;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 26px 0 20px;
  }
  .hero-title {
    font-size: 24px;
    letter-spacing: -0.02em;
  }
  .hero-subtitle {
    font-size: 13.5px;
    margin-bottom: 20px;
  }
  .search-box-card {
    padding: 12px;
    border-radius: var(--radius-md);
  }
  .search-form {
    flex-direction: column;
    gap: 10px;
  }
  .input-container {
    width: 100%;
  }
  .tracking-input {
    height: 48px;
    font-size: 16px; /* Prevents iOS Safari auto-zoom on focus */
    border-radius: var(--radius-sm);
  }
  .btn-track {
    width: 100%;
    height: 48px;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
  }

  /* Status Card on Mobile */
  .status-hero-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .status-top-bar {
    padding-bottom: 18px;
  }
  .primary-status-text {
    font-size: 21px;
    margin-bottom: 6px;
  }
  .tracking-subtext {
    font-size: 12.5px;
    gap: 6px;
  }
  .eta-box {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3.5px solid var(--accent-blue);
  }
  .eta-date {
    font-size: 18px;
  }

  /* Stepper on Mobile (All 7 Steps visible, connected with active halo) */
  .stepper-container {
    padding-top: 20px;
    width: 100%;
  }
  .stepper-header {
    margin-bottom: 14px;
  }
  .stepper-title {
    font-size: 11.5px;
  }
  .stepper-stage-status {
    font-size: 11.5px;
    padding: 3px 10px;
  }
  .stepper-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 8px 0 4px;
    width: 100%;
    overflow: visible;
  }
  .stepper-line-bg {
    display: block;
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
  }
  .stepper-line-fill {
    display: block;
    position: absolute;
    top: 14px;
    left: 14px;
    height: 3px;
    background: linear-gradient(90deg, #0066ee 0%, #0099ff 100%);
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .step-node {
    width: 14.28%;
    min-width: 0;
    flex-shrink: 0;
    padding: 0 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-width: 2px;
    margin-bottom: 5px;
  }
  .step-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    word-break: normal;
    text-align: center;
  }

  /* Details Grid & Cards on Mobile */
  .card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .card-title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .timeline-item {
    padding-left: 26px;
    margin-bottom: 18px;
  }
  .timeline-status {
    font-size: 13.5px;
  }
  .timeline-desc {
    font-size: 13px;
  }
  .fact-row {
    font-size: 13px;
    padding: 9px 0;
  }
  .card-actions {
    flex-direction: column;
    gap: 8px;
  }
  .btn-secondary {
    width: 100%;
    height: 44px;
    font-size: 13.5px;
  }

  /* Hub Network on Mobile */
  .hub-network-section {
    margin-top: 36px;
    padding: 32px 0 16px;
  }
  .section-header-corp {
    margin-bottom: 26px;
  }
  .section-title-corp {
    font-size: 22px;
  }
  .section-desc-corp {
    font-size: 13.5px;
  }

  /* 2x2 Clean Mobile KPI Grid (App-like, never 4 vertical scrolling towers) */
  .hub-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 22px;
  }
  .hub-kpi-card {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
  }
  .hub-kpi-val {
    font-size: 18px;
  }
  .hub-kpi-label {
    font-size: 10.5px;
    margin-top: 4px;
  }

  /* Hub Map on Mobile */
  .hub-map-card {
    border-radius: var(--radius-md);
    margin-bottom: 22px;
  }
  .hub-map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    font-size: 11px;
  }
  .map-svg-wrapper {
    padding: 8px;
  }

  /* Facility Cards on Mobile */
  .hub-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hub-facility-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  /* Footer on Mobile */
  .site-footer {
    padding: 28px 0 20px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-links {
    justify-content: center;
    gap: 16px;
  }
}

/* Extra Compact Phones (iPhone SE / 360px Android) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 22px;
  }
  .primary-status-text {
    font-size: 19px;
  }
  .hub-kpi-val {
    font-size: 16px;
  }
}

/* ==========================================================================
   10. CORPORATE COMPLIANCE & LEGAL PAGES (About Us, Terms, Privacy, Audits)
   ========================================================================== */
.corporate-header-banner {
  padding: 44px 0 28px;
  text-align: center;
}

.corporate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border: 1px solid rgba(0, 102, 238, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.corporate-page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.corporate-meta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--slate-medium);
  flex-wrap: wrap;
}

.corporate-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.corporate-meta-item strong {
  color: var(--slate-dark);
}

.corporate-content-layout {
  max-width: 880px;
  margin: 0 auto 60px;
}

.corporate-card {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.corporate-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-top: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.corporate-card h2:first-of-type {
  margin-top: 0;
}

.corporate-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-dark);
  margin-top: 20px;
  margin-bottom: 8px;
}

.corporate-card p {
  font-size: 14.5px;
  color: var(--slate-medium);
  line-height: 1.65;
  margin-bottom: 16px;
}

.corporate-card ul, .corporate-card ol {
  margin-left: 20px;
  margin-bottom: 18px;
  color: var(--slate-medium);
  font-size: 14.5px;
  line-height: 1.6;
}

.corporate-card li {
  margin-bottom: 8px;
}

.corporate-card strong {
  color: var(--slate-dark);
}

/* Contact Cards Grid for About Us & Inquiries */
.corporate-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.corporate-contact-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.contact-card-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-dark);
  line-height: 1.4;
}

.contact-card-sub {
  font-size: 12.5px;
  color: var(--slate-light);
  margin-top: 4px;
}

/* Security Audit Badges */
.audit-badges-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.audit-badge-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audit-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 102, 238, 0.2);
}

.audit-badge-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.audit-badge-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Back Link */
.back-nav-bar {
  margin-bottom: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--accent-blue-hover);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .corporate-header-banner {
    padding: 28px 0 16px;
  }
  .corporate-page-title {
    font-size: 24px;
  }
  .corporate-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  .corporate-card h2 {
    font-size: 18px;
  }
  .corporate-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .audit-badges-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

