:root {
    --mbot-blue: #00477f;
    --mbot-blue-dark: #00355f;
    --mbot-red: #e31e24;
    --mbot-red-dark: #c8171d;
    --text-dark: #172033;
    --white: #ffffff;
    --border: #e5eaf0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-dark);
}

.container {
    width: min(100% - 128px, 1312px);
    margin: 0 auto;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    height: 44px;
    background: var(--mbot-blue);
    color: var(--white);
}

.top-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.official-text {
    font-size: 12px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
}


/* =========================
   MAIN HEADER
========================= */

.main-header {
    height: 100px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.main-header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 18px;
}

.jata-logo {
    height: 54px;
    width: auto;
}

.mbot-logo {
    height: 48px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.search-button {
    border: 0;
    background: transparent;
    color: var(--mbot-blue);
    font-size: 28px;
    cursor: pointer;
}

.member-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 46px;
    padding: 0 22px;

    background: var(--mbot-red);
    color: var(--white);

    text-decoration: none;
    font-size: 13px;
    font-weight: 700;

    border-radius: 6px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.member-login:hover {
    background: var(--mbot-red-dark);
    transform: translateY(-1px);
}


/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    position: relative;

    width: 30px;
    height: 30px;

    border: 0;
    background: transparent;

    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 2px;

    width: 26px;
    height: 2px;

    background: var(--mbot-blue);
    border-radius: 2px;

    transition:
        transform 0.3s ease,
        top 0.3s ease,
        opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
    top: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
}

.menu-toggle span:nth-child(3) {
    top: 22px;
}


/* OPEN STATE */

.menu-toggle.is-open span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

/* =========================
   NAVIGATION DRAWER
========================= */

.nav-overlay {
    position: fixed;

    top: 44px;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 31, 58, 0.18);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 90;
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}


.nav-drawer {
    position: fixed;

    top: 44px;
    right: 0;

    width: 500px;
    height: calc(100vh - 44px);

    background: #ffffff;

    transform: translateX(100%);

    transition: transform 0.3s ease;

    z-index: 100;

    box-shadow:
        -18px 0 40px rgba(0, 43, 78, 0.12);

    overflow-y: auto;
}

.nav-drawer.is-open {
    transform: translateX(0);
}

.nav-drawer-inner {
    padding: 38px 42px 50px;
}

.nav-drawer-title {
    margin-bottom: 26px;

    font-size: 14px;
    font-weight: 700;

    color: #667085;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
}

.drawer-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 54px;

    color: #172033;

    text-decoration: none;

    font-size: 18px;
    font-weight: 500;

    border-bottom: 1px solid #f0f2f5;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.drawer-menu a:hover {
    color: var(--mbot-blue);
    padding-left: 4px;
}

.drawer-menu .arrow {
    font-size: 24px;
    font-weight: 400;

    color: #667085;
}

.drawer-divider {
    height: 1px;

    margin: 22px 0;

    background: #d9dee5;
}


/* prevent body scroll when drawer open */

body.menu-open {
    overflow: hidden;
}


/* keep menu icon above drawer */

.menu-toggle {
    z-index: 120;
}


/* =========================
   RESPONSIVE DRAWER
========================= */

@media (max-width: 700px) {

    .nav-drawer {
        top: 0;

        width: min(88vw, 420px);
        height: 100vh;
    }

    .nav-overlay {
        top: 0;
    }

    .nav-drawer-inner {
        padding:
            34px 28px
            40px;
    }

    .drawer-menu a {
        min-height: 50px;
        font-size: 16px;
    }
}

/* =========================
   HERO SECTION
========================= */

.hero-section {
    background: #f5f8fc;
}

.hero-inner {
    min-height: 600px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 60px;

    padding-top: 70px;
    padding-bottom: 70px;
}


.hero-copy {
    max-width: 650px;
}


.hero-kicker {
    margin-bottom: 18px;

    color: var(--mbot-red);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.06em;
}


.hero-title {
    margin: 0 0 24px;

    color: var(--mbot-blue-dark);

    font-size: 52px;
    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -0.03em;
}


.hero-description {
    max-width: 560px;

    margin: 0 0 34px;

    color: #536273;

    font-size: 18px;
    line-height: 1.6;
}


.hero-actions {
    display: flex;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


/* BUTTON BASE */

.hero-btn {
    display: inline-flex;

    height: 52px;

    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* REGISTER */

.hero-btn-primary {
    background: var(--mbot-red);
    border: 1px solid var(--mbot-red);

    color: #ffffff;
}

.hero-btn-primary:hover {
    background: var(--mbot-red-dark);
    border-color: var(--mbot-red-dark);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(227, 30, 36, 0.15);
}


/* DISCOVER */

.hero-btn-secondary {
    background: #ffffff;

    border: 1.5px solid var(--mbot-blue);

    color: var(--mbot-blue);
}

.hero-btn-secondary:hover {
    background: var(--mbot-blue);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(0, 71, 127, 0.12);
}


/* RIGHT SIDE VISUAL PLACEHOLDER */

.hero-visual {
    min-height: 430px;

    border-radius: 16px;

    background: #eaf3fa;
}


/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-visual {
        min-height: 340px;
    }
}


@media (max-width: 600px) {

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
    }
}