/* RESET */
* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

/* BODY */
body {
    background:
        radial-gradient(circle at top,
            #081229 0%,
            #050816 60%);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    border-bottom:
        1px solid rgba(255,255,255,0.06);
    background:
        rgba(5, 8, 22, 0.88);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* BRAND */
.brand {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.brand-white {
    color: #ffffff;
}

.brand-blue {
    color: #3b82f6;
    margin-left: 2px;
    text-shadow:
        0 0 15px rgba(59,130,246,0.5);
}

/* MENU */
.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: #e7ecff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #4da3ff;
}

/* HERO */
.hero {
    min-height:
        calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:50px;
    padding:25px 8% 0;
    margin-top:-100px;
}

/* LEFT */
.hero-left {
    flex: 1;
}

.subtitle {
    color: #4da3ff;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero h2 {
    font-size: 3.3rem;
    background:
        linear-gradient(to right,
            #4da3ff,
            #1e5eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.description {
    color: #b9c2dd;
    line-height: 1.9;
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 40px;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background:
        linear-gradient(to right,
            #2563eb,
            #3b82f6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 25px rgba(59,130,246,0.4);
}

.btn-secondary {
    border:
        1px solid rgba(255,255,255,0.15);
    color: white;
}

.btn-secondary:hover {
    background:
        rgba(255,255,255,0.05);
}

/* RIGHT */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* IMATGE */
.setup-image {
    width: 100%;
    max-width: 650px;
    border-radius: 25px;
    border:
        1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 40px rgba(37,99,235,0.15);
    object-fit: cover;
}

/* CARDS */
.cards {
    padding: 10px 8% 40px;
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
     margin-top:-100px;
}

.card {
    background:
        rgba(255,255,255,0.03);
    border:
        1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 30px;
    transition: 0.3s;
    
}

.card:hover {
    transform: translateY(-5px);
    border-color:
        rgba(77,163,255,0.4);
    box-shadow:
        0 0 20px rgba(37,99,235,0.12);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.card p {
    color: #b9c2dd;
    line-height: 1.7;
}

/* TABLET */
@media(max-width: 1200px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 120px;
    }

    .description {
        margin:
            auto auto 40px;
    }

    .buttons {
        justify-content: center;
    }

    .cards {
        padding-top: 120px;
        grid-template-columns:
            repeat(2, 1fr);
    }
}

/* MOBILE */
@media(max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 25px;
    }

    .brand {
        font-size: 1.7rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .description {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .cards {
        padding-top: 120px;
        grid-template-columns: 1fr;
    }
}