/* Premium Dark Theme - Shared Styles for Static Pages - Apple-inspired */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #050505;
  color: #d6d3d1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Glassmorphism Effects */
.glass-effect {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(41, 37, 36, 0.5);
}

/* Glow Effects */
.glow-gold {
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.glow-blue {
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
}

.mobile-menu.active {
  max-height: 600px;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
}

/* Premium Card Styles - Refined */
.premium-card {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(41, 37, 36, 0.3);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  background: rgba(22, 22, 22, 0.7);
  border-color: rgba(197, 160, 89, 0.25);
}

/* Premium Button - Refined */
.btn-premium {
  background: linear-gradient(135deg, #C5A059, #f97316);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.btn-premium:hover {
  opacity: 0.92;
}

.btn-premium i {
  font-size: 0.875rem;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Removed animations for Apple-style minimalism */

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #111111;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #161616;
}

/* Premium Checkbox Styles - Refined */
.checkbox-group {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.checkbox-label:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  position: relative;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: 3px;
  background: rgba(17, 17, 17, 0.6);
  transition: all 0.3s ease;
  margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
  background: linear-gradient(135deg, #C5A059, #f97316);
  border-color: #C5A059;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 9px;
}

.checkbox-text {
  color: #a8a29e;
  font-size: 0.8125rem;
  line-height: 1.5;
  flex: 1;
  font-weight: 400;
}

.checkbox-text a {
  color: #C5A059;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.checkbox-text a:hover {
  text-decoration: underline;
  color: #f97316;
}

/* Premium Form Styles - Refined */
.subscription-form,
.download-form {
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(41, 37, 36, 0.3);
  border-radius: 1.25rem;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: #d6d3d1;
  font-weight: 500;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.form-group label i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 0.625rem;
  padding: 0.75rem 0.875rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C5A059;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.08);
  background: rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder {
  color: rgba(168, 162, 158, 0.5);
  font-size: 0.8125rem;
}

.submit-button,
.download-button {
  width: 100%;
  background: linear-gradient(135deg, #C5A059, #f97316);
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.submit-button:hover,
.download-button:hover {
  opacity: 0.92;
}

.submit-button:disabled,
.download-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.submit-button i,
.download-button i {
  font-size: 0.875rem;
}

.form-note {
  text-align: center;
  color: rgba(168, 162, 158, 0.7);
  font-size: 0.75rem;
  margin-top: 0.875rem;
  line-height: 1.5;
}

.form-note i {
  font-size: 0.6875rem;
}

/* Modal Styles */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}

/* Success State */
.success-message {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-center;
  margin: 0 auto 1.5rem;
}

.success-icon i {
  font-size: 3rem;
  color: #22c55e;
}

.success-message h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.success-message p {
  color: #d6d3d1;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.reset-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.reset-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Botón Volver al Inicio - Universal para todas las páginas */
.back-home-button {
  position: fixed;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  z-index: 100;
  letter-spacing: 0.005em;
}

.back-home-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.back-home-button span {
  font-size: 16px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .premium-card,
  .subscription-form,
  .download-form {
    padding: 1.5rem;
  }
  
  .checkbox-label {
    padding: 0.5rem;
  }
  
  .glass-card {
    max-width: 95%;
  }
  
  .back-home-button {
    top: 10px;
    left: 10px;
    padding: 0.625rem 1rem;
    font-size: 13px;
  }
}
