/* --- RESET Y VARIABLES GLOBALES --- */
:root {
  --bg-primary: #0b0f19; /* Azul muy oscuro / Negro */
  --bg-secondary: #111827; /* Gris oscuro para alternar */
  --text-primary: #e5e7eb; /* Gris claro para texto */
  --text-secondary: #9ca3af; /* Gris medio */
  --accent: #00f2fe; /* Cian / Neón (Típico de Cyber) */
  --accent-hover: #00c2cb;
  --card-bg: #1f2937; /* Fondo de tarjetas */
  --border-color: #374151;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth; /* Permite el desplazamiento suave al hacer clic en el menú */
  scroll-padding-top: 80px; /* Compensa la altura del header fijo */
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER Y MENÚ --- */
#header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 15px 0;
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo Provisional */
.logo-placeholder {
  width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 8px;
}

/* Menú de Navegación */
.menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.menu a:hover {
  color: var(--accent);
}

.menu a:hover::after {
  width: 100%;
}

/* --- SECCIÓN HERO (INICIO) --- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at center,
    #1a233a 0%,
    var(--bg-primary) 70%
  );
  padding: 50px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.hero-content h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hero-content .specialty {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- SECCIONES DE CONTENIDO --- */
.content-section {
  padding: 80px 0;
}

.alt-bg {
  background-color: var(--bg-secondary);
}

.section-title {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Tarjetas de contenido */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
}

.card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.card h4 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* --- FOOTER --- */
footer {
  background-color: #05080f;
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- RESPONSIVE (MÓVILES) --- */
@media (max-width: 768px) {
  .container-header {
    flex-direction: column;
    gap: 15px;
  }

  .menu ul {
    justify-content: center;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
