/* style.css - 春苗护航首页样式表 */
html {
    touch-action: manipulation; /* 限制双击缩放 */
}

/* 全局基础样式 */
body {
    font-family: "微软雅黑", "Arial", sans-serif;
    margin: 0;
    padding: 0;
    /* background: #f7f9fb; */
    background: #ffffff;
    color: #222;
    position: relative;
}

/* PC端云朵背景样式 - 仅在PC端显示 */
@media (min-width: 901px) {
    body {
        background: linear-gradient(
                120deg,
                rgba(210, 235, 255, 0.3) 0%,
                rgba(245, 250, 255, 0.2) 50%,
                rgba(210, 235, 255, 0.3) 100%
            )
            fixed;
        position: relative;
    }

    /* 为页面添加实际的云朵背景 */
    .page-background {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(210, 235, 255, 0.2) 70%,
            rgba(210, 235, 255, 0.3) 100%
        );
        z-index: -10;
        pointer-events: none;
    }

    /* 添加明显的云朵元素 */
    .page-background::before,
    .page-background::after {
        content: "";
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -5;
        pointer-events: none;
    }

    /* 左侧云朵组 */
    .page-background::before {
        left: 0;
        background: url("img/clouds/cloud1.svg") 5% 15% / 280px no-repeat,
            url("img/clouds/cloud2.svg") 10% 45% / 320px no-repeat,
            url("img/clouds/cloud3.svg") 2% 75% / 350px no-repeat;
        animation: floatLeft 80s infinite ease-in-out;
    }

    /* 右侧云朵组 */
    .page-background::after {
        right: 0;
        background: url("img/clouds/cloud2.svg") 95% 20% / 300px no-repeat,
            url("img/clouds/cloud1.svg") 85% 50% / 260px no-repeat,
            url("img/clouds/cloud3.svg") 90% 80% / 380px no-repeat;
        animation: floatRight 80s infinite ease-in-out;
    }

    /* 为内容区域添加衬托，使其与背景形成更好的对比 */
    section,
    header,
    footer {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 18px rgba(100, 150, 200, 0.08),
            0 0 0 1px rgba(200, 230, 255, 0.1);
        border-radius: 12px;
        transition: box-shadow 0.3s ease;
        position: relative;
        z-index: 1;
    }

    section:hover,
    header:hover,
    footer:hover {
        box-shadow: 0 6px 22px rgba(100, 150, 200, 0.1),
            0 0 0 1px rgba(200, 230, 255, 0.15);
    }
}

/* 云朵漂浮动画 */
@keyframes floatLeft {
    0%,
    100% {
        background-position: 5% 15%, 10% 45%, 2% 75%;
    }
    50% {
        background-position: 7% 15%, 12% 45%, 4% 75%;
    }
}

@keyframes floatRight {
    0%,
    100% {
        background-position: 95% 20%, 85% 50%, 90% 80%;
    }
    50% {
        background-position: 93% 20%, 83% 50%, 88% 80%;
    }
}

/* 添加整体渐变底部背景 */
.page-background {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(210, 235, 255, 0.2) 70%,
        rgba(210, 235, 255, 0.3) 100%
    );
    z-index: -10;
    pointer-events: none;
}

/* 添加明显的云朵元素 */
.page-background::before,
.page-background::after {
    content: "";
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
}

/* 左侧云朵组 */
.page-background::before {
    left: 0;
    background: url("img/clouds/cloud1.svg") 5% 15% / 280px no-repeat,
        url("img/clouds/cloud2.svg") 10% 45% / 320px no-repeat,
        url("img/clouds/cloud3.svg") 2% 75% / 350px no-repeat;
    animation: floatLeft 80s infinite ease-in-out;
}

/* 右侧云朵组 */
.page-background::after {
    right: 0;
    background: url("img/clouds/cloud2.svg") 95% 20% / 300px no-repeat,
        url("img/clouds/cloud1.svg") 85% 50% / 260px no-repeat,
        url("img/clouds/cloud3.svg") 90% 80% / 380px no-repeat;
    animation: floatRight 80s infinite ease-in-out;
}

/* 为内容区域添加衬托，使其与背景形成更好的对比 */
section,
header,
footer {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 18px rgba(100, 150, 200, 0.05),
        0 0 0 1px rgba(200, 230, 255, 0.08);
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

section:hover,
header:hover,
footer:hover {
    box-shadow: 0 6px 22px rgba(100, 150, 200, 0.07),
        0 0 0 1px rgba(200, 230, 255, 0.15);
}

h1,
h2 {
    margin: 0 0 16px 0;
    font-weight: bold;
}

section,
header,
footer {
    /* padding: 32px 16px; */
    margin: 0 auto;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 侧边栏导航样式 */
.sidebar-nav {
    position: fixed;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 0;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 4px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f5f5f5;
    border-radius: 6px;
}

.sidebar-nav .nav-item:hover {
    color: #2979ff;
    background-color: #e0f2ff;
    transform: translateY(-2px);
}

.sidebar-nav .nav-item.active {
    color: white;
    background-color: #2979ff;
    font-weight: bold;
}

.sidebar-nav .back-to-top {
    background-color: #4cacde;
    color: white;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav .back-to-top svg {
    width: 20px;
    height: 20px;
}

.sidebar-nav .back-to-top:hover {
    background-color: #2979ff;
}

/* 移动端隐藏侧边栏导航 */
@media (max-width: 768px) {
    .sidebar-nav {
        display: none;
    }
}

/* 顶部介绍区样式 */
.intro-section {
    position: relative;
    text-align: center;
    /* background: linear-gradient(90deg, #e0f7fa 0%, #fff 100%); */
}

/* 顶部容器样式 */
.top-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 3%;
}

/* 顶部背景图样式 */
.top-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* 顶部标题文字图样式 */
.top-title {
    position: absolute;
    top: 5%;
    left: 6%;
    width: 55%;
    max-width: 450px;
    height: auto;
    z-index: 2;
}

/* 顶部图标样式 */
.top-icon {
    position: absolute;
    bottom: -4%; /* 稍微上移一点 */
    left: 50%;
    transform: translateX(-50%);
    width: 85%; /* 从90%缩小到85% */
    max-width: 750px;
    height: auto;
    z-index: 2;
    margin-bottom: 28px;
}

/* 顶部二维码样式 - 仅PC端显示 */
.top-qrcode {
    position: absolute;
    top: 47.5%;
    right: 30px;
    width: 150px;
    height: auto;
    z-index: 3;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none; /* 默认隐藏 */
}

/* 仅在PC端显示二维码 */
@media (min-width: 901px) {
    .top-qrcode {
        display: block; /* PC端显示 */
    }
}

/* 顶部装饰元素样式 */
.top-decoration {
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 10%;
    max-width: 80px;
    height: auto;
    z-index: 2;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .top-title {
        width: 45%;
        /* top: 35%;
		right: 5%; */
        max-width: 300px;
    }

    .top-icon {
        width: 88%;
        bottom: -3%;
        max-width: 600px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .top-title {
        width: 75%;
        top: 5%;
        left: 2%;
        max-width: 320px;
    }

    .top-icon {
        width: 92%;
        bottom: -2%;
        max-width: 400px;
        margin-bottom: 10px;
    }
}

.intro-bgimg {
    width: 100%;
    font-size: 0;
}

.pricing-vip {
    position: relative;
    z-index: 99;
    margin-top: -24px;
}

.intro-title {
    position: absolute;
    right: 70px;
    top: 100px;
    width: 33%;
}

/* 主要功能区样式 */
.features-section {
    background: #f0f8ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.feature-item {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 20px 0;
    text-align: center;
    font-size: 1.1em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

/* 会员中心/套餐价格区样式 */
.pricing-section {
    background: #fff;
    padding-bottom: 20px;
}

.pricing-cards {
    display: flex;
    flex-wrap: nowrap; /* 改为不换行 */
    gap: 10px; /* 进一步减小卡片间距 */
    justify-content: center;
    margin-top: 10px; /* 增加上边距 */
    padding: 0 10px; /* 减小左右内边距 */
    width: 100%;
    box-sizing: border-box;
}

/* 移除滚动条样式，因为不再需要水平滚动 */

.pricing-card {
    background: linear-gradient(
        180deg,
        #fffaf0 0%,
        #fdfcf7 100%
    ); /* 渐变背景 */
    border: 2px solid #f0d296; /* 更改边框颜色 */
    border-radius: 16px; /* 圆角调整 */
    padding: 26px 4px; /* 增加上下内边距，使卡片更高 */
    flex: 1; /* 让所有卡片平均分配空间 */
    min-width: 0; /* 允许卡片根据flex缩小 */
    max-width: none; /* 移除最大宽度限制 */
    text-align: center;
    font-size: 1.25em;
    line-height: 2.2rem; /* 增加行高，使内容更加分散 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 增强阴影效果 */
    transition: all 0.3s ease; /* 添加过渡效果 */
    position: relative; /* 为hover效果做准备 */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直排列 */
    justify-content: space-between; /* 内容均匀分布 */
    min-height: 220px; /* 设置最小高度 */
}

.pricing-card b {
    font-size: 1.3em; /* 增大套餐名称字体 */
    font-weight: 700; /* 加粗 */
    color: #333; /* 字体颜色 */
    display: block; /* 块级显示 */
    margin-bottom: 10px; /* 增加下边距 */
}

.pricing-card del {
    color: #999; /* 原价颜色 */
    font-size: 1em; /* 原价字体大小 */
    margin-bottom: 5px; /* 添加下边距 */
    display: block; /* 块级显示 */
}

.pricing-card span {
    color: #e53935;
    font-size: 1.5em !important; /* 促销价字体大小 */
    font-weight: bold; /* 加粗 */
    display: block; /* 块级显示 */
    margin: 10px 0; /* 增加上下边距 */
}

.pricing-card small {
    color: #666; /* 日均价格颜色 */
    font-size: 0.9em; /* 日均价格字体大小 */
    display: block; /* 块级显示 */
    margin-top: 10px; /* 增加上边距 */
}

.pricing-card font.price {
    color: #e53935;
    font-weight: bold; /* 加粗 */
}

/* 添加套餐卡片下方的统一购买按钮样式 */
.buy-button-container {
    width: 95%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 40px; /* 增加上边距 */
    margin-bottom: 20px; /* 添加下边距 */
}

/* 原始橙红色渐变按钮样式 - 保留以便切换 */
.buy-button-main-orange {
    background: linear-gradient(90deg, #ff9966 0%, #ff5e62 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 40px; /* 调整与主按钮一致 */
    font-size: 1.5em; /* 调整与主按钮一致 */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 80%; /* 调整与主按钮一致 */
    text-align: center;
    position: relative;
}

.buy-button-main-orange:hover {
    background: linear-gradient(90deg, #ff5e62 0%, #ff9966 100%);
    box-shadow: 0 6px 20px rgba(255, 94, 98, 0.4);
    transform: translateY(-2px);
}

/* 当前使用的按钮样式 - 与截图一致的橙色渐变 */
.buy-button-main {
    /* background: linear-gradient(90deg, #f5daa5 0%, #e8a76b 100%); */
    background: linear-gradient(105deg, #f3dbac6e 0%, #e8a76b 100%);
    color: #e53935;
    border: 2px solid #d8a76a;
    border-radius: 30px;
    padding: 15px 40px; /* 增加内边距 */
    font-size: 1.5em; /* 增大字体 */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(231, 166, 26, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 80%; /* 增大最大宽度 */
    text-align: center;
    position: relative;
}

.buy-button-main:hover {
    background: linear-gradient(90deg, #e8a76b 0%, #f5daa5 100%);
    box-shadow: 0 4px 10px rgba(231, 166, 26, 0.25);
    transform: translateY(-2px);
}

.buy-button-main::after {
    content: "►";
    position: absolute;
    right: 40px; /* 调整箭头位置 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em; /* 增大箭头大小 */
    color: #9c2b2b;
}

/* 年卡高亮样式（中间卡片） */
.pricing-card.highlight {
    background: linear-gradient(180deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffa000;
    box-shadow: 0 6px 16px rgba(255, 160, 0, 0.2);
    transform: scale(1.08); /* 稍微增大缩放比例 */
    z-index: 10;
    transition: all 0.3s ease;
    min-height: 230px; /* 高亮卡片稍微高一点 */
    padding: 28px 4px; /* 增加内边距 */
}

.pricing-card.highlight b {
    color: #e65100;
    font-size: 1.4em; /* 增大标题字体 */
}

.pricing-card.highlight span {
    font-size: 1.6em !important; /* 增大价格字体 */
    color: #d32f2f; /* 更深的红色 */
}

.pricing-card:hover {
    position: relative;
    z-index: 999;
    transform: scale(1.05); /* 缩小放大倍数 */
    transition: all 0.3s ease;
    border: 2px solid #e6b94e; /* 变更hover边框颜色 */
    background: linear-gradient(
        180deg,
        #fff8e1 0%,
        #fff5d7 100%
    ); /* 变更hover背景 */
    box-shadow: 0 8px 20px rgba(231, 166, 26, 0.2); /* 增强hover阴影效果 */
}

/* 高亮卡片的hover状态保持原样，不要覆盖高亮样式 */
.pricing-card.highlight:hover {
    background: linear-gradient(180deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffa000;
    box-shadow: 0 8px 20px rgba(255, 160, 0, 0.3);
    transform: scale(1.08); /* 保持与非hover状态相同的缩放 */
}

/* 在移动设备上调整卡片布局 */
@media (max-width: 768px) {
    .pricing-cards {
        gap: 5px; /* 进一步减小间距 */
        padding: 0 5px; /* 减小左右内边距 */
    }

    .pricing-card {
        padding: 12px 2px; /* 调整内边距，恢复原来的值 */
        font-size: 0.8em; /* 再减小字体 */
        line-height: 1.5rem; /* 调整行高，恢复原来的值 */
        min-height: 0; /* 移除最小高度限制 */
        display: block; /* 移动端使用普通块级布局，不使用flex */
        flex-direction: initial; /* 重置flex方向 */
        justify-content: initial; /* 重置justify-content */
    }

    /* 移动端高亮卡片样式调整 */
    .pricing-card.highlight {
        padding: 12px 2px; /* 与普通卡片保持一致 */
        transform: scale(1.05); /* 减小缩放比例 */
        min-height: 0; /* 移除最小高度限制 */
        display: block; /* 确保使用块级布局 */
        flex-direction: initial; /* 重置flex方向 */
        justify-content: initial; /* 重置justify-content */
    }

    .pricing-card.highlight b {
        font-size: 1.1em; /* 调整为移动端合适的大小 */
    }

    .pricing-card.highlight span {
        font-size: 1.3em !important; /* 调整为移动端合适的大小 */
    }

    .pricing-card.highlight:hover {
        transform: scale(1.05); /* 保持与非hover状态相同的缩放 */
    }

    .pricing-card b {
        font-size: 0.95em; /* 再减小标题字体 */
        margin-bottom: 2px; /* 恢复原来的较小边距 */
    }

    .pricing-card del {
        font-size: 0.85em; /* 再减小原价字体 */
        margin-bottom: 0; /* 移除下边距 */
        display: inline; /* 恢复为内联显示 */
    }

    .pricing-card span {
        font-size: 1.2em !important; /* 增大促销价字体 */
        margin: 3px 0; /* 保持较小的上下边距 */
    }

    .pricing-card small {
        font-size: 0.75em; /* 再减小日均价字体 */
        margin-top: 0; /* 移除上边距 */
    }

    /* 添加移动端统一购买按钮样式 */
    .buy-button-container {
        margin-top: 20px; /* 减小上边距 */
        margin-bottom: 10px; /* 减小下边距 */
    }

    .buy-button-main,
    .buy-button-main-orange {
        padding: 10px 25px;
        font-size: 1.1em;
        max-width: 100%; /* 在移动端占满容器宽度 */
    }

    .buy-button-main::after {
        right: 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        gap: 5px; /* 最小间距 */
        padding: 0 5px;
    }

    .pricing-card {
        padding: 12px 2px; /* 最小内边距 */
        font-size: 0.8em; /* 更小字体 */
        line-height: 1.65rem; /* 更小行高 */
        border-width: 1px; /* 减小边框宽度 */
        min-height: 0; /* 确保移除最小高度限制 */
    }

    .pricing-card.highlight {
        min-height: 0; /* 确保移除最小高度限制 */
    }

    .pricing-card b {
        font-size: 0.9em; /* 最小标题字体 */
        margin-bottom: 2px; /* 移除底部边距 */
    }

    .pricing-card span {
        font-size: 1.15em !important; /* 增大最小屏幕价格字体 */
        margin: 2px 0; /* 最小边距 */
    }

    .pricing-card small {
        margin-top: 0; /* 移除上边距 */
    }

    /* 添加特小屏幕统一购买按钮样式 */
    .buy-button-main,
    .buy-button-main-orange {
        padding: 8px 20px;
        font-size: 1em;
    }

    .buy-button-main::after {
        right: 15px;
        font-size: 0.8em;
    }
}

/* 特小屏幕适配 */
@media (max-width: 360px) {
    .pricing-card.highlight {
        padding: 8px 1px; /* 与普通卡片保持一致 */
        transform: scale(1.03); /* 进一步减小缩放比例 */
        min-height: 0; /* 确保移除最小高度限制 */
    }

    .pricing-card.highlight b {
        font-size: 1em; /* 调整为特小屏幕合适的大小 */
        margin-bottom: 0; /* 移除底部边距 */
    }

    .pricing-card.highlight span {
        font-size: 1.2em !important; /* 调整为特小屏幕合适的大小 */
        margin: 1px 0; /* 最小边距 */
    }
}

.info-box {
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(60deg, #79bfd8 0%, #a1d2f2 100%);
}

.info-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #114e8e;
    text-align: center;
}

.info-content {
    margin: 20px auto 0;
    width: 90%;
    height: 500px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.info-icon-left {
    position: absolute;
    width: 4%;
    height: auto;
    top: 20%;
    left: 10px;
}

.info-icon-right {
    position: absolute;
    width: 4%;
    height: auto;
    top: 20%;
    right: 10px;
}

.info-user {
    width: 100%;
    height: 100%;
    padding: 20px 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
}

.info-user-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
}

.info-user-name {
    margin-top: 16px;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
}

.info-user-text {
    margin-top: 8px;
    text-align: center;
    font-size: 1.5em;
    color: #000;
}

/* 客服团队区域样式 - 响应式设计 */

/* 客服团队整体容器 */
.service-section {
    padding: 10px 0;
    background: #fff;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

/* 客服容器 - 占据整个宽度，渐变蓝色背景 */
.service-container {
    width: 100%;
    padding: 80px 0 80px; /* 减少上部留白，让内容往上移 */
    background: linear-gradient(60deg, #79bfd8 0%, #a1d2f2 100%);
    position: relative;
    overflow: hidden;
}

/* 背景大文字 */
.service-bg-text {
    position: absolute;
    top: 35%; /* 往上移动位置到35% */
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    line-height: 1;
    font-weight: bold;
    color: #114e8e;
    opacity: 0.3;
    white-space: nowrap;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* 客服展示区域 */
.service-display {
    margin: 0 auto;
    width: 90%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* 客服全身照容器 */
.service-full-photo {
    position: absolute;
    top: -330px; /* 往上移动，从-280px到-330px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
}

/* 客服全身照 */
.service-avatar-full {
    height: auto;
    max-height: 850px; /* 保持图片大小 */
    z-index: 3;
}

/* 导航箭头样式 */
.service-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4%;
    min-width: 1.5rem;
    height: auto;
    z-index: 5; /* 确保箭头在最上层 */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.service-nav img {
    width: 100%;
    height: auto;
}

.service-nav-left {
    left: 1%; /* 修改左箭头位置，确保可见 */
    animation: navPulseLeft 2s infinite;
}

.service-nav-right {
    right: 1%; /* 修改右箭头位置，确保可见 */
    animation: navPulseRight 2s infinite;
}

/* 客服卡片样式 */
.service-card {
    width: 85%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 80px;
    padding: 22px 15px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 4;
    margin-top: 250px; /* 减少上边距，从290px到250px，适应全身照的调整 */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* 客服信息区域 */
.service-info {
    text-align: center;
    width: 100%;
    padding: 0 15px; /* 减少内边距 */
    box-sizing: border-box;
}

.service-name {
    font-size: 1.6em; /* 减小字体大小 */
    font-weight: bold;
    color: #000;
    margin-bottom: 6px; /* 减少下边距 */
}

.service-description {
    font-size: 1.3em; /* 减小字体大小 */
    line-height: 1.5; /* 调整行高 */
    color: #333;
}

/* 动画效果 */
@keyframes navPulseLeft {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(-5px);
    }
}

@keyframes navPulseRight {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .service-container {
        padding: 30px 15px;
    }

    .service-bg-text {
        top: 45%; /* 在移动端保持原来的位置 */
        font-size: 8.5rem; /* 在移动端恢复原来的字体大小 */
    }

    .service-full-photo {
        top: -200px; /* 保持不变 */
    }

    .service-avatar-full {
        max-height: 605px; /* 保持不变 */
    }

    .service-card {
        margin-top: 230px; /* 保持不变 */
    }
}

/* 移动端小屏幕适配 */
@media (max-width: 480px) {
    .service-container {
        padding: 20px 10px;
    }

    .service-bg-text {
        top: 45%; /* 保持一致 */
    }

    .service-full-photo {
        top: -170px; /* 上移 */
    }

    .service-avatar-full {
        max-height: 485px; /* 从440px再放大10%到485px */
    }

    .service-card {
        margin-top: 185px; /* 调整上边距 */
    }
}

/* 产品优势/宣传语区样式 */
.advantage-section {
    background: #e8f5e9;
    text-align: center;
    font-size: 1.2em;
    color: #388e3c;
}

/* 用户评价区样式 */
.reviews-section {
    background: #f3e5f5;
}

.review-item {
    background: #ede7f6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 1em;
}

/* 安装步骤/使用流程区样式 */
.steps-section {
    background: #e1f5fe;
}

.steps-section ol {
    padding-left: 24px;
}

.steps-section li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* 教程专区/帮助中心样式 */
.help-section {
    background: #fff3e0;
    text-align: center;
}

.help-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: #ffb74d;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.help-link:hover {
    background: #ffa726;
}

/* 关于我们/公司介绍区样式 */
.footer-section {
    background: #eceff1;
    text-align: center;
    font-size: 0.95em;
    color: #666;
}

.footer-section small {
    display: block;
    margin-top: 12px;
}

/* 响应式设计：适配手机屏幕 */
@media (max-width: 600px) {
    section,
    header,
    footer {
        /* padding: 18px 4px; */
        max-width: 100%;
        border-radius: 0;
    }

    .info-box {
        padding: 30px 0;
    }

    .info-title {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: #114e8e;
        text-align: center;
    }

    .info-content {
        height: 180px;
    }

    .info-user-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .info-user-name {
        margin-top: 8px;
        text-align: center;
        font-size: 0.8em !important;
        font-weight: bold;
        color: #000;
    }

    .info-user-text {
        margin-top: 6px;
        text-align: center;
        font-size: 0.28em !important;
        color: #000;
    }

    /* 客服 */
    .info-box1 {
        padding: 30px 0;
    }

    .info-title1 {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: #114e8e;
        text-align: center;
    }

    .info-content1 {
        /* height: 400px; */
        padding-top: 60%;
    }

    .info-user-img1-icon {
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 68%;
        height: auto;
    }

    .info-user1 {
    }

    /* .info-user-img1{
        width: 50px;
        height: 50px;
        border-radius: 50%;
    } */
    .info-user-name1 {
        /* margin-top: 8px; */
        text-align: center;
        font-size: 0.8em !important;
        font-weight: bold;
        color: #000;
    }

    .info-user-text1 {
        margin-top: 20px;
        text-align: center;
        font-size: 0.28em !important;
        color: #000;
    }

    /* 移除旧的移动端样式，使用新添加的媒体查询样式 */
    /* .pricing-cards {
		align-items: center;
	} */

    .pricing-vip {
        position: relative;
        z-index: 99;
        margin-top: -10px;
    }
}

/* 家长评价滑动切换动画 - 尺寸变形过渡 */
#infoUserList {
    position: relative;
    width: 70%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-user {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
}

.info-user.active,
.info-user.slide-in-left,
.info-user.slide-in-right {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    transform: scale(1);
}

.info-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.info-icon-left,
.info-icon-right {
    z-index: 10;
    width: 48px;
    height: 48px;
    pointer-events: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.info-icon-left {
    margin-right: 16px;
}

.info-icon-right {
    margin-left: 16px;
}

/* 左右icon动画提示 */
@keyframes shake-left {
    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(0);
    }
}

@keyframes shake-right {
    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(6px);
    }

    40% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(0);
    }
}

.info-icon-left {
    animation: shake-left 1.2s infinite;
    cursor: pointer;
}

.info-icon-right {
    animation: shake-right 1.2s infinite;
    cursor: pointer;
}

@media (max-width: 600px) {
    #infoUserList {
        width: 100%;
    }

    .info-content {
        height: 180px;
    }

    .info-icon-left,
    .info-icon-right {
        width: 32px;
        height: 32px;
    }

    .info-icon-left {
        margin-right: 6px;
    }

    .info-icon-right {
        margin-left: 6px;
    }
}

.info-icon-left,
.info-icon-right {
    z-index: 99;
    position: absolute;
    pointer-events: auto;
}

/* 让客服全身照和头像icon同步缩放，PC端宽度22%，移动端50%，始终等比自适应 */
.kefu-fullbody,
.info-user-img1-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22%;
    /* PC端宽度22%，两者同步缩放 */
    height: auto;
}

.kefu-fullbody {
    top: 90px;
    /* 全身照稍微下移，避免重叠 */
    aspect-ratio: 17 / 32;
    z-index: 2;
    pointer-events: none;
    object-fit: cover;
}

.info-user-img1-icon {
    top: 30px;
    /* 头像icon在上方 */
    z-index: 3;
}

.info-user1 {
    padding-top: 200px;
    /* 根据图片实际高度调整，避免重叠 */
}

@media (max-width: 600px) {
    .kefu-fullbody,
    .info-user-img1-icon {
        width: 50%;
        /* 移动端宽度50% */
    }

    .kefu-fullbody {
        top: 60px;
    }

    .info-user-img1-icon {
        top: 10px;
    }

    .info-user1 {
        padding-top: 100px;
    }
}

.bottom-download {
    display: none;
    /* 默认隐藏 */
}

/* 仅在移动端显示 */
@media (max-width: 768px) {
    .bottom-download {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background-color: #ffffff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .left {
        display: flex;
        align-items: center;
        margin-right: 12px;
    }

    .left img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

    .center {
        text-align: left;
        flex-grow: 1;
    }

    .center p {
        margin: 0;
        font-size: 14px;
        line-height: 1.3;
        color: #333333;
    }

    .center p:first-child {
        font-weight: 600;
        font-size: 16px;
        color: #1a1a1a;
        margin-bottom: 2px;
    }

    .center p:last-child {
        font-size: 12px;
        color: #666666;
    }

    .right {
        margin-left: 12px;
    }

    .download-famiguard {
        display: inline-block;
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        color: #ffffff;
        background-color: #2196f3;
        border-radius: 24px;
        transition: background-color 0.3s;
    }

    .download-famiguard:hover {
        background-color: #1876d2;
    }
}

/* ===================== 订单表单弹窗样式 ===================== */
dialog#orderDialog {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 80, 180, 0.18);
    padding: 0;
    max-width: 420px;
    width: 92vw;
    background: linear-gradient(135deg, #f8fbff 0%, #e3f0ff 100%);
}

.order-section {
    padding: 28px 24px 24px 24px;
    background: transparent;
    border-radius: 16px;
}

.order-section h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #2563eb;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 1.4em;
}

#orderForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 1em;
    color: #222b45;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 6px 10px;
    border: 1.5px solid #b6c6e3;
    border-radius: 8px;
    font-size: 0.95em;
    outline: none;
    background: #fafdff;
    transition: border 0.2s, box-shadow 0.2s;
    width: 100%;
    height: 34px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: #aabbcc;
}

/* 手机号码和验证码输入框特定样式 */
#phoneInput,
#codeInput {
    height: 32px;
    font-size: 0.9em;
}
#phoneInput {
    width: 95%;
}

.code-container {
    display: flex;
    gap: 6px;
    align-items: center;
}

.code-container input {
    flex: 1;
    max-width: 65%;
}

#sendSmsBtn {
    background: #fff;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    padding: 0 10px;
    height: 32px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

#sendSmsBtn:hover {
    background: #edf2fd;
}

#sendSmsBtn:disabled {
    background: #e3eafc;
    color: #b6c6e3;
    border-color: #b6c6e3;
    cursor: not-allowed;
}

#smsCountdown {
    color: #2563eb;
    font-size: 0.8em;
    display: inline-block;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.form-actions button {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#submitBtn {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

#submitBtn:hover {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

#closeDialogBtn {
    background: linear-gradient(135deg, #4A90E2 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

#closeDialogBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

#orderResult {
    margin-top: 20px;
    text-align: center;
    font-size: 1.05em;
    min-height: 24px;
}

#qrcodeBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px auto 0 auto;
    width: 100%;
}

@media (max-width: 500px) {
    dialog#orderDialog {
        max-width: 98vw;
        padding: 0;
    }

    .order-section {
        padding: 20px 16px 16px 16px;
    }

    .form-group input,
    .form-group select,
    #sendSmsBtn {
        height: 32px;
        padding: 6px 8px;
        font-size: 0.9em;
    }

    #phoneInput,
    #codeInput {
        height: 30px;
    }

    .order-section h2 {
        margin-bottom: 20px;
        font-size: 1.3em;
    }

    .form-actions button {
        height: 34px;
        font-size: 0.95em;
    }
}

/* 听听家长怎么说 - 样式 */
.testimonial-section {
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(180deg, #a7d7f2 0%, #d6eefb 100%);
}

.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    position: relative; /* 添加相对定位 */
}

.section-title {
    font-size: 28px;
    color: #0c5b96;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 50px; /* 减少内边距 */
}

.testimonial-wrapper {
    width: 85%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 400px; /* 增加高度，适应更大的内容 */
}

.testimonial-card {
    position: absolute;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s ease;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.testimonial-card.prev {
    transform: translateX(-100%);
}

.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parent-name {
    font-size: 20px;
    color: #0c5b96;
    margin: 10px 0;
    font-weight: bold;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    margin: 0 auto;
    max-width: 95%;
    text-align: center;
}

.slider-nav {
    width: 66px;
    height: 260px;
    background: none;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* 提高层级 */
    transition: all 0.3s ease;
    opacity: 0.9; /* 轻微透明效果 */
}

.slider-nav:hover {
    opacity: 1;
}

.slider-nav img {
    width: 30px; /* 增大图片尺寸 */
    height: auto;
}

.slider-nav-left {
    left: -5px; /* 往内靠 */
    animation: pulseLeft 1.5s infinite ease-in-out;
}

.slider-nav-right {
    right: -5px; /* 往内靠 */
    animation: pulseRight 1.5s infinite ease-in-out;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(12, 91, 150, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 12px;
    height: 12px;
    background-color: #0c5b96;
}

/* 移动端适配也保持相同比例 */
@media (max-width: 768px) {
    .testimonial-slider {
        padding: 0 30px;
    }

    .slider-nav {
        width: 50px;
        height: 196px;
    }

    .slider-nav img {
        width: 25px;
    }

    .slider-nav-left {
        left: 0px;
    }

    .slider-nav-right {
        right: 0px;
    }

    .testimonial-wrapper {
        height: 370px;
    }
}

@media (max-width: 480px) {
    .testimonial-slider {
        padding: 0 20px;
    }

    .slider-nav {
        width: 40px;
        height: 158px;
    }

    .slider-nav img {
        width: 20px;
    }

    .slider-nav-left {
        left: 0px;
    }

    .slider-nav-right {
        right: 0px;
    }

    .testimonial-wrapper {
        width: 95%;
        height: 380px;
    }
}

/* 为导航按钮添加动画效果 */
@keyframes pulseLeft {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(-2px);
    }
}

@keyframes pulseRight {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(2px);
    }
}

.slider-nav-left {
    left: -5px; /* 往内靠 */
    animation: pulseLeft 1.5s infinite ease-in-out;
}

.slider-nav-right {
    right: -5px; /* 往内靠 */
    animation: pulseRight 1.5s infinite ease-in-out;
}

/* 视频部分样式 */
.video-section {
    margin: 30px auto;
    padding: 0;
    background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
    border-radius: 12px;
    overflow: hidden;
}

.video-container {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-title {
    text-align: center;
    margin-bottom: 30px;
}

.video-title h2 {
    font-size: 28px;
    color: #114e8e;
    margin-bottom: 10px;
}

.video-title p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.video-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #f0f8ff;
}

.video-poster {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比例 */
    /* 移除原有的背景渐变色，使用背景图片替代 */
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.video-poster:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.assistant-image {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 30%;
    max-width: 200px;
    z-index: 1;
}

.assistant-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 视频播放器样式 */
#demoVideo {
    width: 100%;
    border-radius: 12px;
    background: #000;
}

/* 视频下方功能介绍 */
.video-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin: 30px auto;
}

.video-features .feature-item {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-features .feature-item:hover {
    transform: translateY(-5px);
}

.video-features .feature-icon {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    flex-shrink: 0;
}

.video-features .feature-icon svg {
    width: 100%;
    height: 100%;
}

.video-features .feature-text {
    flex: 1;
}

.video-features .feature-text h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #333;
}

.video-features .feature-text p {
    font-size: 14px;
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* 下载按钮 */
.video-cta {
    text-align: center;
    margin-top: 30px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(45deg, #2196f3 0%, #4dabf5 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-container {
        padding: 30px 15px;
    }

    .video-title h2 {
        font-size: 24px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .video-features {
        flex-direction: column;
    }

    .video-features .feature-item {
        min-width: auto;
    }

    .download-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding: 20px 10px;
    }

    .video-title h2 {
        font-size: 22px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .assistant-image {
        width: 40%;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

.countdown-container {
    height: 18px;
    margin-top: 2px;
}

/* 十大功能区域样式 */
.ten-functions {
    padding: 50px 0px; /* 增加了上下内边距 */
    background: #fff;
}

.functions-header {
    text-align: center;
    margin-bottom: 40px; /* 增加底部间距 */
}

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

.functions-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 增加行间距 */
    max-width: 1200px;
    margin: 0 auto;
}

.function-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px; /* 增加项目间距 */
}

.function-item {
    flex: 1;
    min-width: 240px; /* 增加最小宽度从180px到240px */
    max-width: 300px; /* 增加最大宽度从250px到300px */
    text-align: center;
    padding: 35px 20px; /* 增加内边距 */
    border-radius: 15px; /* 增加圆角 */
    background-color: #f9fbff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 增强阴影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.function-item:hover {
    transform: translateY(-8px); /* 增加悬停时的上移效果 */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); /* 增强悬停时的阴影效果 */
}

.function-item img {
    width: 110px; /* 图标尺寸从90px增加到110px */
    height: 110px;
    margin-bottom: 20px; /* 增加底部间距 */
}

.function-item h3 {
    font-size: 22px; /* 增加字体大小从18px到22px */
    font-weight: bold;
    color: #444; /* 颜色略微深一点 */
    margin: 15px 0; /* 增加上下边距 */
}

.function-item p {
    font-size: 16px; /* 增加字体大小从14px到16px */
    color: #1565c0;
    margin: 10px 0; /* 增加上下边距 */
    line-height: 1.6;
}

/* 响应式设计 - 保持移动端尺寸不变 */
@media (max-width: 768px) {
    .ten-functions {
        padding: 30px 20px;
    }

    .functions-header {
        margin-bottom: 20px;
    }

    .functions-header img {
        max-width: 95%; /* 标题区域缩小5% */
    }

    .functions-container {
        gap: 20px;
    }

    .function-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .function-item {
        min-width: 110px;
        max-width: 160px;
        padding: 12px 6px;
    }

    .function-item img {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }

    .function-item h3 {
        font-size: 15px;
        margin: 6px 0;
    }

    .function-item p {
        font-size: 12px;
        margin: 6px 0;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .functions-header img {
        max-width: 95%; /* 标题区域缩小5% */
    }

    .function-item {
        min-width: 95px;
        max-width: 130px;
        padding: 10px 5px;
    }

    .function-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }

    .function-item h3 {
        font-size: 14px;
        margin: 4px 0;
    }

    .function-item p {
        font-size: 11px;
        margin: 4px 0;
    }
}

/* 客服团队区域样式 - 响应式设计 */

/* 客服团队整体容器 */
.service-section {
    margin: 30px auto;
    width: 100%;
}

/* 客服容器 - 占据整个宽度，渐变蓝色背景 */
.service-container {
    width: 100%;
    padding: 80px 0 80px; /* 减少上部留白，让内容往上移 */
    background: linear-gradient(60deg, #79bfd8 0%, #a1d2f2 100%);
    position: relative;
    overflow: hidden;
}

/* 背景大文字 */
.service-bg-text {
    position: absolute;
    top: 35%; /* 往上移动位置到35% */
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    line-height: 1;
    font-weight: bold;
    color: #114e8e;
    opacity: 0.3;
    white-space: nowrap;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* 客服展示区域 */
.service-display {
    margin: 0 auto;
    width: 90%;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* 客服全身照容器 */
.service-full-photo {
    position: absolute;
    top: -330px; /* 往上移动，从-280px到-330px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
}

/* 客服全身照 */
.service-avatar-full {
    height: auto;
    max-height: 850px; /* 保持图片大小 */
    z-index: 3;
}

/* 导航箭头样式 */
.service-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4%;
    min-width: 1.5rem;
    height: auto;
    z-index: 5; /* 确保箭头在最上层 */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.service-nav img {
    width: 100%;
    height: auto;
}

.service-nav-left {
    left: 1%; /* 修改左箭头位置，确保可见 */
    animation: navPulseLeft 2s infinite;
}

.service-nav-right {
    right: 1%; /* 修改右箭头位置，确保可见 */
    animation: navPulseRight 2s infinite;
}

/* 客服卡片样式 */
.service-card {
    width: 85%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 80px;
    padding: 22px 15px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 4;
    margin-top: 250px; /* 减少上边距，从290px到250px，适应全身照的调整 */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* 客服信息区域 */
.service-info {
    text-align: center;
    width: 100%;
    padding: 0 15px; /* 减少内边距 */
    box-sizing: border-box;
}

.service-name {
    font-size: 1.6em; /* 减小字体大小 */
    font-weight: bold;
    color: #000;
    margin-bottom: 6px; /* 减少下边距 */
}

.service-description {
    font-size: 1.3em; /* 减小字体大小 */
    line-height: 1.5; /* 调整行高 */
    color: #333;
}

/* 动画效果 */
@keyframes navPulseLeft {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(-5px);
    }
}

@keyframes navPulseRight {
    0%,
    100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .service-container {
        padding: 30px 15px;
    }

    .service-bg-text {
        top: 45%; /* 在移动端保持原来的位置 */
        font-size: 8.5rem; /* 在移动端恢复原来的字体大小 */
    }

    .service-full-photo {
        top: -200px; /* 保持不变 */
    }

    .service-avatar-full {
        max-height: 605px; /* 保持不变 */
    }

    .service-card {
        margin-top: 230px; /* 保持不变 */
    }
}

/* 移动端小屏幕适配 */
@media (max-width: 480px) {
    .service-container {
        padding: 20px 10px;
    }

    .service-bg-text {
        top: 45%; /* 保持一致 */
    }

    .service-full-photo {
        top: -170px; /* 上移 */
    }

    .service-avatar-full {
        max-height: 485px; /* 从440px再放大10%到485px */
    }

    .service-card {
        margin-top: 185px; /* 调整上边距 */
    }
}

/* 产品优势/宣传语区样式 */
.advantage-section {
    background: #e8f5e9;
    text-align: center;
    font-size: 1.2em;
    color: #388e3c;
}

/* 用户评价区样式 */
.reviews-section {
    background: #f3e5f5;
}

.review-item {
    background: #ede7f6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 1em;
}

/* 安装步骤/使用流程区样式 */
.steps-section {
    background: #e1f5fe;
}

.steps-section ol {
    padding-left: 24px;
}

.steps-section li {
    margin-bottom: 8px;
    font-size: 1em;
}

/* 教程专区/帮助中心样式 */
.help-section {
    background: #fff3e0;
    text-align: center;
}

.help-link {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 20px;
    background: #ffb74d;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.help-link:hover {
    background: #ffa726;
}

/* 关于我们/公司介绍区样式 */
.footer-section {
    background: #eceff1;
    text-align: center;
    font-size: 0.95em;
    color: #666;
}

.footer-section small {
    display: block;
    margin-top: 12px;
}

/* 响应式设计：适配手机屏幕 */
@media (max-width: 600px) {
    section,
    header,
    footer {
        /* padding: 18px 4px; */
        max-width: 100%;
        border-radius: 0;
    }

    .info-box {
        padding: 30px 0;
    }

    .info-title {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: #114e8e;
        text-align: center;
    }

    .info-content {
        height: 180px;
    }

    .info-user-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .info-user-name {
        margin-top: 8px;
        text-align: center;
        font-size: 0.8em !important;
        font-weight: bold;
        color: #000;
    }

    .info-user-text {
        margin-top: 6px;
        text-align: center;
        font-size: 0.28em !important;
        color: #000;
    }

    /* 客服 */
    .info-box1 {
        padding: 30px 0;
    }

    .info-title1 {
        font-size: 1.2rem !important;
        font-weight: bold;
        color: #114e8e;
        text-align: center;
    }

    .info-content1 {
        /* height: 400px; */
        padding-top: 60%;
    }

    .info-user-img1-icon {
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 68%;
        height: auto;
    }

    .info-user1 {
    }

    /* .info-user-img1{
        width: 50px;
        height: 50px;
        border-radius: 50%;
    } */
    .info-user-name1 {
        /* margin-top: 8px; */
        text-align: center;
        font-size: 0.8em !important;
        font-weight: bold;
        color: #000;
    }

    .info-user-text1 {
        margin-top: 20px;
        text-align: center;
        font-size: 0.28em !important;
        color: #000;
    }

    /* 移除旧的移动端样式，使用新添加的媒体查询样式 */
    /* .pricing-cards {
		align-items: center;
	} */

    .pricing-vip {
        position: relative;
        z-index: 99;
        margin-top: -10px;
    }
}

/* 家长评价滑动切换动画 - 尺寸变形过渡 */
#infoUserList {
    position: relative;
    width: 70%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-user {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
}

.info-user.active,
.info-user.slide-in-left,
.info-user.slide-in-right {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    transform: scale(1);
}

.info-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.info-icon-left,
.info-icon-right {
    z-index: 10;
    width: 48px;
    height: 48px;
    pointer-events: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.info-icon-left {
    margin-right: 16px;
}

.info-icon-right {
    margin-left: 16px;
}

/* 左右icon动画提示 */
@keyframes shake-left {
    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(0);
    }
}

@keyframes shake-right {
    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(6px);
    }

    40% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(0);
    }
}

.info-icon-left {
    animation: shake-left 1.2s infinite;
    cursor: pointer;
}

.info-icon-right {
    animation: shake-right 1.2s infinite;
    cursor: pointer;
}

@media (max-width: 600px) {
    #infoUserList {
        width: 100%;
    }

    .info-content {
        height: 180px;
    }

    .info-icon-left,
    .info-icon-right {
        width: 32px;
        height: 32px;
    }

    .info-icon-left {
        margin-right: 6px;
    }

    .info-icon-right {
        margin-left: 6px;
    }
}

.info-icon-left,
.info-icon-right {
    z-index: 99;
    position: absolute;
    pointer-events: auto;
}

/* 让客服全身照和头像icon同步缩放，PC端宽度22%，移动端50%，始终等比自适应 */
.kefu-fullbody,
.info-user-img1-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22%;
    /* PC端宽度22%，两者同步缩放 */
    height: auto;
}

.kefu-fullbody {
    top: 90px;
    /* 全身照稍微下移，避免重叠 */
    aspect-ratio: 17 / 32;
    z-index: 2;
    pointer-events: none;
    object-fit: cover;
}

.info-user-img1-icon {
    top: 30px;
    /* 头像icon在上方 */
    z-index: 3;
}

.info-user1 {
    padding-top: 200px;
    /* 根据图片实际高度调整，避免重叠 */
}

@media (max-width: 600px) {
    .kefu-fullbody,
    .info-user-img1-icon {
        width: 50%;
        /* 移动端宽度50% */
    }

    .kefu-fullbody {
        top: 60px;
    }

    .info-user-img1-icon {
        top: 10px;
    }

    .info-user1 {
        padding-top: 100px;
    }
}

.bottom-download {
    display: none;
    /* 默认隐藏 */
}

/* 仅在移动端显示 */
@media (max-width: 768px) {
    .bottom-download {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background-color: #ffffff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .left {
        display: flex;
        align-items: center;
        margin-right: 12px;
    }

    .left img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

    .center {
        text-align: left;
        flex-grow: 1;
    }

    .center p {
        margin: 0;
        font-size: 14px;
        line-height: 1.3;
        color: #333333;
    }

    .center p:first-child {
        font-weight: 600;
        font-size: 16px;
        color: #1a1a1a;
        margin-bottom: 2px;
    }

    .center p:last-child {
        font-size: 12px;
        color: #666666;
    }

    .right {
        margin-left: 12px;
    }

    .download-famiguard {
        display: inline-block;
        padding: 8px 18px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        color: #ffffff;
        background-color: #2196f3;
        border-radius: 24px;
        transition: background-color 0.3s;
    }

    .download-famiguard:hover {
        background-color: #1876d2;
    }
}

/* ===================== 订单表单弹窗样式 ===================== */
dialog#orderDialog {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 80, 180, 0.18);
    padding: 0;
    max-width: 420px;
    width: 92vw;
    background: linear-gradient(135deg, #f8fbff 0%, #e3f0ff 100%);
}

.order-section {
    padding: 28px 24px 24px 24px;
    background: transparent;
    border-radius: 16px;
}

.order-section h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #2563eb;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 1.4em;
}

#orderForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 1em;
    color: #222b45;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 6px 10px;
    border: 1.5px solid #b6c6e3;
    border-radius: 8px;
    font-size: 0.95em;
    outline: none;
    background: #fafdff;
    transition: border 0.2s, box-shadow 0.2s;
    width: 100%;
    height: 34px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: #aabbcc;
}

/* 手机号码和验证码输入框特定样式 */
#phoneInput,
#codeInput {
    height: 32px;
    font-size: 0.9em;
}
#phoneInput {
    width: 95%;
}

.code-container {
    display: flex;
    gap: 6px;
    align-items: center;
}

.code-container input {
    flex: 1;
    max-width: 65%;
}

#sendSmsBtn {
    background: #fff;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 8px;
    padding: 0 10px;
    height: 32px;
    font-size: 0.8em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

#sendSmsBtn:hover {
    background: #edf2fd;
}

#sendSmsBtn:disabled {
    background: #e3eafc;
    color: #b6c6e3;
    border-color: #b6c6e3;
    cursor: not-allowed;
}

#smsCountdown {
    color: #2563eb;
    font-size: 0.8em;
    display: inline-block;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.form-actions button {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#submitBtn {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

#submitBtn:hover {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

#closeDialogBtn {
    background: linear-gradient(135deg, #4A90E2 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

#closeDialogBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

#orderResult {
    margin-top: 20px;
    text-align: center;
    font-size: 1.05em;
    min-height: 24px;
}

#qrcodeBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px auto 0 auto;
    width: 100%;
}

@media (max-width: 500px) {
    dialog#orderDialog {
        max-width: 98vw;
        padding: 0;
    }

    .order-section {
        padding: 20px 16px 16px 16px;
    }

    .form-group input,
    .form-group select,
    #sendSmsBtn {
        height: 32px;
        padding: 6px 8px;
        font-size: 0.9em;
    }

    #phoneInput,
    #codeInput {
        height: 30px;
    }

    .order-section h2 {
        margin-bottom: 20px;
        font-size: 1.3em;
    }

    .form-actions button {
        height: 34px;
        font-size: 0.95em;
    }
}

/* 教程专区样式 */
.tutorial-section {
    margin: 30px auto;
    padding: 0;
    background: #f7f9fb;
    border-radius: 12px;
    overflow: hidden;
}

.tutorial-container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* 标题样式 */
.tutorial-title {
    text-align: center;
    margin-bottom: 30px;
}

.tutorial-title img {
    max-width: 90%;
    height: auto;
}

/* 教程卡片样式 */
.tutorial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
}

.tutorial-list {
    position: relative;
    padding-left: 60px;
}

/* 搜索图标样式 */
.search-icon {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
}

.search-icon svg {
    width: 100%;
    height: 100%;
}

/* 教程列表项样式 */
.tutorial-items {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.tutorial-items li {
    font-size: 16px;
    color: #333;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}

/* 按钮样式 */
.tutorial-button {
    display: inline-block;
    background: #2979ff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.2);
}

.tutorial-button:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(41, 121, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tutorial-container {
        padding: 15px;
    }

    .tutorial-card {
        padding: 20px;
    }

    .tutorial-list {
        padding-left: 45px;
    }

    .search-icon {
        width: 30px;
        height: 30px;
    }

    .tutorial-items li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tutorial-container {
        padding: 10px;
    }

    .tutorial-card {
        padding: 15px;
    }

    .tutorial-list {
        padding-left: 40px;
    }

    .search-icon {
        width: 28px;
        height: 28px;
    }

    .tutorial-items li {
        font-size: 14px;
    }

    .tutorial-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 关于我们&帮助中心区域样式 */
.footer-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
    padding: 0;
    background: url("./img/footer/bg.png") no-repeat;
    background-size: cover;
    background-position: center;
}

.footer-container {
    display: flex;
    padding: 30px 0;
    justify-content: space-between;
}

/* 关于我们部分样式 */
.footer-about {
    flex: 1;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 3px;
}

.footer-contact {
    flex: 1;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    margin-bottom: 3px;
}

.footer-image {
    width: 95%;
    height: auto;
    display: block;
}

/* 帮助中心按钮样式 */
.help-center {
    text-align: center;
    padding: 15px 0;
    background-color: #fff;
    border-radius: 0;
}

.help-center-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f0f0f0; */
    border-radius: 25px;
    padding: 8px 30px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.help-center-btn img {
    width: auto;
    height: 20px;
    margin-right: 8px;
    object-fit: contain;
}

.help-center-btn:hover {
    background-color: #e0e0e0;
}

/* 底部版权样式 */
.footer-copyright {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 14px;
    border-radius: 0 0 20px 20px;
    /* background-color: #f0f9ff; */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 20px 0;
    }

    .footer-about,
    .footer-contact {
        margin: 15px 0;
    }

    .help-center-btn {
        padding: 8px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .help-center-btn {
        padding: 6px 15px;
        font-size: 14px;
    }

    .help-center-btn img {
        height: 16px;
        margin-right: 5px;
    }
}

/* 客服二维码样式 */
.service-qrcode {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-top: 1px dashed #e0e0e0;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border: 3px solid #4cacde;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(76, 172, 222, 0.2);
    transition: transform 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.05);
}

.qrcode-tip {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
    background: #f5f9ff;
    padding: 6px 12px;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .service-qrcode {
        margin-top: 15px;
    }

    .qrcode-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .service-qrcode {
        margin-top: 12px;
    }

    .qrcode-image {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .qrcode-tip {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* 移动端顶部导航栏样式 (从 article.css 借鉴并修改) */
#mobile-header-navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    position: fixed; /* 改为 fixed 以便吸顶 */
    top: -200px; /* 初始隐藏在屏幕上方 */
    left: 0;
    right: 0;
    z-index: 1060;
    display: none; /* 默认在PC端不显示, 通过JS和媒体查询控制 */
    transition: top 0.3s ease-in-out;
}

#mobile-header-navbar.sticky {
    top: 0; /* 吸顶时显示 */
}

#mobile-header-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 90%; /* 适应移动端宽度 */
    margin: 0 auto;
    padding: 0;
}

#mobile-header-navbar .navbar-header {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center; /* Logo居中 */
    position: relative;
    width: 100%;
}

#mobile-header-navbar .logo-box {
    display: flex;
    align-items: center;
    font-size: 1rem; /* 调整字体大小 */
    font-weight: 500;
    color: #333;
    margin: 0 auto; /* 确保居中 */
}

#mobile-header-navbar .logo-box img {
    height: 30px; /* 调整Logo大小 */
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}
#mobile-header-navbar .logo-box span {
    font-size: 0.9rem;
}

#mobile-header-navbar .logo-index {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

#mobile-header-navbar .navbar-toggle {
    display: none; /* 移动端默认也不显示，由媒体查询控制 */
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    outline: none;
    position: absolute;
    left: 10px; /* 调整汉堡按钮位置 */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100; /* 比navbar-collapse高一级 */
}

#mobile-header-navbar .navbar-toggle .icon-bar {
    display: block;
    width: 22px; /* 调整汉堡图标大小 */
    height: 2px; /* 调整汉堡图标大小 */
    margin: 5px 0;
    background: #333; /* 更改颜色以适应可能的背景变化 */
    border-radius: 1px;
    transition: all 0.3s;
}

#mobile-navbar-collapse {
    /* 注意ID已更改 */
    position: fixed;
    top: 0;
    left: -100%; /* 初始在左侧外面 */
    width: 80%; /* 占屏幕80%宽度 */
    max-width: 300px; /* 最大宽度 */
    height: 100%;
    background: #fff;
    z-index: 1050; /* 比navbar高，比toggle按钮低 */
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2); /* 右侧阴影 */
    overflow-y: auto;
    padding: 0;
}

#mobile-navbar-collapse .cancel-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* X号靠左 */
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
}
#mobile-navbar-collapse .cancel-menu span {
    /* X号样式 */
    font-size: 24px;
    color: #333;
    line-height: 1;
}

#mobile-navbar-collapse .navbar-nav-container {
    padding: 15px 0; /* 调整内边距 */
    margin-top: 25px;
}

#mobile-navbar-collapse .nav.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-navbar-collapse .nav.navbar-nav li {
    margin-bottom: 0;
    /* border-bottom: 1px solid #eaeaea; */ /* 移除单个项目的底部边框 */
}
#mobile-navbar-collapse .nav.navbar-nav li:last-child {
    border-bottom: none;
}

#mobile-navbar-collapse .nav.navbar-nav a,
#mobile-navbar-collapse .nav.navbar-nav .nav-tel {
    color: #333;
    text-decoration: none;
    font-size: 1rem; /* 调整菜单项字体大小 */
    display: block;
    padding: 12px 20px; /* 调整菜单项内边距 */
    transition: background-color 0.2s ease;
}

#mobile-navbar-collapse .nav.navbar-nav a:hover,
#mobile-navbar-collapse .nav.navbar-nav .nav-tel:hover {
    background-color: #f5f5f5;
}

#mobile-navbar-collapse .nav.navbar-nav li.active a {
    /* article.html中没有，但通常主页需要 */
    color: #2979ff; /* 高亮颜色 */
    font-weight: bold;
}

#mobile-navbar-collapse .nav.navbar-nav .nav-tel {
    font-weight: normal; /* 电话号码取消加粗 */
    /* border-top: 1px solid #eaeaea; */ /* 移除电话号码上方的分隔线 */
    margin-top: 10px; /* 与上方菜单项分隔 */
    padding-top: 12px;
    padding-bottom: 12px;
}

#mobile-nav-bg {
    /* 注意ID已更改 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 调整遮罩透明度 */
    z-index: 1040; /* 低于navbar-collapse，高于页面内容 */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none; /* 初始隐藏 */
}

#mobile-nav-bg.fade-in {
    /* article.html 中为 fade-in，保持一致 */
    opacity: 1;
    display: block; /* 显示时改为block */
}

/* 移动端特定样式调整 */
@media (max-width: 768px) {
    /* 隐藏PC端侧边栏导航 */
    .sidebar-nav {
        display: none !important; /* 强制隐藏 */
    }

    /* 显示移动端导航栏 */
    #mobile-header-navbar {
        display: block; /* 在移动端显示navbar */
    }
    #mobile-header-navbar .navbar-toggle {
        display: inline-block; /* 在移动端显示汉堡按钮 */
    }
    #mobile-header-navbar .container {
        width: 100%; /* 移动端导航栏内容区占满宽度 */
        padding: 0 15px; /* 给左右一些内边距 */
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    #mobile-header-navbar .logo-box img {
        height: 28px;
        margin-right: 6px;
    }
    #mobile-header-navbar .logo-box span {
        font-size: 0.85rem;
    }
    #mobile-header-navbar .navbar-toggle {
        left: 5px; /* 调整汉堡按钮位置 */
        padding: 6px 10px;
    }
    #mobile-header-navbar .navbar-toggle .icon-bar {
        width: 20px;
    }

    #mobile-navbar-collapse {
        width: 75%;
        max-width: 260px;
    }
    #mobile-navbar-collapse .nav.navbar-nav a,
    #mobile-navbar-collapse .nav.navbar-nav .nav-tel {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
}

/* PC端菜单遮罩层样式 */
.nav-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.18);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease;
    display: none;
}
.nav-bg.fade-in {
    opacity: 1;
    display: block;
}

/* 移动端菜单遮罩层样式，完全独立 */
#mobile-nav-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}
#mobile-nav-bg.fade-in {
    opacity: 1;
    display: block;
}

/* 可折叠的导航部分 */
.navbar-collapse {
    /* 对应之前的 #mobile-navbar-collapse，现在使用ID #navbar */
    position: fixed;
    top: 0;
    left: -100%; /* 初始在屏幕左侧外部 */
    width: 80%; /* 展开时宽度 */
    max-width: 300px; /* 最大宽度，避免在非常大的屏幕上过宽 */
    height: 100%;
    background: #fff;
    z-index: 1100; /* 比遮罩层高 */
    transition: left 0.3s ease; /* 滑动动画 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* 阴影 */
    overflow-y: auto; /* 内容超出时可滚动 */
    padding: 0;
}

.cancel-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* X号靠左 */
    padding: 15px;
    border-bottom: 1px solid #eaeaea; /* 分隔线 */
    cursor: pointer;
}

.cancel-menu span {
    /* X号样式 */
    font-size: 24px; /* X 大小 */
    color: #757575; /* X 颜色 */
    line-height: 1;
}
.cancel-menu span:hover {
    color: #333;
}

.navbar-nav-container {
    padding: 15px 10px; /* 导航项容器的内边距 */
}

.nav.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav.navbar-nav li {
    margin-bottom: 0; /* 移除默认的底部边距 */
    border-bottom: 1px solid #eaeaea; /* 导航项之间的分隔线 */
}
.nav.navbar-nav li:last-child {
    border-bottom: none; /* 最后一项无下边框 */
}

.nav.navbar-nav a,
.nav.navbar-nav .nav-tel {
    /* 统一链接和电话号码样式 */
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 16px 10px;
    transition: background-color 0.2s ease;
}

.nav.navbar-nav a:hover {
    background-color: #f5f5f5; /* 鼠标悬停背景色 */
    color: #2196f3; /* 鼠标悬停文字颜色 */
}

.nav.navbar-nav li.active a {
    color: #2196f3; /* 当前活动项文字颜色 */
    font-weight: bold; /* 当前活动项文字加粗 */
    /* background-color: #e7f3fe; */ /* 活动项背景色，可选 */
}

.nav.navbar-nav .nav-tel {
    font-weight: bold;
    /* border-top: 12px solid #f5f5f5; */ /* 电话号码上方的分隔，如果需要的话 */
    color: #555; /* 电话号码颜色可以略有不同 */
}

/* 支付结果样式 */
.payment-result-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 10px 0;
    /* overflow: auto; */
    max-height: 70vh;
    font-family: "微软雅黑", "Arial", sans-serif;
}

.payment-result-wrapper * {
    max-width: 100%;
    box-sizing: border-box;
}

/* 为支付结果页面添加CSS变量 */
.payment-result-wrapper {
    --primary-color: #4A90E2;
    --success-color: #4CAF50;
    --fail-color: #F44336;
    --text-color: #333333;
    --background-color: #F5F7FA;
    --card-background: #FFFFFF;
    --border-radius: 12px;
    --font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.payment-result-wrapper .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.payment-result-wrapper .status-box {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.payment-result-wrapper .status-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.payment-result-wrapper .status-success {
    color: var(--success-color);
}

.payment-result-wrapper .status-fail {
    color: var(--fail-color);
}

.payment-result-wrapper .status-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.payment-result-wrapper .status-subtext {
    font-size: 14px;
    color: #666;
}

.payment-result-wrapper .order-info {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.payment-result-wrapper .order-info p {
    margin: 8px 0;
    font-size: 14px;
}

.payment-result-wrapper .redeem-code {
    background-color: #E8F4FF;
    color: #1a73e8;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    word-break: break-all;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.payment-result-wrapper .copy-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    flex-shrink: 0;
}

.payment-result-wrapper .form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.payment-result-wrapper .btn-home {
    display: inline-block;
    width: 48%;
    padding: 12px 0;
    background-color: var(--primary-color);
    color: #FFFFFF;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.payment-result-wrapper #closeDialogBtn {
    display: inline-block;
    width: 100%;
    /* padding: 14px 0; */
    background: linear-gradient(135deg, #4A90E2 0%, #2563eb 100%);
    color: #ffffff;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.payment-result-wrapper #closeDialogBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.payment-result-wrapper .btn-blue {
    background: linear-gradient(135deg, #4A90E2 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

@media (max-width: 500px) {
    .payment-result-wrapper {
        max-width: 100%;
        padding: 10px;
    }
    
    .payment-result-wrapper .container {
        padding: 10px;
    }
    
    .payment-result-wrapper .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-result-wrapper .btn-home,
    .payment-result-wrapper #closeDialogBtn {
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
        border-radius: 8px;
    }
}
