/* Shipping Wish LLC - Enterprise Corporate TMS & Public Portal Design System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark-core: #090b0e;
  --bg-main: #0c0f14;
  --bg-card: rgba(20, 24, 32, 0.75);
  --bg-card-hover: rgba(28, 34, 46, 0.9);
  --bg-panel: rgba(18, 22, 30, 0.85);

  /* Modern Executive Corporate Light Tokens */
  --bg-light-main: #f8fafc;
  --bg-light-card: #ffffff;
  --bg-light-card-hover: #ffffff;
  --bg-light-panel: #f1f5f9;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light-color: #e2e8f0;
  --border-glow: rgba(245, 158, 11, 0.4);
  --border-blue-glow: rgba(59, 130, 246, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --text-dark-main: #0f172a;
  --text-dark-muted: #475569;
  --text-dark-dim: #64748b;

  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.35);

  --accent-blue: #2563eb;
  --accent-blue-glow: rgba(37, 99, 235, 0.35);
  --accent-cyan: #0891b2;
  --accent-green: #059669;
  --accent-red: #dc2626;
  --accent-purple: #7c3aed;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-main: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-light-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-light-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.2);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand, .eyebrow {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Public Website Executive Light-Hybrid Overrides */
body.public-site {
  background-color: var(--bg-light-main);
  color: var(--text-dark-main);
}

body.public-site h1, body.public-site h2, body.public-site h3, body.public-site h4 {
  color: var(--text-dark-main);
}

body.public-site .hero h1 span {
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.public-site p.muted, body.public-site span.muted, body.public-site .lead {
  color: var(--text-dark-muted) !important;
}

body.public-site .card-hover, body.public-site .tms-panel, body.public-site .rate-estimator-panel {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-color);
  box-shadow: var(--shadow-light-card);
}

body.public-site .card-hover:hover, body.public-site .tms-panel:hover {
  border-color: var(--amber-primary);
  box-shadow: var(--shadow-light-hover);
}

body.public-site .section-title h2 {
  color: var(--text-dark-main);
}

body.public-site .section-title p {
  color: var(--text-dark-muted);
}

body.public-site .market-ticker-banner {
  background: #ffffff;
  border-top: 1px solid var(--border-light-color);
  border-bottom: 1px solid var(--border-light-color);
}

body.public-site .market-card {
  background: #f8fafc;
  border: 1px solid var(--border-light-color);
}

body.public-site .market-card .lbl {
  color: var(--text-dark-muted);
}

body.public-site .corridor-card {
  background: #ffffff;
  border: 1px solid var(--border-light-color);
}

body.public-site .site-header {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.public-site .site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}

body.public-site .site-footer h4 {
  color: #ffffff;
}

body.public-site .site-footer a {
  color: #cbd5e1;
}

body.public-site .site-footer a:hover {
  color: var(--amber-primary);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 12px var(--amber-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); box-shadow: 0 0 10px var(--amber-primary); }
  50% { transform: scale(1.2); box-shadow: 0 0 20px var(--amber-primary), 0 0 30px rgba(245,158,11,0.5); }
  100% { transform: scale(1); box-shadow: 0 0 10px var(--amber-primary); }
}

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

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background: #0f172a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  color: #cbd5e1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  color: var(--amber-primary) !important;
}

.dropdown-item .icon {
  font-size: 18px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.nav-links a:hover,
.nav-links a.current {
  color: #fff;
}

.nav-links a.current::after {
  content: '';
  position: absolute;
  bottom: -26px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--amber-primary);
  box-shadow: 0 0 10px var(--amber-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.nav-phone:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  background: rgba(245, 158, 11, 0.08);
}

.btn-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.45);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--accent-red);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber-primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.badge-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-row .chip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* Dispatch Board HUD & Live Radar Visualizer */
.dispatch-board {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.dispatch-board::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-primary), var(--accent-blue), transparent);
}

.board-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 1.5s infinite;
  margin-right: 8px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.kpi {
  background: rgba(12, 15, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition-fast);
}

.kpi:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.kpi-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.odometer {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  display: inline-block;
}

.kpi .suffix {
  font-size: 20px;
  color: var(--amber-primary);
  font-weight: 700;
}

/* Live Dispatch Ticker HUD Element */
.live-ticker-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--accent-blue-glow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.live-ticker-box b {
  color: #93c5fd;
}

/* Route Divider */
.route-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  position: relative;
}

.route-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.truck-mark {
  position: relative;
  background: var(--bg-main);
  padding: 0 16px;
  font-size: 24px;
}

/* Sections & Cards */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Corporate Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-hover {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-hover h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-hover p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Freight Rate Estimator Widget */
.rate-estimator-panel {
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.95) 0%, rgba(12, 15, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-main);
  margin: 40px 0;
}

.estimator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  background: rgba(12, 15, 20, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 12px var(--amber-glow);
}

/* Advance Track System ERP Sidebar & Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
  color: #0f172a;
}

.sidebar-nav {
  width: 270px;
  background: #0b1329;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
  border-right: 1px solid #1e293b;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 20px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 16px;
}

.sidebar-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.sidebar-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.sidebar-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #64748b;
  padding: 12px 12px 6px;
  margin-top: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 4px;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sidebar-item.active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.sidebar-item .icon {
  font-size: 18px;
}

.dashboard-main {
  margin-left: 270px;
  flex: 1;
  padding: 32px;
  background: #f8fafc;
  min-height: 100vh;
}

.dashboard-main-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.erp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.erp-card:hover {
  border-color: var(--amber-primary);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.erp-card .lbl {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.erp-card .val {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 6px;
  font-family: 'Outfit', sans-serif;
}

/* Executive SaaS Dashboard Tab Bar */
.tms-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.tab-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--amber-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* TMS Panels & Tables */
.tms-panel {
  background: rgba(18, 22, 30, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.table-scroll {
  overflow-x: auto;
}

.tms-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.tms-table th {
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.95);
  color: #94a3b8;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tms-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  font-size: 14px;
}

.tms-table tr:hover td {
  background: rgba(245, 158, 11, 0.05);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-booked, .badge-new { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-in_transit, .badge-loaded { background: rgba(245, 158, 11, 0.15); color: #fde047; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-delivered, .badge-paid { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-unpaid, .badge-cancelled { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 650px;
  box-shadow: var(--shadow-main);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-fast);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-msg {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.form-msg.error { background: rgba(239, 68, 68, 0.2); color: #fca5a5; display: block; }
.form-msg.success { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; display: block; }

/* Footer */
.site-footer {
  background: #06080b;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--amber-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 13px;
}

/* Responsive Mobile & Tablet Rules */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(18, 22, 30, 0.8);
    border: 1px solid var(--border-glow);
    color: #ffffff;
    font-size: 24px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .nav-toggle:hover {
    border-color: var(--amber-primary);
    color: var(--amber-primary);
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(12, 15, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #e2e8f0;
  }

  .nav-links a:hover, .nav-links a.current {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--amber-primary);
    color: var(--amber-primary);
  }

  .nav-links a.current::after {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .estimator-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* US Freight Market Updates Bar & Cards */
.market-ticker-banner {
  background: linear-gradient(90deg, rgba(20, 24, 32, 0.95), rgba(12, 15, 20, 0.95));
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.market-card {
  background: rgba(12, 15, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.market-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.market-card .val {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--amber-primary);
}

/* Image Banner & Photography Showcase */
.img-box {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-main);
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.img-box:hover img {
  transform: scale(1.06);
}

.img-box .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 11, 14, 0.9) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Card Hover Shimmer Micro-Animations */
.card-hover, .tms-panel, .truck-cockpit-card {
  position: relative;
  overflow: hidden;
}

.card-hover::after, .tms-panel::after, .truck-cockpit-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(245, 158, 11, 0.06) 50%, transparent 60%);
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.card-hover:hover::after, .tms-panel:hover::after, .truck-cockpit-card:hover::after {
  transform: rotate(30deg) translate(30%, 30%);
}

/* Reveal Animations */
.reveal-up {
  animation: revealUp 0.8s ease-out forwards;
}

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

/* Fortune 500 Regulatory & Compliance Bar */
.compliance-bar {
  background: rgba(18, 22, 30, 0.9);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-glow);
  padding: 14px 0;
}

.compliance-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(12, 15, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  transition: var(--transition-fast);
}

.compliance-badge:hover {
  border-color: var(--amber-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* 50-State Freight Corridor Grid */
.corridor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.corridor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-smooth);
}

.corridor-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

/* Digital Onboarding Stepper */
.onboarding-stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.onboarding-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 0 10px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 15, 20, 0.8);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-muted);
}

.step-item.active .step-num {
  background: var(--amber-primary);
  border-color: var(--amber-primary);
  color: #0c0f14;
  box-shadow: 0 0 15px var(--amber-glow);
}

.step-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .corridor-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-kpi-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; line-height: 1.25; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .estimator-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .market-grid { grid-template-columns: 1fr; }
  .corridor-grid { grid-template-columns: 1fr; }
  .compliance-kpi-grid { grid-template-columns: 1fr !important; }
  .nav-row { height: 66px; }
  .container { padding: 0 16px; }
}
