@font-face {
  font-family: "Helvetica W01 Light";
  src: url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.eot");
  src: url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.svg#Helvetica W01 Light")format("svg");
}

:root {
  --azul-oscuro: #093D61;
  --azul-oscuro-hover: #072e49;
  --azul-claro: #31A7DE;
  --azul-claro-hover: #1f95cc;
  --fondo: #f5f9fc;
  --fondo-cards: #ffffff;
  --gris-texto: #333333;
  --gris-claro: #f3f4f6;
  --blanco: #ffffff;
  --titulo: #2a3855;
  --sombra: 0 10px 30px rgba(9, 61, 97, 0.08);
  --transicion: all 0.3s ease;
  font-family: 'Helvetica W01 Light', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: 'Helvetica W01 Light', system-ui, -apple-system, sans-serif;
  }
}

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

body,
html {
  height: 100%;
  background-color: var(--fondo);
  color: var(--gris-texto);
  scroll-behavior: smooth;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header y navegación mejorados */
.header {
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #093D6124;
  background-color: #f5f9fc;
}

.header.scrolled {
  padding: 10px 0;
}

/* Estructura de grid para el header */
.nav-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.logo-container {
  display: flex;
  justify-content: center;
}

.logo-left {
  height: 80px;
  transition: var(--transicion);
}

.header.scrolled .logo-left {
  height: 60px;
}

.main-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--azul-oscuro);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: var(--transicion);
  opacity: 0.8;
}

/* Botón Ingresar separado del menú */
.login-container {
  display: flex;
  justify-content: flex-end;
}

.btn-ingresar {
  background-color: var(--azul-claro);
  color: var(--blanco);
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transicion);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 1;
  box-shadow: 0 4px 10px rgba(49, 167, 222, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ingresar:hover {
  background-color: var(--azul-claro-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(49, 167, 222, 0.3);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--azul-claro);
  transition: var(--transicion);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Botón de menú móvil */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--azul-oscuro);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

/* Hero Section */
.hero {
  color: var(--gris-texto);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 110px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHg9IjAiIHk9IjAiIGZpbGw9IiMwOTNENjEiIG9wYWNpdHk9IjAuMDUiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px;
}

.logo {
  height: 80px;
  margin-bottom: 30px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.9;
  animation: fadeIn 1s ease 0.3s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--azul-claro);
  color: var(--blanco);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transicion);
  box-shadow: 0 10px 20px rgba(49, 167, 222, 0.2);
  animation: fadeIn 1s ease 0.6s both;
}

.cta-button:hover {
  background-color: var(--azul-claro-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(49, 167, 222, 0.3);
}

.cta-button i {
  transition: var(--transicion);
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Platforms Showcase */
.platforms-showcase {
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}

.platforms-showcase .section-header {
  margin-bottom: 50px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.platform-card {
  background-color: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.platform-header {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  background-color: rgba(9, 61, 97, 0.03);
}

.platform-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transicion);
}

.platform-logo.alternative {
  width: 100%;
}

.platform-card:hover .platform-logo {
  transform: scale(1.1);
}

.platform-body {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.platform-title {
  font-size: 1.4rem;
  color: var(--titulo);
  font-weight: 600;
  margin-bottom: 5px;
}

.platform-body p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gris-texto);
}

.platform-btn {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.platform-btn:hover {
  background-color: var(--azul-oscuro-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(9, 61, 97, 0.15);
}

.platform-btn.btn-disabled {
  background-color: rgba(9, 61, 97, 0.25);
  color: rgba(255, 255, 255, 0.9);
  cursor: not-allowed;
}

.platform-btn.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.platform-btn i {
  font-size: 0.85rem;
  transition: var(--transicion);
}

.platform-btn:not(.btn-disabled):hover i {
  transform: translateX(4px);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gris-texto);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transicion);
  z-index: 5;
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-arrow {
  font-size: 24px;
  margin-top: 8px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--fondo);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--titulo);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  color: var(--gris-texto);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

.badge {
  display: inline-block;
  background-color: rgba(49, 167, 222, 0.15);
  color: var(--azul-claro);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: var(--blanco);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  text-align: center;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(9, 61, 97, 0.12);
}

.feature-icon {
  background-color: rgba(9, 61, 97, 0.08);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 30px;
  color: var(--azul-oscuro);
  transition: var(--transicion);
}

.feature-item:hover .feature-icon {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.25rem;
  color: var(--titulo);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-desc {
  color: var(--gris-texto);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  padding: 70px 0 30px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--azul-claro);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column ul li a i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-column ul li a:hover {
  color: var(--blanco);
  transform: translateX(5px);
}

.footer-logo {
  max-width: 222px;
}

.footer-bottom {
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicion);
  font-size: 1.1rem;
}

.social-links a:hover {
  color: var(--blanco);
  background-color: var(--azul-claro);
  transform: translateY(-3px);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Menu Animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {

  /* Header & Navigation */
  .nav-wrapper {
    grid-template-columns: auto auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--blanco);
    padding: 80px 20px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .main-nav.active {
    right: 0;
    animation: slideInRight 0.3s forwards;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    display: block;
    padding: 12px 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 100;
    justify-self: flex-end;
  }

  .login-container {
    display: none;
  }

  .mobile-login {
    margin-top: 30px;
    display: block;
    width: 100%;
  }

  .btn-ingresar-mobile {
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 1.1rem;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .overlay.active {
    display: block;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .platform-body p {
    font-size: 0.95rem;
  }

  .footer-column ul li a {
    font-size: 0.95rem;
    word-break: break-word;
  }

  /* Section Headers */
  .section-header h2 {
    font-size: 1.5rem;
  }

  /* Features */
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  /* Footer */
  .footer-logo {
    max-width: 180px;
  }

  /* Platform Cards */
  .platform-card {
    margin-bottom: 5px;
  }
}


@media (max-width: 768px) {

  /* General */
  .container {
    padding: 0 15px;
  }

  /* Header */
  .logo-left {
    height: 60px;
  }

  .header.scrolled .logo-left {
    height: 50px;
  }

  /* Hero Section */
  .hero {
    padding-top: 90px;
    min-height: auto;
    padding-bottom: 40px;
  }

  .logo {
    height: 60px;
  }

  .hero p {
    font-size: 1.1rem;
  }

  /* Platforms Grid */
  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .platform-card:hover {
    transform: translateY(-5px);
  }

  .platform-header {
    height: 100px;
    padding: 20px;
  }

  /* Features Section */
  .features {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .feature-item {
    padding: 30px 20px;
  }

  .feature-item:hover {
    transform: translateY(-2px);
  }

  /* Footer */
  .footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-column h3 {
    margin-bottom: 15px;
  }

  .scroll-down {
    bottom: 20px;
  }
}

@media (max-width: 992px) {
  .login-container {
    display: none;
  }
}

@media (min-width: 993px) {
  .mobile-login {
    display: none;
  }
}
