/* ==========================================================================
   PREMIUM SECTIONS CSS - $10K Quality
   ========================================================================== */

/* ==========================================================================
   1. COMO FUNCIONA - SEÇÃO PREMIUM
   ========================================================================== */

.section-space-premium {
  position: relative;
  background: radial-gradient(ellipse at 20% 20%, #0a1228 0%, #050812 50%, #000000 100%);
  padding: 120px 0;
  overflow: hidden;
  min-height: 100vh;
}

/* Saturno Decorativo Fixo */
.saturn-decoration {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 280px;
  height: 280px;
  z-index: 1;
  opacity: 0.4;
  animation: saturnFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.saturn-planet {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(215, 180, 106, 0.3));
}

@keyframes saturnFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Partículas Orbitando Saturno */
.orbit-particles {
  position: absolute;
  inset: 0;
}

.orbit-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(215,180,106,0.8), transparent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: orbit var(--duration, 10s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(120px) rotate(0deg);
    opacity: 0.3;
  }
  to {
    transform: rotate(360deg) translateX(120px) rotate(-360deg);
    opacity: 0.8;
  }
}

/* Header Premium da Seção */
.section-header-premium {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 10;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(215, 180, 106, 0.1);
  border: 1px solid rgba(215, 180, 106, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(215, 180, 106, 0.95);
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(215, 180, 106, 0.1);
}

.section-title-premium {
  font-family: 'Cinzel Decorative', 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #ffffff 0%, #d7b46a 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(215, 180, 106, 0.2);
}

.section-subtitle-premium {
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 400;
}

/* Steps Grid Premium */
.steps-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.step-card-premium::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(215, 180, 106, 0.05);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  pointer-events: none;
}

.step-card-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(215, 180, 106, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.step-card-premium:hover::after {
  opacity: 1;
}

.step-card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 180, 106, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(215, 180, 106, 0.1) inset;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: rgba(215, 180, 106, 0.9);
  position: relative;
  z-index: 2;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(215, 180, 106, 0.3));
}

.step-content {
  position: relative;
  z-index: 2;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   2. ENTREGAS - SEÇÃO PREMIUM
   ========================================================================== */

.section-entregas-premium {
  position: relative;
  background: linear-gradient(135deg, #0a0f1a 0%, #050508 100%);
  padding: 120px 0;
  overflow: hidden;
}

.section-entregas-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1400px;
  background: radial-gradient(circle, rgba(26, 58, 143, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Bento Grid Premium */
.bento-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 10;
}

.deliver-card-premium {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: cardFadeIn 0.6s ease-out calc(var(--index, 1) * 0.1s) both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(215, 180, 106, 0.06);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
  color: rgba(215, 180, 106, 0.95);
  position: relative;
  z-index: 2;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(215, 180, 106, 0.25));
  transition: transform 0.4s ease;
}

.deliver-card-premium:hover .card-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #ffffff;
  line-height: 1.3;
}

.card-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(215, 180, 106, 0.08);
  border: 1px solid rgba(215, 180, 106, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(215, 180, 106, 0.9);
  text-transform: uppercase;
}

.card-glow {
  position: absolute;
  inset: -100px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(215, 180, 106, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.deliver-card-premium:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(215, 180, 106, 0.3);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(215, 180, 106, 0.15) inset,
    0 0 60px rgba(215, 180, 106, 0.1);
}

.deliver-card-premium:hover .card-glow {
  opacity: 1;
}

/* ==========================================================================
   3. RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {
  .saturn-decoration {
    width: 180px;
    height: 180px;
    top: 10%;
    right: -40px;
    opacity: 0.25;
  }
  
  .section-header-premium {
    margin-bottom: 50px;
  }
  
  .steps-grid-premium {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bento-grid-premium {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .step-card-premium {
    padding: 28px 24px;
  }
  
  .deliver-card-premium {
    padding: 32px 24px;
  }
  
  .card-number {
    font-size: 56px;
  }
}

/* ==========================================================================
   4. MELHORIAS NO CANVAS DE ESTRELAS
   ========================================================================== */

.space-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   5. MICRO-INTERAÇÕES
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .step-card-premium,
  .deliver-card-premium {
    cursor: pointer;
  }
  
  .step-card-premium:active {
    transform: translateY(-4px) scale(0.98);
  }
  
  .deliver-card-premium:active {
    transform: translateY(-8px) scale(1.0);
  }
}

/* Efeito de tracking do mouse nos cards */
@supports (--mouse-x: 0) {
  .step-card-premium {
    --mouse-x: 50%;
    --mouse-y: 50%;
  }
}
