/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-tap-highlight-color: transparent;
}
body {
    scroll-behavior: smooth;
}

/* ================= CONTAINER ================= */
.container {
    width: 80%;
    margin: auto;
}

/* ================= HEADER (ISOLATED) ================= */
header {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1100; /* MAIN/FOOTER ustida */
    background: #ffffff;
}

.logo img {
    width: 180px;
}

.logo__link {
    text-decoration: none;
    cursor: pointer;
}

/* NAV LINKS (DESKTOP) */
.links {
    display: flex;
    align-items: center;
}

.links ul {
    margin-right: 20px;
    display: flex;
    gap: 30px;
}

.links ul li {
    list-style: none;
    font-weight: 600;
    font-size: 20px;
}

.links ul a {
    color: #017dca;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;
    transition: all 0.2s ease;
}

.links ul a:hover {
    color: #01368d;
}

.active {
    color: #01368d !important;
    border-bottom: 2px solid #01368d !important;
}

/* LOGIN */
.login button {
    border: 2px solid #017dca;
    border-radius: 7px;
    cursor: pointer;
    color: #017dca;
    background-color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 15px;
    transition: all 0.2s ease;
}

.login button:hover {
    color: #fff;
    background-color: #017dca;
}

.nav-close{
    display: none;
    color: #017dca;
    font-weight: 600;
    font-size: 24px;
    cursor: pointer;
}

/* ================= BURGER ================= */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 3px;
    background: #017dca;
    border-radius: 3px;
}

/* ================= MAIN (SAFE ZONE) ================= */
.main {
    min-height: calc(100vh - 120px);
    background:
            radial-gradient(circle at top, rgba(1,125,202,0.08), transparent 60%),
            #f7f9fb;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= HERO ================= */
.hero {
    width: 100%;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.hero-container {
    max-width: 860px;
    background: #ffffff;
    padding: 60px 55px;
    border-radius: 22px;
    text-align: center;
    box-shadow:
            0 30px 60px rgba(0,0,0,0.08),
            0 8px 20px rgba(0,0,0,0.05);
}

.hero-badge {
    display: inline-block;
    background: rgba(1,125,202,0.12);
    color: #017dca;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 45px;
}

/* ACTIONS */
.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn {
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/*.btn.primary {*/
/*    background: linear-gradient(135deg, #017dca, #005fa3);*/
/*    color: #ffffff;*/
/*}*/

/*.btn.primary:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 7px 15px rgba(1,125,202,0.45);*/
/*}*/

.btn.outline {
    border: 2px solid #017dca;
    color: #017dca;
}

.btn.outline:hover {
    background: #017dca;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ================= FOOTER ================= */
.site-footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    padding: 70px 20px 45px;
    color: #cbd5e1;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.footer-logo {
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #fff;
}

.footer-logo img {
    width: 150px;
}

.footer-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-social {
    display: flex;
    gap: 22px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.85;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-social a:hover {
    background: #017dca;
    transform: translateY(-4px);
}

/* ================= RESPONSIVE (HEADER SAQLANADI) ================= */
@media (max-width: 900px) {

    .container {
        width: 92%;
    }

    .burger {
        display: flex;
    }

    /* NAVBAR — FAQAT BOSILGANDA OCHILADI */
    .links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1200;
    }

    .links.active-menu {
        right: 0;
    }

    .links ul {
        flex-direction: column;
        gap: 18px;
        margin-right: 0;
    }

    .login button {
        width: 100%;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {

    .hero-container {
        padding: 45px 30px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }
}
