/* Where It Works Section Styles */
.whereitworks-wrapper {
  display: flex;
  background: #04106a;
  border-radius: 18px;
  margin: 2.5rem 0;
  box-shadow: 0 4px 32px rgba(11,104,245,0.10);
  min-height: 420px;
  position: relative;
  padding: 2rem 0;
  background: #0a0f13;
  overflow: hidden;
  z-index: 1;
}
.whereitworks-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 630px;
  height: 630px;
  transform: translate(-50%, -150%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(0,0,0,1) 0 42%,
    rgba(0,180,255,.55) 55%,
    rgba(0,140,255,.35) 65%,
    rgba(0,0,0,0) 75%
  );
  box-shadow: 0 0 25px rgba(0,180,255,.6),
              0 0 60px rgba(0,180,255,.4);
  animation: wiw-portal-spin 42s linear infinite;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.whereitworks-wrapper::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 630px;
  height: 630px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0% 10%,
    rgba(90,0,200,.8) 20%,
    rgba(0,180,255,.9) 40%,
    rgba(90,0,200,.8) 60%,
    transparent 70% 100%
  );
  animation: wiw-portal-swirl 28s linear infinite;
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  opacity: 2.8;
}
@keyframes wiw-portal-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes wiw-portal-swirl {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
/* Asegura que el contenido esté por encima del portal */
.wiw-sidebar-inner, .wiw-main {
  position: relative;
  z-index: 2;
}

.wiw-sidebar {
  flex: 0 0 340px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.wiw-sidebar-inner {
  background: #000;
  border-radius: 32px;
  box-shadow: 0 4px 32px rgba(11,104,245,0.10);
  padding: 2.5rem 2rem 2.5rem 2rem;
  width: 100%;
  max-width: 340px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wiw-sidebar h3 {
  font-family: 'SCR-N Seven', 'Orbitron', monospace;
  color: #0b68f5;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  letter-spacing: 1px;
}

.wiw-sidebar hr {
  border: none;
  border-top: 2px solid #94a3b8;
  width: 100%;
  margin: 0 0 2rem 0;
}

.wiw-sidebar ul {
  list-style: disc inside;
  padding-left: 0.5rem;
  margin: 0;
  width: 100%;
}

.wiw-sidebar li {
  color: #94a3b8;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1.3rem;
  letter-spacing: 0.2px;
}

.wiw-main {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  min-width: 0;
}

.wiw-circles {
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.wiw-circle {
  background: #0b68f5;
  border: 3px solid #064bdb;
  color: #fff;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(11,104,245,0.0);
  outline: none;
  position: relative;
}
.wiw-circle .wiw-icon {
  font-size: 2.1rem;
  margin-bottom: 0.2rem;
}
.wiw-circle.active, .wiw-circle:hover {
  background: #064bdb;
  border-color: #0b68f5;
  box-shadow: 0 0 18px #0b68f5cc;
}
.wiw-circle .wiw-label {
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.wiw-content-panel {
  background: #000000;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(11,104,245,0.10);
  padding: 2rem 2.5rem;
  min-height: 220px;
  min-width: 320px;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background 0.2s;
}
.wiw-content-panel h4 {
  font-family: 'SCR-N Seven', 'Orbitron', monospace;
  color: #0b68f5;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.wiw-content-panel ul {
  margin: 0 0 0.7rem 0;
  padding-left: 1.1rem;
  color: #cbd5e1;
}
.wiw-content-panel li {
  margin-bottom: 0.3rem;
}
.wiw-content-panel .wiw-note {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .whereitworks-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .wiw-sidebar {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: stretch;
  }
  .wiw-sidebar-inner {
    max-width: 100%;
    min-width: 0;
    border-radius: 24px;
    padding: 2rem 1rem;
  }
  .wiw-sidebar h3 {
    font-size: 1.5rem;
  }
  .wiw-sidebar li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .wiw-main {
    padding: 1.5rem 0.5rem;
  }
}
@media (max-width: 700px) {
  .whereitworks-wrapper {
    flex-direction: column;
    padding: 0;
    margin: 1rem 0;
  }
  .wiw-sidebar-inner {
    border-radius: 16px;
    padding: 1.2rem 0.7rem;
  }
  .wiw-sidebar h3 {
    font-size: 1.1rem;
  }
  .wiw-sidebar li {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
  }
  .wiw-circles {
    gap: 1.1rem;
  }
  .wiw-circle {
    width: 60px;
    height: 60px;
    font-size: 0.95rem;
  }
  .wiw-circle .wiw-icon {
    font-size: 1.3rem;
  }
  .wiw-content-panel {
    padding: 1.1rem 0.7rem;
    min-width: 0;
    max-width: 100%;
    font-size: 0.98rem;
  }
} 