/* =============================================
   CYBERLAB - Estilos principales
   Autor: Estudiante
   Descripcion: Estilos para la pagina principal
   ============================================= */

/* Importar fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap');


/* =============================================
   ESTILOS GENERALES
   ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0b0d12;
  color: #dde3f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  line-height: 1.65;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.12;
  color: #dde3f0;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  font-size: 0.85rem;
  color: #7a85a3;
  line-height: 1.8;
}

em {
  font-style: normal;
  color: #4f85cb;
  text-shadow: 0 0 14px rgba(62, 216, 224, 0.22), 0 0 40px rgba(62, 216, 224, 0.07);
}

img {
  display: block;
  max-width: 100%;
}


/* =============================================
   BOTONES
   ============================================= */

.btn {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-radius: 10px;
  padding: 10px 22px;
  border: 1px solid #2a3148;
  background-color: transparent;
  color: #7a85a3;
  cursor: pointer;
  transition: color 0.18s, background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.btn:hover {
  color: #dde3f0;
  border-color: #364060;
  background-color: #161b24;
}

.btn-primary {
  background-color: rgba(62, 216, 224, 0.1);
  border-color: rgba(62, 108, 224, 0.35);
  color: #778cbb;
}

.btn-primary:hover {
  background-color: rgba(62, 216, 224, 0.16);
  border-color: rgba(62, 129, 224, 0.55);
  box-shadow: 0 0 14px rgba(62, 148, 224, 0.22), 0 0 40px rgba(62, 216, 224, 0.07);
  color: #3e81e0;
}

.btn-outline {
  border-color: #364060;
  color: #7a85a3;
}

.btn-outline:hover {
  border-color: rgba(62, 162, 224, 0.3);
  color: #3ea7e0;
}

.btn-ghost {
  border-color: transparent;
  color: #7a85a3;
}

.btn-ghost:hover {
  border-color: #1e2435;
  color: #dde3f0;
  background-color: #161b24;
}

.btn-disabled {
  border-color: #1e2435;
  color: #272f45;
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-lg {
  font-size: 0.78rem;
  padding: 13px 28px;
  border-radius: 16px;
}


/* =============================================
   HEADER Y NAVBAR
   ============================================= */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(11, 13, 18, 0.85);
  border-bottom: 1px solid #1e2435;
  backdrop-filter: blur(18px);
}

.navbar {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-main {
  color: #dde3f0;
}

.logo-accent {
  color: #1b6ada;
  text-shadow: 0 0 14px rgba(62, 216, 224, 0.22), 0 0 40px rgba(62, 216, 224, 0.07);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #414d6b;
  transition: color 0.18s;
}

.nav-links a:hover {
  color: #dde3f0;
}

.nav-links a.active {
  color: #3e8ce0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 32px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #7a85a3;
  border-radius: 999px;
  transition: transform 0.32s, opacity 0.18s;
}

.nav-toggle:hover span {
  background-color: #3e9fe0;
}


/* =============================================
   SECCION HERO
   ============================================= */

#hero {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 120px;
  padding-bottom: 120px;
  border-bottom: 1px solid #1e2435;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #161b24;
  border: 1px solid #2a3148;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #414d6b;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1eeee;
  box-shadow: 0 0 6px rgba(213, 233, 230, 0.7);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-subtitle {
  max-width: 520px;
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #dde3f0;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #414d6b;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: #1e2435;
}


/* =============================================
   SECCION MODULOS
   ============================================= */

#modules {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #414d6b;
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin-top: 16px;
  max-width: 520px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  background-color: #10131a;
  border: 1px solid #1e2435;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.32s, box-shadow 0.32s, transform 0.32s;
}

.module-card--active:hover {
  border-color: rgba(29, 101, 235, 0.3);
  box-shadow: 0 0 14px rgba(124, 174, 212, 0.22), 0 0 40px rgba(62, 216, 224, 0.07);
  transform: translateY(-3px);
}

.module-card--coming {
  opacity: 0.55;
}

.module-card--coming:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.card-status {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.card-status--available {
  background-color: rgba(78, 119, 94, 0.08);
  border-color: rgba(52, 216, 189, 0.25);
  color: #34d89f;
}

.card-status--soon {
  background-color: rgba(224, 160, 48, 0.06);
  border-color: rgba(224, 160, 48, 0.2);
  color: #e0a030;
}

.card-title {
  font-size: 1.15rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.card-desc {
  font-size: 0.78rem;
  color: #414d6b;
  line-height: 1.75;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-features li {
  font-size: 0.7rem;
  color: #414d6b;
  padding-left: 14px;
  position: relative;
}

.card-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #272f45;
}

.module-card--active .card-features li::before {
  color: #3eafe0;
}

.card-link {
  margin-top: auto;
  align-self: flex-start;
}


/* =============================================
   SECCION COMO FUNCIONA
   ============================================= */

#how-it-works {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid #1e2435;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step-item {
  background-color: #10131a;
  border: 1px solid #1e2435;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.32s, box-shadow 0.32s, transform 0.32s;
}

.step-item:hover {
  border-color: #364060;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #272f45;
  line-height: 1;
  width: 48px;
  transition: color 0.32s, text-shadow 0.32s;
}

.step-item:hover .step-number {
  color: #3eafe0;
  text-shadow: 0 0 14px rgba(62, 216, 224, 0.22), 0 0 40px rgba(62, 216, 224, 0.07);
}

.step-title {
  font-size: 1rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.78rem;
  color: #414d6b;
  line-height: 1.75;
}


/* =============================================
   SECCION SOBRE EL PROYECTO
   ============================================= */

#about {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid #1e2435;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.82rem;
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background-color: rgba(224, 160, 48, 0.05);
  border: 1px solid rgba(224, 160, 48, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 32px;
}

.disclaimer-icon {
  font-size: 0.9rem;
  color: #e0a030;
}

.about-disclaimer p {
  font-size: 0.72rem;
  color: #e0a030;
  margin: 0;
  opacity: 0.8;
}

.about-tech {
  background-color: #10131a;
  border: 1px solid #1e2435;
  border-radius: 24px;
  padding: 32px;
}

.tech-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414d6b;
  margin-bottom: 24px;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e2435;
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: #dde3f0;
}

.tech-desc {
  font-size: 0.68rem;
  color: #414d6b;
}


/* =============================================
   FOOTER
   ============================================= */

#site-footer {
  border-top: 1px solid #1e2435;
  margin-top: 64px;
}

.footer-top {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.footer-tagline {
  font-size: 0.72rem;
  color: #414d6b;
  margin-top: 8px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 48px;
  margin-left: auto;
}

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #414d6b;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.75rem;
  color: #414d6b;
  transition: color 0.18s;
}

.footer-col a:hover {
  color: #3eb5e0;
}

.footer-bottom {
  border-top: 1px solid #1e2435;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.65rem;
  color: #272f45;
}

.footer-disclaimer {
  font-size: 0.65rem;
  color: #272f45;
}


/* =============================================
   RESPONSIVE - TABLET
   ============================================= */

@media (max-width: 900px) {
  .modules-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    margin-left: 0;
  }
}


/* =============================================
   RESPONSIVE - MOVIL
   ============================================= */

@media (max-width: 640px) {
  .nav-links + li{
     display: none;
     border: 2px solid white;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  #hero {
    padding-top: 72px;
    padding-bottom: 72px;
    padding-left: 20px;
    padding-right: 20px;
  }

  #modules {
    padding-left: 20px;
    padding-right: 20px;
  }

  #how-it-works {
    padding-left: 20px;
    padding-right: 20px;
  }

  #about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* =============================================
   MENU MOVIL ABIERTO
   ============================================= */

.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background-color: rgba(11, 13, 18, 0.97);
  border-bottom: 1px solid #1e2435;
  padding: 24px 20px;
  gap: 16px;
  z-index: 99;
}

.nav-open .nav-actions {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 230px;
  left: 0;
  right: 0;
  background-color: rgba(11, 13, 18, 0.97);
  padding: 0 20px 24px;
  gap: 8px;
  z-index: 99;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* =============================================
   SCROLLBAR
   ============================================= */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background-color: #0b0d12;
}

::-webkit-scrollbar-thumb {
  background-color: #2a3148;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #364060;
}


/* =============================================
   SELECCION DE TEXTO
   ============================================= */

::selection {
  background-color: rgba(62, 216, 224, 0.18);
  color: #3ea5e0;
}