/* ==========================================================================
   Yamaha Drive2 PTV - Interactive Island Explore Styling
   ========================================================================== */

:root {
  --primary-navy: #0B1528;
  --yamaha-blue: #0F52BA;
  --yamaha-blue-light: #2D74FF;
  --accent-gold: #E5A93C;
  --accent-bronze: #8B4513;
  --emerald-green: #10B981;
  --bg-dark: #080D17;
  --card-bg: rgba(11, 21, 40, 0.82);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-blur: blur(16px);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(15, 82, 186, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  touch-action: none;
}

/* Canvas Container */
#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #101c33 0%, #060911 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  max-width: 480px;
  padding: 30px;
}

.brand-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.loading-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px;
}

.text-accent {
  color: var(--yamaha-blue-light);
  background: linear-gradient(135deg, #4da0ff, #1d6bf3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loading-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1d6bf3, #00d2ff);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.loading-tips {
  font-size: 0.85rem;
  color: #a0aec0;
}

.loading-tips i {
  color: var(--accent-gold);
  margin-right: 6px;
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */

.top-nav {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.nav-brand, .nav-actions {
  pointer-events: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-border);
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.yamaha-logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a4da0, #0c2b64);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
}

.brand-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-main .highlight {
  color: var(--yamaha-blue-light);
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quest-tracker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid rgba(229, 169, 60, 0.3);
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.1);
}

.quest-icon {
  font-size: 1.3rem;
  color: var(--accent-gold);
  filter: drop-shadow(0 0 6px rgba(229, 169, 60, 0.5));
}

.quest-info {
  display: flex;
  flex-direction: column;
}

.quest-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.quest-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.quest-count span {
  color: var(--accent-gold);
}

.nav-btn {
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav-btn.active {
  background: rgba(15, 82, 186, 0.35);
  border-color: var(--yamaha-blue-light);
  color: #fff;
}

/* Time of Day Switcher Widget */
.time-control-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-border);
  padding: 4px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.time-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.time-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.time-quick-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 6px;
  margin-left: 2px;
}

.time-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.time-pill-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.time-pill-btn.active {
  background: rgba(15, 82, 186, 0.45);
  border-color: var(--yamaha-blue-light);
  color: #fff;
  box-shadow: 0 0 10px rgba(45, 116, 255, 0.4);
}

.text-amber {
  color: #f59e0b;
}

.text-orange {
  color: #fb923c;
}

.text-blue {
  color: #60a5fa;
}

.cta-primary-btn {
  background: linear-gradient(135deg, #1d6bf3, #0f52ba);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(29, 107, 243, 0.35);
  transition: var(--transition);
}

.cta-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 107, 243, 0.5);
  background: linear-gradient(135deg, #2f79f8, #185ecc);
}

/* ==========================================================================
   HUD Layer & In-Game Floating Cards
   ========================================================================== */

.hud-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Hotspot Prompt Banner */
.hotspot-prompt {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 21, 40, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 169, 60, 0.4);
  padding: 16px 28px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(229, 169, 60, 0.2);
  text-align: center;
  pointer-events: auto;
  transition: var(--transition);
  animation: promptPulse 2s infinite ease-in-out;
}

@keyframes promptPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

.hotspot-prompt.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-20px);
  pointer-events: none;
}

.prompt-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.hotspot-prompt h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.hotspot-prompt p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hotspot-prompt kbd {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: #fff;
}

.prompt-action-btn {
  background: linear-gradient(135deg, #e5a93c, #c08520);
  border: none;
  color: #101c33;
  font-weight: 800;
  font-family: var(--font-display);
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.prompt-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(229, 169, 60, 0.5);
}

/* Color Customizer Card (Bottom Left) */
.color-palette-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-border);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.card-header i {
  color: var(--yamaha-blue-light);
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.swatch-btn:hover {
  transform: scale(1.15);
  border-color: #fff;
}

.swatch-btn.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px var(--yamaha-blue-light), 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: scale(1.18);
}

.color-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

/* Speedometer & Telemetry Card (Bottom Right) */
.vehicle-telemetry-card {
  position: absolute;
  bottom: 24px;
  right: 20px;
  background: var(--card-bg);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border: 1px solid var(--card-border);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 210px;
}

.speedometer-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.speed-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(45, 116, 255, 0.4);
}

.speed-unit {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.telemetry-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.tele-label {
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tele-val {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

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

.controls-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.controls-hint kbd {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 5px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   Mobile Virtual Controls
   ========================================================================== */

.mobile-controls {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 20px;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 60;
}

.touch-steer-cluster, .touch-pedal-cluster {
  display: flex;
  gap: 12px;
  pointer-events: auto;
}

.touch-btn, .touch-pedal, .touch-mini-btn {
  background: rgba(11, 21, 40, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  user-select: none;
  touch-action: manipulation;
}

.touch-btn {
  width: 58px;
  height: 58px;
  font-size: 1.3rem;
}

.touch-btn:active {
  background: rgba(45, 116, 255, 0.5);
  border-color: var(--yamaha-blue-light);
}

.touch-pedal {
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  min-width: 70px;
  height: 64px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
}

.touch-pedal i {
  font-size: 1.1rem;
}

.pedal-gas {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.2));
  border-color: rgba(16, 185, 129, 0.4);
}

.pedal-gas:active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.7), rgba(5, 150, 105, 0.5));
}

.pedal-brake {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(185, 28, 28, 0.2));
  border-color: rgba(239, 68, 68, 0.4);
}

.pedal-brake:active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.7), rgba(185, 28, 28, 0.5));
}

.touch-mini-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
}

.touch-mini-btn:active {
  background: rgba(229, 169, 60, 0.5);
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 8, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #0D1627;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(15, 82, 186, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-banner {
  background: linear-gradient(135deg, #162644, #0d1627);
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--yamaha-blue-light);
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.modal-highlight-box {
  background: rgba(229, 169, 60, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.25);
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.modal-highlight-box i {
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin-top: 2px;
}

.modal-highlight-box strong {
  font-size: 0.9rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 2px;
}

.modal-highlight-box p {
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #1d6bf3, #0f52ba);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(29, 107, 243, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2d74ff, #1d6bf3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Lead Form / VIP Modal
   ========================================================================== */

.lead-banner {
  background: radial-gradient(circle at top right, #382410, #121c30);
  border-bottom: 1px solid rgba(229, 169, 60, 0.2);
}

.brand-badge-gold {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-lead-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

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

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.form-group select {
  background-color: #0E182A;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yamaha-blue-light);
  box-shadow: 0 0 0 3px rgba(45, 116, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.radio-pill-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  display: none;
}

.radio-pill span {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: #CBD5E1;
  transition: var(--transition);
}

.radio-pill input:checked + span {
  background: rgba(15, 82, 186, 0.35);
  border-color: var(--yamaha-blue-light);
  color: #fff;
  box-shadow: 0 0 12px rgba(45, 116, 255, 0.3);
}

.btn-submit-quote {
  background: linear-gradient(135deg, #e5a93c, #b37e1a);
  color: #0c1527;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(229, 169, 60, 0.3);
  transition: var(--transition);
  margin-top: 6px;
}

.btn-submit-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 169, 60, 0.5);
  background: linear-gradient(135deg, #f5bc55, #c58d24);
}

.success-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.success-box.hidden {
  display: none;
}

.success-box i {
  font-size: 1.8rem;
  margin-top: 2px;
}

.success-box h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.success-box p {
  font-size: 0.85rem;
  color: #A7F3D0;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 768px) {
  .top-nav {
    top: 5px;
    left: 5px;
    right: 5px;
    zoom: 0.65; /* Shrink top nav and prevent flex wrapping */
  }

  .brand-sub { display: none; }
  .nav-btn .btn-text { display: none; }
  .time-quick-pills { display: none; }
  .cta-primary-btn span { display: none; }

  .hotspot-prompt {
    top: 45px;
    width: 90%;
    padding: 10px 14px;
    transform: scale(0.5);
    transform-origin: top center;
  }

  .color-palette-card {
    top: 45px;
    bottom: auto;
    left: 5px;
    padding: 8px 10px;
    min-width: auto;
    transform: scale(0.5);
    transform-origin: top left;
  }

  .vehicle-telemetry-card {
    top: 45px;
    bottom: auto;
    right: 5px;
    padding: 8px 10px;
    min-width: auto;
    transform: scale(0.5);
    transform-origin: top right;
  }
  
  .modal-card {
    width: 95%;
    max-height: 85vh;
  }
  
  .modal-banner {
    padding: 20px 20px 30px 20px;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .lead-card {
    width: 95%;
  }

  .controls-hint { display: none; }
  
  .nav-btn {
    width: 38px;
    height: 38px;
  }

  .mobile-controls {
    display: flex;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    z-index: 1000;
  }

  .form-row, .radio-pill-group {
    grid-template-columns: 1fr;
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile Landscape Overlay Prompt
   ========================================================================== */

.landscape-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #ffffff;
}

@media screen and (orientation: portrait) and (max-width: 900px) {
  .landscape-overlay:not(.dismissed) {
    /* Set to none intentionally to prevent it from blocking UI if the user rotates their phone weirdly */
    /* display: flex !important; */
    display: none !important;
  }
}

.landscape-content {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-rotate-icon {
  position: relative;
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 8px;
  animation: phoneRotate 2.4s ease-in-out infinite;
}

.phone-rotate-icon .rotate-arrow {
  position: absolute;
  top: -6px;
  right: -12px;
  font-size: 1.6rem;
  color: #60a5fa;
}

@keyframes phoneRotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-90deg); }
}

.btn-landscape-continue {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #cbd5e1;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-landscape-continue:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
