.calc-step { display: none; }
.calc-step.active { display: block; }

.calc-input {
  width: 100%;
  background: rgba(15, 10, 29, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: #f1f5f9;
  font-size: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.calc-input:focus {
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.calc-input::placeholder { color: #475569; font-weight: 400; }

.calc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c084fc;
  margin-bottom: 0.5rem;
}
.calc-hint {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.4rem;
  line-height: 1.5;
}
.calc-hint strong { color: #94a3b8; }

.step-indicator-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.3);
  transition: all 0.3s;
}
.step-indicator-dot.done {
  background: #7c3aed;
  border-color: #8b5cf6;
  box-shadow: 0 0 8px rgba(139,92,246,0.5);
}
.step-indicator-dot.current {
  background: linear-gradient(135deg,#8b5cf6,#f472b6);
  border-color: #c084fc;
  box-shadow: 0 0 12px rgba(139,92,246,0.6);
  transform: scale(1.3);
}

.result-card {
  background: rgba(45,30,75,0.6);
  border-radius: 1rem;
  border: 1px solid rgba(139,92,246,0.25);
  padding: 1.25rem 1.5rem;
}
.result-card.highlight {
  border-color: rgba(139,92,246,0.5);
  background: rgba(60,30,90,0.7);
  box-shadow: 0 8px 32px -8px rgba(139,92,246,0.25);
}
.result-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}
.result-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
}
.result-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.progress-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #7c3aed, #f472b6);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer { to { left: 200%; } }

.btn-calc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -5px rgba(124,58,237,0.45);
  transition: all 0.25s;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.btn-calc-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(124,58,237,0.6);
  filter: brightness(1.08);
}
.btn-calc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all 0.25s;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.btn-calc-secondary:hover {
  background: rgba(255,255,255,0.09);
  color: #e2e8f0;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .name { color: #94a3b8; }
.breakdown-row .val { font-weight: 700; color: #e2e8f0; }
.breakdown-row .val.neg { color: #f87171; }
.breakdown-row .val.pos { color: #4ade80; }

.verdict-box {
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
}
.verdict-box.green {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
}
.verdict-box.yellow {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.25);
}
.verdict-box.red {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(139,92,246,0.2);
  outline: none;
  margin: 0.5rem 0;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg,#8b5cf6,#f472b6);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(139,92,246,0.5);
}

.tag-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #64748b;
  transition: all 0.2s;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.tag-platform.selected {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.5);
  color: #c084fc;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.calc-step.active { animation: fadeInUp 0.35s ease; }

/* Nuevas Secciones SEO */
.seo-content-extra {
  margin-top: 4rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  padding-top: 4rem;
}
.seo-section-title {
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: #fff;
  text-align: center;
}
.seo-section-title span {
  color: var(--violet-light);
}

/* Course CTA Banner Styles (Restored from Leedeo Cleaner) */
.lc-cta-box {
  position: relative;
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.15);
  overflow: hidden;
}
@media (min-width: 768px) {
  .lc-cta-box {
    padding: 4rem;
  }
}
.lc-cta-bg-icon {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  font-size: 12rem;
  color: rgba(139, 92, 246, 0.05);
  transform: rotate(-12deg);
  pointer-events: none;
}
.lc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #7c3aed;
  color: #ffffff;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.25);
  text-decoration: none;
}
.lc-download-btn:hover {
  background: #6d28d9;
  transform: scale(1.05);
}
