* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #eaf4ff;
  --muted: #b4c4dc;
  --blue: #35a8ff;
  --line: rgba(80, 180, 255, 0.30);
  --panel: rgba(2, 9, 24, 0.58);
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 42%, rgba(30, 120, 255, 0.18), transparent 34%),
    radial-gradient(circle at 75% 45%, rgba(30, 120, 255, 0.10), transparent 36%),
    linear-gradient(180deg, #01050f 0%, #030816 100%);
}

/* LLUVIA DETRÁS DE TODO */
#codeRain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  padding: 0 0 14px;
  display: grid;
  grid-template-rows: 122px 1fr;
  overflow: hidden;
}

/* HEADER SOLO CON LÍNEA, SIN CARD */
.header {
  width: 100%;
  height: 122px;
  padding: 0 46px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 190px;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 16px rgba(70, 190, 255, 0.85))
    drop-shadow(0 0 34px rgba(30, 130, 255, 0.42));
}

.logo-text {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 14px;
  line-height: 1;
  color: #d6efff;
  white-space: nowrap;
  text-shadow:
    0 0 16px rgba(90, 190, 255, 0.78),
    0 0 34px rgba(40, 130, 255, 0.42);
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
  padding-right: 34px;
  min-width: 0;
  overflow: hidden;
}

.nav a {
  color: #e6f1ff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.95;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(90, 170, 255, 0.24);
}

.launch-btn {
  justify-self: end;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 800;
  padding: 18px 34px;
  border-radius: 18px;
  border: 1px solid rgba(100, 195, 255, 0.62);
  background: linear-gradient(180deg, #238cff, #0b5fd4);
  box-shadow:
    0 0 24px rgba(45, 150, 255, 0.45),
    inset 0 0 18px rgba(180, 230, 255, 0.12);
  white-space: nowrap;
}

/* HERO GENERAL */
.hero {
  width: 100%;
  height: 100%;
  max-width: 1840px;
  margin: 0 auto;
  padding: 0 46px;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  overflow: hidden;
}

/* VISUAL IZQUIERDA */
.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.platform {
  position: absolute;
  left: 50%;
  bottom: -65px;
  width: min(48%, 380px);
  transform: translateX(-50%);
  opacity: 0.95;
  z-index: 1;
  filter:
    drop-shadow(0 0 22px rgba(45, 165, 255, 0.45))
    drop-shadow(0 0 48px rgba(30, 90, 255, 0.16));
}

.aion-hero {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: min(70%, 540px);
  max-height: 72dvh;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 2;
  animation: floatHero 5s ease-in-out infinite;
  filter:
    drop-shadow(0 0 28px rgba(60, 175, 255, 0.4))
    drop-shadow(0 0 80px rgba(20, 90, 255, 0.22));
}

/* CONTENIDO DERECHA */
.hero-content {
  position: relative;
  width: 100%;
  max-width: 780px;
  padding-left: 18px;
  padding-right: 20px;
  transform: translateY(-4px);
  overflow: visible;
}

.hero-content::before {
  content: "Aion";
  display: block;
  font-size: clamp(66px, 6.2vw, 104px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 18px;
  color: #dff5ff;
  text-shadow:
    0 0 18px rgba(95, 205, 255, 0.95),
    0 0 42px rgba(40, 145, 255, 0.75),
    0 0 80px rgba(30, 90, 255, 0.40);
  margin-bottom: 22px;
}

.eyebrow {
  display: none;
}

.hero-content h1 {
  font-size: clamp(28px, 2.55vw, 42px);
  line-height: 1.14;
  letter-spacing: 0.2px;
  font-weight: 700;
  max-width: 720px;
  margin-bottom: 18px;
  color: #dcecff;
}

.hero-description {
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: nowrap;
}

.btn {
  min-width: 245px;
  text-align: center;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
}

.btn-primary {
  color: white;
  border: 1px solid rgba(105, 200, 255, 0.72);
  background: linear-gradient(180deg, #2090ff, #075bd2);
  box-shadow:
    0 0 26px rgba(45, 160, 255, 0.55),
    inset 0 0 20px rgba(170, 230, 255, 0.16);
}

.btn-secondary {
  color: #eaf4ff;
  border: 1px solid rgba(100, 190, 255, 0.44);
  background: rgba(4, 16, 36, 0.54);
  backdrop-filter: blur(12px);
}

.security-link {
  display: inline-block;
  color: #b8dcff;
  text-decoration: none;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
}

/* CARDS */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 780px;
}

.card {
  height: 128px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(90, 180, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(5, 18, 40, 0.68), rgba(2, 9, 24, 0.72));
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 24px rgba(40, 150, 255, 0.14),
    inset 0 0 24px rgba(80, 180, 255, 0.05);
  overflow: hidden;
}

.card h3 {
  font-size: 17px;
  line-height: 1.14;
  margin-bottom: 9px;
}

.card p {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.42;
}

@keyframes floatHero {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-16px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* LAPTOP / NAVEGADOR MÁS ANGOSTO */
@media (max-width: 1500px) {
  .page {
    grid-template-rows: 116px 1fr;
  }

  .header {
    height: 116px;
    grid-template-columns: 380px minmax(0, 1fr) 175px;
    padding: 0 34px;
  }

  .logo-img {
    width: 112px;
    height: 112px;
  }

  .logo-text {
    font-size: 46px;
    letter-spacing: 13px;
  }

  .nav {
    justify-content: flex-end;
    gap: 26px;
    padding-right: 26px;
  }

  .nav a {
    font-size: 18px;
    font-weight: 700;
  }

  .launch-btn {
    font-size: 18px;
    padding: 16px 30px;
  }

  .hero {
    padding: 0 34px;
    grid-template-columns: 46% 54%;
  }

  .hero-content {
    max-width: 720px;
    padding-left: 12px;
    padding-right: 10px;
  }

  .hero-content::before {
    font-size: clamp(58px, 6vw, 92px);
    margin-bottom: 18px;
  }

  .hero-content h1 {
    font-size: clamp(28px, 2.7vw, 40px);
    max-width: 680px;
  }

  .hero-description {
    max-width: 680px;
  }

  .feature-cards {
    gap: 16px;
    max-width: 720px;
  }
}

/* TU CASO: 1920x1080 CON BARRA DEL NAVEGADOR */
@media (max-height: 900px) {
  .page {
    grid-template-rows: 116px 1fr;
    padding-bottom: 12px;
  }

  .header {
    height: 116px;
  }

  .hero-content::before {
    font-size: clamp(58px, 5.6vw, 92px);
    margin-bottom: 16px;
  }

  .hero-content h1 {
    font-size: clamp(27px, 2.35vw, 38px);
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .btn {
    min-width: 225px;
    padding: 15px 24px;
    font-size: 16px;
  }

  .card {
    height: 118px;
    padding: 16px;
  }

  .card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 12.6px;
  }
}

/* FOOTER */
.footer {
  width: 100%;
  height: 54px;
  padding: 0 46px;
  border-top: 1px solid rgba(80, 180, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(220, 236, 255, 0.62);
  background: rgba(1, 5, 15, 0.18);
  backdrop-filter: blur(10px);
  font-size: 14px;
  overflow: hidden;
}

.footer p {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  color: rgba(220, 236, 255, 0.74);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #8fd0ff;
  text-shadow: 0 0 14px rgba(80, 180, 255, 0.55);
}

.footer-links span {
  width: 1px;
  height: 18px;
  background: rgba(120, 200, 255, 0.24);
}