/* --- Importación de Fuentes --- */

/* --- Variables y Fondo --- */

.pillars-section {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background-color: #050505;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.glow-orb-pillars {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.pillars-container {
  position: relative;
  z-index: 1;
}

/* --- Títulos de la Sección --- */

.pre-title-pillars {
  display: inline-block;
  color: #4a90e2;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.section-title-pillars {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

/* --- Estilos de las Cards (Glassmorphism) --- */

.pillar-card {
  position: relative;
  height: 100%;
  padding: 40px 30px;
  background: rgba(20, 25, 35, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-left-color: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Efecto Hover de la Card */

.pillar-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 40, 55, 0.5);
  border-color: rgba(159,203,45,0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(74, 144, 226, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* --- Espacio para el Icono --- */

.pillar-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Estilo para cuando insertes tu imagen real */

.pillar-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* Placeholder temporal (puedes borrar esto al poner tu imagen) */

.icon-placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animación del Icono al hacer hover en la Card */

.pillar-card:hover .pillar-icon-box {
  border-color: rgba(74,144,226,0.6);
  background: rgba(74, 144, 226, 0.1);
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.2);
}

.pillar-card:hover .pillar-icon-box img {
  transform: scale(1.1);
}

/* --- Textos de la Card --- */

.pillar-card h3 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.pillar-card p {
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.pillar-card p strong {
  color: #ffffff;
  font-weight: 600;
}

/* --- Animaciones de Entrada (Scroll Reveal) --- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

@media (max-width: 991px) {
  .section-title-pillars {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .pillars-section {
    padding: 80px 0;
  }
}

@media (max-width: 576px) {
  .section-title-pillars {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .pillar-card {
    padding: 30px 20px;
  }
}

