/* ==========================================================================
   OSCAR DISPATCH - CLEAN MODERN LIGHT SAAS DESIGN SYSTEM
   Faithfully matching the authentic Oscar Dispatcher Workspace (demo-app)
   Crisp Whites, Soft Slates, Dynamic Blue-Cyan Accents & Responsive Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Oscar Light Mode Color Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-surface-elevated: #e2e8f0;
  --bg-input: #ffffff;
  
  --border-color: #e2e8f0;
  --border-light: #cbd5e1;
  --border-focus: #2563eb;
  --border-accent: rgba(37, 99, 235, 0.35);

  /* Brand Accents */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  --primary-gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%);
  
  /* Status & Category Colors (Real Oscar Palette) */
  --color-scheduled: #d97706;
  --color-start: #8b5cf6;
  --color-loaded: #2563eb;
  --color-completed: #10b981;
  --color-unconfirmed: #f59e0b;

  --accent-amber: #d97706;
  --accent-amber-bg: #fffbeb;
  --accent-amber-border: #fde68a;
  
  --accent-emerald: #059669;
  --accent-emerald-bg: #ecfdf5;
  --accent-emerald-border: #a7f3d0;
  
  --accent-purple: #7c3aed;
  --accent-purple-bg: #f5f3ff;
  --accent-purple-border: #ddd6fe;
  
  --accent-red: #dc2626;
  --accent-red-bg: #fef2f2;
  --accent-red-border: #fecaca;

  /* Typography Colors */
  --text-main: #334155;
  --text-title: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-white: #ffffff;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Modern Soft Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 8px 20px -4px rgba(37, 99, 235, 0.35);

  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Background Grid */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
  background-size: 28px 28px, 100% 100%;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 800;
}

/* Gradient Text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  padding-right: 0.05em;
  vertical-align: baseline;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-title);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: var(--text-dim);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar .container {
  max-width: 1400px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.nav-logo-img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-actions .btn {
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 1250px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .nav-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.12) 0%, rgba(2, 132, 199, 0.06) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-logo-img {
  height: 80px;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(37, 99, 235, 0.18));
  transition: transform var(--transition-smooth);
}

.hero-logo-img:hover {
  transform: scale(1.03);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1.15rem;
  color: var(--text-title);
  text-wrap: balance;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Dedicated Mobile Cards & Hints - Hidden on desktop/laptops (>768px) */
.hero-mobile-preview-wrap,
.sim-mobile-card-wrap,
.mobile-scheduler-card,
.sim-subtitle-mobile,
.badge-mobile-only,
.tab-swipe-indicator {
  display: none !important;
}

.hero-mockup-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.hero-mockup-inner {
  background: #ffffff;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.mockup-header {
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-body {
  padding: 1.25rem;
  background: #ffffff;
}

/* Dashboard Top Stats Row in Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-stat-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-stat-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.hero-stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}


/* Workspace Shell with Authentic Sidebar Menu in Hero Mockup */
.hero-workspace-shell {
  display: flex;
  background: #ffffff;
  min-height: 520px;
}

.hero-mock-sidebar {
  width: 210px;
  min-width: 210px;
  background: #f8fafc;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
}

.hero-mock-sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  gap: 0.25rem;
}

.hero-mock-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.hero-mock-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-mock-nav-item svg {
  flex-shrink: 0;
  stroke: var(--text-muted);
}

.hero-mock-nav-item:hover {
  color: var(--text-title);
  background: #ffffff;
}

.hero-mock-nav-item.active {
  color: #ffffff;
  background: var(--primary-gradient);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  font-weight: 700;
}

.hero-mock-nav-item.active svg {
  stroke: #ffffff;
}

.hero-mock-sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 0.65rem;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (max-width: 860px) {
  .hero-mock-sidebar {
    display: none;
  }
}

/* ==========================================================================
   AUTHENTIC OSCAR DISPATCHER DASHBOARD COMPONENT (Hero Preview)
   ========================================================================== */
.hero-dash-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.hero-dash-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-dash-panel:last-child {
  margin-bottom: 0;
}

.hero-dash-panel-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.hero-dash-panel-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-dash-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.hero-dash-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.hero-dash-badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-dash-panel-body {
  padding: 0.85rem 1rem;
}

/* Timeline in Hero Dashboard */
.hero-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-timeline-item {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.hero-timeline-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-title);
  min-width: 44px;
  text-align: right;
  padding-top: 0.5rem;
}

.hero-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
}

.hero-marker-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 1px var(--border-color);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.hero-marker-line {
  width: 2px;
  flex: 1;
  background: var(--border-color);
  margin-top: 2px;
}

.hero-timeline-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 3.5px solid #0284c7;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.hero-timeline-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.hero-timeline-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.15rem;
}

.hero-timeline-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.hero-timeline-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-title);
  text-align: right;
  margin-bottom: 0.2rem;
}

/* Tasks in Hero Dashboard */
.hero-task-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding: 0 0.25rem;
}

.hero-task-tab {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.hero-task-tab.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.hero-task-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
}

.hero-task-item:last-child {
  margin-bottom: 0;
}

.hero-task-check {
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.hero-task-text {
  flex: 1;
  color: var(--text-main);
  font-weight: 600;
}

.hero-task-tag {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.hero-task-assignee {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

/* Crew quick status in Hero Dashboard */
.hero-crew-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

.hero-crew-item:last-child {
  margin-bottom: 0;
}

.hero-crew-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-title);
}

.hero-crew-van {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Recent Activity in Hero Dashboard */
.hero-act-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  align-items: center;
}

.hero-act-item:last-child {
  margin-bottom: 0;
}

.hero-act-bar {
  width: 3.5px;
  height: 24px;
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-dash-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AUTHENTIC OSCAR GANTT TIMELINE COMPONENT (Exact demo-app replica)
   ========================================================================== */
.real-gantt-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.real-gantt-table {
  min-width: 1100px;
  width: 100%;
  border-collapse: collapse;
}

/* Timeline Header */
.real-gantt-header {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}

.real-gantt-corner {
  width: 155px;
  min-width: 155px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  border-right: 1px solid var(--border-color);
  text-align: left;
}

.real-gantt-hours-row {
  display: flex;
  width: 100%;
}

.real-gantt-hour-cell {
  flex: 1 1 0px;
  text-align: center;
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-right: 1px solid #f1f5f9;
  font-weight: 600;
}

/* Timeline Crew Rows */
.real-gantt-row {
  border-bottom: 1px solid var(--border-color);
  display: flex;
  min-height: 56px;
  align-items: stretch;
}

.real-gantt-crew-cell {
  width: 155px;
  min-width: 155px;
  padding: 0.35rem 0.85rem;
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  box-shadow: 2px 0 5px rgba(0,0,0,0.02);
}

.real-gantt-crew-name {
  font-weight: 800;
  color: var(--text-title);
  font-size: 0.82rem;
  line-height: 1.2;
}

.real-gantt-crew-van {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 1px;
  font-family: 'JetBrains Mono', monospace;
}

/* Events Track & Slots Background */
.real-gantt-track {
  flex: 1;
  position: relative;
  display: flex;
  background: #ffffff;
}

.real-gantt-slot-bg {
  flex: 1 1 0px;
  border-right: 1px solid #f1f5f9;
  height: 100%;
}

/* Authentic Event Pill Blocks (matching demo-app screenshot) */
.real-event-block {
  position: absolute;
  top: 6px;
  bottom: 6px;
  height: 44px;
  border-radius: 9px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  font-size: 0.7rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 2;
  box-sizing: border-box;
}

.real-event-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

/* Color Variants matching authentic dispatcher workspace */
.event-pill-completed {
  background-color: #10b981; /* Emerald Green (Completed) */
}
.event-pill-purple,
.event-pill-start {
  background-color: #8b5cf6; /* Vibrant Purple (Start / Arrived) */
}
.event-pill-onway,
.event-pill-on-way {
  background-color: #0284c7; /* Sky Blue / Cyan (On Way) */
}
.event-pill-loaded {
  background-color: #2563eb; /* Royal Blue (Loaded) */
}
.event-pill-unloading {
  background-color: #ec4899; /* Vibrant Rose / Magenta (Unloading) */
}
.event-pill-unconfirmed {
  background-color: #ea8c10; /* Warm Amber Dashed */
  border: 2px dashed rgba(255, 255, 255, 0.92);
}
.event-pill-confirmed {
  background-color: #ea8c10; /* Warm Amber Solid */
}

/* Two-Line Layout Inside Pill */
.real-event-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.71rem;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  overflow: hidden;
  gap: 4px;
}

.real-event-top span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.real-event-top span:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.68rem;
  flex-shrink: 0;
  text-align: right;
}

.real-event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.real-event-route {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.63rem;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.real-event-status-badge {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.32);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* ==========================================================================
   BUILT FOR YOUR FLEET (5 VERTICALS)
   ========================================================================== */
.industries-section {
  padding: 4.5rem 0 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.industries-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.75rem;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}
.industry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.industry-card:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.09);
  transform: translateY(-3px);
}
.industry-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.25s ease;
}
.industry-icon {
  width: 24px;
  height: 24px;
  color: #64748b;
  transition: color 0.25s ease, transform 0.25s ease;
}
.industry-card:hover .industry-icon-wrap {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.3);
}
.industry-card:hover .industry-icon {
  color: #0284c7;
  transform: scale(1.06);
}
.industry-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.industry-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   FEATURE EXPLORER (INTERACTIVE TABS)
   ========================================================================== */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
  color: var(--text-title);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-title);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: #eff6ff;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.12);
}

#features .container {
  max-width: 1380px;
}

.tab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
  min-height: 480px;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.tab-panel {
  display: none;
  width: 100%;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
  max-width: 100%;
  min-width: 0;
}

.tab-panel > div:first-child {
  min-width: 0;
}

.tab-text-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-title);
  line-height: 1.3;
}

.tab-text-desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.tab-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tab-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-main);
}

.tab-bullets li > span {
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1.35;
  flex-shrink: 0;
  margin-top: 1px;
}

.tab-bullets li > div {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.tab-bullets li strong {
  color: var(--text-title);
  font-weight: 750;
  margin-right: 0.25rem;
}

/* Feature Preview Screens */
.feature-screen-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.scheduler-ctrl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
}
.scheduler-ctrl-date {
  font-weight: 800;
  color: var(--text-title);
  font-size: 0.85rem;
}
.scheduler-ctrl-chips {
  display: flex;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  flex-wrap: wrap;
}

/* Leads CRM Scope & Filter UI */
.lead-scope-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
}
.lead-scope-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

/* Phone Mockup Frame for Driver Portal */
.driver-phone-mockup {
  max-width: 380px;
  margin: 0 auto;
  background: #ffffff;
  border: 8px solid #1e293b;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
}

.driver-phone-top-bar {
  background: #1e293b;
  color: #94a3b8;
  padding: 6px 16px;
  font-size: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.driver-phone-body {
  padding: 0.85rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Authentic Driver Job Card (matching demo-app/driver.html) */
.real-driver-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.real-driver-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.real-driver-time-banner {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-title);
  background: rgba(232, 120, 66, 0.08);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(232, 120, 66, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.real-driver-client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.real-driver-call-btn {
  background: #10b981;
  color: #ffffff;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.real-driver-call-btn:hover {
  background: #059669;
  color: #ffffff;
}

.real-driver-route-box {
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.real-driver-map-btn {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  border-radius: 3px;
  background: #4285F4;
  color: #ffffff;
  font-weight: 700;
}

.real-driver-map-btn:hover {
  background: #3367d6;
  color: #ffffff;
}

.real-driver-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.real-driver-wage-pill {
  background: rgba(16, 185, 129, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.real-driver-finance-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem 0.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  text-align: center;
}

.real-finance-lbl {
  color: var(--text-muted);
  display: block;
  font-size: 0.62rem;
  margin-bottom: 0.1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.real-finance-val {
  color: var(--text-title);
  font-size: 0.82rem;
  font-weight: 800;
}

.real-driver-special-box {
  background: rgba(99, 102, 241, 0.05);
  padding: 0.45rem 0.6rem;
  border-left: 3px solid #6366f1;
  border-radius: 0 4px 4px 0;
}

.real-driver-actions {
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Authentic SMS Notification Card (matching user screenshot) */
.real-sms-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.25rem 1.75rem 1.75rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.real-sms-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.5);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.real-sms-sender {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.2px;
}

.real-sms-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.real-sms-divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  width: 100%;
}

.real-sms-bubble {
  background: #2563eb;
  color: #ffffff;
  border-radius: 18px;
  padding: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.real-sms-status {
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: right;
  margin-top: 0.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

/* Authentic Oscar PDF Invoice Sheet (matching user screenshot) */
.real-invoice-sheet {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  max-width: 520px;
  width: 100%;
  text-align: left;
}

.real-inv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.real-inv-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.real-inv-title-box {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.real-inv-title {
  font-size: 1.75rem;
  color: #5a67f2;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1;
}

.real-inv-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
  letter-spacing: 0.3px;
}

.real-inv-divider {
  border-top: 1px solid var(--border-color);
  margin: 0.85rem 0;
}

.real-inv-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.real-inv-meta-label {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}

.real-inv-table {
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.real-inv-thead {
  display: flex;
  background: #f8fafc;
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.real-inv-tbody {
  background: #ffffff;
}

.real-inv-row {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  border-bottom: 1px solid #f1f5f9;
}

.inv-col-desc {
  flex: 2.5;
  text-align: left;
}
.inv-item-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.82rem;
}
.inv-item-sub {
  color: #64748b;
  font-size: 0.72rem;
  margin-top: 2px;
}
.inv-qty-unit-mobile {
  display: none;
}
.inv-col-qty {
  flex: 0.6;
  text-align: center;
  color: #334155;
  font-weight: 600;
}
.inv-col-unit {
  flex: 1.2;
  text-align: right;
  color: #334155;
  font-weight: 500;
  padding-right: 0.5rem;
}
.inv-col-amount {
  flex: 1.2;
  text-align: right;
  font-weight: 800;
  color: #0f172a;
}

.real-inv-totals-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
}

.real-inv-total-line {
  display: flex;
  justify-content: space-between;
  width: 220px;
  color: #475569;
  align-items: center;
}

.real-inv-bank-box {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.74rem;
}

/* ==========================================================================
   WHY CHOOSE OSCAR (CORE VALUE PROPOSITIONS)
   ========================================================================== */
#why-oscar .container {
  max-width: 1360px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  background: #eff6ff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.why-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-title);
  line-height: 1.35;
}

.why-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   AUTHENTIC INTERACTIVE DISPATCH COCKPIT SIMULATOR (REAL GANTT DESK)
   ========================================================================== */
.sim-cockpit-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sim-cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.sim-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid #a7f3d0;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sim-clock-wrap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sim-stats-strip {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.sim-stat-chip {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sim-stat-chip strong {
  color: var(--text-title);
  font-family: 'JetBrains Mono', monospace;
}

.sim-stat-chip.highlight-chip {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.sim-stat-chip.highlight-chip strong {
  color: #1d4ed8;
  font-weight: 800;
}

/* Top Row: Timeline (Left) + Driver Mobile Portal (Right) */
.sim-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 360px);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.25rem;
}

@media (max-width: 1120px) {
  .sim-top-row {
    grid-template-columns: 1fr;
  }
}

.sim-timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sim-gantt-board {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sim-gantt-board .real-gantt-table {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sim-gantt-board .sim-crew-row {
  flex: 1;
  min-height: 52px;
}

.sim-driver-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

.sim-timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sim-legend {
  display: flex;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.sim-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.sim-job-block {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none !important;
  transition: box-shadow 0.15s ease, outline 0.15s ease;
}

.sim-job-block:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10 !important;
}

.sim-job-block.active {
  outline: 3px solid #2563eb !important;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.55) !important;
  z-index: 12 !important;
}

.sim-job-block.is-dragging {
  cursor: grabbing !important;
  opacity: 0.92;
  z-index: 100 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
  transition: none !important;
}

.sim-job-block.drag-conflict {
  background: #dc2626 !important;
  outline: 2px dashed #ffffff !important;
  cursor: not-allowed !important;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.75) !important;
}

.sim-crew-row.drag-hover-track {
  background: rgba(37, 99, 235, 0.08) !important;
}

.sim-conflict-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 250;
  pointer-events: none;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Quick Lead Conversion Strip */
.sim-lead-strip {
  margin-top: 0.85rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-lead-strip-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Authentic Leads & Quotes Pipeline (Under Scheduler) */
.sim-leads-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sim-leads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.sim-leads-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sim-leads-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.sim-leads-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
}

.sim-leads-scope-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.sim-lead-scope-pill {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 600;
}

.sim-lead-scope-pill:hover {
  background: #f1f5f9;
  color: var(--text-title);
}

.sim-lead-scope-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.sim-leads-filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.sim-filter-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sim-filter-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 0.2rem;
}

.sim-filter-pill {
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s ease;
}

.sim-filter-pill:hover {
  border-color: #94a3b8;
  color: var(--text-title);
}

.sim-filter-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  font-weight: 700;
}

.sim-leads-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  color: var(--text-main);
  min-width: 200px;
}

.sim-leads-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.72rem;
  width: 100%;
  color: var(--text-title);
}

.sim-leads-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.sim-leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  min-width: 900px;
}

.sim-leads-table th {
  text-align: left;
  padding: 0.5rem 0.65rem;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.sim-leads-table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.sim-leads-table td:nth-child(1) {
  min-width: 145px;
  white-space: nowrap;
}

.sim-leads-table td:nth-child(2) {
  min-width: 105px;
  white-space: nowrap;
}

.sim-leads-table td:nth-child(3) {
  min-width: 140px;
  white-space: nowrap;
}

.sim-leads-table tr:hover {
  background: #f8fafc;
}

.sim-lead-btn-convert,
.lead-btn-convert {
  background: var(--primary-gradient, linear-gradient(135deg, #2563eb, #1d4ed8));
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.sim-lead-btn-convert:hover,
.lead-btn-convert:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.lead-customer-msg {
  margin-top: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  background: rgba(90, 103, 242, 0.06);
  border-left: 2px solid #5A67F2;
}

.lead-status-select {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
}

.lead-btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.75rem;
}

.lead-btn-delete:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* Inspector Panel (Right Column) */
.sim-inspector-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.sim-inspector-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sim-insp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.sim-insp-tag {
  font-size: 0.68rem;
  font-weight: 800;
  background: #eff6ff;
  color: #1e40af;
  padding: 2px 6px;
  border-radius: 4px;
}

.sim-insp-route-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.sim-insp-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sim-insp-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sim-status-btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 0.35rem;
}

.sim-st-btn {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.4rem 0.2rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #f8fafc;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.sim-st-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.sim-st-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   AUTHENTIC OSCAR DRIVER PORTAL REPLICA (Exact match to demo-app/driver.html)
   ========================================================================== */
.sim-driver-portal-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
}

.sim-driver-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: #f8fafc;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.3px;
}

.sim-driver-app-header {
  padding: 0.4rem 0.65rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-driver-app-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sim-driver-app-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}

.sim-driver-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

.sim-driver-profile-strip {
  padding: 0.35rem 0.65rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
}

.sim-driver-crew-info {
  display: flex;
  flex-direction: column;
}

.sim-driver-crew-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.76rem;
}

.sim-driver-crew-van {
  font-size: 0.64rem;
  color: #64748b;
}

/* Wage ticker from driver.html line 235 */
.sim-driver-wage-ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.sim-driver-wage-col {
  padding: 0.15rem;
}

.sim-driver-wage-lbl {
  font-size: 0.58rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.sim-driver-wage-val {
  font-size: 0.82rem;
  font-weight: 900;
  display: block;
  font-family: 'JetBrains Mono', monospace;
}

.sim-driver-wage-val.earned {
  color: #059669;
}

.sim-driver-wage-val.pending {
  color: #d97706;
}

/* Authentic Driver Job Card from driver.html */
.sim-driver-job-body {
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sim-driver-job-ticket {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sim-driver-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.3rem;
}

.sim-driver-order-id {
  font-size: 0.76rem;
  font-weight: 800;
  color: #2563eb;
}

.sim-driver-status-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.sim-driver-client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}

.sim-driver-client-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.76rem;
}

.sim-driver-call-pill {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 7px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.64rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.sim-driver-call-pill:hover {
  background: #dbeafe;
}

.sim-driver-route-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-size: 0.67rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sim-driver-route-stop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sim-driver-route-stop strong {
  color: #0f172a;
}

.sim-driver-specs-note {
  font-size: 0.62rem;
  color: #64748b;
  border-top: 1px solid var(--border-color);
  padding-top: 0.25rem;
}

/* Driver Action Progression Button */
.sim-driver-main-btn {
  width: 100%;
  height: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.sim-driver-main-btn:hover {
  background: #1d4ed8;
}

.sim-driver-settle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.sim-driver-tool-btn {
  padding: 0.25rem 0.4rem;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.sim-driver-tool-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Customer Automated SMS Preview */
.sim-mini-sms {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  box-shadow: var(--shadow-sm);
}

.sim-mini-sms-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sim-mini-sms-bubble {
  font-size: 0.68rem;
  color: var(--text-main);
  line-height: 1.35;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font-style: italic;
}


/* ==========================================================================
   PRICING SECTION WITH SETUP FEE & CURRENCY SWITCHER
   ========================================================================== */
.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.toggle-container {
  display: inline-flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: var(--radius-full);
}

.toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-btn.active {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.currency-toggle {
  display: inline-flex;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.curr-btn {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.curr-btn.active {
  background: #eff6ff;
  color: var(--primary-blue);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

#pricing .container {
  max-width: 1380px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.18);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  right: 1.25rem;
  background: var(--primary-gradient);
  color: var(--text-white);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-btn);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--text-title);
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.plan-price {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--text-title);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
}

.plan-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-setup-fee {
  font-size: 0.72rem;
  color: var(--primary-blue);
  font-weight: 700;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.55rem;
}

.plan-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.4;
  min-height: 2.2rem;
}

.plan-features {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 0.9rem;
}

.plan-features li {
  font-size: 0.8rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
}

.plan-features li span {
  color: var(--accent-emerald);
  font-weight: bold;
}

.plan-sub-annual {
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  display: block;
}

/* Plan Capacity & AI Add-ons Collapsible Drawer */
.plan-addons-drawer {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-size: 0.74rem;
  text-align: left;
}

.plan-addons-drawer summary {
  padding: 0.4rem 0.65rem;
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  user-select: none;
  list-style: none;
}

.plan-addons-drawer summary::-webkit-details-marker {
  display: none;
}

.plan-addons-drawer summary:hover {
  background: #e2e8f0;
}

.plan-addons-drawer[open] summary {
  border-bottom: 1px solid var(--border-color);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.plan-addons-content {
  padding: 0.5rem 0.65rem;
}

.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.22rem 0;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.7);
  color: var(--text-muted);
  font-size: 0.73rem;
}

.addon-row:last-of-type {
  border-bottom: none;
}

.addon-row strong {
  color: var(--text-title);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

.addon-row.addon-ai {
  margin-top: 0.3rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--border-color);
  border-bottom: none;
  font-weight: 700;
  color: #2563eb;
}

.addon-row.addon-ai strong {
  color: #2563eb;
}

.addon-note {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-style: italic;
  text-align: right;
}

.addon-na {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

.pricing-ai-callout {
  margin-top: 2rem;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.95), rgba(245, 243, 255, 0.95));
  border: 1px solid #c7d2fe;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}

@media (max-width: 768px) {
  .pricing-ai-callout {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   24-HOUR VIRTUAL TOUR & LEAD CAPTURE FORM
   ======================================================================== */
#demo .container {
  max-width: 1380px;
}
.lead-section {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-title);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success-box {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.02);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  white-space: nowrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

.waf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
}
@media (max-width: 640px) {
  .waf-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }
  .why-choose-grid .why-card {
    grid-column: auto !important;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* 1. Global & Container Safeguards (Tighter padding between sections) */
  .container {
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .section-padding {
    padding: 2.75rem 0 !important;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }

  /* 2. Top Navigation Bar */
  .navbar {
    padding: 0.4rem 0;
  }
  .nav-content {
    gap: 0.5rem;
  }
  .nav-links {
    display: none;
  }
  .nav-logo-img {
    height: 38px;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  #btnAccessWorkspace {
    display: none; /* Keeps mobile header clean and prevents CTA clipping */
  }
  .nav-actions .btn-primary {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* 3. Hero Section */
  .hero-section {
    padding: 2rem 0 3rem;
  }
  .hero-logo-wrap {
    display: none; /* Removes double brand logo right under the navbar on phones */
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    box-sizing: border-box;
  }
  .hero-btn-sim {
    display: none !important;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  /* On mobile: Hide the heavy 2000px desktop mockup tower */
  .hero-mockup-wrapper {
    display: none !important;
  }
  /* Show the crisp, crystal-clear mobile card */
  .hero-mobile-preview-wrap {
    display: block !important;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
  }
  .hero-mobile-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  }
  .hero-mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
  }
  .hero-mobile-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
  }
  .hero-mobile-img-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #0f172a;
    width: 100%;
  }
  .hero-mobile-shot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .hero-mobile-zoom-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  .hero-mobile-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.65rem 0.65rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
  }
  .hero-mobile-feature-pill {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
  }

  /* 4. Why Choose Oscar Value Cards (Icon beside title, compact height) */
  .why-choose-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .why-choose-grid .why-card {
    grid-column: auto !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    column-gap: 0.85rem !important;
    row-gap: 0.45rem !important;
    padding: 1.15rem 1rem !important;
  }
  .why-card .why-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-bottom: 0 !important;
    width: 40px !important;
    height: 40px !important;
  }
  .why-card .why-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    font-size: 1.02rem !important;
    text-align: left !important;
    line-height: 1.25 !important;
  }
  .why-card .why-desc {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  /* Industry Fleet Cards (Icon beside title, compact height) */
  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .industry-card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    column-gap: 0.85rem !important;
    row-gap: 0.45rem !important;
    padding: 1.1rem 1rem !important;
  }
  .industry-icon-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-bottom: 0 !important;
    width: 40px !important;
    height: 40px !important;
  }
  .industry-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    font-size: 1.02rem !important;
    text-align: left !important;
    line-height: 1.25 !important;
  }
  .industry-desc {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  /* 5. Feature Explorer Tabs (Swipe Indicator & Horizontal Scroll Strip) */
  .tab-swipe-indicator {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
  }
  .tab-swipe-icon {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    animation: swipePulse 2s ease-in-out infinite;
  }
  .tab-swipe-arrow {
    font-size: 0.85rem;
    font-weight: 800;
    animation: arrowNudge 1.5s ease-in-out infinite;
  }
  @keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }
  @keyframes swipePulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
  }
  .tab-nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.2rem 0.2rem 0.65rem;
    gap: 0.55rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    margin-bottom: 1.25rem;
  }
  .tab-nav::-webkit-scrollbar {
    height: 4px;
    display: block;
  }
  .tab-nav::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
  }
  .tab-nav::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
  }
  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
  }
  .tab-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md);
  }
  .tab-panel.active {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .tab-panel > div:first-child {
    min-width: 0;
    max-width: 100%;
  }
  .tab-text-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .tab-text-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .tab-bullets li {
    font-size: 0.82rem;
  }
  .feature-screen-box {
    padding: 0.75rem !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .scheduler-ctrl-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.45rem !important;
    border-bottom: 1px solid var(--border-color);
    width: 100% !important;
  }
  .scheduler-ctrl-date {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: var(--text-title) !important;
    white-space: nowrap !important;
  }
  .scheduler-ctrl-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.25rem 0.55rem !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    width: 100% !important;
  }
  .ctrl-chip-item {
    white-space: nowrap !important;
  }

  /* On mobile: Replace wide Gantt table with clean, native mobile schedule card */
  .feature-screen-box .real-gantt-wrapper {
    display: none !important;
  }
  .mobile-scheduler-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }
  .mob-sched-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  }
  .mob-sched-crew {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .mob-sched-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .mob-sched-driver {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-title);
  }
  .mob-sched-plate {
    font-size: 0.68rem;
    color: var(--text-muted);
  }
  .mob-sched-job {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .mob-sched-job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mob-sched-time {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-title);
  }
  .mob-sched-badge {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
  }
  .mob-sched-route {
    font-size: 0.74rem;
    color: var(--text-main);
  }

  /* Invoice Sheet on mobile: clean proportions, no cutoff edges */
  .real-invoice-sheet {
    padding: 0.85rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.74rem !important;
  }
  .real-inv-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .real-inv-title-box {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }
  .real-inv-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
  .real-inv-table {
    border-radius: 6px !important;
    overflow: hidden !important;
  }
  .real-inv-thead {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0.45rem 0.65rem !important;
    font-size: 0.68rem !important;
  }
  .real-inv-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.65rem 0.65rem !important;
  }
  /* On mobile: Hide separate QTY and UNIT PRICE columns to prevent cramped, overlapping numbers */
  .inv-col-qty,
  .inv-col-unit {
    display: none !important;
  }
  .inv-col-desc {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
    padding-right: 0.75rem !important;
  }
  .inv-qty-unit-mobile {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #0284c7 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    margin-top: 5px !important;
  }
  .inv-col-amount {
    flex: 0 0 auto !important;
    text-align: right !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
  }
  .real-inv-totals-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  /* 6. Live Dispatch Simulator (Replaced with lightweight card on mobile) */
  .sim-subtitle-desktop,
  .badge-desktop-only {
    display: none !important;
  }
  .sim-subtitle-mobile {
    display: block !important;
  }
  .badge-mobile-only {
    display: inline-block !important;
  }
  .sim-cockpit-wrap {
    display: none !important;
  }
  .sim-mobile-card-wrap {
    display: block !important;
    width: 100% !important;
  }
  .sim-mobile-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  }
  .sim-mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
  }
  .sim-mobile-live-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .sim-mobile-telemetry-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
  }
  .sim-mobile-telemetry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 0.4rem 0.25rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
  }
  .sim-mobile-telemetry-lbl {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 600;
  }
  .sim-mobile-telemetry-val {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-title);
  }
  .sim-mobile-telemetry-item.highlight-item {
    background: #ecfdf5;
    border-color: #a7f3d0;
  }
  .sim-mobile-telemetry-item.highlight-item .sim-mobile-telemetry-val {
    color: #059669;
  }
  .sim-mobile-img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
  }
  .sim-mobile-preview-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .sim-mobile-card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.65rem 0.65rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
  }
  .sim-mobile-pill {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 4px;
  }

  /* 7. Pricing Cards & AI Callout */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .pricing-card {
    padding: 1.5rem 1.25rem;
  }
  .plan-name {
    font-size: 1.35rem;
  }
  .plan-price {
    font-size: 2.25rem;
  }
  .pricing-ai-callout {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.35rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
    gap: 0.9rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 1px solid #c7d2fe !important;
    overflow: hidden !important;
  }
  .pricing-ai-callout > div:last-child {
    width: 100% !important;
    text-align: left !important;
  }
  .pricing-ai-callout p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    line-height: 1.55 !important;
    margin: 0 !important;
  }
  #tab-ai .feature-screen-box div[style*="justify-content:space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.2rem !important;
  }

  .lead-section {
    padding: 1.5rem 1rem !important;
  }
  .lead-desc {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .demo-tour-showcase {
    padding: 0.85rem 0.75rem !important;
    text-align: left !important;
  }
  .demo-tour-browser-bar {
    display: none !important;
  }
  .demo-tour-features-grid,
  .demo-tour-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    text-align: left !important;
  }
  .demo-tour-feature-item {
    display: flex !important;
    align-items: flex-start !important;
    padding: 0.65rem 0.75rem !important;
    gap: 0.65rem !important;
    text-align: left !important;
    background: #1e293b !important;
  }
  .demo-tour-feature-item > div:last-child {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .demo-tour-icon-box {
    width: 32px !important;
    height: 32px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }
  .demo-tour-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }
  .demo-tour-feature-title {
    text-align: left !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.2rem !important;
  }
  .demo-tour-feature-desc {
    text-align: left !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
  .form-plan-pills {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem;
  }
  .plan-pill-btn {
    padding: 0.55rem 0.4rem;
    font-size: 0.8rem;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  /* 9. Contact Section & Cards (Tighter mobile padding, eliminating empty gaps) */
  .faq-section {
    padding: 2.75rem 0 !important;
  }
  .contact-section {
    padding: 2.5rem 0 1.25rem !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .contact-card {
    padding: 1.4rem 1.15rem;
  }

  /* 10. Footer (Clean 2-Column Mobile Navigation, snug margin to contact cards) */
  .footer {
    margin-top: 1.25rem !important;
    padding: 2rem 0 1.5rem !important;
  }
  .footer-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem 1.5rem !important;
    width: 100% !important;
  }
  .footer-links a {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
  }
  .footer-links a:hover {
    color: var(--primary-blue) !important;
  }
  .footer-logo-img {
    height: 34px !important;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-desc {
    font-size: 0.88rem;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   TERMS OF SERVICE MODAL & FORM PLAN SELECTOR (OSCAR THEME)
   ========================================================================== */
.terms-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.terms-modal-backdrop.active {
  display: flex;
  opacity: 1;
}
.terms-modal-window {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #cbd5e1;
}
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #1e293b;
  background: #0b1120;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
.terms-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.terms-modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.terms-modal-close-btn:hover {
  color: #ffffff;
  background: #1e293b;
}
.terms-modal-body {
  padding: 1.75rem 1.75rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.terms-modal-body::-webkit-scrollbar {
  width: 8px;
}
.terms-modal-body::-webkit-scrollbar-track {
  background: #0f172a;
}
.terms-modal-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.terms-modal-body::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
.terms-modal-body h2 {
  color: #f1f5f9;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #1e293b;
}
.terms-modal-body h3 {
  color: #38bdf8;
  font-size: 0.96rem;
  font-weight: 600;
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
}
.terms-modal-body p {
  margin-bottom: 0.75rem;
}
.terms-modal-body ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}
.terms-modal-body li {
  margin-bottom: 0.35rem;
}
.terms-modal-body strong {
  color: #f8fafc;
}
.terms-modal-alert {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: #bae6fd;
}
.terms-modal-alert.danger {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
.terms-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #1e293b;
  background: #0b1120;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Interactive Plan Selector Pills in Demo Form */
.form-plan-picker {
  margin-bottom: 1.25rem;
}
.form-plan-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.form-plan-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .form-plan-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}
.plan-pill-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.plan-pill-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
}
.plan-pill-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.form-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}
.pulse-highlight {
  animation: highlightPulse 1.4s ease 2;
}
@keyframes highlightPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(2, 132, 199, 0.35);
    border-color: #0284c7;
  }
}

/* ==========================================================================
   24-HOUR DEMO TOUR PREVIEW SHOWCASE & LIGHTBOX
   ========================================================================== */
.demo-tour-showcase {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.demo-tour-mockup-frame {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
}
.demo-tour-browser-bar {
  background: #0b1120;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.demo-tour-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-tour-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-tour-dot.red { background: #ef4444; }
.demo-tour-dot.yellow { background: #eab308; }
.demo-tour-dot.green { background: #22c55e; }

.demo-tour-url-pill {
  background: #1e293b;
  color: #94a3b8;
  padding: 3px 12px;
  border-radius: 99px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #334155;
}
.demo-tour-timer-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.demo-tour-img-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #0b1120;
}
.demo-tour-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.demo-tour-img-container:hover .demo-tour-img {
  transform: scale(1.012);
  filter: brightness(1.04);
}
.demo-tour-zoom-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.demo-tour-img-container:hover .demo-tour-zoom-overlay {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.demo-tour-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 1100px) {
  .demo-tour-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .demo-tour-features-grid {
    grid-template-columns: 1fr;
  }
}
.form-plan-picker, #leadCaptureForm, .form-success-box {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.demo-tour-feature-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}
.demo-tour-feature-item > div:last-child {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.demo-tour-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.demo-tour-icon-box svg {
  width: 18px;
  height: 18px;
  stroke: #38bdf8;
}
.demo-tour-feature-title {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  text-align: left;
}
.demo-tour-feature-desc {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
  text-align: left;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}
.faq-container {
  max-width: 880px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: var(--border-light);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Lightbox Modal */
.image-lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.image-lightbox-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
}
.image-lightbox-content {
  max-width: 95vw;
  max-height: 94vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
  border: 1px solid #334155;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  object-fit: contain;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.image-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: #1e293b;
  border: 1px solid #475569;
  color: #f8fafc;
  font-size: 1.5rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.image-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}
.image-lightbox-caption {
  margin-top: 0.65rem;
  color: #cbd5e1;
  font-size: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT WIDGET
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9999;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 10px 22px rgba(37, 211, 102, 0.38));
}

.whatsapp-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.25rem 0.75rem 0.95rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.whatsapp-float-btn:hover {
  background: #20bd5a;
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn .whatsapp-icon {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  flex-shrink: 0;
}

.whatsapp-float-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 9999px;
  border: 2px solid #25D366;
  animation: waPulse 2.4s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    padding: 0.75rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .whatsapp-float-label {
    display: none;
  }
}

/* ==========================================================================
   CONTACT US & DIRECT FLEET SUPPORT SECTION
   ========================================================================== */
.contact-section {
  padding: 5rem 0 5.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.contact-container {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.contact-card.contact-card-wa {
  border-top: 3px solid #25D366;
}

.contact-card.contact-card-email {
  border-top: 3px solid #0284c7;
}

.contact-card.contact-card-demo {
  border-top: 3px solid #6366f1;
}

.contact-card-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contact-card-wa .contact-card-icon-wrap {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
}

.contact-card-email .contact-card-icon-wrap {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

.contact-card-demo .contact-card-icon-wrap {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.contact-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.contact-card-detail {
  padding: 0.8rem 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.contact-card:hover .contact-card-detail {
  background: #f8fafc;
}

.contact-detail-main {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-detail-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-wa {
  background: #25D366;
  color: #ffffff;
}
.btn-wa:hover {
  background: #20bd5a;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-email-action {
  background: #0284c7;
  color: #ffffff;
}
.btn-email-action:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-demo-action {
  background: #6366f1;
  color: #ffffff;
}
.btn-demo-action:hover {
  background: #4f46e5;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   ACCESS WORKSPACE MODAL (SECURE TENANT GATEWAY - LIGHT THEME)
   ========================================================================== */
.workspace-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.workspace-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.workspace-modal-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.workspace-modal-backdrop.active .workspace-modal-window {
  transform: translateY(0) scale(1);
}

.workspace-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}

.workspace-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.3px;
}

.workspace-modal-close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}

.workspace-modal-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.workspace-modal-body {
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ffffff;
}

.workspace-modal-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.workspace-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  overflow: hidden;
}

.workspace-input-wrapper:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.workspace-protocol {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #94a3b8;
  user-select: none;
  font-weight: 600;
}

.workspace-slug-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 0.35rem;
  min-width: 0;
}

.workspace-slug-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.workspace-suffix {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: #2563eb;
  user-select: none;
  font-weight: 700;
  white-space: nowrap;
}

.workspace-error-msg {
  color: #991b1b;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #fef2f2;
  border-radius: 8px;
  border: 1.5px solid #fecaca;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.06);
}

.workspace-error-msg strong {
  font-weight: 750;
  color: #7f1d1d;
}

.workspace-error-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0284c7 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.workspace-error-contact-link:hover {
  color: #0369a1 !important;
}

.workspace-input-wrapper.input-error {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.workspace-actions {
  margin-top: 1.25rem;
}

.workspace-submit-btn {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.workspace-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.workspace-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.workspace-help-card {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

.workspace-help-card a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}



