html, body, h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    font-family: "Microsoft YaHei", sans-serif;
}

a {
    text-decoration: none;
    color: #5DC69C;
}

.header {
    width: 100%;
    overflow: hidden;
    height: 560px;
    background-image: url(../images/header/indexHeader.png), url(../images/header/indexHeaderBack.webp);
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    z-index: -1;
    color: white;
}

.header-nav {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
}

.nav-log-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-wrapper {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

a.nav-menu-item {
    display: inline-block;
    text-decoration: none;
    color: white;
    height: 56px;
    margin-right: 20px;
    padding: 0 12px;
    line-height: 56px;
    text-align: center;
    min-width: 88px;
}

a.nav-menu-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-item-selected {
    border-bottom: 2px solid white;
}

.header-content {
    width: 80%;
    margin: 0 auto;
    padding-top: 120px;
}

.header-description {
    margin-top: 39px;
    max-width: 38%;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
}

.header-description b {
    font-weight: 400;
    font-size: 16px;
}



/* 新增右侧独立悬浮数据面板 */
 .header-content {
        position: relative; /* 保持原有逻辑 */
    }
    /* 右侧独立悬浮数据面板 */
    .header-stats {
        position: absolute;
        top: 60%;
        right: 25%;
        transform: translateY(-50%);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 320px;
    }
    /* 透明卡片 */
    .stat-item {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.15); /* 透明 */
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.2);
        padding: 10px 12px;
        border-radius: 10px;
        color: #fff;
    }
    /* 图标颜色——可单独改 */
    .stat-icon {
        font-size: 20px;
        margin-right: 10px;
        color: #4FD1C5; /* 这里改图标颜色 */
    }
    .stat-text {
        font-size: 13px;
        line-height: 1.3;
    }
    .stat-value {
        font-size: 15px;
        font-weight: bold;
        display: block;
    }
    /* 移动端自动隐藏，不破坏排版 */
    @media (max-width: 768px) {
        .header-stats {
            display: none;
        }
    }
















.actions {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
}

.button-editor {
    position: relative;
    margin-top: 0;
    margin-left: 26px;
    height: 54px;
    text-align: center;
    width: 176px;
    background: #e3731800;
    border: 3px solid white;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
}

.button-title {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 19px;
    margin-top: 4px;
    font-weight: 400;
}

.button-des {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.button-express {
    display: inline-block;
    text-align: center;
    margin-top: 0;
    margin-left: 24px;
    width: 178px;
    height: 56px;
    background: #e3731800;
    border: 3px solid white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    outline: none;
}

.article {
    width: 90%;
    margin: 0 auto;
}

.video {
    margin-top: 86px;
    margin-bottom: 56px;
    display: flex;
    width: 100%;
    justify-content: center;
}

video {
    width: 800px;
    height: 452px;
    object-fit: fill;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 88px;
}

.features-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 18px;
}

.feature {
    flex: 1;
    text-align: center;
}

.feature-item-title {
    color: #333333;
    text-align: center;
    font-weight: 400;
    font-size: 22px;
    margin-top: 36px;
    margin-bottom: 12px;
}

.feature-item-description {
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    line-height: 26px;
    color: #666666;
    text-align: left;
    font-weight: 400;
    font-size: 14px;
}

.feature-item-description b {
    font-size: 16px;
    line-height: 26px;
}

.steps {
    text-align: center;
    padding-top: 128px;
    color: #403f3f;
}

.step-title {
    font-weight: 400;
    font-size: 28px;
}

.step-image {
    display: inline-block;
    margin-top: 58px;
    width: auto;
    height: auto;
    max-width: 100%;
}

.step-bold {
    display: inline-block;
    padding-left: 16px;
    font-size: 32px;
    font-weight: 600;
}

.category {
    width: 100%;
    text-align: center;
    margin-top: 56px;
}

.cat-title {
    color: #333333;
    text-align: center;
    font-weight: 400;
    font-size: 28px;
}

.cat-note {
    margin-top: 20px;
    color: #666666;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}

.cat-note b {
    font-size: 14px;
    font-weight: 400;
}

.cat-image {
    width: auto;
    height: auto;
    max-width: 100%;
}

.comment-wrapper {
    width: 80%;
    min-width: 900px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 48px 32px 32px 32px;
    overflow-x: auto;
}

.qa-wrapper {
    width: 80%;
    min-width: 900px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
    padding: 48px 32px 48px 32px;
    display: flex;
    overflow-x: auto;
}

.qa-wrapper .qa-panel {
    flex: 1;
    margin-right: 32px;
}

.qa-item {
    text-align: left;
    padding: 12px;
    box-sizing: border-box;
    border-bottom: 1px solid #d4d2d2;
}

.qa-item .question {
    font-weight: 600;
}

.qa-item .answer {
    margin-top: 4px;
    color: #666666;
    font-size: 14px;
}

.comment-card {
    position: relative;
    width: 300px;
    min-height: 180px;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-left: 36px;
}

.comment-card .star-rating::before {
    content: "★★★★★";
    color: #FFB400;
    font-size: 18px;
    letter-spacing: 2px;
    display: block;
}

.comment-text {
    margin-top: 12px;
    color: #333333;
    font-size: 14px;
}

.comment-author {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    color: #666666;
}

.footer {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    border-top: 1px solid #979797;
    padding-top: 10px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.footer-item p {
    line-height: 24px;
    color: #666666;
    font-weight: 400;
    font-size: 14px;
}

.copyright {
    flex: 1;
    text-align: right;
    color: #666666;
    font-weight: 400;
    font-size: 14px;
    margin: 0 auto;
}
/* 新增：移动端适配 */
@media (max-width: 768px) {
    .header {
        height: auto;
        padding-bottom: 40px;
    }
    .header-content {
        padding-top: 60px;
    }
    .header-description {
        max-width: 100%;
    }
    .actions {
        flex-direction: column;
        align-items: center;
    }
    .button-editor, .button-express {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        max-width: 200px;
    }
    .features, .features-text {
        flex-direction: column;
    }
    .comment-wrapper, .qa-wrapper {
        min-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .comment-card {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        max-width: 300px;
    }
    .footer {
        flex-direction: column;
        align-items: center;
    }
    .copyright {
        text-align: center;
        margin-top: 20px;
    }
}
