/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

/* VARIABLES */
:root{
--black:#000;
--metal:#111;
--silver:#b8b8b8;
--silver-soft:#6e6e6e;
--white:#eaeaea;
}

/* BASE */
body{
background:var(--black);
color:var(--silver);
font-family: 'D-DIN', sans-serif;
cursor:crosshair;
overflow-x:hidden;
}






.probe-imag {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* llena todo el box */
  display: block;
}

/* GRID TECNICO */
.grid-overlay{
position:fixed;
inset:0;
pointer-events:none;
background:
linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
background-size:80px 80px;
z-index:0;
}

/* NAV */
.nav{
position:fixed;
top:0;
left:0;
width:100%;
padding:30px 60px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:10;
  display:flex;
}



.logo{
font-family:'Orbitron', sans-serif;
font-weight:900;
letter-spacing:6px;
color:var(--white);
}

.nav-links{
display:flex;
gap:40px;
}

.nav-links a{
text-decoration:none;
color:var(--silver-soft);
font-size:12px;
letter-spacing:3px;
transition:.25s;
}

.nav-links a:hover{
color:var(--white);
}


/* LUNA */
.moon{
  position:absolute;
  right:-15%;          /* Más cerca del centro de la pantalla */
  top:50%;
  transform:translateY(-50%);
  height:75vh;        /* Más pequeña, mejor proporción */
  max-width:50%;      /* Evita que se deforme horizontalmente */
  opacity:1;          /* Mantener visible */
  filter:contrast(1.2) brightness(1) sharpen(1); /* Ajustes de contraste y brillo */
  image-rendering: auto; /* Mantiene suavidad y nitidez */
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 120px;
  overflow: hidden;

  background-image:
    linear-gradient(to right,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.5) 40%,
      rgba(0,0,0,0.2) 70%,
      rgba(0,0,0,0.6) 100%
    ),
    url("assets/moon_surface.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* PANEL HERO */
.hero-ui{
max-width:500px;
z-index:2;
}

.status{
font-size:11px;
letter-spacing:4px;
margin-bottom:30px;
color:#c4c4c4;
}



.hero h1{
  font-family:'Orbitron';
  font-size: 50px; 
  letter-spacing: clamp(4px, 1.5vw, 14px);
  text-transform: uppercase;
  color:white;
  margin-bottom:20px;
}

.hero-line{
width:80px;
height:1px;
background:#555;
margin:30px 0;
}


.moon-image {
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  height: 85vh;
  opacity: 0.95;
  filter: contrast(1.1) brightness(0.9);
  pointer-events: none;
  z-index: 0;
}


.subtitle{
line-height:1.6;
font-size:16px;
color:#c4c4c4;
margin-bottom:40px;
}

/* BOTON */
.btn{
background:transparent;
border:1px solid var(--silver-soft);
color:var(--silver);
padding:14px 40px;
font-family:'Space Mono';
letter-spacing:3px;
font-size:12px;
cursor:pointer;
transition:.3s;
}

.btn:hover{
background:var(--white);
color:black;
}

/* DATA PANEL */
.data-panel{
border-top:1px solid #111;
}

.data-row{
margin-bottom:40px;
}

.data-row span{
font-size:11px;
letter-spacing:4px;
color:#666;
display:block;
margin-bottom:10px;
}

.bar{
height:1px;
background:#222;
}

.bar div{
height:1px;
background:white;
}

/* SECCIONES */
.section{
min-height:100vh;
display:flex;
align-items:center;
padding:120px 80px;
border-top:1px solid #111;
}

.section-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
align-items:center;
max-width:1200px;
margin:auto;
width:100%;
}

.section-grid.reverse{
direction:rtl;
}

.section-grid.reverse .text{
direction:ltr;
}

/* BLOQUE VISUAL */
.box{
width:100%;
height:400px;
border:1px solid #222;
background:linear-gradient(135deg,#0a0a0a,#000);
}


.box-horus {
  height: 600px;      /* misma altura que las otras box */
  padding: 0;         /* IMPORTANTE */
  overflow: hidden;
}

/* TEXTO */
.text h2{
font-family:'Orbitron';
letter-spacing:6px;
margin-bottom:20px;
color:var(--white);
}

.text p{
color:var(--silver-soft);
line-height:1.7;
}

/* FOOTER */
footer{
text-align:center;
padding:80px 0;
font-size:11px;
letter-spacing:4px;
color:var(--silver-soft);
border-top:1px solid #111;
}

/* RESPONSIVE */


@media(max-width:900px){

  .nav {
    flex-direction: row;          /* 🔥 mantener en fila */
    justify-content: space-between; /* 🔥 separa logo y toggle */
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }



.section-grid{
grid-template-columns:1fr;
gap:40px;
}

.section{padding:80px 30px;}

.hero{
padding:60px 30px;
}
.moon{
right:-60%;
height:120vh;
}

.hero h1{
font-size:30px;
}

.data-panel{
padding:100px 30px;
}

.hero {
  padding-left: 30px;
  padding-right: 30px;
}

.hero-ui {
  max-width: 100%;
}

}


/* HUD DATA PANEL MINIMALISTA - TONOS GRIS / PLATEADO */
.data-panel.hud {
  padding-top: 20px;
}

.data-panel.hud .data-row {
  margin-bottom: 25px;
}

.data-panel.hud .data-row span {
  font-size: 11px;
  letter-spacing: 2px;
  color: #b8b8b8; /* plateado */
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 0 1px #999; /* brillo muy sutil */
  font-weight: 500;
}

.data-panel.hud .bar {
  height: 4px; /* más fina */
  background: #333; /* gris oscuro fondo */
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.data-panel.hud .bar .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b8b8b8, #eaeaea); /* degradado plateado */
  box-shadow: 0 0 4px #b8b8b8; /* brillo suave */
  border-radius: 2px;
  animation: fillBarMinimal 2s forwards;
}

/* Animación elegante */
@keyframes fillBarMinimal {
  from { width: 0%; }
  to { width: var(--w); }
}



/* VIDEO A LA DERECHA */
.moon-video {
  position: absolute;
  right: -15%;       /* como la imagen antes, ajusta según necesidad */
  top: 50%;
  transform: translateY(-50%);
  height: 140vh;     /* tamaño grande para cubrir la altura */
  opacity: 0.9;
  filter: contrast(1.1) brightness(0.9);
  pointer-events: none; /* que no interfiera con botones */
  z-index: 0;
  object-fit: cover;
}


.satellite-features {
  margin-top: 20px;
  list-style: none;
  color: var(--silver-soft);
}

.satellite-features li {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 2px;
}



/* Box con gráfico de órbita */
.box {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg,#0a0a0a,#000);
  border: 1px solid #222;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
  overflow: hidden;
}

/* Solo las box que tienen canvas mantienen altura fija */
.box canvas {
  height: 400px;
}

/* Canvas ocupa toda la box */
#orbitCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Lista de atributos */
.satellite-features {
  margin-top: 20px;
  list-style: none;
  color: var(--silver-soft);
}
.satellite-features li {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 2px;
}

/* HUD (misma estética minimalista) */
.data-panel.hud {
  padding-top: 20px;
}
.data-panel.hud .data-row {
  margin-bottom: 25px;
}
.data-panel.hud .data-row span {
  font-size: 11px;
  letter-spacing: 2px;
  color: #b8b8b8;
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 0 1px #999;
  font-weight: 500;
}
.data-panel.hud .bar {
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.data-panel.hud .bar .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b8b8b8, #eaeaea);
  box-shadow: 0 0 4px #b8b8b8;
  border-radius: 2px;
  animation: fillBarMinimal 2s forwards;
}
@keyframes fillBarMinimal {
  from { width: 0%; }
  to { width: var(--w); }
}


.probe-image {
    width: 110%;
    height: auto;
    display: block;
    margin: auto;
    filter: brightness(0.9) contrast(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.05); /* glow sutil */
}


/* Canvas ocupa toda la box */
#orbitNetworkCanvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* NAV LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid #555;
  overflow: hidden;
  border-radius: 6px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* efecto de scan animado */
.logo-scan {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.5), rgba(255,255,255,0.1));
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% { top: -50%; }
  100% { top: 100%; }
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1;
}

.logo-text span {
  display: block;
}

.version {
  font-size: 10px;
  color: var(--silver-soft);
  letter-spacing: 2px;
}

/* TEAM SECTION */



  .team-section {
  padding-top: 160px;
  display: block;        /* 🔥 rompe el flex */
  min-height: auto;      /* 🔥 evita que ocupe 100vh */
}


.team-title {
  margin-bottom: 80px;
  color: #fff;
  font-size: 1.5em;
  font-weight: 400;
  font-family: 'Orbitron';
  letter-spacing: 8px;
    
}

.team-title h2 {
  font-size: 32px;
    font-family: 'Orbitron';

}

/* Dos columnas */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Cada founder en horizontal */
.team-card {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Imagen */
.team-photo img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%);
  transition: 0.4s ease;
}

.team-photo img:hover {
  filter: grayscale(0%);
}

/* Texto */
.team-text h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.team-text p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
  max-width: 320px;
}

/* Responsive */
@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-photo img {
    width: 100%;
    height: auto;
  }

  .team-section {
  padding-top: 160px;
  display: block;        /* 🔥 rompe el flex */
  min-height: auto;      /* 🔥 evita que ocupe 100vh */
}

}

/* ABOUT CENTRADO */

.about-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-content {
  max-width: 800px;
}

.about-content h2 {
  font-family: 'Orbitron';
  letter-spacing: 8px;
  margin-bottom: 40px;
  color: var(--white);
}

.about-content p {
  color: var(--silver-soft);
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 16px;
}

.logo-container {
  text-decoration: none;
  color: inherit;
}

/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s ease;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.5s ease;
  z-index: 15;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.mobile-menu-content a {
  text-decoration: none;
  color: var(--white);
  font-family: 'Orbitron';
  letter-spacing: 6px;
  font-size: 18px;
  transition: 0.3s;
}

.mobile-menu-content a:hover {
  opacity: 0.6;
}

/* RESPONSIVE */

@media(max-width:900px){

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

}


/* FOOTER PROFESIONAL */

.footer {
  border-top: 1px solid #111;
  padding: 60px 80px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--silver-soft);
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--silver-soft);
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

@media(max-width:900px){

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

}


/* CONTACT PAGE */

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-content {
  max-width: 700px;
}

.contact-content h1 {
  font-family: 'Orbitron';
  letter-spacing: 10px;
  margin-bottom: 80px;
  color: var(--white);
  font-size: clamp(28px, 6vw, 60px);
}

.contact-block {
  margin-bottom: 60px;
}

.contact-block h3 {
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--silver-soft);
}

.contact-email {
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  letter-spacing: 3px;
  transition: 0.3s;
}

.contact-email:hover {
  opacity: 0.6;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.contact-social a {
  text-decoration: none;
  color: var(--white);
  letter-spacing: 4px;
  font-size: 14px;
  transition: 0.3s;
}

.contact-social a:hover {
  opacity: 0.6;
}

html {
  scroll-behavior: smooth;
}

.btn {
  text-decoration: none;
}