/*==================================================
MI ESPACIO
==================================================*/

.hero-space{
    padding:170px 0 90px;
    text-align:center;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 24px;
    border-radius:50px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:var(--primary);
    font-weight:600;
    margin-bottom:28px;
}

.hero-space h1{
    font-size:68px;
    line-height:1.1;
    margin-bottom:24px;
}

.hero-space p{
    width:min(760px,90%);
    margin:auto;
    font-size:22px;
    color:var(--text-light);
    line-height:1.8;
}

.hero-actions{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:50px;
    flex-wrap:wrap;
}

/*==================================================
SECCIONES
==================================================*/

.platforms,
.downloads,
.resources,
.support,
.coming-soon{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:65px;
}

.section-badge{
    display:inline-block;
    padding:10px 20px;
    border-radius:40px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    color:var(--primary);
    font-weight:600;
    margin-bottom:18px;
}

.section-title h2{
    font-size:42px;
    margin-bottom:18px;
}

.section-title p{
    max-width:760px;
    margin:auto;
    color:var(--text-light);
    line-height:1.8;
}

/*==================================================
STATS
==================================================*/

.stats{
    padding:30px 0 90px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    padding:35px;
    text-align:center;
    transition:.30s;
}

.stat-card:hover{
    transform:translateY(-6px);
    border-color:var(--primary);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.stat-card h2{
    font-size:42px;
    color:var(--primary);
    margin-bottom:10px;
}

.stat-card span{
    color:var(--text-light);
    font-size:16px;
    display:block;
}

/*==================================================
GRIDS
==================================================*/

.platform-grid,
.download-grid,
.resource-grid,
.support-grid,
.coming-grid{
    display:grid;
    gap:30px;
}

.platform-grid{
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
}

.download-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.resource-grid{
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}

.support-grid{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.coming-grid{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
/*==================================================
PLATAFORMAS
==================================================*/

.platform-card{
    position:relative;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;

    padding:38px;

    backdrop-filter:blur(12px);

    transition:.35s;
}

.platform-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(0,0,0,.20);

}

.platform-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:4px;

    background:linear-gradient(
        90deg,
        var(--primary),
        transparent
    );

    opacity:0;

    transition:.35s;

}

.platform-card:hover::before{

    opacity:1;

}

/*==================================================
HEADER
==================================================*/

.platform-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    margin-bottom:28px;

}

.platform-logo{

    width:90px;

    height:90px;

    object-fit:contain;

}

.platform-status{

    padding:8px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

}

.platform-status.online{

    background:rgba(37,211,102,.15);

    color:#25d366;

}

/*==================================================
TEXTOS
==================================================*/

.platform-card h3{

    font-size:34px;

    margin-bottom:16px;

}

.platform-card p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:28px;

}

/*==================================================
CHIPS
==================================================*/

.platform-chips{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:30px;

}

.platform-chips span{

    padding:8px 16px;

    border-radius:50px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    color:var(--text-light);

    font-size:14px;

}

/*==================================================
INFORMACION
==================================================*/

.platform-info{

    display:flex;

    flex-direction:column;

    gap:14px;

    margin-bottom:35px;

}

.platform-info div{

    display:flex;

    align-items:center;

    gap:14px;

    color:var(--text-light);

    font-size:15px;

}

.platform-info span{

    color:inherit;

}

/*==================================================
BOTONES
==================================================*/

.platform-buttons{

    display:flex;

    gap:15px;

    margin-top:auto;

}

.platform-buttons .btn{

    flex:1;

    justify-content:center;

}

.platform-card small{

    display:block;

    margin-top:22px;

    color:var(--text-light);

    font-size:14px;

}

/*==================================================
IMAGEN DECORATIVA (opcional)
==================================================*/

.platform-card .preview{

    width:100%;

    margin-bottom:28px;

    border-radius:18px;

    overflow:hidden;

}

.platform-card .preview img{

    width:100%;

    display:block;

    transition:.35s;

}

.platform-card:hover .preview img{

    transform:scale(1.03);

}

/*==================================================
FOOTER
==================================================*/

.footer{

    margin-top:120px;

}

@media (max-width:768px){

    .footer{

        margin-top:80px;

    }

}

.portal-actions{

    display:flex;

    align-items:center;

}

.back-btn{

    width:46px;

    height:46px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.10);

    background:rgba(255,255,255,.05);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.3s;

    font-size:18px;

}

.back-btn:hover{

    background:var(--primary);

    border-color:var(--primary);

    color:#fff;

    transform:translateY(-2px);

}
