:root {
  --bghs: #1A1A1A;
  --bg: #6200EE;
  --bgalt: #018786;
  --textos: #333333;
  --texths: #E2E8F0;
  --muted: #dae3ee;
  --bghov: #2c2a26;;
  --bgalthov: #453e36;
}



body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--bgalt);
  text-align: center;
  margin: 0;
  scroll-behavior: smooth;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bgalt) 33.3%,
    var(--bgalt) 66.6%,
    var(--bg) 100%
  );
}


/*------------------------------------------------------------------------------------------------------------Header*/
header {
  padding: 2rem;
  background: var(--bghs);
  color: var(--texths);
}

nav {
  position: sticky;
  top: 0;  
  background: var(--bghs);
  color: var(--texths);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
}

nav .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--bgalt);
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  color: var(--bgalthov);
}

nav .logo {
  height: 60px;
}

.logo img {
  height: 100%;
  width: auto;
}

.pantalla {
  min-height: 100vh;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1{
  color: var(--textos);
  font-family: 'Cormorant', serif;
  font-size: 5.5em;
}

h2{
    color: var(--textos);
    font-size: 2em;
    font-family: 'Cormorant', serif;
}

p{
  color : var(--muted);
  font-style: bold;
  font-size: 1.2em;
}

subp{
  color : var(--muted);
  font-size: 0.9rem;
  font-style: bold;
  margin-top: 0.5rem;
}
.descripcion {
  max-width: 700px;
  margin: 1rem auto;
  color: var(--muted);
  font-size: 1.2rem;
}

ul {
  list-style: none;
  padding: 0;
}
ul li {
  margin: 0.5rem 0;
}

blockquote {
  font-style: italic;
  color: var(--muted);
  margin: 1rem;
}


/*------------------------------------------------------------------------------------------------------------Botón*/
.boton {
  position: relative;
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1.5rem 3rem;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1.5rem;
  background: inherit; /* hereda el color base */
  color: #04f0f0;
  overflow: hidden; /* para que el overlay no se salga */
}


.boton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s ease;
  pointer-events: none;
}

.boton:hover::before {
  background: rgba(255,255,255,0.25);
}

.link {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);          
  -webkit-backdrop-filter: blur(6px);    
  padding: 0.2em 0.4em;                  
  border-radius: 6px;                    
  text-decoration: none;                 
  color: inherit;                        
}

/*------------------------------------------------------------------------------------------------------------Popup*/
.contenedor-boton {
  position: relative;
  display: inline-flex;
}

/* Checkbox invisible */
.popup-toggle {
  display: none;
}

/* Botón real: debe estar por encima */
.boton {
  position: relative;
  z-index: 3; /* ← CLAVE */
}

/* Activador invisible: debajo del botón */
.activador {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2; /* ← debajo del botón */
}

/* Popup */
.popup {
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  transform: translateY(-50%);
  width: 260px;
  display: none;
  z-index: 999;
  pointer-events: none;
}

.popup-toggle:checked ~ .popup {
  display: block;
  animation: desaparecer 4s forwards;
}

.popup-content {
  background: #fff3cd;
  border-left: 4px solid #ff9900;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: auto;
}

.cerrar {
  position: absolute;
  top: 4px;
  right: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #444;
}

@keyframes desaparecer {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}





/*---------------------------------------------------------------------------------------------------Caracteristicas*/

.features {
  padding: 4rem 2rem;
  color: var(--textos);
  text-align: center;
}

.features-header {
  background: transparent;   
  color: var(--textos);
}

.features-header p {
  max-width: 700px;
  margin: 1rem auto 3rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}


.feature-card {
  position: relative;
  background: rgba(255,255,255,0.15); /* transparencia */
  backdrop-filter: blur(12px);        /* efecto cristal */
  -webkit-backdrop-filter: blur(12px);
  color: var(--textos);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25); /* borde glass */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.25); /* más luminoso */
}


.feature-card img {
  width: 48px;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/*----------------------------------------------------------------------------------------------------------Descarga*/



/*------------------------------------------------------------------------------------------------------------Footer*/
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: var(--bghs);
  color: var(--texths);
  padding: 2rem;
  text-align: left;
}

.footer-col {
  flex: 1 1 300px;
  margin: 1rem;
}

.footer-col.logo {
  align-items: left;
}

.footer-col.logo img { 
  height: 110px; 
  align-items: auto;
  width: auto;
}

.footer-col.links {
  align-items: center;
}

.footer-col.contacto {
  align-items: right;
}

.footer-col h4 {
  margin-bottom: 0.5rem;
  color: var(--texths);
  font-family: 'Cormorant', serif;
  font-size: 1.5em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 0.25rem 0;
}

.footer-col a {
  color: var(--texths);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--texths);
}

.tagline {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1rem;
}

.redes a {
  margin-right: 1rem;
}

.legal {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
