/* Design System based on the React version but adapted for Vanilla CSS/Bootstrap */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #f43f5e;
  --background: #0f172a;
  --surface: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(30, 41, 59, 0.7);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

.font-display { font-family: var(--font-display); }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-premium {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
  color: white;
}

.bg-grid {
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Custom form styles */
.form-control-premium {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #ffffff !important;
  padding: 14px 18px;
}

.form-control-premium::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.form-control-premium:focus {
  background: rgba(15, 23, 42, 1);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
}

.nav-link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: white !important;
}

/* Corrección de contraste en desplegables de formularios */
select.form-control-premium,
select.form-control-custom,
.form-select.form-control-premium,
.form-select.form-control-custom {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

select.form-control-premium option,
select.form-control-custom option,
.form-select.form-control-premium option,
.form-select.form-control-custom option {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

