/* Stellar Pillars Section - Cosmic Glass Morphism */
:root {
  --stellar-primary: #667eea;
  --stellar-primary-dark: #764ba2;
  --stellar-secondary: #5e72e4;
  --void-black: #0a0a1a;
  --cosmic-white: rgba(255, 255, 255, 0.92);
}

.stellar-pillars {
  position: relative;
  padding: 3rem 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, 
              rgba(137, 157, 245, 0.08) 0%, 
              rgba(136, 47, 225, 0.08) 100%);
}

.nebula-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%); 
  opacity: 0.8;
  z-index: 0;
}

.constellation-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 2;
}

.galactic-header {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--cosmic-white);
  margin-bottom: 6rem;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.galactic-header::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, 
              var(--stellar-primary), 
              var(--stellar-secondary));
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.pillar-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  position: relative;
}

.celestial-pillar {
  position: relative;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  min-height: 380px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.quantum-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  z-index: 1;
  transition: all 0.6s ease;
}

.pillar-core {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cosmic-symbol {
  font-size: 4rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, 
              var(--stellar-accent) 0%, 
              var(--stellar-primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--cosmic-white);
  position: relative;
  font-weight: 700;
}

.pillar-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--stellar-accent);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--stellar-accent);
}

.pillar-wisdom {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}

/* Cosmic Interactions */
.celestial-pillar:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.celestial-pillar:hover .quantum-shield {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 30px rgba(102, 126, 234, 0.2);
}

.celestial-pillar:hover .cosmic-symbol {
  transform: scale(1.25) rotate(15deg);
  filter: drop-shadow(0 0 15px var(--stellar-accent));
}

/* Stellar Responsiveness */
@media (max-width: 1024px) {
  .stellar-pillars {
    padding: 8rem 2rem;
  }
  
  .galactic-header {
    font-size: 2.8rem;
    margin-bottom: 5rem;
  }
  
  .celestial-pillar {
    min-height: 350px;
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .pillar-matrix {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 2.5rem;
  }
  
  .galactic-header {
    font-size: 2.4rem;
    margin-bottom: 4rem;
  }
  
  .celestial-pillar {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .stellar-pillars {
    padding: 6rem 1.5rem;
  }
  
  .galactic-header {
    font-size: 2rem;
  }
  
  .pillar-title {
    font-size: 1.7rem;
  }
  
  .pillar-wisdom {
    font-size: 1.1rem;
  }
  
  .cosmic-symbol {
    font-size: 3.5rem;
  }
}