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

:root {
  /* Paleta de Colores Premium */
  --bg-primary: #080c14;
  --bg-secondary: #0f1524;
  --bg-tertiary: #172033;
  
  --primary: #0a54e9;
  --primary-rgb: 10, 84, 233;
  --primary-hover: #0843bc;
  --primary-light: #4c84ff;
  
  --accent-yellow: #ffb627;
  --accent-yellow-rgb: 255, 182, 39;
  --accent-yellow-hover: #e09e1b;
  
  --accent-green: #10b981;
  --accent-green-rgb: 16, 185, 129;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.15);
  
  /* Fuentes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #002d9c 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-yellow) 0%, #ff8c00 100%);
  --gradient-green: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  --gradient-dark: linear-gradient(180deg, rgba(8, 12, 20, 0.8) 0%, #080c14 100%);
  --gradient-card: linear-gradient(145deg, rgba(23, 32, 51, 0.6) 0%, rgba(15, 21, 36, 0.8) 100%);
  
  /* Sombras y Efectos */
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 20px -8px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
  --shadow-primary: 0 10px 30px -10px rgba(10, 84, 233, 0.5);
  --shadow-accent: 0 10px 30px -10px rgba(255, 182, 39, 0.4);
  
  /* Bordes Redondeados */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Scrollbar Custom */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Clases de Utilidad y Diseño */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--accent-yellow);
}

.text-green {
  color: var(--accent-green);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.bg-glass {
  background: rgba(15, 21, 36, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-color);
}

.glass-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--primary);
  color: #white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -8px rgba(10, 84, 233, 0.7);
}

.btn-accent {
  background: var(--accent-yellow);
  color: #080c14;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: var(--accent-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -8px rgba(255, 182, 39, 0.6);
}

.btn-outline {
  border: 1.5px solid var(--border-color-hover);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.badge-primary {
  background: rgba(10, 84, 233, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(10, 84, 233, 0.3);
}

.badge-accent {
  background: rgba(255, 182, 39, 0.1);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 182, 39, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Animations Helper */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- NAVBAR STYLES --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.sticky {
  height: 70px;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-yellow);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.nav-cta-mobile {
  display: none;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0.95) 80%), linear-gradient(0deg, #080c14 0%, rgba(8, 12, 20, 0.5) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 550px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* PHONE MOCKUP */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background: #000;
  border: 12px solid #1a202c;
  border-radius: 40px;
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.8), inset 0px 4px 10px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 24px;
  background: #1a202c;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0b0f19;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-header {
  background: var(--primary);
  padding: 12px 16px;
  padding-top: 28px;
  z-index: 10;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-bottom: 8px;
}

.phone-icons {
  display: flex;
  gap: 4px;
}

.phone-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-logo {
  width: 24px;
  height: 24px;
}

.phone-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-map-container {
  height: 160px;
  background: #172033;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.phone-map-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.pin-origin {
  background: var(--accent-green);
  top: 75%;
  left: 25%;
  box-shadow: 0 0 10px var(--accent-green);
}

.pin-dest {
  background: red;
  top: 25%;
  left: 75%;
  box-shadow: 0 0 10px red;
}

.phone-route-line {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.phone-app-content {
  flex: 1;
  background: #080c14;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: -15px;
  z-index: 12;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.phone-greeting {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.phone-input-group {
  background: #0f1524;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
}

.phone-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.phone-input-row:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-input-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.phone-input-row .dot.green { background: var(--accent-green); }
.phone-input-row .dot.red { background: red; }

.phone-input-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.phone-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phone-vehicle-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-vehicle-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #0f1524;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.phone-vehicle-option.active {
  border-color: var(--primary);
  background: rgba(10, 84, 233, 0.08);
}

.vehicle-icon-bg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.phone-vehicle-option.active .vehicle-icon-bg {
  background: var(--primary);
  color: white;
}

.vehicle-icon {
  width: 16px;
  height: 16px;
}

.vehicle-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-name {
  font-size: 0.8rem;
  font-weight: 600;
}

.vehicle-time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.vehicle-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.phone-btn-request {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  margin-top: auto;
}

/* --- SERVICES SECTION --- */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px auto;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-secondary) 0%, rgba(8, 12, 20, 0.2) 100%);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.service-badge.accent {
  background: var(--gradient-accent);
  color: #080c14;
}

.service-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.service-benefits {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

/* --- SIMULATOR SECTION --- */
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 48px;
  gap: 48px;
  background: linear-gradient(145deg, rgba(23, 32, 51, 0.4) 0%, rgba(15, 21, 36, 0.6) 100%);
}

.simulator-info-pane {
  display: flex;
  flex-direction: column;
}

.simulator-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.simulator-desc {
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.pricing-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.pricing-card {
  background: rgba(8, 12, 20, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  border-color: var(--border-color-hover);
  background: rgba(8, 12, 20, 0.8);
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.pricing-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-light);
}

.pricing-moto:hover .pricing-icon {
  color: var(--accent-yellow);
}

.pricing-carro:hover .pricing-icon {
  color: var(--accent-yellow);
}

.pricing-type {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-value {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-eta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.simulator-notes {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: auto;
}

.simulator-notes span {
  flex: 1;
}

.simulator-form-pane {
  background: rgba(8, 12, 20, 0.4);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-md);
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-icon {
  width: 16px;
  height: 16px;
}

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

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 84, 233, 0.15);
  background: var(--bg-tertiary);
}

.select-arrow {
  position: absolute;
  right: 16px;
  pointer-events: none;
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.simulation-visual {
  height: 120px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 250px;
}

.bouncing-pin {
  color: var(--primary-light);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.visual-active {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.route-line-anim {
  width: 100%;
  height: 4px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  position: relative;
  margin-top: 30px;
}

.route-line-anim::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  animation: drawRoute 2s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes drawRoute {
  to { width: 100%; }
}

.route-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  background: rgba(10, 84, 233, 0.1);
  border: 1px solid rgba(10, 84, 233, 0.2);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: auto;
}

/* --- STEPS SECTION --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.step-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(10, 84, 233, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px auto;
}

.step-card:hover .step-icon-wrapper {
  background: var(--primary);
  color: white;
}

.step-icon {
  width: 32px;
  height: 32px;
}

.step-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: #080c14;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- DRIVERS SECTION --- */
.drivers-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.drivers-content {
  max-width: 600px;
}

.drivers-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.drivers-desc {
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.drivers-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.driver-feature {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 182, 39, 0.1);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.driver-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.driver-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.drivers-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.drivers-image-wrapper::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--gradient-primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
}

.driver-badge-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.driver-badge-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.driver-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  border: 2px solid var(--accent-yellow);
}

.driver-name-card {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}

.driver-status-card {
  font-size: 0.75rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.driver-status-card i {
  width: 14px;
  height: 14px;
}

.driver-testimonial {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
}

.driver-testimonial::before {
  content: '"';
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.driver-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-filled {
  fill: var(--accent-yellow);
  color: var(--accent-yellow);
  width: 16px;
  height: 16px;
}

.driver-stars span {
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: 8px;
  color: var(--text-primary);
}

/* --- SIGNUP SECTION --- */
.signup-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.signup-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.signup-subtitle {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.download-badges {
  display: flex;
  gap: 16px;
}

.app-badge-sim {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.app-badge-sim:hover {
  border-color: var(--border-color-hover);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.badge-icon-brand {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

.badge-text-top {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge-text-main {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
}

.signup-form-wrapper {
  padding: 48px;
  background: linear-gradient(145deg, rgba(23, 32, 51, 0.5) 0%, rgba(15, 21, 36, 0.7) 100%);
}

.form-card-title {
  font-size: 1.8rem;
  margin-bottom: 6px;
  text-align: center;
}

.form-card-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
  text-align: center;
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.role-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.role-option.active {
  border-color: var(--primary);
  background: rgba(10, 84, 233, 0.1);
  color: var(--text-primary);
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.form-input-wrapper input {
  width: 100%;
  padding: 14px 16px;
  padding-left: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.form-input-wrapper input:focus {
  border-color: var(--primary);
  background: var(--bg-tertiary);
  box-shadow: 0 0 0 3px rgba(10, 84, 233, 0.15);
}

.terms-checkbox {
  margin: 10px 0 24px 0;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--border-color-hover);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-link {
  color: var(--primary-light);
  text-decoration: underline;
}

.form-link:hover {
  color: var(--text-primary);
}

.signup-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon-wrapper i {
  width: 36px;
  height: 36px;
}

.signup-success-message h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.signup-success-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 320px;
  line-height: 1.5;
}

/* --- FOOTER STYLES --- */
.footer {
  background: #04060a;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0 0;
}

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

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 20px 0 24px 0;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .simulator-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #080c14;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: stretch;
    transition: left var(--transition-normal);
    z-index: 99;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-cta-mobile {
    display: block;
    margin-top: 24px;
  }
  
  .navbar-actions .btn-nav {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .simulator-wrapper {
    padding: 24px;
    gap: 32px;
  }
  
  .pricing-matrix {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .pricing-card {
    padding: 16px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .drivers-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .signup-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .signup-form-wrapper {
    padding: 24px;
  }
  
  .role-option {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .download-badges {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  
  .app-badge-sim {
    justify-content: center;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    max-width: 100%;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-hero {
  position: relative;
  padding: 140px 0 60px 0;
  background: radial-gradient(circle at 50% 0%, rgba(10, 84, 233, 0.15) 0%, rgba(8, 12, 20, 0) 70%), var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.legal-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.legal-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

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

/* Layout */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar */
.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.legal-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.legal-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.legal-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  padding-left: 20px;
}

.legal-sidebar-link.active {
  background: rgba(10, 84, 233, 0.08);
  color: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 600;
}

/* Content */
.legal-content-card {
  padding: 48px;
  margin-bottom: 100px;
}

.legal-section {
  scroll-margin-top: 100px;
}

.legal-section:not(:last-child) {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.legal-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.legal-section h2 i {
  color: var(--primary-light);
}

.legal-section h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px 0;
  color: var(--text-primary);
}

.legal-section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-list {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-list li {
  list-style-type: disc;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-list-numbered {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-list-numbered li {
  list-style-type: decimal;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-highlight-box {
  background: rgba(10, 84, 233, 0.05);
  border: 1px dashed rgba(10, 84, 233, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
}

.legal-highlight-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Responsive adjustments for Legal */
@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .legal-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 0 40px 0;
  }
  
  .legal-title {
    font-size: 2.2rem;
  }
  
  .legal-content-card {
    padding: 24px;
  }
  
  .legal-section h2 {
    font-size: 1.35rem;
  }
}
