/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================
   RESET
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --bg: #050816;
    --card: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.08);
    --text: #ffffff;
    --muted: #b8bfd3;
    --primary: #5eead4;
    --secondary: #38bdf8;
    --shadow: 0 10px 40px rgba(0,0,0,0.35);
}

body{
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 30%),
        radial-gradient(circle at bottom right, rgba(94,234,212,0.12), transparent 30%),
        var(--bg);

    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-track{
    background: #0b1120;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(var(--secondary), var(--primary));
    border-radius: 50px;
}

/* =========================
   HEADER
========================= */

header{
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 8%;
    text-align: center;
    position: relative;
}

header::before{
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(56,189,248,0.12);
    filter: blur(120px);
    border-radius: 50%;
    top: 10%;
    z-index: -1;
}

header h1{
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    max-width: 1000px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.subtitle{
    font-size: 1.2rem;
    max-width: 700px;
    color: var(--muted);
    line-height: 1.8;
}

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

nav{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    margin-top: -50px;
    margin-bottom: 80px;

    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);

    backdrop-filter: blur(18px);
    border-radius: 25px;

    box-shadow: var(--shadow);

    position: sticky;
    top: 20px;
    z-index: 999;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 25px;
    flex-wrap: wrap;
}

nav a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    transition: 0.3s ease;
}

nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right,var(--secondary),var(--primary));
    transition: 0.3s ease;
}

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

nav a:hover::after{
    width: 100%;
}

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

section{
    width: 90%;
    max-width: 1250px;
    margin: 120px auto;
}

section h2{
    font-size: clamp(2rem,4vw,3.5rem);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    font-weight: 800;
}

section h2::after{
    content: "";
    width: 100px;
    height: 5px;
    border-radius: 50px;
    background: linear-gradient(to right,var(--secondary),var(--primary));
    display: block;
    margin: 18px auto;
}

/* =========================
   GRID
========================= */

#services,
#portfolio,
#pricing{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 35px;
}

#services h2,
#portfolio h2,
#pricing h2{
    grid-column: 1/-1;
}

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

.card{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px 35px;

    backdrop-filter: blur(20px);

    position: relative;
    overflow: hidden;

    transition: 0.4s ease;

    box-shadow: var(--shadow);
}

.card::before{
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(56,189,248,0.08);
    border-radius: 50%;
    top: -60px;
    right: -60px;
    transition: 0.5s;
}

.card:hover{
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(94,234,212,0.4);
}

.card:hover::before{
    transform: scale(1.3);
}

.card h3{
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.card p{
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 15px;
    padding: 14px 28px;

    border-radius: 14px;

    background: linear-gradient(135deg,var(--secondary),var(--primary));

    color: #04111d;
    text-decoration: none;
    font-weight: 800;

    transition: 0.3s ease;
}

.btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.35);
}

/* =========================
   CONTACT
========================= */

#contact{
    text-align: center;
}

#contact p{
    font-size: 1.2rem;
    color: var(--muted);
}

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

footer{
    margin-top: 120px;
    padding: 80px 8%;
    text-align: center;

    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--border);
}

.footer-links,
.social-links{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}

footer a{
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

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

footer p{
    color: var(--muted);
    line-height: 1.8;
}

/* =========================
   PRICING SPECIAL LOOK
========================= */

#pricing .card{
    border: 1px solid rgba(94,234,212,0.15);
}

#pricing .card:nth-child(3){
    transform: scale(1.04);
    border: 1px solid rgba(94,234,212,0.35);
}

#pricing .card:nth-child(3):hover{
    transform: scale(1.07) translateY(-10px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 900px){

    nav{
        width: 95%;
    }

    nav ul{
        gap: 20px;
        padding: 20px;
    }

    header{
        min-height: 70vh;
    }

    section{
        margin: 90px auto;
    }

    .card{
        padding: 30px;
    }

    #pricing .card:nth-child(3){
        transform: none;
    }

}

@media(max-width: 600px){

    header h1{
        font-size: 2.5rem;
    }

    .subtitle{
        font-size: 1rem;
    }

    nav ul{
        flex-direction: column;
    }

    .card h3{
        font-size: 1.3rem;
    }

}