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

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

html{
    scroll-behavior:smooth;
}

body{
    background:#07101f;
    color:white;
    font-family:'Inter',sans-serif;
    line-height:1.6;
}

/* ==========================================
   CABECERA
========================================== */

header{

    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    background:rgba(7,16,31,.95);

    backdrop-filter:blur(10px);

    border-bottom:1px solid #16345f;
}

.logo h1{

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

    color:#42a5f5;

    font-size:2rem;
}

.logo span{

    color:#9bb4d1;

    font-size:.85rem;
}

/* ==========================================
   MENÚ
========================================== */

nav ul{

    display:flex;

    gap:25px;

    list-style:none;
}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;
}

nav a:hover{

    color:#42a5f5;
}

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

.hero{

    min-height:90vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px;

    background:
    radial-gradient(
        circle,
        rgba(66,165,245,.25),
        transparent 60%
    );
}

.hero-content{

    max-width:900px;
}

.hero h2{

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

    font-size:4rem;

    margin-bottom:20px;
}

.hero p{

    color:#b8c7d7;

    font-size:1.2rem;

    margin-bottom:35px;
}

/* ==========================================
   BOTONES
========================================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{

    padding:15px 30px;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.btn-primary{

    background:#42a5f5;

    color:white;
}

.btn-primary:hover{

    background:#2196f3;
}

.btn-secondary{

    border:2px solid #42a5f5;

    color:#42a5f5;
}

.btn-secondary:hover{

    background:#42a5f5;

    color:white;
}

/* ==========================================
   SECCIONES
========================================== */

.section{

    max-width:1400px;

    margin:auto;

    padding:80px 40px;
}

.section h2{

    text-align:center;

    color:#42a5f5;

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

    margin-bottom:30px;
}

.intro{

    text-align:center;

    max-width:900px;

    margin:auto;

    color:#b8c7d7;
}

/* ==========================================
   TARJETAS
========================================== */

.cards{

    display:grid;

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

    gap:25px;
}

.card{

    background:#0f1c33;

    border:1px solid #1f4f8f;

    border-radius:15px;

    padding:25px;

    transition:.3s;
}

.card:hover{

    transform:translateY(-6px);

    border-color:#42a5f5;

    box-shadow:0 0 20px rgba(66,165,245,.3);
}

.card h3{

    color:#42a5f5;
}

/* ==========================================
   FOOTER
========================================== */

footer{

    text-align:center;

    padding:60px 20px;

    background:#050b14;
}

/* ==========================================
   MENÚ RESPONSIVE
========================================== */

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:white;

    font-size:2rem;

    cursor:pointer;
}

@media (max-width:900px){

    .menu-toggle{
        display:block;
    }

    nav{
        display:none;
        width:100%;
        margin-top:15px;
    }

    nav.open{
        display:block;
    }

    nav ul{

        flex-direction:column;

        align-items:center;
    }

    .hero h2{
        font-size:2.3rem;
    }

    .hero-buttons{
        flex-direction:column;
    }
}