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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}


/* =========================================
   ACTIVE NAV STATE
========================================= */

.nav-links li.active span,
.mobile-nav li.active span {
    color: #00bfff;
    font-weight: 700;
    cursor: default;
}


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

.apple-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* IMMAGINE LAYER */
.apple-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/clients/banner.png") center center/cover no-repeat;
    z-index: 1;
}

/* OVERLAY */
.apple-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.85));
    z-index: 2;
}

/* CONTENUTO */
.apple-hero-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 750px;
    padding: 0 20px;
}

.apple-hero h1 {
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.apple-hero h2 {
    font-size: clamp(20px, 2vw, 28px);
    margin-top: 10px;
    opacity: 0.9;
}

.apple-hero p {
    margin-top: 20px;
    font-size: 18px;
    color: #ccc;
}


/* =========================================
   BUTTON
========================================= */

.apple-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 36px;
    border-radius: 40px;
    background: linear-gradient(90deg, #0071e3, #0047ab);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apple-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
}


/* =========================================
   SECTIONS
========================================= */

.apple-section {
    padding: 140px 20px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a, #0a0a0a);
}

.apple-section.light {
    background: #f5f5f7;
    color: #000;
}

.apple-container {
    max-width: 1100px;
    margin: 0 auto;
}

.apple-container.narrow {
    max-width: 650px;
}

.apple-container.center {
    text-align: center;
}


/* =========================================
   BIG STATEMENT
========================================= */

.big-text {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================
   CLIENT MOCKUPS
========================================= */

.client-logos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.client-logos a {
    width: 260px;
    border-radius: 30px;
    overflow: hidden;
    display: block;
    transition: transform 0.4s ease;
}

.client-logos a:hover {
    transform: translateY(-10px);
}

.client-logos img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================
   BENEFITS
========================================= */

.apple-section h3 {
    font-size: clamp(26px, 3vw, 40px);
    margin: 20px 0;
    font-weight: 600;
}


/* =========================================
   CTA
========================================= */

.apple-cta {
    padding: 140px 20px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a, #ffffff);
}

.apple-cta h2 {
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 600;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* HERO mobile */
    .apple-hero {
        min-height: 85vh;
        padding: 120px 20px 60px;
    }

    /* Manteniamo l'immagine, cambiamo solo posizione */
    .apple-hero::before {
        background: url("../img/clients/banner.png") center top/cover no-repeat;
    }

    .apple-hero-inner {
        max-width: 100%;
    }

    .apple-hero h1 {
        font-size: 32px;
    }

    .apple-hero h2 {
        font-size: 18px;
    }

    .apple-hero p {
        font-size: 15px;
    }

    /* 3 mockup affiancati */
    .client-logos {
        gap: 15px;
        align-items: center;
    }

    .client-logos a {
        width: 30%;
        min-width: 90px;
    }

    /* Spazi ridotti */
    .apple-section {
        padding: 90px 20px;
    }

    .apple-cta {
        padding: 100px 20px;
    }
}