/* Estilos específicos para la landing page */
/* Estilos base del cuerpo */
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-base);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navegación */
.navbar {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    padding-right: 24px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--muted-foreground) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item {
    text-align: center;
}

/* Secciones */
.section {
    padding:5rem 0;
}

/* Botones mejorados */
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: var(--radius);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #b8e600 100%);
    border: none;
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8e600 0%, var(--primary) 100%);
    color: var(--primary-foreground);
}

/* Cards de promociones */
.promociones-card {
    min-height: 200px;
}

/* Botones de promociones con fondo sólido */
.btn-promocion {
    background: var(--primary);
    border: none;
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-promocion:hover {
    background: var(--primary);
    opacity: 0.9;
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Pricing cards */
.pricing-section .card {
    transition: all 0.3s ease;
}

.pricing-section .card:hover {
    transform: translateY(-10px);
}

.pricing-section .card.border-primary {
    border-width: 2px !important;
    box-shadow: 0 25px 50px -12px rgba(214, 255, 0, 0.25);
}

/* Testimonials */
.testimonials-section .card {
    transition: all 0.3s ease;
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-button {
    background-color: var(--card) !important;
    color: var(--card-foreground) !important;
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--card) !important;
    color: var(--primary) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(214, 255, 0, 0.25);
}

/* Footer */
.footer {
    background-color: var(--card);
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary) !important;
}

/* Efectos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stats .stat-item {
        min-width: 100px;
    }
}

.hovering {
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hovering:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
              0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--hovering)!important;
}

/* Sistema de tipografía */
/* Títulos de secciones usan Poppins */
h1, h2, h3, h4, h5, h6,
.section-title,
.page-title,
.card-title,
.hero-title,
.feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Pesos específicos para diferentes niveles de títulos */
h1, .hero-title {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2, .section-title {
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3, .page-title {
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

h4, .card-title {
  font-weight: 600;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

h5, .feature-title {
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

h6 {
  font-weight: 500;
  font-size: 1rem;
}

/* Texto base usa Inter */
p, span, div, a, button, input, textarea, select, label,
.text-base,
.body-text {
  font-family: var(--font-base);
}

/* Clases utilitarias para fuentes */
.font-base { font-family: var(--font-base) !important; }
.font-heading { font-family: var(--font-heading) !important; }

/* Hero section sin patrón de puntos */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}



/* Pricing Cards Styles */
.pricing-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.pricing-card .badge {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border: none;
  width: fit-content;
}

.pricing-card .badge.bg-accent {
  background-color: var(--accent) !important;
  color: var(--accent-foreground) !important;
}

/* Pricing responsive adjustments */
@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem !important;
  }
  
  .pricing-card .h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .pricing-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .pricing-card {
    padding: 1.5rem !important;
  }
  
  .pricing-card .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem !important;
  }
}

/* Pricing CTA Buttons */
.pricing-cta-btn {
  background-color: var(--accent)!important;
  color: var(--primary-foreground)!important;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.pricing-cta-btn:hover {
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0px 25px rgba(214, 255, 0, 0.3);
}

.pricing-cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 255, 0, 0.2);
}

.pricing-cta-btn:active {
  transform: translateY(0);
}

.pricing-cta-btn svg {
  transition: transform 0.3s ease;
}

.pricing-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive adjustments for CTA buttons */
@media (max-width: 768px) {
  .pricing-cta-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .pricing-cta-btn {
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }
}

/* ===== FAQ SECTION STYLES ===== */

/* FAQ Container */
.faq-section {
  position: relative;
}

.faq-container {
  max-width: 100%;
}

/* FAQ Items */
.faq-item {
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

/* FAQ Header */
.faq-header {
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-header:hover {
  background-color: var(--muted);
}

.faq-header h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--card-foreground);
  transition: color 0.3s ease;
}

.faq-header:hover h5 {
  color: var(--foreground);
}

/* FAQ Icon */
.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-header[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-header[aria-expanded="true"] .faq-icon svg {
  color: var(--accent);
}

/* FAQ Body */
.faq-body {
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

.faq-body p {
  font-family: var(--font-base);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Contact CTA in FAQ */
.faq-section .bg-muted {
  background-color: var(--muted);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.faq-section .bg-muted:hover {
  background-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.faq-section .btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  border: 1px solid var(--accent);
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-section .btn-accent:hover {
  background-color: var(--hovering);
  border-color: var(--hovering);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(214, 255, 0, 0.3);
}

.faq-section .btn-outline-secondary {
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-section .btn-outline-secondary:hover {
  background-color: var(--card);
  border-color: var(--accent);
  color: var(--foreground);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
  .faq-header h5 {
    font-size: 1rem;
    line-height: 1.3;
  }
  
  .faq-body p {
    font-size: 0.9rem;
  }
  
  .faq-header {
    padding: 1rem !important;
  }
  
  .faq-body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

@media (max-width: 576px) {
  .faq-header h5 {
    font-size: 0.95rem;
    line-height: 1.25;
  }
  
  .faq-body p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .faq-item {
    margin-bottom: 1rem !important;
  }
  
  .faq-section .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.25rem;
  }
}

/* Animation for collapse */
.faq-item .collapse {
  transition: all 0.3s ease;
}

.faq-item .collapsing {
  transition: height 0.3s ease;
}

/* Focus states for accessibility */
.faq-header:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-section .btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== CTA FINAL SECTION ===== */
.cta-final-section {
  position: relative;
}

.cta-final-card {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}



/* Gradiente de fondo decorativo */
.cta-gradient-bg {
  background: linear-gradient(135deg, 
    var(--accent) 0%, 
    transparent 20%, 
    transparent 80%, 
    var(--accent) 100%);
  opacity: 0.03;
  z-index: 1;
}

/* Badge superior */
.cta-final-section .bg-accent {
  background-color: var(--accent) !important;
  color: var(--accent-foreground) !important;
}

/* Botones de acción */
.cta-final-section .btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-final-section .btn-primary::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 ease;
}

.cta-final-section .btn-primary:hover::before {
  left: 100%;
}

.cta-final-section .btn-outline-primary {
  border-color: var(--border);
  color: var(--foreground);
  background-color: var(--secondary);
  transition: all 0.3s ease;
}

.cta-final-section .btn-outline-primary:hover {
  background-color: var(--secondary);
  border-color: var(--accent);
  color: var(--foreground);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(214, 255, 0, 0.2);
}

/* Iconos en botones */
.cta-final-section .btn svg {
  transition: transform 0.3s ease;
}

.cta-final-section .btn:hover svg {
  transform: translateX(2px);
}

/* Avatares de usuarios */
.cta-final-section .bg-accent.rounded-circle {
  background: linear-gradient(135deg, var(--accent), var(--hovering)) !important;
  position: relative;
}

.cta-final-section .bg-accent.rounded-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--accent-foreground);
  border-radius: 50%;
  opacity: 0.8;
}

/* Responsive adjustments */

@media (min-width: 991.99px) and (max-width: 1400px) {
  .cta-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .cta-content-interior {
  width: 100%;
  }
}



@media (max-width: 991.98px) {
  .cta-final-card {
    padding: 2rem !important;
  }
  
  .cta-final-section .display-5 {
    font-size: 2rem;
  }
  
  .cta-final-section .lead {
    font-size: 1rem;
  }
  
  .cta-benefits {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .cta-final-card {
    padding: 1.5rem !important;
  }
  
  .cta-final-section .display-5 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .cta-final-section .btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .cta-benefits .small {
    font-size: 0.85rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-final-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus states para accesibilidad */
.cta-final-section .btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== FOOTER STYLES ===== */

.footer-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  color: var(--card-foreground);
  transition: all 0.3s ease;
}

.footer-logo {
  background: var(--primary);
  color: var(--primary-foreground);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.footer-links li a {
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-links li a:hover {
  color: var(--foreground);
  transform: translateX(4px);
}

.social-link {
  background: var(--primary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: var(--radius);
}

.social-link:hover {
  background: var(--primary);
  color: var(--muted-foreground);
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-link svg {
  transition: all 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-section {
    padding: 2rem 0;
  }
  
  .footer-section .row {
    text-align: center;
  }
  
  .footer-section .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
  
  .footer-section .d-flex.gap-3 {
    justify-content: center;
  }
  
  .footer-section .d-flex.justify-content-md-end {
    justify-content: center !important;
    margin-top: 1rem;
  }
}

/* Focus states para accesibilidad */
.footer-section .social-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-section .footer-links a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* ===== LOGO STYLES ===== */

/* Navbar logo */
.navbar-brand img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(8%) saturate(1158%) hue-rotate(192deg) brightness(95%) contrast(91%);
  transition: all 0.3s ease;
}

[data-theme="dark"] .navbar-brand img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(2%) saturate(1077%) hue-rotate(169deg) brightness(100%) contrast(96%);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Footer logo */
.footer-logo-img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(8%) saturate(1158%) hue-rotate(192deg) brightness(95%) contrast(91%);
  transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.1);
}