/* ============================================
   CORUJA OFERTAS — Lead Capture Page
   Theme: Dark Tech / Gaming  |  Roxo + Azul Neon
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep:      #070510;
  --bg-mid:       #0d0a1f;
  --purple-dark:  #1a0a3d;
  --purple:       #7c3aed;
  --purple-light: #a855f7;
  --blue:         #3b82f6;
  --blue-light:   #60a5fa;
  --whatsapp:     #25D366;
  --whatsapp-dark:#128C7E;
  --telegram:     #2AABEE;
  --telegram-dark:#1a8acb;
  --text-white:   #ffffff;
  --text-muted:   rgba(255,255,255,0.65);
  --glow-purple:  0 0 20px rgba(124, 58, 237, 0.7), 0 0 60px rgba(124, 58, 237, 0.3);
  --glow-blue:    0 0 20px rgba(59, 130, 246, 0.7), 0 0 60px rgba(59, 130, 246, 0.3);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Background gradient animado ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 60%),
    var(--bg-deep);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Partículas flutuantes ---------- */
.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particles span {
  display: block;
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-light);
  opacity: 0;
  animation: float-particle linear infinite;
}

.particles span:nth-child(1)  { left: 5%;   animation-duration: 12s; animation-delay: 0s;    width: 2px; height: 2px; }
.particles span:nth-child(2)  { left: 15%;  animation-duration: 18s; animation-delay: 2s;    background: var(--blue-light); }
.particles span:nth-child(3)  { left: 25%;  animation-duration: 14s; animation-delay: 4s;    width: 4px; height: 4px; }
.particles span:nth-child(4)  { left: 35%;  animation-duration: 20s; animation-delay: 1s;    background: var(--blue-light); width: 2px; height: 2px; }
.particles span:nth-child(5)  { left: 45%;  animation-duration: 16s; animation-delay: 3s;    }
.particles span:nth-child(6)  { left: 55%;  animation-duration: 22s; animation-delay: 5s;    background: var(--blue-light); width: 4px; height: 4px; }
.particles span:nth-child(7)  { left: 65%;  animation-duration: 13s; animation-delay: 0.5s;  }
.particles span:nth-child(8)  { left: 75%;  animation-duration: 17s; animation-delay: 2.5s;  background: var(--blue-light); }
.particles span:nth-child(9)  { left: 85%;  animation-duration: 19s; animation-delay: 4.5s;  width: 2px; height: 2px; }
.particles span:nth-child(10) { left: 92%;  animation-duration: 15s; animation-delay: 1.5s;  background: var(--blue-light); }
.particles span:nth-child(11) { left: 10%;  animation-duration: 21s; animation-delay: 6s;    width: 2px; height: 2px; background: var(--blue-light); }
.particles span:nth-child(12) { left: 30%;  animation-duration: 11s; animation-delay: 7s;    }
.particles span:nth-child(13) { left: 50%;  animation-duration: 23s; animation-delay: 3.5s;  background: var(--blue-light); width: 4px; height: 4px; }
.particles span:nth-child(14) { left: 70%;  animation-duration: 16s; animation-delay: 8s;    width: 2px; height: 2px; }
.particles span:nth-child(15) { left: 88%;  animation-duration: 14s; animation-delay: 6.5s;  background: var(--blue-light); }

@keyframes float-particle {
  0%   { bottom: -10px; opacity: 0; transform: translateX(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { bottom: 110vh; opacity: 0; transform: translateX(30px); }
}

/* ---------- Container Principal ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 40px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Avatar ---------- */
.avatar-wrapper {
  margin-bottom: 20px;
  animation: avatar-enter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes avatar-enter {
  from { opacity: 0; transform: scale(0.5) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.avatar-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: var(--glow-purple);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: var(--glow-purple); }
  50%       { box-shadow: 0 0 30px rgba(124, 58, 237, 0.9), 0 0 80px rgba(124, 58, 237, 0.4), 0 0 20px rgba(59,130,246,0.5); }
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bg-deep);
}

/* ---------- Nome da marca ---------- */
.brand-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  animation: fade-up 0.7s ease 0.2s both;
}

/* ---------- Headline ---------- */
.headline {
  text-align: center;
  margin-bottom: 24px;
  animation: fade-up 0.7s ease 0.35s both;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.headline-top {
  display: block;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.headline-tech {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

.mundo {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.tech {
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f97316, #ef4444, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.6));
  animation: tech-glow 2.5s ease-in-out infinite;
}

@keyframes tech-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.5)); }
  50%       { filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.9)) drop-shadow(0 0 40px rgba(239, 68, 68, 0.4)); }
}

/* ---------- Badge "grupo ativo" ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: fade-up 0.7s ease 0.55s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: dot-blink 1.4s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

/* ---------- Botões CTA ---------- */
.cta-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fade-up 0.7s ease 0.65s both;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* WhatsApp */
.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.4);
  border: none;
  animation: btn-breathe 2.4s ease-in-out infinite;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,0.5);
  filter: brightness(1.05);
  animation-play-state: paused;
}

/* Telegram */
.btn-telegram {
  background: linear-gradient(135deg, var(--telegram), var(--telegram-dark));
  color: #fff;
  box-shadow: 0 4px 24px rgba(42, 171, 238, 0.4), 0 2px 8px rgba(0,0,0,0.4);
  border: none;
  animation: btn-breathe 2.4s ease-in-out infinite;
}

.btn-telegram:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(42, 171, 238, 0.6), 0 4px 12px rgba(0,0,0,0.5);
  filter: brightness(1.05);
  animation-play-state: paused;
}

@keyframes btn-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.03); }
}

/* ---------- Benefícios ---------- */
.benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: fade-up 0.7s ease 0.8s both;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.benefit-icon {
  font-size: 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 16px 24px 24px;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
}

/* ---------- Animação genérica de entrada ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsivo para telas menores ---------- */
@media (max-width: 380px) {
  .container {
    padding: 36px 18px 24px;
  }

  .mundo,
  .tech {
    font-size: 2.2rem;
  }

  .headline-top {
    font-size: 1.1rem;
  }

  .avatar-ring {
    width: 120px;
    height: 120px;
  }

  .btn {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
}

/* ---------- Telas maiores (desktop) ---------- */
@media (min-width: 768px) {
  body::before {
    background:
      radial-gradient(ellipse 60% 60% at 50% -5%, rgba(124, 58, 237, 0.3) 0%, transparent 70%),
      radial-gradient(ellipse 40% 50% at 85% 70%, rgba(59, 130, 246, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 35% 40% at 15% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
      var(--bg-deep);
  }

  .container {
    max-width: 520px;
    padding: 48px 48px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 64px rgba(0, 0, 0, 0.4);
  }

  .avatar-ring {
    width: 150px;
    height: 150px;
  }

  .mundo,
  .tech {
    font-size: 3.2rem;
  }

  .headline-top {
    font-size: 1.4rem;
  }
}
