/* ===============================
   GLOBAL THEME
=================================*/

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --accent: #a78bfa;
    --black: #020617;
    --card: #0b1120;
    --text: #cbd5e1;
    --border: rgba(124, 58, 237, .15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: #e2e8f0;
    padding-top: 80px;
}

/* ===============================
   NAVBAR
=================================*/

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 6, 23, .85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 14px 6%;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 60px;
    transition: .3s;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

/* MENU */

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: .3s;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

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

.hero {
    height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--black);

    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);

    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
}

/* Glow Effects */

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 70%);
    top: -200px;
    left: -200px;
    filter: blur(120px);
    animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, .25), transparent 70%);
    bottom: -200px;
    right: -200px;
    filter: blur(120px);
    animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 40px);
    }
}

/* TEXT */

.hero h1 {
    font-size: 68px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero span {
    background: linear-gradient(90deg,
            #c4b5fd,
            #7c3aed,
            #4c1d95);

    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 200%;
    }
}

.subtitle {
    margin: 20px auto;
    opacity: .8;
    max-width: 600px;
    line-height: 1.6;
}

.tag {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: .35s;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, .35);
}

.btn-secondary {
    border: 1px solid var(--primary);
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: .3s;
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, .12);
}

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

.stats {
    display: flex;
    justify-content: space-around;
    padding: 90px 20px;
    flex-wrap: wrap;
    gap: 40px;
}

.stat h2 {
    font-size: 44px;
    color: var(--primary);
}

/* ===============================
   SERVICES
=================================*/

.services {
    padding: 110px 8%;
    text-align: center;
}

.section-title {
    font-size: 42px;
    margin-bottom: 10px;
}

.cards {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

.card {
    flex: 1;
    padding: 45px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: .4s;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(124, 58, 237, .25);
}

/* ===============================
   ABOUT
=================================*/

.about {
    padding: 110px 8%;
    color: var(--text);
    text-align: center;
}

.about h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: white;
}

.about p {
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.cta {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #7c3aed22, #4c1d9522);
}

.big {
    font-size: 20px;
    margin-top: 20px;
    display: inline-block;
}

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

.footer {
    background: var(--black);
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px 60px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-col a {
    display: block;
    color: var(--text);
    text-decoration: none;
    margin: 8px 0;
    transition: .3s;
}

.footer-col a:hover {
    color: var(--primary);
}

/* SOCIAL */

.socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 15px;
}

.social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
    transition: .3s;
    flex-shrink: 0;
}

.social i {
    color: #cbd5e1;
    transition: .3s;
    font-size: 20px;
    line-height: 2;
    /* prevents vertical shift */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social:hover {
    background: var(--primary);
    transform: translateY(-6px);
}

.social:hover i {
    color: white;
}

/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    color: #94a3b8;
}

.legal a {
    color: #94a3b8;
    margin-left: 20px;
    text-decoration: none;
}

.legal a:hover {
    color: var(--primary);
}

/* ===============================
   ANIMATIONS
=================================*/

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.fade-in {
    opacity: 0;
    transition: 1s;
}

.show {
    opacity: 1;
    transform: none;
}

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

@media(max-width:768px) {

    .logo img {
        height: 40px;
    }

    .nav-menu {
        position: absolute;
        right: 20px;
        top: 70px;
        flex-direction: column;
        background: #020617;
        padding: 25px;
        border-radius: 12px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 40px;
    }

    .cards {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================= */
/* CLIENTS SECTION */
/* ============================= */

.clients{
padding:120px 8%;
background:#020617;
text-align:center;
position:relative;
overflow:hidden;
}

/* Background glow */

.clients::before{
content:"";
position:absolute;
width:600px;
height:600px;
background:radial-gradient(circle, rgba(139,92,246,.15), transparent 70%);
top:-200px;
left:-200px;
filter:blur(120px);
z-index:0;
}

.clients::after{
content:"";
position:absolute;
width:500px;
height:500px;
background:radial-gradient(circle, rgba(124,58,237,.15), transparent 70%);
bottom:-200px;
right:-200px;
filter:blur(120px);
z-index:0;
}

/* Titles */

.section-title{
font-size:42px;
color:white;
margin-bottom:10px;
position:relative;
z-index:2;
}

.section-subtitle{
color:#94a3b8;
margin-bottom:60px;
font-size:18px;
position:relative;
z-index:2;
}

/* ============================= */
/* CARDS CONTAINER */
/* ============================= */

.client-cards{
display:flex;
flex-direction:column;
gap:30px;
max-width:900px;
margin:auto;
position:relative;
z-index:2;
}

/* ============================= */
/* CARD */
/* ============================= */

.client-card{
position:relative;
background:linear-gradient(135deg,#0f172a,#020617);
padding:40px;
border-radius:20px;
border:1px solid rgba(255,255,255,.05);
transition:.4s ease;
overflow:hidden;
z-index:1;
}

/* Glow border */

.client-card::before{
content:"";
position:absolute;
inset:0;
border-radius:20px;
padding:1px;
background:linear-gradient(120deg,#291f3b,#4d3585,#19393f,#3e2173);
background-size:300%;
opacity:0;
transition:.4s;
z-index:0;
}

.client-card:hover::before{
opacity:1;
animation:borderGlow 6s linear infinite;
}

/* Shimmer */

.client-card::after{
content:"";
position:absolute;
top:-100%;
left:-100%;
width:200%;
height:200%;
background:linear-gradient(120deg, transparent, hwb(236 0% 76% / 0.578), transparent);
transform:rotate(35deg);
opacity:0;
transition:.6s;
z-index:0;
}

.client-card:hover::after{
opacity:1;
top:-20%;
left:-20%;
}

/* Hover lift */

.client-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 60px rgba(139,92,246,.2);
}

/* ============================= */
/* CONTENT FIX */
/* ============================= */

.client-card *{
position:relative;
z-index:2;
}

/* Header */

.client-header{
display:flex;
align-items:center;
gap:18px;
justify-content:center;
margin-bottom:12px;
flex-wrap:wrap;
}

/* Logo */

.client-header img{
height:55px;
width:auto;
object-fit:contain;
filter:grayscale(30%) brightness(.8);
transition:.4s;
}

.client-card:hover img{
filter:none;
transform:scale(1.05);
}

/* Domain */

.client-domain{
color:#7452c4;
font-weight:600;
margin-bottom:10px;
font-size:15px;
letter-spacing:.5px;
}

/* Description */

.client-desc{
color:#cbd5e1;
max-width:600px;
margin:auto;
line-height:1.7;
font-size:16px;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes borderGlow{
0%{background-position:0%}
100%{background-position:300%}
}

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

@media(max-width:768px){

.client-card{
padding:25px;
}

.section-title{
font-size:32px;
}

.section-subtitle{
font-size:16px;
}

.client-header{
flex-direction:column;
}

}
.client-header img{
height:55px;
width:auto;
object-fit:contain;

mix-blend-mode:multiply;
filter:brightness(1.05) contrast(1.1);

background:transparent;
}
/* ============================= */
/* TRUSTED SECTION */
/* ============================= */

.trusted{
padding:90px 8%;
background:#020617;
text-align:center;
overflow:hidden;
}

.trusted-title{
font-size:34px;
margin-bottom:50px;
color:white;
}

/* ============================= */
/* SLIDER */
/* ============================= */

.logo-slider{
overflow:hidden;
position:relative;
width:100%;
}

/* TRACK */

.logo-track{
display:flex;
gap:50px;
width:max-content;
animation:scrollLogos 15s linear infinite;
}

/* LOGO CARD */

.logo-track img{
height:90px;
/* padding:18px 28px; */

background:rgba(255,255,255,.03);
border-radius:16px;
border:1px solid rgba(255,255,255,.05);

filter:grayscale(20%);
opacity:.8;

transition:.3s;
}

/* HOVER */

.logo-track img:hover{
filter:none;
opacity:1;
transform:scale(1.08);
border:1px solid #8b5cf6;
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes scrollLogos{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}
.logo img{
height:80px;   /* increase size */
width:auto;
}
@media(max-width:768px){
.logo img{
height:40px;
}
}
