/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    font-size: 18px;
}

body{

    font-family:'Inter',sans-serif;

    background:#050505;
    color:#a1a1aa;

    min-height:100vh;

    display:flex;
    flex-direction:column;

    background-size:80px 80px;

    background-image:
        linear-gradient(
            to right,
            rgba(255,255,255,.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(255,255,255,.02) 1px,
            transparent 1px
        );

}

a{
    text-decoration:none;
}

/* ==========================================================
   LAYOUT
========================================================== */

.container-custom{

    max-width:1280px;

    width:100%;

    margin:auto;

    padding-left:24px;
    padding-right:24px;

}

.site-main{

    flex:1;

}

/* ==========================================================
   HEADER
========================================================== */

.site-header{

    padding-top:24px;
    padding-bottom:24px;

}

.site-header .container-custom{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* ==========================================================
   LOGO
========================================================== */

.site-logo{

    display:flex;

    align-items:center;

    gap:14px;

}

.logo-icon{

    width:28px;

    height:28px;

}

.logo-text{

    color:white;

    font-size:1.15rem;

    font-weight:700;

    letter-spacing:-.02em;

}

/* ==========================================================
   NAVIGATION
========================================================== */

.main-nav{

    display:flex;

    gap:34px;

}

.main-nav a{

    color:#a1a1aa;

    font-size:.95rem;

    font-weight:500;

    transition:.2s;

}

.main-nav a:hover{

    color:white;

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    min-height:78vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-left{

    max-width:640px;

}

.hero-subtitle{

    color:#71717a;

    font-size:.75rem;

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:600;

}

.hero-title{

    margin-top:18px;

    color:white;

    font-size:5rem;

    line-height:1;

    font-weight:700;

    letter-spacing:-3px;

}

.hero-title span{

    display:block;

}

.hero-normal{

    color:#cfcfcf;

    font-weight:400;

}

.hero-grey{

    color:#71717a;

}

.hero-description{

    margin-top:28px;

    color:#a1a1aa;

    line-height:1.8;

    font-size:1.05rem;

}

.hero-buttons{

    margin-top:42px;

    display:flex;

    gap:18px;

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn-primary{

    display:inline-block;

    background:white;

    color:black;

    border-radius:999px;

    padding:14px 28px;

    font-weight:600;

    transition:.2s;

}

.btn-primary:hover{

    background:#e4e4e7;

}

.btn-secondary{

    display:inline-block;

    border:1px solid #27272a;

    color:white;

    border-radius:999px;

    padding:14px 28px;

    transition:.2s;

}

.btn-secondary:hover{

    background:#18181b;

}

/* ==========================================================
   HERO SVG
========================================================== */

.hero-right{

    display:flex;

    justify-content:center;

}

.hero-svg{

    width:100%;

    max-width:460px;

    height:auto;

}

.glow-blue{

    filter:drop-shadow(0 0 25px rgba(59,130,246,.6));

}

.glow-cyan{

    filter:drop-shadow(0 0 35px rgba(34,211,238,.7));

}

/* ==========================================================
   FOOTER
========================================================== */
.site-footer{
    margin-top:80px;
    border-top:1px solid #18181b;
    background:rgba(0,0,0,.45);
}

.site-footer .container-custom{
    padding:40px 0;
}


.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.footer-logo-icon{
    width:24px;
    height:24px;
}

.footer-logo span{
    color:white;
    font-size:1rem;
    font-weight:600;
}

.footer-top{
    margin-bottom:35px;
}

.footer-text{
    width:100%;
    max-width:none;      /* elimina el límit dels 650-700 px */
    text-align:center;   /* o left si ho prefereixes */
    color:#71717a;
    font-size:.78rem;
    line-height:1.6;
}

.footer-text p{
    margin:0 0 .8rem;
}

.footer-funding-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
}

.footer-funding-logos a {
    flex: 0 0 auto;
}

.footer-funding-logos img {
    height: 90px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform .2s;
}

.footer-funding-logos a:hover img {
    transform: scale(1.05);
}

@media (max-width:900px){

    .footer-top{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-text{
        text-align:center;
    }

    .footer-funding-logos {
        gap: 24px;
    }

    .footer-funding-logos img {
        height: 75px;
        max-width: 220px;
    }
}



/* ==========================================================
   STATS
========================================================== */

.stats{

    margin-top:80px;

}

.stats h2{

    color:white;

    font-size:2rem;

    margin-bottom:25px;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.stat-card{

    background:#09090b;

    border:1px solid #18181b;

    border-radius:16px;

    padding:30px;

}

.stat-title{

    color:#71717a;

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:1px;

}

.stat-value{

    margin-top:12px;

    color:white;

    font-size:2.6rem;

    font-weight:700;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:900px){

    .hero{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-left{

        max-width:100%;

    }

    .hero-buttons{

        justify-content:center;

    }

    .main-nav{

        display:none;

    }

    .footer-content{

        flex-direction:column;

    }

    .footer-text{

        text-align:left;

    }

}