html{
    scroll-behavior:smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#0f172a;
    color:white;
    min-height:100vh;
    overflow-x:hidden;
}

/* Fondo */

.background{
    position:fixed;
    inset:0;
    z-index:-1;
    background:
    radial-gradient(circle at top left, rgba(59,130,246,.35), transparent 30%),
    radial-gradient(circle at bottom right, rgba(168,85,247,.25), transparent 30%),
    #0f172a;
}

/* Header */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    position:sticky;
    top:0;
    background:rgba(15,23,42,.7);

    /* MENU MOBILE */

.mobile-menu{
    position:fixed;
    top:80px;
    right:20px;
    width:260px;

    background:rgba(15,23,42,.98);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;

    padding:20px;

    display:flex;
    flex-direction:column;
    gap:14px;

    transition:transform .3s ease;

    z-index:999;
    backdrop-filter:blur(10px);

    transform:translateX(calc(100% + 40px));
}

.mobile-menu.active{
    transform:translateX(0);
}

.mobile-menu a{
    text-decoration:none;
    color:white;
    background:rgba(255,255,255,.06);
    padding:14px;
    border-radius:14px;
    transition:.2s;
}

.mobile-menu a:hover{
    background:rgba(255,255,255,.1);
}

.mobile-menu a:hover{
    background:rgba(255,255,255,.1);
}
}

.logo{
    font-size:1.2rem;
    font-weight:700;
}

.logo span{
    color:#60a5fa;
}

.menu{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:white;
    font-size:1rem;
    cursor:pointer;
}

/* Hero */

.hero{
    text-align:center;
    padding:50px 20px 30px;
}

.hero h1{
    font-size:2.2rem;
    margin-bottom:15px;
    line-height:1.2;
}

.hero p{
    max-width:650px;
    margin:auto;
    color:#cbd5e1;
    line-height:1.6;
}

/* Buscador */

.search-box{
    max-width:700px;
    margin:35px auto 0;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:10px;
    display:flex;
    gap:10px;
}

.search-box input{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:white;
    padding:14px;
    font-size:1rem;
}

.search-box input::placeholder{
    color:#94a3b8;
}

.search-box button{
    border:none;
    background:#2563eb;
    color:white;
    padding:14px 20px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
}

/* Secciones */

.section{
    max-width:1200px;
    margin:auto;
    padding:30px 20px;
}

.section-title{
    font-size:1.3rem;
    margin-bottom:20px;
}

/* Apps */

.apps-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
    gap:16px;
}

.app-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:18px 10px;
    text-align:center;
    text-decoration:none;
    color:white;
    transition:.2s;
    will-change:transform;
    -webkit-tap-highlight-color:transparent;
}

.app-card:hover{
    transform:translateY(-4px);
    background:rgba(255,255,255,.1);
}

.app-icon{
    font-size:2rem;
    margin-bottom:10px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.app-name{
    font-size:.9rem;
}

/* Herramientas */

.tools-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.tool-card{
    background:rgba(255,255,255,.06);
    border-radius:24px;
    padding:24px;
    border:1px solid rgba(255,255,255,.08);
}

.tool-card h3{
    margin-bottom:12px;
}

.tool-card p{
    color:#cbd5e1;
    line-height:1.5;
    margin-bottom:18px;
}

.tool-card a{
    display:inline-block;
    text-decoration:none;
    background:#2563eb;
    color:white;
    padding:10px 16px;
    border-radius:12px;
    font-weight:600;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

/* Blog */

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.blog-card{
    background:rgba(255,255,255,.06);
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
}

.blog-image{
    height:160px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    overflow:hidden;
}

.blog-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.blog-content{
    padding:20px;
}

.blog-content h3{
    margin-bottom:10px;
}

.blog-content p{
    color:#cbd5e1;
    line-height:1.5;
}

/* Footer */

footer{
    text-align:center;
    padding:40px 20px;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:40px;
}

/* Responsive */

@media(max-width:768px){

.hero h1{
    font-size:1.7rem;
}

.search-box{
    flex-direction:column;
}

.search-box button{
    width:100%;
}

.apps-grid{
    grid-template-columns:repeat(4,1fr);
}

}

@media(max-width:500px){

.apps-grid{
    grid-template-columns:repeat(3,1fr);
}

.app-icon{
    font-size:1.7rem;
}

.app-name{
    font-size:.8rem;
}

}

/* BOTON VOLVER */

.back-btn{
    text-decoration:none;
    color:white;
    background:rgba(255,255,255,.08);
    padding:12px 16px;
    border-radius:12px;
}

/* FIX OVERFLOW MOBILE */

html,
body{
    overflow-x:hidden;
    max-width:100%;
}

*{
    box-sizing:border-box;
}