/* ===== CSS ESPECÍFICO PARA PÁGINA TIKTOK (BASEADO NO INSTAGRAM) ===== */

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

.tiktok-main-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 0, 80, 0.4));
}

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

/* ===== GRADIENTE TIKTOK ===== */
.tiktok-gradient {
  background: linear-gradient(135deg, #ff0050, #25f4ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tiktok-animated {
  background: linear-gradient(135deg, #ff0050, #25f4ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 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: #ff0050;
  transform: translateY(-2px);
}

.package-card.featured {
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.05),
    rgba(255, 0, 80, 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 TikTok */
.package-header h3::before,
.package-header h3::after {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #ff0050, #25f4ee);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(255, 0, 80, 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;
  background-clip: text;
  line-height: 1;
}

/* Linha de desconto */
.price-discount-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.original-price {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.discount-badge {
  background: #ff0050;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Botão do pacote */
.package-btn {
  width: 100%;
  padding: 16px 30px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #5e17eb, #ff0080);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

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

.package-btn:active {
  transform: translateY(0);
}

/* ===== SEÇÃO DE CONFIANÇA ===== */
.trust-section {
  padding: 100px 20px;
  position: relative;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--white-01);
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.trust-card:hover {
  border-color: #ff0050;
  transform: translateY(-2px);
}

.trust-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(255, 0, 80, 0.3));
}

.trust-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white-09);
  margin-bottom: 15px;
}

.trust-card p {
  color: var(--white-08);
  line-height: 1.6;
  font-size: 15px;
}

/* Social proof */
.social-proof {
  text-align: center;
  margin-top: 60px;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid var(--white-01);
}

.stars {
  margin-bottom: 15px;
}

.star {
  font-size: 24px;
  color: #ffd700;
  margin: 0 2px;
}

.star.empty {
  color: rgba(255, 255, 255, 0.3);
}

.reviews-text strong {
  font-size: 18px;
  color: var(--white-09);
  display: block;
  margin-bottom: 5px;
}

.reviews-text span {
  color: var(--white-07);
  font-size: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 20px;
  text-align: center;
}

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

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ===== CORREÇÃO DAS PONTINHAS COLORIDAS ===== */
.future-btn {
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden; /* 🎯 ISSO RESOLVE AS PONTINHAS! */
  isolation: isolate; /* 🎯 GARANTE QUE O GRADIENTE FIQUE CONTIDO */
}

.future-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 40px rgba(94, 23, 235, 0.4);
  border: none; /* 🎯 REMOVE BORDA PARA EVITAR CONFLITO */
}

.future-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(94, 23, 235, 0.4);
}

.future-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--white-03);
  backdrop-filter: blur(10px);
  background-clip: padding-box; /* 🎯 EVITA VAZAMENTO DO FUNDO */
}

.future-btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(94, 23, 235, 0.4);
}

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
  /* Hero */
  .tiktok-main-icon {
    width: 100px;
    height: 100px;
  }

  .platform-icon {
    width: 80px;
    height: 80px;
  }

  /* Grid mobile */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }

  /* Cards mobile */
  .package-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

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

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

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

  /* Bolinhas menores no mobile */
  .package-header h3::before,
  .package-header h3::after {
    width: 6px;
    height: 6px;
  }

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

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

  /* Seções mobile */
  .products-section {
    padding: 60px 15px;
  }

  .trust-section {
    padding: 60px 15px;
  }

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

  /* Trust grid mobile */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .trust-card {
    padding: 30px 20px;
  }

  .trust-icon {
    font-size: 40px;
  }

  /* Button group mobile */
  .button-group {
    flex-direction: column;
    align-items: center;
  }

  .future-btn {
    width: 100%;
    max-width: 300px;
  }

  /* Social proof mobile */
  .social-proof {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .stars {
    margin-bottom: 10px;
  }

  .star {
    font-size: 20px;
  }
}

/* ===== MOBILE MUITO PEQUENO ===== */
@media (max-width: 480px) {
  .tiktok-main-icon {
    width: 80px;
    height: 80px;
  }

  .package-card {
    padding: 20px 15px;
  }

  .platform-icon {
    width: 70px;
    height: 70px;
  }

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

  .trust-card {
    padding: 25px 15px;
  }

  .future-btn {
    padding: 14px 25px;
    font-size: 14px;
  }

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

/* ===== OTIMIZAÇÕES DE PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  .tiktok-hero-icon {
    animation: none;
  }

  .package-card:hover {
    transform: none;
  }

  .package-btn:hover {
    transform: none;
  }

  .trust-card:hover {
    transform: none;
  }

  .future-btn:hover {
    transform: none;
  }
}

/* ===== SEÇÃO DE TÍTULOS E SUBTÍTULOS ===== */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  color: var(--white-09);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--white-08);
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.8;
}

/* ===== AJUSTES FINAIS DE COMPATIBILIDADE ===== */
.platform-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 0, 80, 0.3));
}

/* ===== MELHORIAS DE ACESSIBILIDADE ===== */
.package-card:focus,
.trust-card:focus,
.future-btn:focus {
  outline: 2px solid #ff0050;
  outline-offset: 2px;
}

/* Melhorar contraste para daltonismo */
.discount-badge {
  background: #ff0050;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.package-btn {
  box-shadow: 0 2px 10px rgba(255, 0, 80, 0.2);
}

.package-btn:hover {
  box-shadow: 0 10px 25px rgba(255, 0, 80, 0.4);
}

/* ===== TIMER DE OFERTAS (IGUAL INSTAGRAM) ===== */
.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;
}

/* Timer responsivo mobile */
@media (max-width: 768px) {
  .countdown-timer {
    font-size: 13px;
    padding: 5px 10px;
  }
}
