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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Poppins", Arial, sans-serif;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(7, 16, 45, 0.72),
            rgba(3, 10, 30, 0.82)
        ),
        url("/static/images/1.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow-x: hidden;
}


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

.navbar {

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 5%;

    position: relative;
    z-index: 10;
}


.logo {

    color: #ffffff;

    font-size: 1.7rem;
    font-weight: 600;

    text-decoration: none;

    letter-spacing: 0.3px;

    transition: 0.3s;
}

.logo:hover {
    opacity: 0.8;
}


/* RIGHT NAV */

.nav-right {

    display: flex;

    align-items: center;

    gap: 15px;
}


/* =========================================================
   LANGUAGE SELECTOR
========================================================= */

.language-selector {

    width: 115px;
    height: 40px;

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 7px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.language-selector select {

    width: 100%;
    height: 100%;

    padding: 0 10px;

    color: #ffffff;

    background: transparent;

    border: none;
    outline: none;

    font-size: 0.9rem;

    cursor: pointer;
}

.language-selector select option {

    color: #111827;

    background: #ffffff;
}


/* =========================================================
   LOGIN
========================================================= */

.login-button {

    height: 40px;

    min-width: 100px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 7px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    text-decoration: none;

    font-size: 0.9rem;

    transition: 0.3s;
}

.login-button:hover {

    background: rgba(255, 255, 255, 0.18);

    transform: translateY(-2px);
}


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

.hero {

    min-height: calc(100vh - 90px);

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px 20px 100px;
}


.hero-content {

    width: 100%;

    max-width: 900px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* =========================================================
   BADGE
========================================================= */

.badge {

    display: inline-flex;

    align-items: center;

    padding: 9px 18px;

    margin-bottom: 25px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.09);

    backdrop-filter: blur(8px);

    color: #dbeafe;

    font-size: 0.9rem;
}


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

.hero h1 {

    max-width: 800px;

    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.hero h1 span {

    color: #60a5fa;
}


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

.hero h2 {

    font-size: clamp(1.4rem, 3vw, 2rem);

    font-weight: 500;

    margin-bottom: 20px;

    color: #e5e7eb;
}


.hero p {

    color: #d1d5db;

    font-size: 1rem;

    line-height: 1.7;

    max-width: 700px;
}

.hero p + p {

    margin-top: 3px;
}


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

.hero-buttons {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 35px;
}


/* PRIMARY BUTTON */

.primary-button {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 9px;

    color: #ffffff;

    background: #2563eb;

    text-decoration: none;

    font-size: 1rem;

    font-weight: 500;

    transition: 0.3s;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.25);
}

.primary-button span {

    font-size: 1.3rem;

    transition: 0.3s;
}

.primary-button:hover {

    background: #1d4ed8;

    transform: translateY(-3px);
}

.primary-button:hover span {

    transform: translateX(4px);
}


/* SECONDARY BUTTON */

.secondary-button {

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 9px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(8px);

    text-decoration: none;

    font-size: 1rem;

    transition: 0.3s;
}

.secondary-button:hover {

    background: rgba(255, 255, 255, 0.15);

    transform: translateY(-3px);
}


/* =========================================================
   FEATURES
========================================================= */

.features {

    width: 90%;

    max-width: 1250px;

    margin: -30px auto 70px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


/* FEATURE CARD */

.feature-card {

    min-height: 145px;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 25px 20px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    background: rgba(20, 35, 70, 0.45);

    backdrop-filter: blur(12px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    transition: 0.3s;
}

.feature-card:hover {

    transform: translateY(-7px);

    background: rgba(30, 50, 90, 0.6);

    border-color: rgba(255, 255, 255, 0.22);
}


/* FEATURE ICON */

.feature-icon {

    width: 48px;
    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(37, 99, 235, 0.2);

    font-size: 1.5rem;
}


/* FEATURE TEXT */

.feature-card h3 {

    color: #ffffff;

    font-size: 1rem;

    margin-bottom: 8px;
}

.feature-card p {

    color: #cbd5e1;

    font-size: 0.85rem;

    line-height: 1.5;
}


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

.footer {

    width: 100%;

    padding: 25px 20px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(0, 0, 0, 0.15);
}

.footer p {

    color: #94a3b8;

    font-size: 0.8rem;

    line-height: 1.6;
}


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


/* TABLET */

@media (max-width: 900px) {

    .features {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .hero {

        padding-bottom: 80px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .navbar {

        padding: 18px 20px;

    }

    .logo {

        font-size: 1.2rem;

    }

    .nav-right {

        gap: 8px;

    }

    .language-selector {

        width: 95px;

    }

    .login-button {

        min-width: 80px;

        padding: 0 12px;

    }


    .hero {

        min-height: auto;

        padding:
            70px
            20px
            80px;

    }

    .hero h1 {

        font-size: 3rem;

        letter-spacing: -1px;

    }

    .hero h2 {

        font-size: 1.3rem;

    }


    .hero-buttons {

        width: 100%;

        flex-direction: column;

    }

    .primary-button,
    .secondary-button {

        width: 100%;

        max-width: 330px;

    }


    .features {

        width: 90%;

        grid-template-columns: 1fr;

        margin-top: 0;

    }

    .feature-card {

        min-height: auto;

    }

}


/* SMALL MOBILE */

@media (max-width: 400px) {

    .navbar {

        align-items: flex-start;

    }

    .nav-right {

        flex-direction: column;

    }

    .language-selector,
    .login-button {

        width: 90px;

    }

}

