/* ===== ESTILOS ESPECÍFICOS PARA EL CÍRCULO INTERACTIVO 360° ===== */

.strategy-360-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 600px;
  margin: 2rem 0;
}

.circle-360-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.circle-360-canvas-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-360-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

/* Los iconos mantienen su color original sin efectos hover */

/* Hub Central */
.circle-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 10;
  border: 3px solid var(--katema-yellow);
}

.hub-content {
  text-align: center;
}

.hub-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--katema-black);
  margin: 0;
  line-height: 1;
}

.hub-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--katema-black);
  margin: 0;
  line-height: 1;
  opacity: 0.8;
}

/* Los iconos mantienen su color original sin efectos hover */

/* Círculo interno con animación */
.circle-360-canvas::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

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

/* Controles de navegación */
.circle-360-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 2rem;
  z-index: 10;
}

.circle-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--katema-black);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.circle-nav-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.circle-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(1);
}

.circle-nav-btn:not(:disabled):active {
  transform: scale(0.95);
}

/* Indicadores de pasos */
.circle-360-indicators {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--katema-yellow);
  background: transparent;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(5px);
}

.step-indicator:hover {
  background: var(--katema-yellow);
  color: var(--katema-black);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(207, 255, 13, 0.3);
}

.step-indicator.active {
  background: var(--katema-yellow);
  color: var(--katema-black);
  box-shadow: 0 4px 12px rgba(207, 255, 13, 0.3);
  animation: activePulse 2s infinite;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.step-indicator.active::before {
  border-color: var(--katema-yellow);
  animation: pulse 2s infinite;
}

@keyframes activePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Panel de información */
.strategy-info-panel {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.strategy-info-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--katema-yellow) 0%, #b8e600 100%);
}

.strategy-info-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.strategy-step-content {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.strategy-step-content.active {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--katema-yellow) 0%, #b8e600 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--katema-black);
  box-shadow: 0 8px 20px rgba(207, 255, 13, 0.3);
  position: relative;
  overflow: hidden;
}

.step-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.step-icon:hover::before {
  transform: rotate(45deg) scale(1.2);
}

.step-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--katema-black);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--katema-black) 0%, #333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.step-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--katema-yellow);
  border-radius: 2px;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 2rem;
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid var(--katema-yellow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(207, 255, 13, 0.1), transparent);
  transition: all 0.5s ease;
}

.step-feature:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.step-feature:hover::before {
  left: 100%;
}

.step-feature i {
  color: var(--katema-yellow);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.step-feature span {
  font-weight: 500;
  color: var(--katema-black);
}

/* Animaciones de entrada */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive para el círculo 360° */
@media (max-width: 1024px) {
  .strategy-360-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .circle-360-canvas-container {
    width: 300px;
    height: 300px;
  }
  
  .circle-hub {
    width: 90px;
    height: 90px;
  }
  
  .hub-title {
    font-size: 1rem;
  }
  
  .hub-subtitle {
    font-size: 0.6rem;
  }
  
  .circle-360-controls {
    gap: 1.5rem;
  }
  
  .circle-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Los iconos ahora se renderizan directamente en el canvas */
}

@media (max-width: 768px) {
  .strategy-360-container {
    min-height: auto;
    margin: 1rem 0;
  }
  
  .circle-360-wrapper {
    min-height: 350px;
  }
  
  .circle-360-canvas-container {
    width: 250px;
    height: 250px;
  }
  
  .circle-hub {
    width: 80px;
    height: 80px;
  }
  
  .hub-title {
    font-size: 0.9rem;
  }
  
  .hub-subtitle {
    font-size: 0.5rem;
  }
  
  .circle-360-controls {
    gap: 1rem;
  }
  
  .circle-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Los iconos ahora se renderizan directamente en el canvas */
  
  .circle-360-indicators {
    bottom: -20px;
    gap: 0.6rem;
  }
  
  .step-indicator {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .strategy-info-panel {
    padding: 1.5rem;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .circle-360-canvas-container {
    width: 200px;
    height: 200px;
  }
  
  .circle-hub {
    width: 70px;
    height: 70px;
  }
  
  .hub-title {
    font-size: 0.8rem;
  }
  
  .hub-subtitle {
    font-size: 0.4rem;
  }
  
  .circle-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  /* Los iconos ahora se renderizan directamente en el canvas */
  
  .circle-360-indicators {
    bottom: -10px;
    gap: 0.4rem;
  }
  
  .step-indicator {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }
  
  .strategy-info-panel {
    padding: 1rem;
  }
  
  .step-title {
    font-size: 1.3rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 320px) {
  .circle-360-indicators {
    bottom: -90px;
    gap: 0.3rem;
  }
  
  .step-indicator {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
  
  .strategy-info-panel {
    padding: 0.8rem;
  }
}

/* Efectos de carga */
.loading-circle {
  animation: rotate 2s linear infinite;
}

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

/* Los iconos mantienen su color original sin efectos hover */

/* Efectos de profundidad */
.strategy-360-container {
  perspective: 1000px;
}

.circle-360-wrapper {
  transform-style: preserve-3d;
}

.circle-360-canvas {
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Los iconos mantienen su color original sin efectos hover */

/* Estilos específicos para Chart.js */
.circle-360-canvas {
  position: relative;
  z-index: 1;
}

/* Los iconos mantienen su color original sin efectos hover */

/* Animación de entrada para el gráfico */
.circle-360-canvas-container {
  animation: chartFadeIn 1s ease-out;
}

@keyframes chartFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(180deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Efectos de profundidad mejorados */
.circle-360-canvas-container {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Los iconos mantienen su color original sin efectos hover */

/* Estilos para los iconos del círculo - Ahora dibujados directamente en el canvas */
/* Los iconos se renderizan usando el plugin afterDraw de Chart.js */

/* Los tooltips ahora se manejan nativamente por Chart.js */
