/* ─── POR QUÉ ELEGIRNOS ─── */
#why-us {
  background: var(--color-bg-secondary);
  position: relative;
}

#why-us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-border);
  background-size: 300% 100%;
  animation: borderRotate 8s linear infinite;
  opacity: 0.4;
}

#why-us::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-border);
  background-size: 300% 100%;
  animation: borderRotate 8s linear infinite reverse;
  opacity: 0.4;
}

/* Grid de cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

/* Card de argumento */
.why-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.why-card:hover {
  border-color: var(--color-border-default);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.why-card:hover::before { opacity: 1; }

.why-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-1);
}

.why-card-stat {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary-500);
  letter-spacing: var(--tracking-wide);
}

.why-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  position: relative;
}

/* Barra de estadísticas */
.why-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.why-stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 180, 204, 0.05) 0%, transparent 70%);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  position: relative;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: 1;
  background: var(--gradient-primary-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  font-size: var(--text-3xl);
  opacity: 0.7;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
  max-width: 120px;
  line-height: var(--leading-snug);
}

.stat-separator {
  width: 1px;
  height: 60px;
  background: var(--color-border-subtle);
  flex-shrink: 0;
}

/* ─── EFECTOS DINÁMICOS ─── */

/* Float sutil en icono al hacer hover sobre why-card */
.why-card:hover .why-card-icon {
  animation: float 3s ease-in-out infinite;
}

/* Scan line horizontal que barre la stats bar */
.why-stats-bar::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 240, 0.35), rgba(224, 64, 251, 0.25), transparent);
  animation: scanLine 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}
