/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cyan: #11B7E5;
  --cyan-dark: #0d96be;
  --purple: #683DE5;
  --purple-light: #7f5aed;
  --dark: #0C1124;
  --dark-2: #0e1428;
  --dark-3: #111830;
  --text: #F9FBFC;
  --text-muted: #a8b4c8;
  --border: rgba(17, 183, 229, 0.18);
  --glow: rgba(17, 183, 229, 0.32);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(104, 61, 229, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(17, 183, 229, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 10% 60%, rgba(104, 61, 229, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0C1124 0%, #0e1530 50%, #0C1124 100%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.85; }
  100% { opacity: 1; }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(17, 183, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 183, 229, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.float-el {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.float-1 {
  width: 400px; height: 400px;
  background: rgba(104, 61, 229, 0.3);
  top: -100px; left: -100px;
  animation: floatOrbit1 12s ease-in-out infinite;
}

.float-2 {
  width: 300px; height: 300px;
  background: rgba(17, 183, 229, 0.2);
  bottom: -80px; right: -80px;
  animation: floatOrbit2 10s ease-in-out infinite;
}

.float-3 {
  width: 200px; height: 200px;
  background: rgba(127, 90, 237, 0.25);
  top: 40%; right: 5%;
  animation: floatOrbit3 14s ease-in-out infinite;
}

.float-4 {
  width: 150px; height: 150px;
  background: rgba(17, 183, 229, 0.15);
  top: 20%; left: 8%;
  animation: floatOrbit4 9s ease-in-out infinite;
}

@keyframes floatOrbit1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(40px,30px) scale(1.1);} }
@keyframes floatOrbit2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-30px,-40px) scale(1.15);} }
@keyframes floatOrbit3 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-20px,25px);} }
@keyframes floatOrbit4 { 0%,100%{transform:translate(0,0);} 50%{transform:translate(15px,-20px);} }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  gap: 0;
}

/* ============================================
   LOGO
   ============================================ */
/* Botão de contato — canto superior direito */
.contact-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 100;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  background: rgba(17, 183, 229, 0.08);
  border: 1px solid rgba(17, 183, 229, 0.3);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
}

.contact-btn:hover {
  background: rgba(17, 183, 229, 0.18);
  border-color: rgba(17, 183, 229, 0.6);
  box-shadow: 0 0 20px rgba(17, 183, 229, 0.25);
  transform: translateY(-2px) scale(1.03);
}

/* ============================================
   LOGO
   ============================================ */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.logo-img {
  width: clamp(180px, 28vw, 320px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(17, 183, 229, 0.35)) drop-shadow(0 0 60px rgba(104, 61, 229, 0.2));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0%   { filter: drop-shadow(0 0 16px rgba(17, 183, 229, 0.3)) drop-shadow(0 0 40px rgba(104, 61, 229, 0.15)); }
  100% { filter: drop-shadow(0 0 32px rgba(17, 183, 229, 0.55)) drop-shadow(0 0 80px rgba(104, 61, 229, 0.3)); }
}

/* ============================================
   HERO IMAGE
   ============================================ */
.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  opacity: 0;
}

.hero-image {
  position: relative;
  z-index: 3;
  width: clamp(280px, 45vw, 560px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(17, 183, 229, 0.25)) drop-shadow(0 0 80px rgba(104, 61, 229, 0.2));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(0.5deg); }
}

.image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(17, 183, 229, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.1); opacity: 1; }
}

.image-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringExpand 4s ease-in-out infinite;
  z-index: 0;
}

.ring-1 {
  width: 380px; height: 380px;
  border-color: rgba(17, 183, 229, 0.12);
  animation-delay: 0s;
}

.ring-2 {
  width: 480px; height: 480px;
  border-color: rgba(104, 61, 229, 0.1);
  animation-delay: 0.8s;
}

.ring-3 {
  width: 580px; height: 580px;
  border-color: rgba(17, 183, 229, 0.06);
  animation-delay: 1.6s;
}

@keyframes ringExpand {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* ============================================
   CONTENT
   ============================================ */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 680px;
  width: 100%;
  opacity: 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(17, 183, 229, 0.08);
  border: 1px solid rgba(17, 183, 229, 0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Title */
.title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.title .line { display: block; }

.title .accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(17, 183, 229, 0.4));
}

/* Description */
.description {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-wrapper {
  width: 100%;
  max-width: 420px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.progress-percent {
  color: var(--cyan);
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple-light) 100%);
  border-radius: 100px;
  transition: width 0.1s;
  box-shadow: 0 0 12px rgba(17, 183, 229, 0.6);
  position: relative;
  z-index: 1;
}

.progress-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: progressShine 2.5s linear infinite;
}

@keyframes progressShine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 70px;
}

.count-num {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.count-num::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}

.count-num:hover {
  border-color: rgba(17, 183, 229, 0.4);
  box-shadow: 0 0 20px rgba(17, 183, 229, 0.15);
}

.count-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.6;
  margin-bottom: 20px;
  animation: sepBlink 1s ease-in-out infinite;
}

@keyframes sepBlink {
  0%,100% { opacity: 0.6; }
  50%      { opacity: 0.15; }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: rgba(17, 183, 229, 0.1);
  border-color: rgba(17, 183, 229, 0.4);
  color: var(--cyan);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(17, 183, 229, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.78rem;
  opacity: 0;
}

/* ============================================
   FLIP ANIMATION (countdown number change)
   ============================================ */
.flip-in {
  animation: flipIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes flipIn {
  0%   { transform: translateY(-20px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .hero-image { width: clamp(240px, 85vw, 340px); }
  .ring-1 { width: 280px; height: 280px; }
  .ring-2 { width: 360px; height: 360px; }
  .ring-3 { width: 440px; height: 440px; }
  .count-num { width: 58px; height: 58px; font-size: 1.4rem; }
  .countdown-item { min-width: 58px; }
  .title { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (max-width: 400px) {
  .countdown { gap: 0.3rem; }
  .count-num { width: 52px; height: 52px; font-size: 1.2rem; }
  .countdown-item { min-width: 52px; }
  .countdown-sep { font-size: 1.5rem; }
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 183, 229, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s;
}
