/* Pricing Cards (Realismo Mágico / Sales Marketing) CSS */
.magical-pricing-section {
  padding: clamp(6rem, 15vh, 10rem) 0;
  background-color: var(--color-bg-base);
  position: relative;
  overflow: hidden;
}

/* Niebla Mágica Perimetral */
.magic-fog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.magical-pricing-section .container {
  position: relative;
  z-index: 2;
}

.pricing-magical-title {
  text-align: center;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(to right, white, var(--color-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-magical-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

.pricing-grid-magic {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid-magic {
    grid-template-columns: repeat(3, 1fr);
    align-items: center; /* Creates the cascade effect for the middle card */
  }
}

/* Glassmorphism Ethereal Cards */
.spell-card {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
  z-index: 1;
}

.spell-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  z-index: 2;
}

.spell-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.7);
}

.spell-card.master-spell {
  background: linear-gradient(145deg, rgba(25, 25, 45, 0.8), rgba(15, 15, 25, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.3); /* Purple mystical border */
  box-shadow: 0 0 50px -10px rgba(139, 92, 246, 0.3);
  transform: scale(1.05);
  z-index: 3;
}

.spell-card.master-spell::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.3), transparent 60%);
  animation: rotate-lights 10s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rotate-lights {
  100% { transform: rotate(360deg); }
}

.spell-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.spell-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.spell-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.spell-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spell-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1;
}

.spell-currency {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.spell-currency-symbol {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.spell-period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.spell-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  position: relative;
  z-index: 2;
}

.spell-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.spell-icon {
  color: var(--color-primary-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spell-feature strong {
  font-weight: 600;
  color: white;
}

.spell-card.master-spell .spell-icon {
  color: #c084fc; /* Bright magical purple */
}

/* Botón Mágico */
.btn-magical {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-crystal {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-crystal:hover {
  background: rgba(255,255,255,0.05);
  border-color: white;
}

.btn-alchemy {
  background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.5);
}

.btn-alchemy:hover {
  box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.7);
  transform: translateY(-2px);
}
