/* ==========================================
   MELHORIAS DE TEMA ESPACIAL - SEÇÃO "SITES SOB MEDIDA"
   ========================================== */

/* Gradientes espaciais já aplicados em design-system.css - removido duplicação */

/* Container para estrelas - pontos de luz brilhantes */
#criar-site .stars-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  background-image: 
    radial-gradient(2px 2px at 8% 12%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(3px 3px at 22% 18%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 28% 35%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2.5px 2.5px at 35% 15%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 42% 42%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 48% 28%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(3.5px 3.5px at 55% 50%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 62% 22%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2px 2px at 68% 38%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 75% 15%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(3px 3px at 82% 45%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 88% 30%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2.5px 2.5px at 92% 55%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 18% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 25% 68%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(3px 3px at 32% 75%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(2.5px 2.5px at 45% 72%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 52% 58%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(3px 3px at 58% 65%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 65% 78%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 72% 68%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 78% 55%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(3.5px 3.5px at 85% 62%, rgba(255, 255, 255, 1), transparent),
    radial-gradient(1px 1px at 12% 48%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 28% 52%, rgba(255, 255, 255, 0.8), transparent);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Estrelas adicionais piscando - específicas para Sites sob medida */
#criar-site .stars-background .star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: starTwinkleSite 3s ease-in-out infinite;
  box-shadow: 
    0 0 4px rgba(255, 255, 255, 0.8),
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(59, 130, 246, 0.4);
}

#criar-site .stars-background .star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; width: 4px; height: 4px; }
#criar-site .stars-background .star:nth-child(2) { top: 20%; left: 35%; animation-delay: 0.5s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(3) { top: 15%; left: 55%; animation-delay: 1s; width: 5px; height: 5px; }
#criar-site .stars-background .star:nth-child(4) { top: 25%; left: 75%; animation-delay: 1.5s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(5) { top: 35%; left: 25%; animation-delay: 2s; width: 4px; height: 4px; }
#criar-site .stars-background .star:nth-child(6) { top: 45%; left: 65%; animation-delay: 0.8s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(7) { top: 30%; left: 85%; animation-delay: 2.5s; width: 5px; height: 5px; }
#criar-site .stars-background .star:nth-child(8) { top: 50%; left: 10%; animation-delay: 1.2s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(9) { top: 40%; left: 45%; animation-delay: 0.3s; width: 4px; height: 4px; }
#criar-site .stars-background .star:nth-child(10) { top: 55%; left: 70%; animation-delay: 1.8s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(11) { top: 60%; left: 30%; animation-delay: 0.6s; width: 5px; height: 5px; }
#criar-site .stars-background .star:nth-child(12) { top: 65%; left: 50%; animation-delay: 2.2s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(13) { top: 70%; left: 80%; animation-delay: 0.9s; width: 4px; height: 4px; }
#criar-site .stars-background .star:nth-child(14) { top: 75%; left: 20%; animation-delay: 1.5s; width: 3px; height: 3px; }
#criar-site .stars-background .star:nth-child(15) { top: 80%; left: 60%; animation-delay: 0.4s; width: 5px; height: 5px; }

@keyframes starTwinkleSite {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Badge espacial melhorado - adaptado para fundo escuro corporativo */
#criar-site .section-premium-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600 !important;
}

#criar-site .section-premium-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: badgeShine 3s linear infinite;
  pointer-events: none;
}

@keyframes badgeShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Título espacial com efeito de foguete - cor clara para fundo escuro */
#criar-site .section-premium-title {
  color: #ffffff !important;
  position: relative;
  display: inline-block;
  font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

#criar-site .section-premium-title::before {
  content: '🚀';
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5em;
  animation: rocketBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.4));
  line-height: 1;
}

@keyframes rocketBounce {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-60%) translateX(-5px); }
}

#criar-site .section-premium-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  animation: titleGlow 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

@keyframes titleGlow {
  0%, 100% { opacity: 0.6; width: 100px; }
  50% { opacity: 1; width: 150px; }
}

/* Layout melhorado do header - adaptado para fundo escuro */
#criar-site .section-premium-header {
  position: relative;
  z-index: 5;
  padding: 2rem 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 1rem;
  margin-bottom: 3rem;
}

/* Descrição com melhor visibilidade - adaptada para fundo escuro corporativo */
#criar-site .section-premium-description {
  position: relative;
  font-size: clamp(1.125rem, 1.75vw, 1.25rem) !important;
  line-height: 1.8 !important;
  color: rgba(226, 232, 240, 0.95) !important;
  font-weight: 500 !important;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-top: 1.5rem;
}

/* Partículas flutuantes decorativas */
#criar-site .space-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.space-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.8), rgba(59, 130, 246, 0.2));
  border-radius: 50%;
  animation: floatParticle 15s linear infinite;
  opacity: 0.6;
}

.space-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.space-particle:nth-child(2) { left: 30%; animation-delay: 2s; animation-duration: 18s; width: 6px; height: 6px; }
.space-particle:nth-child(3) { left: 50%; animation-delay: 4s; animation-duration: 15s; }
.space-particle:nth-child(4) { left: 70%; animation-delay: 1s; animation-duration: 20s; width: 5px; height: 5px; }
.space-particle:nth-child(5) { left: 90%; animation-delay: 3s; animation-duration: 14s; }

@keyframes floatParticle {
  0% { 
    top: 100%;
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% { 
    top: -10%;
    transform: translateY(0) translateX(20px);
    opacity: 0;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  #criar-site .section-premium-title::before {
    left: -1.5rem;
    font-size: 0.5em;
  }
  
  #criar-site .section-premium-header {
    padding: 1.5rem 0;
  }
  
  #criar-site .stars-background .star {
    width: 2px;
    height: 2px;
  }
  
  #criar-site .section-premium-description {
    padding: 1.25rem 1.5rem;
    font-size: 1rem !important;
  }
}

