@import url("../../variables.css");

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--gray-100);
    color:#222;
    overflow-x:hidden;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    position:relative;

    background:
    linear-gradient(rgba(10,10,10,.78),rgba(10,10,10,.83)),
    url("../../images/backdrop.png") center center/cover no-repeat;
}

.hero-content{
    width:min(850px,95%);
}

.badge{
    display:inline-block;
    background:var(--primary);
    color:white;
    padding:10px 24px;
    border-radius:999px;
    font-weight:600;
    margin-bottom:30px;
    letter-spacing:.5px;
}

.hero h1{
    font-size:68px;
    margin-bottom:25px;
    line-height:1.1;
}

.hero p{
    color:#ddd;
    font-size:21px;
    line-height:36px;
    margin-bottom:45px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:16px 36px;
    border-radius:var(--radius);
    text-decoration:none;
    transition:.35s;
    font-weight:600;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:var(--primary-hover);
    transform:translateY(-3px);
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.btn-secondary:hover{
    background:white;
    color:#222;
}

.stats{
    margin-top:-60px;
    position:relative;
    z-index:5;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    background:white;
    border-radius:18px;
    padding:35px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card h2{
    color:var(--primary);
    font-size:42px;
    margin-bottom:10px;
}

.stat-card span{
    color:#666;
}

.services{
    padding:120px 0;
}

.services h2{
    text-align:center;
    font-size:42px;
    margin-bottom:70px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.card{
    background:white;
    padding:40px;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    border-top:5px solid var(--primary);
    transition:.35s;
}

.card:hover{
    transform:translateY(-10px);
}

.icon{
    width:75px;
    height:75px;
    border-radius:50%;
    background:rgba(255,40,0,.08);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    margin-bottom:25px;
}

.card h3{
    margin-bottom:18px;
    font-size:24px;
}

.card p{
    color:#666;
    line-height:30px;
}

.why{
    padding:120px 0;

    background:
    linear-gradient(rgba(12,12,12,.88),rgba(12,12,12,.88)),
    url("../../images/backdrop.png") center/cover;

    color:white;
}

.why .container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.why-text h2{
    font-size:44px;
    margin-bottom:25px;
}

.why-text p{
    color:#d5d5d5;
    line-height:34px;
    margin-bottom:35px;
    font-size:18px;
}

.why-text ul{
    list-style:none;
    display:grid;
    gap:18px;
}

.why-text li{
    background:rgba(255,255,255,.08);
    padding:18px 22px;
    border-radius:12px;
    border-left:4px solid var(--primary);
    transition:.3s;
}

.why-text li:hover{
    transform:translateX(8px);
    background:rgba(255,255,255,.13);
}

.why .container::after{
    content:"";

    height:420px;
    border-radius:20px;

    background:
    linear-gradient(rgba(255,40,0,.15),rgba(255,40,0,.15)),
    url("../../images/backdrop.png") center/cover;

    box-shadow:0 20px 40px rgba(0,0,0,.3);
}

.cta{
    padding:110px 0;
    text-align:center;

    background:#171717;
    color:white;
}

.cta h2{
    font-size:44px;
    margin-bottom:20px;
}

.cta p{
    color:#ccc;
    max-width:700px;
    margin:auto;
    margin-bottom:45px;
    line-height:34px;
}

@media (max-width:1100px){

    .stats .container{
        grid-template-columns:repeat(2,1fr);
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .why .container{
        grid-template-columns:1fr;
    }

    .why .container::after{
        height:350px;
    }

}

@media (max-width:768px){

    .hero{
        min-height:100vh;
        padding:120px 0 70px;
    }

    .hero h1{
        font-size:44px;
    }

    .hero p{
        font-size:18px;
        line-height:32px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .btn{
        width:100%;
        max-width:320px;
        text-align:center;
    }

    .stats{
        margin-top:40px;
        padding:0 15px;
    }

    .stats .container{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .services{
        padding:80px 0;
    }

    .services h2,
    .why h2,
    .cta h2{
        font-size:34px;
    }

    .why{
        padding:80px 0;
    }

    .why .container::after{
        height:260px;
    }

}

@media (max-width:480px){

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
        line-height:30px;
    }

    .badge{
        font-size:14px;
    }

    .card,
    .stat-card{
        padding:25px;
    }

    .icon{
        width:60px;
        height:60px;
        font-size:26px;
    }

}