.site-header {
    width: 100%;
    height: 80px;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

.site-header .header-right nav {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 18px;
}

.site-header .header-right nav a:hover {
    color: #6EE7B7;
}

.site-header .logo img {
    width: 48px;
    height: 48px;
}

.site-header .logo span {
    font-size: 36px;
}

.site-header .lang-select {
    position: relative;
}

.site-header .lang-select button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 26px;
    height: 53px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px 10px 10px 10px;
    border: 0;
}

.site-header .lang-select button img {
    display: block;
    flex: 0 0 auto;
    align-self: center;
}

.site-header .lang-list {
    position: absolute;
    top: calc(100% + 14px);
    /* left: -10px; */
    padding: 10px;
    background: #141415;
    border-radius: 10px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.site-header .lang-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header .lang-list a {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 10px;
    white-space: nowrap;
    border-radius: 10px 10px 10px 10px;
    transition: background-color 0.2s ease;
}

.site-header .lang-list a.selected {
    background: #0D3627;
}

.site-header .lang-list a:not(.selected):hover {
    background: rgba(13, 54, 39, 0.8);
}

main {
    overflow-x: hidden;
}

.banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner .banner-content {
    width: 45%;
}

.banner .banner-image {
    width: 55%;
}

.banner .banner-downloads {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 24px;
    color: #84FBC6;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 25px;

}

.banner .banner-content h1 {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 80px;
    color: #84FBC6;
    text-align: left;
    font-style: normal;
    text-transform: none;
    width: 110%;
}

.banner .banner-content h1 span {
    color: #fff;
}

.banner .banner-desc {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 24px;
    margin: 10px 0;
    color: #A9A8A8;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.content-section {
    width: 100%;
    max-width: 1440px;
    margin: 110px auto 0;
    text-align: center;
}

.content-section .section-label {
    color: #A9A8A8;
    font-size: 24px;
}

.content-section h2 {
    margin: 10px 0;
    font-size: 60px;
    line-height: 64px;
    color: #FFFFFF;
    font-weight: 500;
}

.content-section .section-desc {
    margin: 0 auto;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 24px;
    color: #A9A8A8;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.overlap-section {
    display: flex;
    width: 100%;
    max-width: 1440px;
    margin: 140px auto 0;
}

.overlap-card {
    width: 55%;
    height: 830px;
}

.overlap-card > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.overlap-card > div::before,
.features-section .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(21, 31, 23, 1), rgba(57, 98, 57, 1), rgba(65, 104, 100, 1), rgba(57, 94, 59, 1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ::before 是绝对定位，会盖在静态的 icon/文字上面；
   一旦设备不支持 mask-composite，渐变描边会变成整块不透明遮罩把内容挡住，
   这里把内容抬到伪元素之上，保证任何情况下文字和图标都可见。 */
.overlap-card > div > *,
.features-section .feature-card > * {
    position: relative;
    z-index: 1;
}

.overlap-card > div img {
    width: 64px;
    height: 64px;
}

.overlap-card > div h3,
.features-section .feature-card h3 {
    margin: 10px 0;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.overlap-card > div p,
.features-section .feature-card p {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 20px;
    color: #A9A8A8;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.overlap-card > img {
    width: 500px;
    height: auto;
}

.overlap-card-left > img {
    position: absolute;
    top: 0;
    right: 0;
}

.overlap-card-left > div {
    top: 200px;
    width: 389px;
    background: #121715 url("../images/bg-background-playback.webp") no-repeat right 10px top 10px;
    background-size: 66px auto;
    border-radius: 20px 20px 20px 20px;
}

.overlap-card-right > div {
    position: absolute;
    right: 0;
    bottom: 100px;
    width: 389px;
    background: #121715 url("../images/bg-floating-player.webp") no-repeat right 10px top 10px;
    background-size: 66px auto;
    border-radius: 20px 20px 20px 20px;
}

.overlap-card-right > img {
    position: absolute;
    bottom: 0;
    left: 0;
}

.overlap-card-left {
    position: relative;
    z-index: 1;
}

.overlap-card-right {
    position: relative;
    z-index: 2;
    margin-left: -10%;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 44px 24px;
    width: 100%;
    max-width: 1440px;
    margin: 140px auto 0;
}

.features-section .feature-card {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background-color: #121715;
    background-repeat: no-repeat;
    background-position: right 10px top 10px;
    background-size: 66px auto;
}

.features-section .feature-card img {
    width: 64px;
    height: 64px;
}

.feature-card-video {
    grid-column: span 3;
    background-image: url("../images/bg-video-mp3-player.webp");
}

.feature-card-battery {
    grid-column: span 2;
    background-image: url("../images/bg-battery-playback.webp");
}

.feature-card-lightweight {
    grid-column: span 2;
    background-image: url("../images/bg-fast-lightweight.webp");
}

.feature-card-controls {
    grid-column: span 3;
    background-image: url("../images/bg-flexible-controls.webp");
}

.highlight-section {
    display: flex;
    width: 1440px;
    max-width: 100%;
    margin: 140px auto 0;
    background: #0B1F19;
    border-radius: 20px 20px 20px 20px;
    overflow: hidden;
}

.highlight-left {
    width: 60%;
    padding: 40px;
    background: url("../images/bg-highlight-left.webp") no-repeat center;
    background-size: cover;
}

.highlight-left > .highlight-label {
    margin: 0;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 20px;
    color: #84FBC6;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.highlight-left h3 {
    margin-top: 10px;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 60px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.highlight-left p {
    margin: 5px 0 24px;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 24px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.highlight-right {
    display: flex;
    align-self: flex-end;
    align-items: flex-end;
    justify-content: flex-end;
    width: 40%;
    height: 440px;
}

.highlight-right img {
    display: block;
    height: 116%;
    position: relative;
}

.banner .store-btn {
    margin-top: 25px;
    margin-bottom: 45px;
}

.banner .banner-features {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 400;
    font-size: 18px;
    color: #A9A8A8;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.banner .banner-image img {
    height: 900px;
}

.site-footer {
    max-width: 1440px;
    margin: 195px auto 0;
}

.site-footer h3 {
    margin-bottom: 70px;
    text-align: center;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 45px;
    color: #FFFFFF;
    font-style: normal;
    text-transform: none;
}

.site-footer > div {
    display: flex;
    justify-content: space-between;
}

.site-footer > div span {
    cursor: pointer;
}

.site-footer > div > :nth-child(1) {
    flex: 1 1 50%;
}

.site-footer > div > :nth-child(2) {
    flex: 0 0 300px;
    text-align: center;
}

.site-footer > div > :nth-child(3) {
    flex: 1 1 50%;
    text-align: right;
}

.site-footer > div > a:hover {
    color: #6EE7B7;
}

@media (max-width: 1500px) {
    .banner .banner-content h1 {
        font-size: 72px;
    }

    .site-header .container,
    .content-section,
    .overlap-section,
    .features-section,
    .site-footer {
        max-width: 1200px;
    }

    .highlight-section {
        width: 1200px;
    }
}

@media (min-width: 901px) and (max-width: 1240px) {
    .site-header,
    main,
    .site-footer {
        zoom: 0.8;
    }
}