/* 
  Desvendar Ofertas - Landing Page VIP Group Hub
  Design System & Stylesheets
  Author: Senior Web Developer & CRO Specialist
*/

/* 1. VARIÁVEIS DO DESIGN SYSTEM */
:root {
  /* Cores Principais */
  --bg-primary: #060312;
  --bg-radial: radial-gradient(circle at top, #1c0e3d 0%, #060312 80%);
  --mistic-purple: #2c1b4d;
  --mistic-purple-light: #4c307e;
  --lilac-text: #d2c9ff;
  --muted-purple: #a192d9;
  
  /* Cores de Ênfase e Detalhes */
  --gold-primary: #d4af37;
  --gold-light: #ffe17d;
  --gold-dark: #aa7c11;
  --gold-gradient: linear-gradient(135deg, #ffe17d 0%, #d4af37 50%, #aa7c11 100%);
  
  /* WhatsApp */
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;
  --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  
  /* Tipografia */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  
  /* Glassmorphism e Transições */
  --glass-bg: rgba(18, 10, 36, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET & ESTILOS GERAIS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  background-image: var(--bg-radial);
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3. CABEÇALHO */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Animação Flutuante do Logotipo */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.logo-wrapper {
  width: 150px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

.logo-svg {
  width: 100%;
  height: 100%;
}

/* Badge do Instagram */
.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.instagram-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  transition: var(--transition-smooth);
}

.instagram-badge:hover {
  background: var(--gold-gradient);
  color: #060312;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.instagram-badge:hover .instagram-icon {
  color: #060312;
}

/* 4. CONTAINER PRINCIPAL (MAIN CARD - GLASSMORPHISM) */
.container {
  width: 100%;
  max-width: 540px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  z-index: 10;
}

/* Linha dourada metálica sutil no topo do card */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-light) 30%, var(--gold-primary) 50%, var(--gold-light) 70%, transparent 100%);
  border-radius: 24px 24px 0 0;
}

/* Textos e Títulos */
h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--whatsapp-green);
  background: linear-gradient(135deg, #34e073 0%, #179b8c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  color: var(--lilac-text);
  margin-bottom: 2rem;
}

/* 5. BOX DE URGÊNCIA (SCARCITY) */
.urgency-box {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 2.2rem;
}

.urgency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.urgency-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.lightning-icon {
  width: 14px;
  height: 14px;
  animation: pulse-glow 1.5s infinite;
}

.urgency-counter {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

@keyframes text-pulse-highlight {
  0% { transform: scale(1); color: var(--gold-light); }
  50% { transform: scale(1.2); color: #ff5555; text-shadow: 0 0 8px rgba(255, 85, 85, 0.6); }
  100% { transform: scale(1); color: var(--gold-light); }
}

.pulse-highlight {
  display: inline-block;
  animation: text-pulse-highlight 0.8s ease-out;
}

/* Barra de Progresso */
.progress-bar {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  height: 8px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
  border-radius: 10px;
  width: 0%; /* Alterado dinamicamente via JS */
  position: relative;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Animação Shimmer de Brilho Metálico */
@keyframes shimmer {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 3.5s infinite linear;
}

/* 6. CHAMADA PARA AÇÃO (CTA) */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Animação de Pulso & Brilho */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  }
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--whatsapp-gradient);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  animation: pulse-glow 3s infinite ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  animation-play-state: paused;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #2ae771 0%, #15a596 100%);
}

.btn-cta:active {
  transform: translateY(1px);
}

.cta-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: var(--muted-purple);
  text-align: center;
  max-width: 90%;
}

.shield-icon {
  width: 13px;
  height: 13px;
  color: var(--whatsapp-green);
  flex-shrink: 0;
}

/* 7. GRID DE BENEFÍCIOS */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1.2rem;
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.benefit-icon {
  width: 22px;
  height: 22px;
  color: var(--whatsapp-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.benefit-content p {
  font-size: 0.88rem;
  color: var(--muted-purple);
  line-height: 1.5;
}

/* 8. PROVA SOCIAL */
.social-proof {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #140833;
  margin-right: -10px;
  object-fit: cover;
}

.avatar-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #140833;
  background: linear-gradient(135deg, var(--mistic-purple-light) 0%, var(--mistic-purple) 100%);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.social-proof-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--lilac-text);
}

.social-proof-text strong {
  color: var(--gold-light);
  font-weight: 700;
}

/* 9. RODAPÉ */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 540px;
  padding: 1rem 0 3rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-purple);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-link {
  color: var(--lilac-text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--gold-light);
}

/* 10. MEDIA QUERIES (RESPONSIVIDADE MÁXIMA) */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.75rem;
  }
  
  .header {
    margin-bottom: 1.8rem;
    gap: 1.2rem;
  }
  
  .logo-wrapper {
    width: 130px;
    height: 110px;
  }
  
  .container {
    padding: 1.8rem 1.25rem;
    border-radius: 20px;
  }
  
  .container::before {
    border-radius: 20px 20px 0 0;
  }
  
  h1 {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
  }
  
  .subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }
  
  .urgency-box {
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.8rem;
  }
  
  .urgency-title {
    font-size: 0.68rem;
  }
  
  .urgency-counter {
    font-size: 0.78rem;
  }
  
  .btn-cta {
    padding: 1.1rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  
  .cta-subtext {
    font-size: 0.7rem;
    max-width: 95%;
  }
  
  .benefit-item {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .benefit-content h3 {
    font-size: 0.95rem;
  }
  
  .benefit-content p {
    font-size: 0.82rem;
  }
  
  .social-proof {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
  }
  
  .social-proof-text {
    font-size: 0.78rem;
  }
}
