/* ============================================================================
   TRANZIT — CSS DESIGN SYSTEM & AIRPODS/GTA VI CINEMATIC ANIMATIONS
   ============================================================================ */

:root {
  --bg-main: #050a14;
  --bg-secondary: #0b1329;
  --card-bg: rgba(15, 23, 42, 0.7);
  --card-border: rgba(56, 189, 248, 0.2);
  --card-glow: rgba(56, 189, 248, 0.12);
  
  --primary: #38bdf8;
  --primary-hover: #0284c7;
  --primary-glow: rgba(56, 189, 248, 0.4);
  
  --purple: #a78bfa;
  --purple-glow: rgba(167, 139, 250, 0.35);
  
  --emerald: #10b981;
  --amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-blur: blur(16px);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Selection */
::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #fff;
}

/* Utility Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.font-heading {
  font-family: var(--font-heading);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple {
  background: linear-gradient(135deg, var(--purple) 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── Glow Cursor Effect ───────────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(167, 139, 250, 0.05) 50%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* ── Canvas Particle Background ───────────────────────────────────────── */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* ── Navbar ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}


.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--purple));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all var(--transition-bounce);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--card-border);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-bounce);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.25);
}

.btn-glow-purple {
  background: linear-gradient(135deg, var(--purple) 0%, #7c3aed 100%);
  box-shadow: 0 0 25px var(--purple-glow);
}

.btn-glow-purple:hover {
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.6);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ── Hero Section (AirPods / GTA VI Cinematic Style) ─────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  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 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

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

/* Hero 3D Interactive Phone Container */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.phone-mockup-wrapper {
  position: relative;
  width: 310px;
  height: 630px;
  border-radius: 48px;
  background: #000;
  padding: 12px;
  border: 4px solid #1e293b;
  box-shadow: 
    0 0 50px rgba(56, 189, 248, 0.3),
    0 25px 60px rgba(0, 0, 0, 0.8),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
  50% { transform: translateY(-18px) rotateY(5deg) rotateX(-5deg); }
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: #060d1a;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-screen-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 38px;
  opacity: 0.9;
}

/* Phone Screen Simulation Content */
.phone-map-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, #0f172a 0%, #060d1a 100%);
  z-index: 1;
}

.map-svg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.phone-top-bar {
  position: relative;
  z-index: 5;
  padding: 40px 16px 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-badge {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.phone-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 16px;
  z-index: 5;
  border-top: 1px solid var(--card-border);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 12px auto;
}

.sheet-driver-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.driver-avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 2px solid var(--primary);
}

.driver-name-mini {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.driver-status-mini {
  font-size: 0.7rem;
  color: var(--emerald);
}

.sheet-vehicle-card {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plate-badge-mini {
  background: var(--amber);
  color: #000;
  font-weight: 900;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Floating Badges Around Phone */
.floating-glass-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 6;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.card-top-right {
  top: 40px;
  right: -25px;
}

.card-bottom-left {
  bottom: 60px;
  left: -35px;
  animation-delay: 2.5s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.badge-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Section Title & Header Component ────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subheadline {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ── Feature Showcase Section (AirPods Scroll Style) ─────────────────── */
.showcase-section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: var(--glass-blur);
  transform-style: preserve-3d;
}

.showcase-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.2);
}

.showcase-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--card-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.showcase-card:hover .showcase-card-glow {
  opacity: 1;
}

.showcase-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Vehicle Showroom Section (GTA VI Style) ────────────────────────── */
.showroom-section {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 50%, var(--bg-main) 100%);
}

.showroom-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #fff;
  border-color: var(--primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 25px var(--primary-glow);
}

.showroom-display-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.showroom-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.showroom-vehicle-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(56, 189, 248, 0.3));
  transition: transform var(--transition-smooth);
}

.showroom-display-card:hover .showroom-vehicle-img {
  transform: scale(1.05) translateY(-5px);
}

.showroom-info-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.showroom-info-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.showroom-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.spec-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.spec-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.spec-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Interactive Fare Calculator Section ────────────────────────────── */
.calc-section {
  padding: 100px 0;
  position: relative;
}

.calc-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.8) 100%);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  backdrop-filter: var(--glass-blur);
}

.slider-container {
  margin: 30px 0;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.slider-val-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-glow);
}

.calc-results-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.result-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

.result-amount-bs {
  font-size: 1.1rem;
  color: var(--emerald);
  font-weight: 700;
}

/* ── FAQ Accordion Section ───────────────────────────────────────────── */
.faq-section {
  padding: 100px 0;
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.accordion-icon {
  transition: transform var(--transition-fast);
  color: var(--primary);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  padding: 0 28px 22px 28px;
  max-height: 300px;
}

/* ── Driver Modal Form ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: var(--glass-blur);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  width: 90%;
  max-width: 520px;
  padding: 35px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

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

.modal-box-large {
  max-width: 840px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-text-body {
  overflow-y: auto;
  margin-top: 15px;
  padding-right: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.modal-text-body h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  margin: 18px 0 8px 0;
}

.modal-text-body::-webkit-scrollbar {
  width: 6px;
}
.modal-text-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ── Driver Business Section ("Controla tu negocio") ─────────────────── */
.driver-business-section {
  padding: 100px 0;
  position: relative;
}

.driver-business-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 19, 41, 0.9) 100%);
  border: 1px solid var(--card-border);
  border-radius: 36px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.driver-business-headline {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 16px 0 20px 0;
}

.driver-business-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.trial-highlight-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--primary);
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 35px;
  line-height: 1.5;
}

.trial-highlight-box strong {
  color: var(--primary);
}

.btn-glow-blue-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

/* Phone Register Screen Mockup */
.phone-mockup-register {
  width: 300px;
  height: 580px;
  margin: 0 auto;
  transform: none;
  animation: floatPhone 6s ease-in-out infinite;
}

.phone-screen-register {
  padding: 45px 20px 20px 20px;
  background: #080f1e;
}

.phone-register-header {
  margin-bottom: 20px;
}

.phone-register-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-top: 10px;
}

.phone-register-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.phone-role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.role-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.role-tab.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.phone-input-fake {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-action-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  margin-top: 15px;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.phone-login-link {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.phone-login-link span {
  color: var(--primary);
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: #030712;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-subtle);
  font-size: 0.85rem;
}

/* ── Responsive Queries Completa para Móviles ──────────────────────────── */

/* Ajustes globales de desbordamiento de texto */
h1, h2, h3, .hero-title, .section-headline, .driver-business-headline {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .driver-business-headline { font-size: 2.6rem; }
  .showroom-display-card, .calc-card, .driver-business-card { 
    grid-template-columns: 1fr; 
    gap: 35px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  
  .container {
    padding: 0 16px;
  }

  .navbar {
    padding: 12px 0;
  }

  .nav-container {
    position: relative;
  }

  /* Menú desplegable para móviles */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(11, 19, 41, 0.96);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 1001;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Hero Responsivo */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin: 0 auto 30px auto;
  }

  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
    gap: 14px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Ajuste de maquetas 3D en teléfonos móviles */
  .phone-mockup-wrapper {
    width: 270px;
    height: 540px;
  }

  .floating-glass-card {
    display: none; /* Ocultar tarjetas flotantes extremas para evitar scroll horizontal en pantallas estrechas */
  }

  /* Tarjetas y Secciones */
  .section-headline {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-card {
    padding: 24px 20px;
  }

  .showroom-display-card {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .showroom-info-title {
    font-size: 1.8rem;
  }

  .calc-card {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .driver-business-card {
    padding: 28px 18px;
    border-radius: 24px;
    text-align: center;
  }

  .driver-business-headline {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .trial-highlight-box {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .btn-glow-blue-large {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand-p {
    margin: 16px auto 0 auto;
  }

  .modal-box {
    padding: 24px 18px;
    width: 95%;
  }

  .modal-box-large {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .showroom-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Virtual Assistant Chatbot Widget ──────────────────────────────────── */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chatbot-launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.chatbot-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.6);
}

.launcher-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2.5px solid #050a14;
  border-radius: 50%;
}

.launcher-close-icon {
  display: none;
}

.chatbot-container.active .launcher-icon {
  display: none;
}

.chatbot-container.active .launcher-close-icon {
  display: block;
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 520px;
  background: #0f172a;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chatbot-container.active .chatbot-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  padding: 4px;
}

.chatbot-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.chatbot-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  margin-bottom: 4px;
}

.user-msg {
  justify-content: flex-end;
}

.bot-msg {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.user-msg .chat-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bot-msg .chat-bubble {
  background: rgba(30, 41, 59, 0.9);
  color: #e2e8f0;
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 4px;
}

.chatbot-quick-replies {
  padding: 8px 14px 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chip-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  background: var(--primary);
  color: #fff;
}

.chatbot-input-bar {
  display: flex;
  padding: 12px;
  background: #090e1a;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
}

.chatbot-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.chatbot-send-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 480px) {
  .chatbot-container {
    bottom: 20px;
    right: 20px;
  }
  .chatbot-window {
    width: calc(100vw - 32px);
    right: -10px;
    bottom: 75px;
    height: 470px;
  }
}
