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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: #10234b;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}


/* HEADER */

.header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e7eef8;
}

.header-container {
    width: min(1240px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-box {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;
    background: linear-gradient(145deg, #1984ff, #075dd1);
    color: #ffffff;

    font-size: 24px;
    font-weight: 900;

    box-shadow: 0 8px 20px rgba(17, 104, 224, 0.24);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: #126be0;
    font-size: 25px;
    line-height: 1;
}

.logo-text small {
    margin-top: 4px;
    color: #52627d;
    font-size: 13px;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.menu a {
    position: relative;
    padding: 27px 0 23px;

    color: #17233e;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.menu a::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 16px;

    width: 0;
    height: 2px;
    margin: auto;

    border-radius: 999px;
    background: #126be0;

    transition: width 0.22s ease;
}

.menu a:hover,
.menu a.active {
    color: #126be0;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.language {
    color: #5b6980;
    font-size: 13px;
}

.language strong {
    color: #126be0;
}

.header-download {
    min-height: 42px;
    padding: 10px 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;
    background: #126be0;
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 8px 18px rgba(18, 107, 224, 0.22);
}

.header-download:hover {
    background: #0958bd;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;

    color: #10234b;
    font-size: 27px;
    cursor: pointer;
}


/* BANNER */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #edf5ff;
}

.hero-media {
    position: relative;
    width: 100%;
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-overlay,
.hero-content-layer {
    pointer-events: none;
}

.hero-content-layer {
    position: absolute;
    z-index: 9;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-download-button {
    position: absolute;
    top: 66.2%;
    left: 5.6%;

    width: 18.8%;
    min-width: 168px;
    height: 9.7%;
    min-height: 52px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(180deg, #1179f7, #075bdc);
    box-shadow: 0 11px 24px rgba(7, 91, 214, 0.24);

    font-size: clamp(15px, 1.55vw, 24px);
    font-weight: 800;
    white-space: nowrap;

    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;

    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
}

.hero-download-button:hover {
    background: linear-gradient(180deg, #0869e4, #034bbd);
    box-shadow: 0 14px 28px rgba(4, 78, 184, 0.32);
    transform: translateY(-2px);
}

.hero-download-button:active {
    background: #034aa9;
    box-shadow: 0 5px 13px rgba(4, 69, 158, 0.28);
    transform: translateY(1px) scale(0.985);
}

.hero-download-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -6px;
    box-shadow: 0 0 0 4px #075bdc;
}

.hero-download-icon {
    position: relative;
    width: 26px;
    height: 27px;
    flex: 0 0 26px;
    border-bottom: 4px solid currentColor;
    border-radius: 0 0 4px 4px;
}

.hero-download-icon::before {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 4px;
    height: 16px;
    border-radius: 3px;
    background: currentColor;
    content: "";
    transform: translateX(-50%);
}

.hero-download-icon::after {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}


/* TABLET VÀ MOBILE */

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-right {
        display: none;
    }

    .menu {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px;

        border: 1px solid #dce7f5;
        border-radius: 16px;

        background: #ffffff;
        box-shadow: 0 18px 40px rgba(19, 51, 91, 0.16);
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 13px 14px;
        border-radius: 10px;
    }

    .menu a::after {
        display: none;
    }

    .menu a:hover,
    .menu a.active {
        background: #edf5ff;
    }
}

@media (max-width: 600px) {
    .header-container {
        width: calc(100% - 20px);
        min-height: 66px;
    }

    .menu {
        top: 66px;
    }

    .logo-box {
        width: 39px;
        height: 39px;
        font-size: 21px;
    }

    .logo-text strong {
        font-size: 21px;
    }

    .logo-text small {
        font-size: 11px;
    }

    .hero-media {
        width: 900px;
        max-width: none;
    }

    .hero-download-button {
        min-width: 168px;
        min-height: 52px;
        border-radius: 12px;
        font-size: 15px;
    }
}
