:root{
    --dft:#4881A8;
    --dft-o:#367ba8cd;
    --dft-o2:#559dcdcd;
    --white:#ffffff;
    --bg:#f4f4f3;
}
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.container .title{
    text-align: center;
    font-size: 2.4em;
    font-weight: 600;
    color: rgb(51, 51, 51);
    margin-bottom: 40px;
}

/* 头部样式 */
header {
    padding: 20px 0;

    /* background-color: #fff; */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    background-color: var(--bg);
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    text-align: left;
    /* padding-left: 300px; */
}

.logo img {
    max-height: 76px;
    /* max-height: 56px; */
    /* max-height: 60px; */
    vertical-align: middle;
}
.logo span {
    font-size: 2.6em;
    font-weight: 600;
    font-style: normal;
    color: rgb(51, 51, 51);
    font-kerning: none;
    text-decoration: none;
    vertical-align: middle;
}
/* 简介部分 */
.intro-section {
    /* padding: 100px 0; */
    padding: 50px 0px 135px 0px;
    background-color: #f4f4f3;
    position: relative;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 2;
}

.intro-text h1 {
    font-size: 4.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: rgb(51, 51, 51);
    line-height: 1.3;
}

.intro-text p{
    font-size: 2.4em;
    font-weight: 500;
    width: fit-content;
    padding: 2px 4px;
    color: var(--dft);
    margin-top: 50px;
    margin-bottom: 80px;
    background-color: rgb(236 240 252);
}

.intro-image {
    flex: 1;
    text-align: right;
}

.intro-image img {
    /* max-width: 92%; */
    max-width: 100%;
    /* max-width: 66%; */
    border-radius: 10px;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

/* 下载部分 */

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn.windows {
    /* background: linear-gradient(135deg, #0078d4, #00a2ff); */
    background: linear-gradient(135deg, var(--dft), var(--dft-o));
}

.download-btn.mac {
    /* background: linear-gradient(135deg, #000000, #333333); */
    background: linear-gradient(135deg, var(--dft), var(--dft-o));
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.download-btn img{
    width: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

/* 下载渠道选择样式 */
.download-wrapper {
    position: relative;
    display: inline-block;
    /* width: 100%; */
    /* max-width: 300px; */
}

.channel-select {
    display: none;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 3px rgba(0,0,0,0.1);
    padding: 6px 0;
    width: 100%;
    max-width: 300px;
    z-index: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.channel-option {
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #333;
    font-weight: 500;
}

.channel-option:hover {
    background-color: #f8f9fa;
    color: #0078d4;
    padding-left: 25px;
}

/* 桌面端显示 */
@media (min-width: 769px) {
    .download-wrapper:hover .channel-select {
        display: block;
    }
}

/* 功能特点部分 */
.features-section {
    padding: 80px 0;
    /* background-color: #f8f9fa; */
    background-color: var(--bg);
    position: relative;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 0 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}
.feature-item .feature_img {
    min-height: 160px;
    position: relative;
    margin-bottom: 45px;
}

.feature-item img {
    width: 90px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: translate(-50%) scale(1.05);
}
.feature-item .feature_desc{
    text-align: left;
    width: fit-content;
    margin: 0 auto;
}

.feature-item h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 600;
}

.feature-item p {
    font-size: 1.1em;
    line-height: 1.8;
    /* color: #666; */
    color: #000;
}

/* 优势部分 */
.advantages-section {
    padding: 80px 0;
    background-color: var(--bg);
}

.advantages-content {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
    font-size: 1.5em;
    font-weight: 400;
    color: rgb(51, 51, 51);
    line-height: 1.8;
}

.advantages-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 联系方式部分 */
.contact-section {
    padding: 80px 0;
    /* background-color: #f8f9fa; */
    background-color: #fff;
    position: relative;
}
.contact-section .container{
    text-align: center;
}
.contact-section .container img{
    width: 40%;
    min-width: 280px;
}
.contact-section .container h1{
    padding-top: 50px;
    font-size: 2.8em;
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-info p {
    margin: 10px 0;
}

/* 页脚部分 */
footer {
    padding: 30px 0;
    /* background-color: #2c3e50; */
    /* background-color: var(--dft);
    color: #fff; */

    background-color: #fff;
    color: #000;
}

.footer-content {
    text-align: center;
}

.footer-content a {
    /* color: #fff; */
    color: #000;
}

@media (min-width:  768px ) and (max-width: 1200px) {
    .logo {
        padding-left: 10%;
    }

    .intro-image {
        text-align: center;
    }

    .intro-image img {
        max-width: 100%;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
        gap: 30px;
    }
    .feature-item h3{
        font-size: 1.2em;
    }
    .feature-item p{
        font-size: 1em;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    body {
        min-width: 320px;
        max-width: 100vw;
    }

    .logo {
        padding-left: 0;
        text-align: center;
    }

    .intro-section {
        padding: 40px 0;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
        gap: 30px;
    }

    .intro-image {
        text-align: center;
    }

    .intro-image img {
        max-width: 100%;
    }

    .intro-text h1 {
        font-size: 4.2em;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .intro-text p {
        /* font-size: 1.4em; */
        font-size: 2.2em;
        word-wrap: break-word;
        margin-bottom: 25px;
    }

    .container .title {
        font-size: 2em;
        word-wrap: break-word;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 40px;
    }

    .download-wrapper {
        width: 100%;
        max-width: 300px;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .channel-select.active {
        display: block;
        position: fixed;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
    }

    .features-gallery,
    .features-list {
        grid-template-columns: 1fr;
        margin: 30px 10px;
    }

    .feature-item {
        padding: 10px;
    }

    .advantages-content {
        font-size: 1.1em;
        line-height: 1.6;
        padding: 0 15px;
    }

    .advantages-content p {
        margin-bottom: 15px;
    }

    .contact-section .container h1 {
        font-size: 2em;
        word-wrap: break-word;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
