/* ============================================ */
/* NOVA SEÇÃO DE PLANOS COM CARROSSEL          */
/* ============================================ */

.plans-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.plans-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-title {
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #3b82f6, #00d4ff, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2em;
  margin-bottom: 60px;
}

/* ============================================ */
/* CONTAINER DO CARROSSEL                      */
/* ============================================ */

.plans-carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ============================================ */
/* AVATARES DOS MASCOTES                       */
/* ============================================ */

.avatar-container {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.avatar-stefani {
  left: -120px;
  bottom: 50px;
  width: 250px;
  animation: float-avatar 6s ease-in-out infinite;
}

.avatar-robson {
  right: -120px;
  bottom: 50px;
  width: 250px;
  animation: float-avatar 6s ease-in-out infinite 3s;
}

.avatar-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

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

.plans-carousel-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  padding: 20px 0;
}

.plans-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 15px;
}

/* ============================================ */
/* CARDS DOS PLANOS                            */
/* ============================================ */

.plan-card {
  flex: 0 0 calc(25% - 22.5px);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 280px;
}

.plan-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(59, 130, 246, 0.3);
}

/* Cores específicas por plano */
.plan-start { border-color: rgba(34, 197, 94, 0.5); }
.plan-start:hover { box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3); }

.plan-plus { border-color: rgba(59, 130, 246, 0.5); }
.plan-plus:hover { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3); }

.plan-ultra { border-color: rgba(239, 68, 68, 0.5); }
.plan-ultra:hover { box-shadow: 0 20px 40px rgba(239, 68, 68, 0.3); }

.plan-supreme { border-color: rgba(251, 191, 36, 0.5); }
.plan-supreme:hover { 
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.3);
  transform: translateY(-15px) scale(1.03);
}

.plan-smart { border-color: rgba(16, 185, 129, 0.5); }
.plan-smart:hover { box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3); }

.plan-smart-plus { border-color: rgba(168, 85, 247, 0.5); }
.plan-smart-plus:hover { box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3); }

.plan-elite { 
  border-color: rgba(236, 72, 153, 0.5);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(30, 10, 30, 0.9));
}
.plan-elite:hover { 
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.4);
  transform: translateY(-15px) scale(1.03);
}

/* Badge dos Planos */
.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.featured-label {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

/* Header do Plano */
.plan-header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.plan-name {
  color: #ffffff;
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.plan-speed {
  font-size: 3em;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 10px;
}

.plan-speed-unit {
  font-size: 0.5em;
  color: #00d4ff;
  margin-left: 5px;
}

.plan-type {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
}

/* Features do Plano */
.plan-features {
  margin: 30px 0;
  min-height: 120px;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: #00d4ff;
  font-size: 0.9em;
}

.plan-features li strong {
  color: #fbbf24;
  font-weight: 600;
}

/* Preço do Plano */
.plan-price {
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.price-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 20px;
}

.price-currency {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2em;
}

.price-value {
  color: #ffffff;
  font-size: 2.5em;
  font-weight: 700;
}

.price-decimal {
  font-size: 0.6em;
}

.price-period {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1em;
}

/* Botão CTA */
.cta-button {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3b82f6, #00d4ff);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta-featured {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
}

.cta-elite {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* ============================================ */
/* BOTÕES DO CARROSSEL                         */
/* ============================================ */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(59, 130, 246, 0.3);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2em;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #00d4ff);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

/* ============================================ */
/* INDICADORES DO CARROSSEL                    */
/* ============================================ */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dots .dot.active {
  width: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #00d4ff);
}

/* ============================================ */
/* ANIMAÇÃO PULSE                              */
/* ============================================ */

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px 10px rgba(251, 191, 36, 0);
  }
}

/* ============================================ */
/* RESPONSIVIDADE                              */
/* ============================================ */

@media (max-width: 1400px) {
  .plan-card {
    flex: 0 0 calc(33.333% - 20px);
  }
  
  .avatar-stefani,
  .avatar-robson {
    width: 200px;
  }
  
  .avatar-stefani {
    left: -100px;
  }
  
  .avatar-robson {
    right: -100px;
  }
}

@media (max-width: 1024px) {
  .plan-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .plans-carousel-container {
    padding: 0 60px;
  }
  
  .avatar-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .plan-card {
    flex: 0 0 calc(100% - 30px);
    min-width: 280px;
  }
  
  .plans-carousel-container {
    padding: 0 50px;
  }
  
  .section-title {
    font-size: 2em;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
  
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .plans-section {
    padding: 60px 0;
  }
  
  .plan-card {
    padding: 20px;
  }
  
  .plan-speed {
    font-size: 2.5em;
  }
  
  .price-value {
    font-size: 2em;
  }
}