/* --- TUS REGLAS ORIGINALES (NO TOCADAS) --- */
body, html {
    width: 100%; 
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #DBF7FB;
    background-size: cover;
    overflow-x: hidden;
    overflow-y: auto;
}

#barra { 
    width: 100%;
    height: 3.8rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    font-size: 1.7rem;
    font-family: fantasy;
    color: rgb(255, 4, 4);
    background-color: rgb(0, 255, 255);
    align-items: center;
}

#boton {
    width: 12rem;
    height: 2.5rem;
    cursor: pointer;
    color: #fff;
    font-size: 17px;
    border-radius: 1rem;
    border: none;
    position: relative;
    background: #100720;
    transition: 0.1s;
    margin: 1rem;
    font-family: "Parkinsans", serif;
    color: rgb(255, 255, 255);
}

#boton:after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2% );
    filter: blur(18px);
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
}

button:active {
    transform: scale(0.9) rotate(3deg);
    background: radial-gradient( circle farthest-corner at 10% 20%, rgba(255,94,247,1) 17.8%, rgba(2,245,255,1) 100.2% );
    transition: 0.5s;
}

/* --- DISEÑO MEJORADO PARA EL CONTENIDO --- */

.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Parkinsans', sans-serif;
}

header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
}

.header-image img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.header-text h1 {
    color: #0056b3;
    font-size: 2.5rem;
    margin-top: 1.5rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.tagline {
    color: #555;
    font-size: 1.2rem;
    font-style: italic;
}

.intro {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.description {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1f5fe;
}

.description:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.description img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description p {
    line-height: 1.6;
    color: #444;
    font-size: 1.05rem;
}

footer {
    background: #100720;
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

#derecho {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsivo */
@media (max-width: 768px) {
    .description {
        width: 100%;
    }
    .header-text h1 {
        font-size: 1.8rem;
    }
}

#btnInstalar {
  display: none; /* Se activa mediante el JS que ya tienes */
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 24px;
  background-color: #007bff; /* Color azul profesional */
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: sutil-salto 2s infinite;
}

/* Efecto al pasar el mouse */
#btnInstalar:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Animación sutil para que el usuario lo vea */
@keyframes sutil-salto {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Ajuste para móviles */
@media (max-width: 600px) {
  #btnInstalar {
    width: 90%;
    left: 5%;
    right: 5%;
    bottom: 15px;
    text-align: center;
  }
}