/* === MÓDULO SUSCRIPCIÓN === */
.subscription-section {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
  overflow: hidden;
}

.subscription-container {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.subscription-header {
  margin-bottom: var(--spacing-xl);
}

.subscription-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.subscription-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.subscription-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === FORMULARIO DE SUSCRIPCIÓN === */
.subscription-form {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.form-label {
  display: block;
  color: white;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input.error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.error-message.show {
  display: block;
}

/* === BOTÓN DE SUSCRIPCIÓN === */
.submit-btn {
  width: 100%;
  background: white;
  color: var(--primary-color);
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: var(--spacing-sm);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn.loading {
  position: relative;
  color: transparent;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === MENSAJES DE ESTADO === */
.subscription-message {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.message-success {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: block;
}

.message-error {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
  display: block;
}

/* === BENEFICIOS DE SUSCRIPCIÓN === */
.subscription-benefits {
  margin-top: var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.benefit-title {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
}

.benefit-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === ELEMENTOS DECORATIVOS === */
.subscription-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 15%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* === RESPONSIVE SUSCRIPCIÓN === */
@media (max-width: 768px) {
  .subscription-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .subscription-title {
    font-size: 2rem;
  }

  .subscription-subtitle {
    font-size: 1.1rem;
  }

  .subscription-form {
    padding: var(--spacing-lg);
    margin: 0 var(--spacing-sm);
  }

  .subscription-benefits {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .benefit-item {
    padding: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .subscription-title {
    font-size: 1.8rem;
  }

  .subscription-form {
    padding: var(--spacing-md);
  }

  .form-input {
    padding: var(--spacing-sm);
  }

  .submit-btn {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}