/* ============================================
   PAGINA SERVIZI - SPAZIO MARKETING
============================================ */

.page-servizi {
  padding-top: 80px;
}

/* ============================================
   PAGINA SERVIZI - SPAZIO MARKETING
============================================ */

.page-servizi {
  padding-top: 80px;
  position: relative;
}

/* Sfondo con gradienti colorati - VERSIONE RICCA */
.page-servizi::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Layer 1: Verde scuro (alto sinistra) */
    radial-gradient(ellipse at 0% 0%, rgba(30, 70, 50, 0.5) 0%, transparent 35%),
    radial-gradient(ellipse at 15% 20%, rgba(40, 80, 60, 0.4) 0%, transparent 40%),
    
    /* Layer 2: Blu/Teal (centro-alto) */
    radial-gradient(ellipse at 50% 10%, rgba(20, 60, 90, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 25%, rgba(30, 70, 100, 0.4) 0%, transparent 40%),
    
    /* Layer 3: Viola/Magenta (destra) */
    radial-gradient(ellipse at 90% 30%, rgba(60, 30, 80, 0.45) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 60%, rgba(80, 40, 70, 0.4) 0%, transparent 45%),
    
    /* Layer 4: Rosa/Rosso (basso destra) */
    radial-gradient(ellipse at 100% 80%, rgba(90, 30, 60, 0.35) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 90%, rgba(70, 35, 55, 0.3) 0%, transparent 35%),
    
    /* Layer 5: Blu scuro (sinistra-centro) */
    radial-gradient(ellipse at 20% 60%, rgba(25, 50, 75, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 5% 80%, rgba(30, 45, 70, 0.35) 0%, transparent 40%),
    
    /* Sfondo base nero con gradiente */
    linear-gradient(135deg, #0a0e14 0%, #12161f 25%, #1a1f2e 50%, #1e1a28 75%, #1a1520 100%);
    
  pointer-events: none;
  z-index: 0;
  animation: background-shift 30s ease-in-out infinite alternate;
}

@keyframes background-shift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.02) translate(1%, -1%);
  }
}

/* Glow aggiuntivo intorno alle stelle */
.servizi-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(253, 185, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 99;
  animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { 
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ============================================
   HERO SERVIZI
============================================ */

.servizi-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
}

.servizi-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.servizi-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.servizi-hero-icon {
  margin: 0 auto var(--spacing-lg);
  width: 80px;
  height: 80px;
  animation: float 4s ease-in-out infinite;
}

.servizi-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.servizi-hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.servizi-hero-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.servizi-hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
}

/* ============================================
   PIANETI DIGITALI SECTION
============================================ */

.pianeti-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-secondary);
}

.pianeti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.pianeta-card {
  padding: var(--spacing-xl);
  position: relative;
  overflow: visible;
  background: rgba(20, 25, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.pianeta-card::before,
.pianeta-card::after {
  pointer-events: none; /* ← IMPORTANTE */
}


.pianeta-card:hover::before {
  opacity: 1;
}

.pianeta-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  background: rgba(253, 185, 39, 0.15);
  color: #FDB927;
  border: 1px solid rgba(253, 185, 39, 0.3);
}

.pianeta-badge-web {
  background: rgba(253, 185, 39, 0.15);
  color: #FDB927;
  border-color: rgba(253, 185, 39, 0.3);
}

.pianeta-badge-ads {
  background: rgba(78, 205, 196, 0.15);
  color: #4ECDC4;
  border-color: rgba(78, 205, 196, 0.3);
}

.pianeta-badge-seo {
  background: rgba(248, 150, 30, 0.15);
  color: #F8961E;
  border-color: rgba(248, 150, 30, 0.3);
}

.pianeta-badge-auto {
  background: rgba(249, 65, 68, 0.15);
  color: #F94144;
  border-color: rgba(249, 65, 68, 0.3);
}

.pianeta-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-base);
}

.pianeta-icon svg {
  color: var(--color-accent-yellow);
  transition: all var(--transition-base);
}

.pianeta-icon-web svg {
  color: #FDB927;
}

.pianeta-icon-ads svg {
  color: #4ECDC4;
}

.pianeta-icon-seo svg {
  color: #F8961E;
}

.pianeta-icon-auto svg {
  color: #F94144;
}

.pianeta-card:hover .pianeta-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(255, 255, 255, 0.08);
}

.pianeta-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.pianeta-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.pianeta-description {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.pianeta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent-yellow);
  font-weight: 600;
  transition: all var(--transition-base);
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(253, 185, 39, 0.3);
  border-radius: var(--radius-xl);
  background: rgba(253, 185, 39, 0.05);
  position: relative;
  z-index: 10; /* ← IMPORTANTE */
  cursor: pointer; /* ← IMPORTANTE */
}

.pianeta-link:hover {
  gap: 0.75rem;
  border-color: rgba(253, 185, 39, 0.6);
  background: rgba(253, 185, 39, 0.1);
  transform: translateX(5px);
}


.pianeta-dot {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(253, 185, 39, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.3); 
    opacity: 0.7;
  }
}

/* ============================================
   EQUIPAGGIO SECTION
============================================ */

.equipaggio-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(180deg, rgba(253, 185, 39, 0.02) 0%, transparent 100%);
}

.equipaggio-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.equipaggio-frame {
  position: relative;
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  background: rgba(26, 32, 44, 0.4);
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.equipaggio-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FDB927 0%, #F8961E 50%, #F3722C 100%);
  z-index: -1;
  opacity: 0.6;
  filter: blur(20px);
}

.equipaggio-icon {
  margin-bottom: var(--spacing-xl);
  filter: drop-shadow(0 0 30px rgba(253, 185, 39, 0.5));
}

.equipaggio-lines {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 300px;
}

.equipaggio-lines span {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  animation: loading-pulse 2s ease-in-out infinite;
}

.equipaggio-lines span:nth-child(1) {
  width: 100%;
  animation-delay: 0s;
}

.equipaggio-lines span:nth-child(2) {
  width: 85%;
  animation-delay: 0.3s;
}

.equipaggio-lines span:nth-child(3) {
  width: 70%;
  animation-delay: 0.6s;
}

@keyframes loading-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.equipaggio-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: var(--spacing-lg);
}

.equipaggio-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.text-highlight {
  color: #FDB927;
  font-weight: 600;
}

.text-highlight-pink {
  color: #F3722C;
  font-weight: 600;
}

.text-highlight-orange {
  color: #F8961E;
  font-weight: 600;
}

.equipaggio-features {
  list-style: none;
  padding: 0;
  margin: var(--spacing-xl) 0 0 0;
}

.equipaggio-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent-yellow);
}

.equipaggio-features li svg {
  color: var(--color-accent-yellow);
  flex-shrink: 0;
}

/* ============================================
   DECOLLO CTA SECTION
============================================ */

.decollo-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.decollo-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 185, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.decollo-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.decollo-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--spacing-md);
}

.decollo-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.decollo-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-3xl);
}

.decollo-rocket {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-2xl);
}

.rocket-orbit {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed rgba(253, 185, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: orbit-rotate 20s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rocket-orbit::before,
.rocket-orbit::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(253, 185, 39, 0.15);
}

.rocket-orbit::before {
  width: 120%;
  height: 120%;
}

.rocket-orbit::after {
  width: 80%;
  height: 80%;
}

.rocket-icon {
  animation: rocket-float-static 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(253, 185, 39, 0.5));
}

@keyframes rocket-float-static {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 1024px) {
  .pianeti-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .equipaggio-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .equipaggio-frame {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-servizi {
    padding-top: 60px;
  }
  
  .servizi-hero {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
  }
  
  .servizi-hero-actions {
    flex-direction: column;
  }
  
  .equipaggio-frame {
    min-height: 300px;
    padding: var(--spacing-lg);
  }
  
  .decollo-actions {
    flex-direction: column;
  }
}