/* --- CONFIGURACIÓN BASE & VARIABLES --- */
:root {
  --gold-linear: linear-gradient(135deg, #bf953f 0%, #fcf6ba 45%, #b38728 70%, #fbf5b7 100%);
  --gold-solid: #D4AF37;
  --dark-bg: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(212, 175, 55, 0.2);
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--dark-bg);
  color: #ffffff;
  font-family: var(--font-main);
  margin: 0;
  padding-top: 90px; /* Evita que el contenido se meta bajo la cabecera */
  overflow-x: hidden;
}

/* Luz ambiental de fondo */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(191, 149, 63, 0.08), transparent 40%);
  z-index: -1;
}

/* --- CABECERA SENIOR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 9999;
  padding: 15px 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0 40px;
}

/* Lado Izquierdo: Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  flex: 1; /* Equilibra el espacio */
}

.logo-text span.text-gold {
  background: var(--gold-linear);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Centro: Enlaces */
.nav-center {
  display: flex;
  gap: 35px;
  flex: 2;
  justify-content: center;
}

.nav-center a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-center a:hover {
  color: var(--gold-solid);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Lado Derecho: Botón Login */
.nav-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-linear);
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800;
  color: #000;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(181, 136, 40, 0.3);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn-login:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(181, 136, 40, 0.5);
}

/* --- HERO SECTION --- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 100px 8% 80px;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
}

.text-gold {
  background: var(--gold-linear);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- CARACTERÍSTICAS --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 80px 8%;
}

.f-card {
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.f-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* --- RESPONSIVO --- */
@media (max-width: 968px) {
  .nav-center { display: none; } /* Oculta menú en móvil para evitar amontonamiento */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero h1 { font-size: 2.8rem; }
  .nav-container { padding: 0 20px; }
}