/* --- VARIABLES Y FUENTES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700;900&display=swap');

:root {
    --teal-main: #008080; /* Tu color identidad */
    --teal-light: #00b3b3;
    --teal-dark: #004d4d;
    --teal-bg: #e6f2f2;
    --texto-oscuro: #1e293b;
    --texto-gris: #64748b;
    --bg-blanco: #ffffff;
    --bg-gris: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { background-color: var(--bg-blanco); color: var(--texto-oscuro); line-height: 1.6; }

/* --- UTILIDADES Y ANIMACIONES --- */
.oculto { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.visible { opacity: 1; transform: translateY(0); }

.bg-light { background-color: var(--bg-gris); }

/* --- BOTONES --- */
.btn-teal { background: var(--teal-main); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; border: none; cursor: pointer; display: inline-block; }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,128,128,0.2); }

.btn-teal-outline { border: 2px solid var(--teal-main); color: var(--teal-main); padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-teal-outline:hover { background: var(--teal-main); color: #fff; }

.btn-teal-text { color: var(--teal-main); text-decoration: none; font-weight: bold; padding: 12px; transition: 0.3s; }
.btn-teal-text:hover { color: var(--teal-dark); }

.btn-large { font-size: 1.2rem; padding: 15px 40px; }

/* --- HEADER --- */
.header-pos { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #e2e8f0; }
.logo-pos { font-size: 1.5rem; font-weight: 900; color: var(--texto-oscuro); display: flex; align-items: center; gap: 10px; }
.logo-icon { color: var(--teal-main); font-size: 1.8rem; }
nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
nav a:not(.btn-teal-outline) { text-decoration: none; color: var(--texto-gris); font-weight: 500; transition: 0.3s; }
nav a:not(.btn-teal-outline):hover { color: var(--teal-main); }

/* --- HERO --- */
.hero-pos { display: flex; align-items: center; justify-content: space-between; padding: 80px 5%; max-width: 1400px; margin: 0 auto; min-height: 80vh; }
.hero-text { flex: 1; padding-right: 50px; }
.badge-teal { background: var(--teal-bg); color: var(--teal-dark); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; margin-bottom: 20px; display: inline-block; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--texto-oscuro); font-weight: 900; }
.hero-text p { font-size: 1.2rem; color: var(--texto-gris); margin-bottom: 30px; }
.hero-botones { display: flex; gap: 20px; align-items: center; }

.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.mockup-pantalla { width: 100%; max-width: 600px; background: #e2e8f0; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid #cbd5e1; }
.mockup-header { background: #f1f5f9; padding: 10px; display: flex; gap: 8px; border-bottom: 1px solid #e2e8f0; }
.mockup-header span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.mockup-header span:nth-child(1) { background: #ff5f56; }
.mockup-header span:nth-child(2) { background: #ffbd2e; }
.mockup-header span:nth-child(3) { background: #27c93f; }
.mockup-body { height: 350px; background-color: #fff; background-size: cover; background-position: center; }

/* --- TRUST BAR --- */
.trust-bar { text-align: center; padding: 40px 20px; border-bottom: 1px solid #e2e8f0; }
.trust-bar p { color: var(--texto-gris); font-size: 0.9rem; font-weight: bold; letter-spacing: 2px; margin-bottom: 20px; }
.trust-logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.trust-brand { font-size: 1.5rem; font-weight: 900; color: #cbd5e1; /* Gris clarito para no robar atención */ }

/* --- SECCIONES GENÉRICAS --- */
.seccion-pos { padding: 100px 5%; }
.seccion-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.seccion-header h2 { font-size: 2.5rem; color: var(--texto-oscuro); margin-bottom: 15px; }
.seccion-header p { font-size: 1.2rem; color: var(--texto-gris); }

/* --- CARACTERÍSTICAS --- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.feature-box { background: var(--bg-blanco); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border-top: 4px solid transparent; }
.feature-box:hover { transform: translateY(-10px); border-top-color: var(--teal-main); box-shadow: 0 15px 40px rgba(0,128,128,0.1); }
.feature-icon { font-size: 3rem; margin-bottom: 20px; }
.feature-box h3 { font-size: 1.3rem; margin-bottom: 15px; }
.feature-box p { color: var(--texto-gris); }

/* --- VIDEO --- */
.video-wrapper { max-width: 900px; margin: 0 auto; border-radius: 15px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border: 8px solid var(--texto-oscuro); }
.video-pos { display: block; }

/* --- GALERÍA --- */
.grid-galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.galeria-item { height: 250px; background-color: #cbd5e1; background-size: cover; background-position: center; border-radius: 15px; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.galeria-item:hover { transform: scale(1.03); box-shadow: 0 15px 30px rgba(0,128,128,0.2); border: 2px solid var(--teal-main); }

/* --- CTA (DESCARGA) --- */
.cta-pos { background: var(--teal-main); color: #fff; padding: 100px 20px; text-align: center; }
.cta-content h2 { font-size: 3rem; margin-bottom: 20px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.cta-content .btn-teal { background: #fff; color: var(--teal-main); }
.cta-content .btn-teal:hover { background: var(--bg-gris); }
.req-sistema { font-size: 0.85rem !important; margin-top: 15px; opacity: 0.7 !important; }

/* --- FOOTER --- */
.footer-pos { text-align: center; padding: 30px; background: var(--texto-oscuro); color: #94a3b8; }

/* --- MODAL LIGHTBOX --- */
.modal-lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.9); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.modal-img { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: zoom 0.3s; }
.cerrar-modal { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 50px; cursor: pointer; transition: 0.3s; }
.cerrar-modal:hover { color: var(--teal-main); transform: scale(1.1); }
@keyframes zoom { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* --- BOTONES DE LA SECCIÓN DE DESCARGAS MULTIPLATAFORMA --- */
.descarga-botones {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 30px;
}

.btn-blanco {
    background-color: var(--bg-blanco);
    color: var(--teal-main);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 900;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-blanco:hover {
    background-color: var(--bg-gris);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.btn-deshabilitado {
    background-color: rgba(255, 255, 255, 0.15); /* Blanco muy transparente */
    color: rgba(255, 255, 255, 0.6); /* Texto semi-transparente */
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-deshabilitado .dev-tag {
    font-size: 0.75rem;
    margin-top: 5px;
    letter-spacing: 1px;
    opacity: 0.8;
}