/* ==========================================================================
   VELOX CABS - NEXT-GEN HOMEPAGE ARCHITECTURE STYLES
   Editorial Mobility Platform, Asymmetric Grids, Cockpit Dock, Dark/Light Rhythm
   ========================================================================== */

/* Design Tokens for Next-Gen Showcase */
.ng-theme-navy {
  background-color: var(--vx-primary);
  color: #FFFFFF;
}

.ng-theme-ivory {
  background-color: var(--vx-bg);
  color: var(--vx-text-primary);
}

.ng-theme-dark-secondary {
  background-color: var(--vx-secondary-dark);
  color: #FFFFFF;
}

.ng-text-lime {
  color: var(--vx-accent) !important;
}

.ng-bg-lime {
  background-color: var(--vx-accent) !important;
  color: var(--vx-primary) !important;
}

/* Kicker & Numbered Editorial Eyebrow */
.ng-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--vx-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--vx-radius-pill);
  margin-bottom: 1.25rem;
}

.ng-eyebrow-dark {
  background: rgba(213, 255, 98, 0.12);
  color: var(--vx-accent);
  border: 1px solid rgba(213, 255, 98, 0.28);
}

.ng-eyebrow-light {
  background: rgba(16, 26, 44, 0.06);
  color: var(--vx-primary);
  border: 1px solid var(--vx-border);
}

.ng-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--vx-accent);
  box-shadow: 0 0 10px var(--vx-accent);
  animation: ngPulse 2s infinite ease-in-out;
}

@keyframes ngPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   1. HERO SECTION: "PRECISION MOVEMENT. ON DEMAND."
   ========================================================================== */
.ng-hero-section {
  position: relative;
  min-height: 820px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--vx-primary);
  overflow: hidden;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
}

.ng-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ng-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.62) contrast(1.1);
  transform: scale(1.03);
  transition: transform 12s ease;
}

.ng-hero-section:hover .ng-hero-photo {
  transform: scale(1.08);
}

.ng-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 26, 44, 0.82) 0%,
    rgba(16, 26, 44, 0.55) 40%,
    rgba(16, 26, 44, 0.92) 85%,
    rgba(16, 26, 44, 1) 100%
  );
}

/* Subtle route coordinate grid overlay */
.ng-hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    linear-gradient(rgba(213, 255, 98, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 255, 98, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ng-hero-container {
  position: relative;
  z-index: 10;
}

/* Hero Typography */
.ng-hero-headline {
  font-family: var(--vx-font-heading);
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.ng-hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Hero Top Telemetry Bar */
.ng-hero-telemetry-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.4rem;
  background: rgba(16, 26, 44, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vx-radius-pill);
  margin-bottom: 2.5rem;
  display: inline-flex;
}

.ng-telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ng-telemetry-item i {
  color: var(--vx-accent);
  font-size: 1.1rem;
}

/* Floating Cockpit Booking Terminal */
.ng-cockpit-card {
  background: rgba(16, 26, 44, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--vx-radius-xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(213, 255, 98, 0.15);
  padding: 1.75rem;
  color: #FFFFFF;
  transition: border-color var(--vx-transition-base);
}

.ng-cockpit-card:hover {
  border-color: rgba(213, 255, 98, 0.35);
}

/* Cockpit Quick Service Mode Tabs */
.ng-mode-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(32, 44, 64, 0.65);
  padding: 0.35rem;
  border-radius: var(--vx-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.ng-mode-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--vx-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--vx-transition-fast);
}

.ng-mode-btn:hover {
  color: #FFFFFF;
}

.ng-mode-btn.active {
  background-color: var(--vx-accent);
  color: var(--vx-primary);
  font-weight: 700;
}

/* Cockpit Form Fields Grid */
.ng-cockpit-grid {
  display: grid;
  grid-template-columns: 1.3fr auto 1.3fr 0.9fr 0.9fr 1.1fr 1.3fr;
  gap: 0.75rem;
  align-items: flex-end;
}

@media (max-width: 1200px) {
  .ng-cockpit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ng-cockpit-grid {
    grid-template-columns: 1fr;
  }
}

.ng-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ng-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ng-field-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.ng-input-lead-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--vx-accent);
  font-size: 1.15rem;
  pointer-events: none;
}

.ng-cockpit-input {
  width: 100%;
  background: rgba(32, 44, 64, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--vx-radius-md);
  color: #FFFFFF;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  font-size: 0.925rem;
  font-weight: 500;
  transition: all var(--vx-transition-fast);
}

.ng-cockpit-input:focus {
  background: rgba(32, 44, 64, 0.98);
  border-color: var(--vx-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(213, 255, 98, 0.25);
  color: #FFFFFF;
}

.ng-cockpit-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ng-gps-trigger {
  position: absolute;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--vx-accent);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--vx-transition-fast);
}

.ng-gps-trigger:hover {
  background: var(--vx-accent);
  color: var(--vx-primary);
}

.ng-swap-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.35rem;
}

.ng-swap-btn {
  background: rgba(32, 44, 64, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--vx-accent);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--vx-transition-fast);
}

.ng-swap-btn:hover {
  background-color: var(--vx-accent);
  color: var(--vx-primary);
  border-color: var(--vx-accent);
}

/* Quick Hubs Pill Strip */
.ng-quick-hubs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ng-quick-hubs-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.ng-hub-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0.65rem;
  border-radius: var(--vx-radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--vx-transition-fast);
}

.ng-hub-pill:hover {
  background: var(--vx-accent);
  color: var(--vx-primary);
  border-color: var(--vx-accent);
}

/* Action button in cockpit */
.btn-ng-action {
  background-color: var(--vx-accent);
  color: var(--vx-primary);
  font-family: var(--vx-font-heading);
  font-weight: 800;
  font-size: 0.975rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.4rem;
  border-radius: var(--vx-radius-md);
  border: 1px solid var(--vx-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: all var(--vx-transition-fast);
  box-shadow: 0 4px 18px rgba(213, 255, 98, 0.35);
  height: 48px;
}

.btn-ng-action:hover {
  background-color: #C2EE4E;
  color: var(--vx-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 255, 98, 0.5);
}

/* Live Estimate Floating Badge in Cockpit */
.ng-cockpit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.ng-live-metrics-chip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.ng-live-metrics-chip strong {
  color: var(--vx-accent);
  font-family: var(--vx-font-mono);
}

/* ==========================================================================
   2. SECTION 01: THE FLEET MATRIX (Asymmetric Showcase)
   ========================================================================== */
.ng-fleet-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 991px) {
  .ng-fleet-grid {
    grid-template-columns: 1fr;
  }
}

.ng-fleet-hero-card {
  position: relative;
  background-color: #0E1624;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  padding: 2.25rem;
  transition: all var(--vx-transition-base);
}

.ng-fleet-hero-card:hover {
  border-color: rgba(213, 255, 98, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ng-fleet-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ng-fleet-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48);
  transition: transform 6s ease;
}

.ng-fleet-hero-card:hover .ng-fleet-hero-bg img {
  transform: scale(1.05);
}

.ng-fleet-hero-content {
  position: relative;
  z-index: 5;
}

.ng-fleet-badge-lime {
  background-color: var(--vx-accent);
  color: var(--vx-primary);
  font-family: var(--vx-font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--vx-radius-pill);
  display: inline-block;
  margin-bottom: 1rem;
}

.ng-fleet-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ng-fleet-sub-card {
  background: #141F33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--vx-radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--vx-transition-fast);
}

.ng-fleet-sub-card:hover {
  background: #192740;
  border-color: rgba(213, 255, 98, 0.3);
  transform: translateX(4px);
}

.ng-fleet-sub-img {
  width: 110px;
  height: 80px;
  border-radius: var(--vx-radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.ng-spec-tag {
  font-family: var(--vx-font-mono);
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   3. SECTION 02: RADAR & DISPATCH TELEMETRY (Interactive HUD)
   ========================================================================== */
.ng-hud-wrapper {
  background: #0C1422;
  border: 1px solid rgba(213, 255, 98, 0.2);
  border-radius: var(--vx-radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.ng-hud-header {
  background: rgba(16, 26, 44, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ng-hud-body {
  padding: 2rem;
  position: relative;
}

.ng-map-canvas-mock {
  position: relative;
  width: 100%;
  height: 280px;
  background: #131E30;
  border-radius: var(--vx-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Map Grid Pattern */
.ng-map-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(213, 255, 98, 0.15) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

.ng-animated-car-marker {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--vx-accent);
  color: var(--vx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 24px rgba(213, 255, 98, 0.7);
  animation: ngCarFloat 3s infinite ease-in-out;
}

@keyframes ngCarFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

.ng-hud-driver-banner {
  background: rgba(20, 31, 51, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   4. SECTION 03: METROPOLITAN CORRIDORS
   ========================================================================== */
.ng-route-row {
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-lg);
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--vx-transition-fast);
  cursor: pointer;
  margin-bottom: 0.85rem;
}

.ng-route-row:hover {
  border-color: var(--vx-primary);
  box-shadow: var(--vx-shadow-md);
  transform: translateX(4px);
}

.ng-route-badge {
    background-color: var(--vx-bg);
    border: 1px solid var(--vx-border);
    font-family: var(--vx-font-mono);
    font-size: 14px;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: var(--vx-radius-pill);
    color: var(--vx-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   5. SECTION 04: INTERACTIVE FARE ESTIMATOR CALCULATOR
   ========================================================================== */
.ng-calculator-box {
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--vx-shadow-card);
}

.ng-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E4E6DF;
  outline: none;
  margin: 1.5rem 0;
}

.ng-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vx-primary);
  border: 3px solid var(--vx-accent);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}

.ng-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.ng-fare-matrix-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 991px) {
  .ng-fare-matrix-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .ng-fare-matrix-cards {
    grid-template-columns: 1fr;
  }
}

.ng-fare-cell {
  background: var(--vx-bg);
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--vx-transition-fast);
}

.ng-fare-cell.highlight {
  background: #101A2C;
  color: #FFFFFF;
  border-color: var(--vx-accent);
}

.ng-fare-cell.highlight .ng-fare-num {
  color: var(--vx-accent);
}

.ng-fare-num {
  font-family: var(--vx-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--vx-primary);
  margin: 0.35rem 0;
}

/* ==========================================================================
   6. SECTION 05: PASSENGER SAFETY PROTOCOLS
   ========================================================================== */
.ng-security-card {
  background: rgba(16, 26, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--vx-transition-fast);
}

.ng-security-card:hover {
  border-color: var(--vx-accent);
  background: rgba(16, 26, 44, 0.9);
  transform: translateY(-4px);
}

.ng-security-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(213, 255, 98, 0.15);
  color: var(--vx-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   7. SECTION 06: TESTIMONIALS (Architectural Quote Blocks)
   ========================================================================== */
.ng-review-card {
  background: #FFFFFF;
  border: 1px solid var(--vx-border);
  border-radius: var(--vx-radius-xl);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--vx-shadow-subtle);
  transition: all var(--vx-transition-fast);
}

.ng-review-card:hover {
  border-color: var(--vx-primary);
  box-shadow: var(--vx-shadow-card);
  transform: translateY(-3px);
}

.ng-rating-stars {
  color: #F59E0B;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. SECTION 07: DRIVER PARTNER BANNER
   ========================================================================== */
.ng-driver-banner {
  background: linear-gradient(135deg, #101A2C 0%, #17243C 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--vx-radius-xl);
  overflow: hidden;
  color: #FFFFFF;
  position: relative;
}

.ng-driver-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 255, 98, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
