* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  background-color: #0b1a33;
  color: #eef5ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* contenedor principal de la landing */
.landing {
  max-width: 1300px;
  width: 100%;
  background: #0b1a33;
  border-radius: 2.5rem;
  padding: 2rem 2.5rem 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* --- HEADER con icono y login --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  font-size: 2.6rem;
  color: #7fc9ff;
  padding: 0.5rem 0.8rem;
  transition: 0.2s;
}

.logo-icon i {
  filter: drop-shadow(0 0 6px #3f9eff);
}

.logo-text {
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
  color: #d6ecff;
}

.logo-text span {
  font-weight: 300;
  color: #8abfff;
}

.login-btn {
  background: transparent;
  border: 1.5px solid #5b9eff;
  color: #d6ecff;
  padding: 0.6rem 1.8rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.login-btn i {
  font-size: 1rem;
  color: #8fcbff;
}

.login-btn:hover {
  background: #2a5f9e;
  border-color: #8fcbff;
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(79, 149, 255, 0.3);
}

/* --- HERO --- */
.hero {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin: 2rem 0 2.5rem;
}

.hero-text {
  flex: 1 1 300px;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #f0f9ff;
}

.hero-text h1 i {
  color: #7fc9ff;
  margin-right: 8px;
}

.hero-text .highlight {
  color: #b5d9ff;
  background: linear-gradient(145deg, #1f4a7a, #0b1a33);
  padding: 0.1rem 0.6rem;
  border-radius: 40px;
  display: inline-block;
  font-weight: 400;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 1.2rem 0 1.8rem;
  color: #c8dfff;
  max-width: 550px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-text p i {
  color: #7fc9ff;
  margin: 0 4px;
}

.cta-badge {
  display: inline-block;
  background: #1d4a7a;
  padding: 0.5rem 1.8rem;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid #3f7ec0;
  color: #d5edff;
  backdrop-filter: blur(4px);
}

.cta-badge i {
  margin-right: 0.5rem;
  color: #a2d0ff;
}

/* imágenes / cards estilo "comunidad" */
.hero-images {
  flex: 1 1 280px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.img-card {
  background: #123156;
  border-radius: 28px;
  padding: 1.2rem 1.2rem 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  border: 1px solid #204779;
  flex: 1 1 140px;
  min-width: 120px;
  transition: 0.2s ease;
  text-align: center;
}

.img-card:hover {
  transform: translateY(-4px);
  border-color: #5b9eff;
  background: #163b65;
}

.img-card i {
  font-size: 3.2rem;
  color: #8bc4ff;
  background: #0b1f3b;
  padding: 0.8rem;
  border-radius: 60px;
  margin-bottom: 0.6rem;
  display: inline-block;
  border: 1px solid #3f7ec0;
}

.img-card .label {
  font-weight: 400;
  color: #c2ddff;
  font-size: 0.9rem;
}

.img-card .sub {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 4px;
  color: #aac8f5;
}

/* --- sección de "relaciones/comunidad" (texto de relleno) --- */
.community-section {
  margin: 3.2rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.8rem;
  background: rgba(8, 28, 56, 0.5);
  backdrop-filter: blur(2px);
  padding: 2rem 2rem;
  border-radius: 48px;
  border: 1px solid #264f7a;
}

.community-item {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.community-item i {
  font-size: 2.2rem;
  color: #7fc9ff;
  width: 3rem;
  text-align: center;
}

.community-item p {
  font-size: 1rem;
  font-weight: 300;
  color: #d3e8ff;
  line-height: 1.4;
}

.community-item strong {
  color: #fff;
  font-weight: 500;
}

/* --- footer sutil --- */
.footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #4e7baa;
  border-top: 1px solid #1f3e62;
  padding-top: 1.8rem;
  letter-spacing: 0.3px;
}

.footer-note i {
  color: #5d93d0;
  margin: 0 4px;
}

/* --- MODAL (login) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 10, 25, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0b1e38;
  max-width: 380px;
  width: 90%;
  padding: 2.2rem 2rem 2.5rem;
  border-radius: 40px;
  border: 1px solid #2a5b8a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  animation: modalFade 0.25s ease-out;
}

@keyframes modalFade {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-box h2 {
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  color: #d6ecff;
}

.modal-box h2 i {
  color: #7fc9ff;
  margin-right: 0.5rem;
}

.modal-box .sub {
  color: #8ab3e6;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #1a3a5e;
  padding-bottom: 0.8rem;
}

.modal-box label {
  display: block;
  font-size: 0.85rem;
  color: #b3d2f7;
  margin: 1rem 0 0.2rem 0.2rem;
}

.modal-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 60px;
  border: 1px solid #2b5580;
  background: #0b1f3b;
  color: #e4f0ff;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}

.modal-box input:focus {
  border-color: #7fc9ff;
  background: #102b4d;
  box-shadow: 0 0 0 3px rgba(79, 149, 255, 0.2);
}

.modal-box input::placeholder {
  color: #4a6f99;
  font-weight: 300;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 2rem;
}

.modal-actions button {
  padding: 0.6rem 1.6rem;
  border-radius: 60px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
}

.btn-login-modal {
  background: #2f7bcb;
  color: white;
  border: 1px solid #5b9eff;
}

.btn-login-modal:hover {
  background: #4a93e0;
  transform: scale(1.02);
  box-shadow: 0 0 16px #3f7ec0;
}

.btn-close-modal {
  background: transparent;
  color: #b3d2f7;
  border: 1px solid #325f8a;
}

.btn-close-modal:hover {
  background: #1d3f64;
  color: white;
}

/* responsive */
@media (max-width: 750px) {
  .landing {
    padding: 1.5rem;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .community-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .community-item {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .login-btn {
    align-self: flex-start;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}