/* Landing Autos - Estilos Específicos */

/* Variables específicas para autos */
:root {
  --auto-primary: #0d6efd;
  --auto-secondary: #198754;
  --auto-accent: #ff6b35;
  --auto-gradient: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
  --auto-gradient-soft: linear-gradient(135deg, rgba(13,110,253,0.1) 0%, rgba(25,135,84,0.1) 100%);
}

[data-bs-theme="dark"] {
  --auto-primary: #6ea8fe;
  --auto-secondary: #75b798;
  --auto-accent: #ff8c69;
}

/* Hero Section - Autos */
.hero-section {
  background: var(--auto-gradient);
  color: white;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="car-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2L18 8L16 12L14 14L6 14L4 12L2 8L10 2Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23car-pattern)"/></svg>') repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--auto-accent);
}

.stat-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Image */
.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  background: white;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: rotate(-5deg);
  animation: float 6s ease-in-out infinite;
  max-width: 350px;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: rotate(-5deg) translateY(0px); }
  50% { transform: rotate(-5deg) translateY(-20px); }
}

.car-preview {
  position: relative;
}

.car-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.car-info {
  padding: 1.5rem;
}

.car-info h5 {
  color: var(--bs-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price {
  color: var(--auto-accent);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6c757d;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
  background: var(--bs-light);
}

[data-bs-theme="dark"] .benefits-section {
  background: var(--bs-dark);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .section-title {
  color: var(--bs-light);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .benefit-card {
  background: var(--bs-secondary);
  border-color: #495057;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--auto-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
}

.benefit-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .benefit-card h4 {
  color: var(--bs-light);
}

.benefit-card p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Benefits List - Versión Simplificada */
.benefits-list {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(13,110,253,0.1);
}

[data-bs-theme="dark"] .benefits-list {
  background: var(--bs-secondary);
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .benefit-item {
  border-bottom-color: #495057;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.benefit-item span {
  color: var(--bs-dark);
  font-weight: 500;
}

[data-bs-theme="dark"] .benefit-item span {
  color: var(--bs-light);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: var(--auto-gradient);
  color: white;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
  color: white;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.2);
}

.stars {
  color: var(--auto-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author span {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: white;
}

[data-bs-theme="dark"] .process-section {
  background: var(--bs-dark);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--auto-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 2;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: var(--auto-gradient-soft);
  border: 3px solid var(--auto-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.step-icon i {
  font-size: 2.5rem;
  color: var(--auto-accent);
}

.process-step h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

[data-bs-theme="dark"] .process-step h4 {
  color: var(--bs-light);
}

.process-step p {
  color: #6c757d;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--bs-dark);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 2rem;
}

.cta-note {
  opacity: 0.8;
}

/* Footer */
.footer {
  background: var(--bs-dark);
  color: white;
  padding: 2rem 0;
  border-top: 1px solid #495057;
}

.footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--auto-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .stat-item strong {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-card {
    max-width: 280px;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float i {
  animation: whatsapp-shake 1s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@keyframes whatsapp-shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(-10deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(10deg);
  }
}

/* Responsive para botón flotante */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
}