/* =========================================================
   SHOPITBET - MODERN BUSINESS WEBSITE
   ========================================================= */


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.7;
    overflow-x: hidden;
}


/* =========================
   COMMON CONTAINER
   ========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER
   ========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8, 15, 36, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

header .container {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

header h2 {
    color: white;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    cursor: pointer;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #818cf8,
        #c084fc
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================
   NAVIGATION
   ========================= */

nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    position: relative;

    color: #e2e8f0;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #8b5cf6
    );

    transition: width 0.3s ease;
}

nav a:hover {
    color: #38bdf8;
}

nav a:hover::after {
    width: 100%;
}


/* =========================
   HERO SECTION
   ========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(56, 189, 248, 0.25),
            transparent 35%
        ),

        radial-gradient(
            circle at 80% 70%,
            rgba(139, 92, 246, 0.28),
            transparent 40%
        ),

        linear-gradient(
            135deg,
            #020617,
            #0f172a,
            #172554
        );

    overflow: hidden;
}


/* Decorative glowing circle */

.hero::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    top: -150px;
    right: -100px;

    background: rgba(59, 130, 246, 0.16);

    filter: blur(10px);
}


/* Second decorative circle */

.hero::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    bottom: -170px;
    left: -80px;

    background: rgba(168, 85, 247, 0.14);

    filter: blur(10px);
}


/* Hero content */

.overlay {
    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 950px;

    padding: 140px 25px 80px;
}

.overlay h1 {
    color: white;

    font-size: clamp(42px, 7vw, 78px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -3px;

    margin-bottom: 25px;

    background: linear-gradient(
        90deg,
        #ffffff,
        #bae6fd,
        #c4b5fd
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: fadeUp 0.8s ease;
}

.overlay p {
    color: #cbd5e1;

    font-size: 20px;

    margin-bottom: 40px;

    animation: fadeUp 1s ease;
}


/* Hero Button */

.btn {
    display: inline-block;

    padding: 15px 35px;

    border-radius: 50px;

    text-decoration: none;

    color: white;

    font-size: 16px;
    font-weight: 700;

    background: linear-gradient(
        135deg,
        #0ea5e9,
        #6366f1,
        #8b5cf6
    );

    box-shadow:
        0 12px 30px rgba(79, 70, 229, 0.4);

    transition: all 0.35s ease;

    animation: fadeUp 1.2s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 18px 40px rgba(79, 70, 229, 0.5);
}


/* =========================
   GENERAL SECTION
   ========================= */

section:not(.hero) {
    padding: 100px 0;
}

section h2 {
    text-align: center;

    font-size: 42px;
    font-weight: 800;

    color: #0f172a;

    margin-bottom: 25px;

    letter-spacing: -1px;
}


/* Small underline */

section h2::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin: 12px auto 0;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #0ea5e9,
        #8b5cf6
    );
}


/* =========================
   ABOUT
   ========================= */

#about {
    background: white;
}

#about p {
    max-width: 850px;

    margin: 20px auto 0;

    text-align: center;

    font-size: 18px;

    color: #64748b;

    line-height: 1.9;
}


/* =========================
   SERVICES
   ========================= */

#services {
    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #eef2ff
        );
}

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

    margin-top: 55px;
}


/* Card */

.card {
    position: relative;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid rgba(148, 163, 184, 0.18);

    border-radius: 22px;

    padding: 40px 30px;

    min-height: 230px;

    box-shadow:
        0 10px 40px rgba(15, 23, 42, 0.06);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* Gradient line on card */

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #0ea5e9,
        #6366f1,
        #8b5cf6
    );
}

.card:hover {
    transform: translateY(-12px);

    border-color:
        rgba(99, 102, 241, 0.3);

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.13);
}

.card h3 {
    color: #0f172a;

    font-size: 22px;

    margin-bottom: 15px;

    font-weight: 750;
}

.card p {
    color: #64748b;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================
   WHY CHOOSE US
   ========================= */

.why {
    position: relative;

    color: white;

    background:
        linear-gradient(
            135deg,
            #020617,
            #172554,
            #312e81
        );

    overflow: hidden;
}

.why::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    background: rgba(56, 189, 248, 0.15);

    border-radius: 50%;

    top: -180px;
    right: -80px;
}

.why h2 {
    color: white;
}

.why ul {
    list-style: none;

    max-width: 900px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.why li {
    padding: 22px 28px;

    font-size: 18px;
    font-weight: 600;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    backdrop-filter: blur(12px);

    transition: 0.3s ease;
}

.why li:hover {
    transform: translateY(-5px);

    background:
        rgba(255, 255, 255, 0.13);
}


/* =========================
   CONTACT
   ========================= */

#contact {
    background: #f8fafc;
}

#contact form {
    max-width: 700px;

    margin: 50px auto 0;

    padding: 45px;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.1);
}


/* Inputs */

form input,
form textarea {
    display: block;

    width: 100%;

    margin-bottom: 18px;

    padding: 16px 18px;

    font-family: inherit;

    font-size: 15px;

    color: #0f172a;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

form textarea {
    resize: vertical;

    min-height: 150px;
}

form input:focus,
form textarea:focus {
    background: white;

    border-color: #6366f1;

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.1);
}


/* Placeholder */

form input::placeholder,
form textarea::placeholder {
    color: #94a3b8;
}


/* Send button */

form button {
    width: 100%;

    border: none;

    padding: 16px 25px;

    border-radius: 12px;

    cursor: pointer;

    color: white;

    font-size: 16px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #0ea5e9,
            #6366f1,
            #8b5cf6
        );

    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

form button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(99, 102, 241, 0.4);
}


/* =========================
   FOOTER
   ========================= */

footer {
    background: #020617;

    color: #94a3b8;

    text-align: center;

    padding: 28px 15px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    font-size: 14px;
}


/* =========================
   SELECTION COLOR
   ========================= */

::selection {
    background: #6366f1;
    color: white;
}


/* =========================
   SCROLLBAR
   ========================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            #0ea5e9,
            #6366f1
        );

    border-radius: 10px;
}


/* =========================
   ANIMATION
   ========================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1000px) {

    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    header .container {
        height: auto;

        padding: 18px 0;

        flex-direction: column;

        gap: 12px;
    }


    header h2 {
        font-size: 26px;
    }


    nav {
        gap: 18px;

        flex-wrap: wrap;

        justify-content: center;
    }


    nav a {
        font-size: 14px;
    }


    .overlay {
        padding-top: 180px;
    }


    .overlay h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .overlay p {
        font-size: 17px;
    }


    section:not(.hero) {
        padding: 75px 0;
    }


    section h2 {
        font-size: 34px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .why ul {
        grid-template-columns: 1fr;
    }


    #contact form {
        padding: 30px 22px;
    }

}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


    nav {
        gap: 12px;
    }


    nav a {
        font-size: 13px;
    }


    .overlay h1 {
        font-size: 37px;
    }


    .overlay p {
        font-size: 15px;
    }


    .btn {
        padding: 13px 27px;
    }


    section h2 {
        font-size: 30px;
    }


    .card {
        padding: 32px 25px;
    }

}