* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color: #1A1C30;
    background: #F9F6FF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.center {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

h1 {
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #1A1C30;
    text-align: center;
}

p.title {
    font-weight: 700;
}

p.desc {
    color: #1A1C30;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #846BFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

/* buttons */
.btn_box {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.btn_box .win_btn,
.btn_box .mac_btn,
.btn_box .buy_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 240px;
    height: 64px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    cursor: pointer;
}

.btn_primary .win_btn,
.btn_primary .mac_btn {
    background: linear-gradient(135deg, #6B44E0, #2455E8);
    color: #FFFFFF;
}

.btn_outline .win_btn,
.btn_outline .mac_btn {
    background: transparent;
    color: #846BFF;
    border: 1px solid #846BFF;
}

.btn_box .win_btn i,
.btn_box .mac_btn i,
.btn_box .buy_btn i {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url(/images/index/windows.svg) center / contain no-repeat;
}
.btn_box .buy_btn i {
    background-image: url(/images/index/buy.svg);
}

.btn_box .mac_btn i {
    background-image: url(/images/index/mac.svg);
}

/* default Windows, Mac detected by JS adds is_mac on html */
.btn_box .mac_btn {
    display: none;
}

.download_box .btn_box .win_btn,
.download_box .btn_box .mac_btn {
    display: inline-flex;
}


html.is_mac .btn_box .win_btn {
    display: none;
}

html.is_mac .btn_box .mac_btn {
    display: inline-flex;
}

.buy_btn {
    background: linear-gradient(135deg, #FF7D0B, #FF5825);
    color: #FFFFFF;
}

/* header */
.header {
    background: #1B0646;
    border-bottom: 1px solid #35225C;
}

.header .center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
}

.header nav {
    display: flex;
    gap: 40px;
}

.header nav a {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
}

.header .nav_toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 24px;
    cursor: pointer;
}

.header .nav_toggle i {
    height: 3px;
    border-radius: 2px;
    background: #FFFFFF;
}

/* footer */
.footer {
    background: #0A0A1E;
    color: #FFFFFF;
    position: relative;
}

.footer .center {
    padding-top: 64px;
    padding-bottom: 24px;
}

.footer_top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer_brand p.desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 26px;
    margin-top: 20px;
    max-width: 300px;
}

.footer_columns {
    display: flex;
    gap: 120px;
}

.footer_col p.title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer_col li {
    margin-bottom: 14px;
}

.footer_col a {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
}

.footer_col a:hover {
    color: #FFFFFF;
}

.footer_bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
    h2 {
        font-size: 32px;
    }

    .header nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #1B0646;
        border-bottom: 1px solid #35225C;
        z-index: 9;
    }

    .header.nav-open nav {
        display: flex;
    }

    .header nav a {
        padding: 16px 24px;
    }

    .header .nav_toggle {
        display: flex;
    }

    .btn_box {
        min-width: 0;
    }
}
@media (max-width: 630px){
    .footer_top {
        flex-direction: column;
    }

    .footer_columns {
        gap: 48px;
        flex-wrap: wrap;
    }

    .btn_box{
        flex-direction: column;
    }
}
