/* ===== CSS ESPECÍFICO PARA PÁGINA INSTAGRAM ===== */

/* Ícone principal Instagram no hero */
.instagram-hero-icon {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

.instagram-main-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(94, 23, 235, 0.4));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Seções de produtos */
.products-section {
  padding: 100px 20px;
  position: relative;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Grid de pacotes - 4 colunas */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* ===== SOLUÇÃO PARA CARD ÚNICO ===== */
.packages-grid.single-card {
  display: flex;
  justify-content: center;
}

.packages-grid.single-card .package-card {
  max-width: 400px;
  width: 100%;
}

/* Cards de pacotes otimizados */
.package-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--white-01);
  border-radius: 25px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.package-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.package-card.featured {
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.05),
    rgba(94, 23, 235, 0.05)
  );
}

.package-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 0 0 15px 15px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-header {
  text-align: center;
  margin-bottom: 15px;
}

.package-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white-09);
  margin: 15px 0 0 0;
  position: relative;
  display: inline-block;
}

/* Bolinhas decorativas */
.package-header h3::before,
.package-header h3::after {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(94, 23, 235, 0.5);
}

.package-header h3::before {
  left: -20px;
}

.package-header h3::after {
  right: -20px;
}

/* Ícone do pacote */
.package-icon {
  text-align: center;
  margin-bottom: 1px;
}

/* Quantidade */
.package-quantity {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
}

/* Features do pacote */
.package-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.package-features li {
  padding: 8px 0;
  color: var(--white-08);
  font-size: 15px;
  line-height: 1.5;
}

/* ===== PREÇOS PROMOCIONAIS ===== */
.package-price {
  text-align: center;
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Preço promocional */
.promo-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
}

.promo-price .currency {
  font-size: 18px;
  color: var(--white-07);
  margin-right: 3px;
}

.promo-price .amount {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #03ca4c, #1b8241);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Preço riscado + Badge */
.price-discount-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.original-price {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  text-decoration-color: #ff4444;
  text-decoration-thickness: 1px;
}

.discount-badge {
  background: linear-gradient(135deg, #ff0080, #ff4444);
  color: white;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Botão do pacote */
.package-btn {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.package-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(94, 23, 235, 0.4);
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(94, 23, 235, 0.1),
    rgba(255, 0, 128, 0.1)
  );
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Timer de ofertas */
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 13px;
  font-weight: 600;
}

.timer-icon {
  font-size: 12px;
}

.timer-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

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

/* Tablets */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .instagram-main-icon {
    width: 100px;
    height: 100px;
  }

  .package-card {
    padding: 25px;
  }

  .package-quantity {
    font-size: 28px;
  }

  .promo-price .amount {
    font-size: 48px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .products-section {
    padding: 80px 20px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .instagram-main-icon {
    width: 80px;
    height: 80px;
  }

  .package-card {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.06);
  }

  .package-header h3 {
    font-size: 20px;
  }

  .promo-price .amount {
    font-size: 48px;
  }

  .original-price {
    font-size: 20px;
  }

  .package-quantity {
    font-size: 28px;
  }

  .package-features li {
    font-size: 14px;
  }

  .package-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .countdown-timer {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .package-card {
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
  }

  .promo-price .amount {
    font-size: 42px;
  }

  .original-price {
    font-size: 18px;
  }

  .package-quantity {
    font-size: 28px;
  }

  .instagram-main-icon {
    width: 70px;
    height: 70px;
  }
}
