html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
  --plin-primary: #1e40af;
  --plin-secondary: #3b82f6;
  --plin-accent: #fbbf24;
  --plin-dark: #1f2937;
  --plin-light: #f8fafc;
  --plin-white: #ffffff;
  --plin-gray: #6b7280;
  --plin-radius: 16px;
  --plin-font: 'Inter', 'Segoe UI', 'Open Sans', Arial, sans-serif;
  --plin-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  --plin-card-bg: rgba(255, 255, 255, 0.98);
  --plin-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --plin-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

body {
  font-family: var(--plin-font);
  background: var(--plin-gradient);
  color: var(--plin-dark);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--plin-primary);
  font-family: var(--plin-font);
  font-weight: 700;
}

.btn-plin {
  background: linear-gradient(45deg, var(--plin-accent), #ffed4e);
  color: var(--plin-primary);
  border-radius: var(--plin-radius);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.75em 2em;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 214, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-plin:hover {
  background: linear-gradient(45deg, var(--plin-primary), #0aa0e0);
  color: var(--plin-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 144, 206, 0.4);
}

.btn-plin:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-plin:hover:before {
  left: 100%;
}

.about-image-container,
.contact-image-container,
.faq-image-container {
  position: relative;
  display: inline-block;
}

.about-image-container:before,
.contact-image-container:before,
.faq-image-container:before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--plin-primary), var(--plin-secondary));
  border-radius: 30px;
  opacity: 0.1;
  z-index: -1;
}

.footer-modern {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.9));
  color: white;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-modern h5 {
  color: var(--plin-accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-modern a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-modern a:hover {
  color: var(--plin-accent);
  text-decoration: none;
}

.footer-modern .logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--plin-accent), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-plin {
  background: var(--plin-card-bg);
  border-radius: var(--plin-radius);
  box-shadow: var(--plin-shadow);
  padding: 2em;
  margin: 1em 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.card-plin:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-section {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.9), rgba(6, 182, 212, 0.85));
  color: white;
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/imgs/backgroundmotorista.jpg') center/cover;
  opacity: 0.15;
  z-index: -1;
}

.hero-section:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(59, 130, 246, 0.6));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--plin-card-bg);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--plin-shadow);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: var(--plin-primary);
  margin-bottom: 1rem;
  display: block;
}

.download-badges {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5em;
}

.download-badge {
  background: var(--plin-card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--plin-shadow);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 180px;
  text-decoration: none;
  color: inherit;
}

.download-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
}

.app-preview {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--plin-shadow);
  transition: all 0.3s ease;
}

.app-preview:hover {
  transform: scale(1.05);
}

.stats-section {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 4rem 0;
  margin: 3rem 0;
  border: 1px solid rgba(30, 64, 175, 0.2);
  position: relative;
  overflow: hidden;
}

.stats-section:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--plin-accent);
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.navbar-modern {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.9));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-modern .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.brand-text {
  background: linear-gradient(135deg, var(--plin-primary), var(--plin-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-brand:hover .brand-text {
  background: linear-gradient(135deg, var(--plin-secondary), var(--plin-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--plin-accent) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  color: var(--plin-accent) !important;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.btn-admin {
  background: linear-gradient(45deg, var(--plin-accent), #f59e0b);
  color: var(--plin-primary) !important;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.btn-admin:hover {
  background: linear-gradient(45deg, #f59e0b, var(--plin-accent));
  color: var(--plin-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
  color: white;
  font-size: 1.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.logo {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--plin-primary), var(--plin-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1200px) {
  .navbar-modern .container-fluid {
    padding: 0 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-modern .container-fluid {
    padding: 0 1rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    margin: 0.25rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-plin {
    padding: 1.5rem;
  }
  
  .btn-plin {
    width: 100%;
    padding: 1em 0;
    margin-bottom: 0.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .download-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .download-badge {
    min-width: 200px;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .app-preview {
    max-width: 90% !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .display-4 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-plin {
    font-size: 0.9rem;
    padding: 0.75em 1.5em;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .card-plin {
    padding: 1rem;
  }
}

.plin-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  z-index: 9999;
}

.plin-loader .circular {
  display: inline-block;
  width: 64px;
  height: 64px;
}

.plin-loader .circular svg {
  animation: rotate 2s linear infinite;
  width: 100%;
  height: 100%;
}

.plin-loader .circular circle {
  stroke: var(--plin-primary);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.app-mockup-container {
  position: relative;
  display: inline-block;
}

.app-mockup-container:before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--plin-primary), var(--plin-secondary));
  border-radius: 30px;
  opacity: 0.1;
  z-index: -1;
}

.phone-mockup {
  position: relative;
  display: inline-block;
}

.phone-mockup:before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(45deg, var(--plin-accent), #f59e0b);
  border-radius: 35px;
  opacity: 0.2;
  z-index: -1;
}

.feature-highlight {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-highlight:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.download-badge {
  background: var(--plin-card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--plin-shadow);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 180px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.download-badge:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.download-badge:hover:before {
  left: 100%;
}

.download-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--plin-shadow-hover);
  text-decoration: none;
  color: inherit;
}

.btn-plin {
  background: linear-gradient(45deg, var(--plin-accent), #f59e0b);
  color: var(--plin-white);
  border-radius: var(--plin-radius);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75em 2em;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn-plin:hover {
  background: linear-gradient(45deg, var(--plin-primary), var(--plin-secondary));
  color: var(--plin-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
  text-decoration: none;
}

.btn-plin:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-plin:hover:before {
  left: 100%;
}

.about-image-container,
.contact-image-container,
.faq-image-container {
  position: relative;
  display: inline-block;
}

.about-image-container:before,
.contact-image-container:before,
.faq-image-container:before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, var(--plin-primary), var(--plin-secondary));
  border-radius: 30px;
  opacity: 0.1;
  z-index: -1;
}

.footer-modern {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.9));
  color: white;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-modern h5 {
  color: var(--plin-accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-modern a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-modern a:hover {
  color: var(--plin-accent);
  text-decoration: none;
}

.footer-modern .logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--plin-accent), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}