/* index.css - Extracted from index.php */

/* ===== CSS变量体系 ===== */
:root {
    --bg-body: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-inner: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #fafafa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.04);
    --countdown-bg: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff0f0 100%);
    --countdown-card-bg: #fdf2f2;
    --countdown-num: #c53030;
    --countdown-label: #666;
    --link-color: inherit;
    --link-hover: #4299e1;
}

body.dark-mode {
    --bg-body: #1a202c;
    --bg-card: #2d3748;
    --bg-card-inner: #1a202c;
    --bg-secondary: #4a5568;
    --bg-tertiary: #2d3748;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e0;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --countdown-bg: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    --countdown-card-bg: #374151;
    --countdown-num: #fc8181;
    --countdown-label: #a0aec0;
    --link-color: #90cdf4;
    --link-hover: #63b3ed;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
}

/* SVG图标基础样式 */
.icon-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

.countdown-wrapper {
    max-width: 1300px;
    margin: 0 auto 20px;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--countdown-bg);
    box-shadow: 0 2px 12px var(--shadow-color);
}

.card-num {
    color: var(--countdown-num);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
}

.mobile-tip {
    background-color: #fffbeb;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 15px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    display: none;
    margin: 0 auto 20px;
    max-width: 1300px;
    border-radius: 8px;
}

.system-banner {
    display: none;
}

.no-env-tip {
    color: #f57c00;
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
    padding: 4px 8px;
    background-color: #fff8f0;
    border-radius: 4px;
    display: inline-block;
}

/* 新增CAD科目提示样式 */
.cad-tip {
    color: #7c3aed;
    font-size: 13px;
    font-weight: bold;
    margin-top: 8px;
    padding: 4px 8px;
    background-color: #f5f3ff;
    border-radius: 4px;
    display: inline-block;
}

/* 在线版题库按钮样式（新增） */
.btn-online-tiku {
    border: 2px solid #4299e1 !important;
    color: #4299e1 !important;
    background-color: #ebf8ff !important;
}

.btn-online-tiku:hover {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.2);
}

/* 在线版通用下载区样式 */
.online-download {
    background: linear-gradient(135deg, #ebf8ff 0%, #e8f4f8 100%);
    border: 2px solid #4299e1;
    border-radius: 8px;
    padding: 25px;
    margin: 0 auto 30px;
    max-width: 1300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.1);
}


/* 杀毒提示弹窗样式 */
.antivirus-warning-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:none;align-items:center;justify-content:center;z-index:10001;backdrop-filter:blur(6px);padding:20px;}
.antivirus-modal-box{background:#fff;border-radius:24px;width:92%;max-width:720px;padding:32px 28px;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,0.2);transform:translateY(30px) scale(0.95);opacity:0;transition:all 0.35s cubic-bezier(0.4,0,0.2,1);}
.antivirus-warning-modal.show .antivirus-modal-box{transform:translateY(0) scale(1);opacity:1;}
.antivirus-modal-title{font-size:22px;font-weight:800;color:#ea580c;margin-bottom:16px;}
.antivirus-modal-img{width:100%;max-height:420px;object-fit:contain;border-radius:16px;border:2px solid #fed7aa;margin-bottom:20px;cursor:zoom-in;box-shadow:0 4px 20px rgba(234,88,12,0.1);}
.antivirus-modal-text{font-size:14px;color:#64748b;margin-bottom:24px;line-height:1.8;text-align:left;padding:0 8px;}
.antivirus-modal-text strong{color:#dc2626;font-weight:700;}
.antivirus-confirm-btn{background:linear-gradient(135deg,#10b981,#059669);color:white;border:none;padding:14px 40px;border-radius:12px;font-size:16px;cursor:pointer;font-weight:700;box-shadow:0 4px 16px rgba(16,185,129,0.3);width:100%;max-width:320px;}
.antivirus-confirm-btn:hover{transform:scale(1.02);box-shadow:0 6px 20px rgba(16,185,129,0.4);}
/* 图片全屏查看器 */
.antivirus-img-viewer{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.85);display:none;align-items:center;justify-content:center;z-index:10010;cursor:zoom-out;padding:20px;}
.antivirus-img-viewer img{max-width:95%;max-height:95%;object-fit:contain;border-radius:8px;}


.online-title {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.online-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.online-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(66, 153, 225, 0.2);
    transition: all 0.3s ease;
}

.online-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 153, 225, 0.3);
}

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

.page-title {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0 0 30px;
    border-bottom: 3px solid #4299e1;
    padding-bottom: 12px;
    font-weight: 700;
    background-color: var(--bg-card);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 版本对比表样式 - 核心优化 */
.version-compare {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow-x: auto;
    /* 表格横向滚动 */
    -webkit-overflow-scrolling: touch;
    /* 移动端顺滑滚动 */
}

.compare-title {
    font-size: 22px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.compare-table {
    width: 100%;
    min-width: 768px;
    /* 保证表格最小宽度，防止挤压 */
    border-collapse: collapse;
    text-align: center;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    /* 防止文字换行 */
}

.compare-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
}

/* 表格列宽度优化 */
.compare-table th:first-child {
    width: 20%;
    min-width: 120px;
}

.compare-table th:nth-child(2),
.compare-table th:nth-child(3),
.compare-table th:nth-child(4) {
    width: 26.67%;
    min-width: 150px;
}

.compare-table tr:nth-child(even) {
    background-color: var(--bg-tertiary);
}

.highlight {
    color: #38a169;
    font-weight: 600;
}

.subject-section {
    margin-bottom: 40px;
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.subject-title {
    font-size: 22px;
    color: var(--text-primary);
    margin: 0 0 20px;
    background-color: var(--bg-secondary);
    border-left: 4px solid #4299e1;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 5px;
}

.subject-item {
    background-color: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    width: calc(50% - 10px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 2px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

.subject-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e0;
}

/* 新增：科目名称+QQ群图标容器 */
.subject-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.subject-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.subject-name span {
    color: #4299e1;
    font-weight: bold;
    margin-right: 8px;
    display: inline-block;
    width: 30px;
}

/* 新增：QQ群答疑样式 */
.qq-group-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1da1f2;
    font-size: 14px;
    background-color: #f0f8ff;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e1f5fe;
    white-space: nowrap;
    flex-shrink: 0;
}

.qq-group-info i {
    font-size: 16px;
}

.qq-group-num {
    font-family: "Consolas", monospace;
    font-weight: 600;
}

/* 按钮行容器 - 关键调整：移除占位符，两个按钮均分宽度 */
.btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.download-btn {
    padding: 12px 0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    /* 核心修改：上排两个按钮各占50%宽度 */
    flex: 1;
    min-width: calc(50% - 5px);
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* 离线版题库按钮 */
.btn-offline-tiku {
    border: 2px solid #ed8936 !important;
    color: #ed8936 !important;
    background-color: #fffaf0 !important;
}

.btn-offline-tiku:hover {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.2);
}

/* 考试大纲按钮 */
.btn-outline {
    border: 2px solid #9f7aea !important;
    color: #9f7aea !important;
    background-color: #faf0f5 !important;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(159, 122, 234, 0.2);
}

/* 考试环境工具包按钮 - 独占一行 */
.btn-env-pack {
    border: 2px solid #38a169 !important;
    color: #38a169 !important;
    background-color: #f0fdf4 !important;
    /* 下排按钮宽度100% */
    width: 100%;
    min-width: 100%;
}

.btn-env-pack:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.2);
}

.btn-disabled {
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
    width: 100%;
    min-width: 100%;
    padding: 12px 0;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.feature-section {
    margin: 0 0 30px;
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.feature-title {
    font-size: 24px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.img-container {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-body);
}

/* PC端淘宝式放大预览需要overflow可见 */
@media (min-width: 769px) {
    .feature-section .img-container {
        overflow: visible;
    }
}

.img-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.02);
}

/* 淘宝式图片放大预览 - 仅PC端 */
@media (min-width: 769px) {
    .feature-section .img-container {
        position: relative;
        cursor: crosshair;
    }

    /* 半透明选区方块 */
    .img-zoom-selector {
        position: absolute;
        width: 120px;
        height: 90px;
        background-color: rgba(66, 153, 225, 0.3);
        border: 2px solid rgba(66, 153, 225, 0.6);
        pointer-events: none;
        z-index: 10;
        display: none;
    }

    /* 右侧放大预览框 */
    .img-zoom-preview {
        position: absolute;
        left: 105%;
        top: 0;
        width: 350px;
        height: 300px;
        border: 2px solid #4299e1;
        border-radius: 4px;
        background-color: #fff;
        background-repeat: no-repeat;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 100;
        display: none;
        overflow: hidden;
    }

    /* 预览框显示在左侧（空间不足时） */
    .img-zoom-preview.show-left {
        left: auto;
        right: 105%;
    }

    /* 深色模式适配 */
    body.dark-mode .img-zoom-selector {
        background-color: rgba(99, 179, 237, 0.3);
        border-color: rgba(99, 179, 237, 0.6);
    }

    body.dark-mode .img-zoom-preview {
        border-color: rgba(99, 179, 237, 0.7);
        background-color: #1a202c;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }

    /* 有放大预览时禁用原有的hover缩放 */
    .feature-section .img-container:hover img {
        transform: none;
    }
}

.feature-item {
    background-color: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.feature-item h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 10px;
    font-size: 15px;
}

.icp-footer {
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background-color: var(--bg-card);
}

.icp-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-footer a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.icp-footer .company-info {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: inherit;
}

.icp-footer .company-info p {
    margin: 2px 0;
}

/* ========== 新增右侧悬浮按钮样式 ========== */
/* 直播课程表按钮样式 */
.live-btn {
    background-color: #e53e3e;
    /* 红色系，区分其他按钮 */
}

.live-btn:hover {
    background-color: #c53030;
}

/* 深色模式下直播按钮适配 */
body.dark-mode .live-btn {
    filter: brightness(0.9);
}

body.dark-mode .live-btn:hover {
    filter: brightness(1);
}

.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4299e1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 24px;
    border: none;
    outline: none;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-color: #3182ce;
}

/* 微信按钮样式 */
.wechat-btn {
    background-color: #4caf50;
}

.wechat-btn:hover {
    background-color: #388e3c;
}

/* QQ按钮样式 */
.qq-btn {
    background-color: #1da1f2;
}

.qq-btn:hover {
    background-color: #0d8bd9;
}

/* 置顶按钮样式 */
.top-btn {
    background-color: #9f7aea;
}

.top-btn:hover {
    background-color: #805ad5;
}

/* 二维码弹窗样式 */
.qrcode-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 12px;
}

.float-item {
    position: relative;
}

.float-item:hover .qrcode-popup {
    display: block;
}

/* 人工服务按钮样式（新增） */
.service-btn {
    background-color: #07c160;
}

.service-btn:hover {
    background-color: #06ae56;
}

/* VIP按钮样式 */
.vip-btn {
    background-color: #f59e0b;
}

.vip-btn:hover {
    background-color: #d97706;
}

/* ========== 移动端优化（768px以下） ========== */
@media (max-width: 768px) {

    /* 移动端提示样式（显示/隐藏由JS统一控制） */
    .mobile-tip {
        padding: 12px 15px;
        font-size: 15px;
        margin: 12px auto 15px;
    }

    /* 倒计时卡片移动端适配 */
    .countdown-wrapper {
        padding: 20px 12px;
        margin: 0 auto 15px;
    }

    .countdown-title {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .countdown-cards {
        gap: 8px;
    }

    .countdown-card {
        width: 72px;
        height: 90px;
        border-radius: 10px;
    }

    .card-num {
        font-size: 30px;
    }

    .card-label {
        font-size: 12px;
        margin-top: 6px;
    }

    .countdown-sep {
        font-size: 22px;
        margin-top: -12px;
    }



    .countdown-live-dot {
        width: 6px;
        height: 6px;
        margin-right: 6px;
    }

    /* 在线下载区优化 */
    .online-download {
        padding: 20px 15px;
        margin: 15px auto 20px;
    }

    .online-title {
        font-size: 20px;
    }

    .online-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .online-btn {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        /* 按钮全屏宽 */
    }

    /* 页面标题优化 */
    .page-title {
        font-size: 22px;
        padding: 12px 15px;
        margin-bottom: 20px;
    }

    /* 版本对比表优化 */
    .version-compare {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .compare-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 5px;
        font-size: 13px;
    }

    /* 表格滚动提示（移动端专属） */
    .version-compare::after {
        content: '← 左右滑动查看完整对比 →';
        display: block;
        text-align: center;
        font-size: 12px;
        color: #718096;
        margin-top: 8px;
    }

    /* 科目区域优化 */
    .subject-section {
        padding: 15px;
        margin-bottom: 25px;
    }

    .subject-title {
        font-size: 20px;
        padding: 10px 15px;
        margin-bottom: 15px;
    }

    .subject-item {
        width: 100%;
        /* 移动端单列展示 */
        padding: 15px;
        gap: 12px;
    }

    .subject-name {
        font-size: 16px;
    }

    /* 移动端QQ群信息适配 */
    .qq-group-info {
        font-size: 12px;
        padding: 3px 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* 按钮优化 - 移动端全屏宽 */
    .download-btn {
        min-width: 100%;
        padding: 10px 0;
        font-size: 13px;
    }

    .btn-row {
        gap: 8px;
    }

    /* 功能区优化 */
    .feature-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .feature-title {
        font-size: 20px;
        padding: 12px;
        margin-bottom: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        /* 单列展示 */
        gap: 20px;
    }

    /* 移动端图片自适应高度 */

    .feature-item {
        padding: 20px 15px;
    }

    .feature-item h3 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 14px;
    }

    /* 提示文字优化 */
    .no-env-tip,
    .cad-tip {
        font-size: 12px;
        padding: 3px 6px;
        margin-top: 6px;
        width: 100%;
        text-align: center;
    }

    /* 页脚优化 */
    .icp-footer {
        margin-top: 30px;
        padding: 15px 10px;
        /* 减少上下内边距，增加左右留白 */
        font-size: 13px;
        /* 缩小字体，避免过大 */
        white-space: nowrap;
        /* 防止文字换行溢出 */
        overflow: hidden;
        /* 隐藏溢出内容（可选） */
        text-overflow: ellipsis;
        /* 溢出时显示省略号（可选） */
        max-width: 100%;
        /* 确保宽度不超出屏幕 */
        box-sizing: border-box;
        /* 内边距计入宽度 */
    }

    /* 公司信息在移动端允许换行，避免长地址被 ellipsis 截断 */
    .icp-footer .company-info {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 12px;
        word-break: break-word;
    }

    /* 移动端悬浮按钮优化 */
    .float-buttons {
        right: 8px;
        bottom: 15px;
        gap: 8px;
    }

    .float-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .qrcode-img {
        width: 120px;
        height: 120px;
    }
}

/* 小屏手机额外优化 (375px以下) */
@media (max-width: 375px) {
    .navbar-logo span {
        font-size: 16px;
    }

    .countdown-title {
        font-size: 13px;
    }

    .countdown-card {
        width: 60px;
        height: 76px;
    }

    .card-num {
        font-size: 24px;
    }

    .countdown-sep {
        font-size: 18px;
    }



    .online-title {
        font-size: 18px;
    }

    .subject-name {
        font-size: 15px;
    }

    .feature-item h3 {
        font-size: 17px;
    }

    /* 小屏手机悬浮按钮优化 */
    .float-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .float-buttons {
        right: 6px;
        bottom: 10px;
        gap: 6px;
    }
}

/* 在样式表中添加 */
.faq-btn {
    margin-left: 10px;
    padding: 3px 8px;
    background-color: #f0f8ff;
    color: #4299e1;
    border-radius: 4px;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid #e1f5fe;
    transition: all 0.2s ease;
}

.faq-btn:hover {
    background-color: #e6f7ff;
    color: #1890ff;
}

.faq-btn i {
    margin-right: 3px;
}

.anchor-link {
    color: #2d3748;
    /* 保持原文字颜色不变 */
    text-decoration: none;
    /* 去除下划线 */
    position: relative;
    padding-right: 24px;
    /* 为图标留出空间 */
    display: inline-flex;
    align-items: center;
}

.anchor-link::after {
    content: "🔗";
    /* 蓝色定位图标 */
    font-size: 14px;
    color: #4299e1;
    /* 蓝色图标 */
    margin-left: 6px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.anchor-link:hover::after {
    background-color: #4299e1;
    /* 鼠标悬停时图标背景变蓝 */
    color: white;
    /* 鼠标悬停时图标变白 */
    transform: scale(1.1);
    /* 轻微放大效果 */
}

/* 保持锚点目标的滚动优化 */
.anchor-target {
    scroll-margin-top: 80px;
    /* 避免被导航栏遮挡 */
}

.anchor-target:target {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% {
        background-color: rgba(66, 153, 225, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

a {
    text-decoration: none;
}

/* 问号提示图标样式 */
.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background-color: #4299e1;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-left: 6px;
    cursor: help;
    position: relative;
}

/* 悬浮提示文本样式 */
.help-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    /* 提示框宽度 */
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    /* 提示框在图标上方 */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: pre-wrap;
    /* 保留换行符，自动换行 */
    word-wrap: break-word;
    /* 长单词/URL强制换行 */
    word-break: break-all;
    /* 任意位置换行，适配窄框 */
}

/* 提示框小三角 */
.help-icon .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* 鼠标悬停显示提示 */
.help-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 适配移动端 */
@media (max-width: 768px) {
    .help-icon .tooltip-text {
        width: 160px;
        /* 移动端缩小提示框 */
        font-size: 13px;
    }
}

/* 左侧导航目录样式 */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 80px;
    bottom: 20px;
    width: 210px;
    background-color: transparent;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 0;
    overflow-y: auto;
    z-index: 990;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sidebar-nav.show {
    transform: translateX(0);
}

.sidebar-toggle {
    position: fixed;
    left: 10px;
    top: 80px;
    width: 40px;
    height: 40px;
    background-color: #2c5282;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 995;
    font-size: 18px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: #2a4365;
    transform: scale(1.05);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: left;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
    border-bottom: none;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: 11px 16px 11px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
    margin: 0 10px 0 0;
    text-align: left;
    border-left: 3px solid transparent;
    background-color: transparent;
    position: relative;
}

.sidebar-nav a:hover {
    background-color: rgba(66, 153, 225, 0.1);
    color: #2b6cb0;
    border-left-color: rgba(66, 153, 225, 0.5);
}

.sidebar-nav a.active {
    background-color: rgba(66, 153, 225, 0.15);
    color: #2b6cb0;
    font-weight: 700;
    border-left-color: #4299e1;
    border-left-width: 4px;
    box-shadow: none;
}

/* 适配移动端 */
@media (max-width: 768px) {
    .sidebar-nav {
        width: 180px;
        top: 70px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .sidebar-nav {
        background-color: rgba(45, 55, 72, 0.95);
    }

    .sidebar-toggle {
        top: 70px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    /* 移动端主内容区适配 */
    .container {
        padding-left: 10px;
    }
}

/* 主内容区适配左侧导航 */
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

@media (min-width: 769px) {
    .main-content {
        margin-left: 210px;
    }

    .sidebar-nav {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: none;
    }
}

/* 适配网页缩放（当可视宽度<1860px时自动折叠侧边栏） */
@media (max-width: 1860px) and (min-width: 769px) {

    /* 自动折叠左侧导航栏 */
    .sidebar-nav {
        transform: translateX(-100%);
    }

    /* 显示侧边栏开关按钮 */
    .sidebar-toggle {
        display: flex;
    }

    /* 主内容区恢复默认边距，不被侧边栏遮挡 */
    .main-content {
        margin-left: 0;
    }

    /* 侧边栏显示时添加不透明背景，防止与内容文字重叠 */
    .sidebar-nav.show {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    }
}



/* ===== 深色模式 - 特殊组件覆盖 ===== */

/* 导航栏渐变 */
body.dark-mode .navbar {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-bottom-color: #4a5568;
}

/* 导航栏链接文字 */
body.dark-mode .navbar-menu > li > a {
    color: #e2e8f0;
}
body.dark-mode .navbar-menu > li:hover > a {
    color: #818cf8;
    background-color: rgba(129, 140, 248, 0.1);
}
body.dark-mode .navbar-menu > li > a::after {
    background-color: #818cf8;
}

/* 导航栏下拉箭头 */
body.dark-mode .dropdown-arrow {
    border-top-color: #a0aec0;
}
body.dark-mode .dropdown:hover .dropdown-arrow {
    border-top-color: #818cf8;
}

/* 导航栏下拉菜单 */
body.dark-mode .dropdown-menu {
    background: #2d3748;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
body.dark-mode .dropdown-menu::before {
    border-bottom-color: #2d3748;
}
body.dark-mode .dropdown-menu li a {
    color: #e2e8f0;
}
body.dark-mode .dropdown-menu li a:hover {
    background-color: rgba(129, 140, 248, 0.12);
    color: #818cf8;
    border-left-color: #818cf8;
}

/* 导航栏Logo文字（保留渐变可见性） */
body.dark-mode .navbar-logo span {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端汉堡按钮 */
body.dark-mode .navbar-toggle {
    color: #e2e8f0;
}

/* 移动端导航菜单背景 */
@media (max-width: 768px) {
    body.dark-mode .navbar-menu {
        background: #2d3748;
        border-top-color: #4a5568;
    }
    body.dark-mode .navbar-menu > li > a {
        color: #e2e8f0;
    }
    body.dark-mode .dropdown-menu {
        background: #374151;
    }
    body.dark-mode .dropdown-menu li a {
        color: #cbd5e0;
    }
}

/* 侧边栏 */
body.dark-mode .sidebar-nav {
    background-color: transparent;
    border-color: transparent;
}

body.dark-mode .sidebar-nav.show {
    background-color: rgba(45, 55, 72, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .sidebar-nav a {
    color: #cbd5e0;
}

body.dark-mode .sidebar-nav a:hover {
    background-color: rgba(99, 179, 237, 0.1);
    color: #90cdf4;
    border-left-color: rgba(99, 179, 237, 0.5);
}

body.dark-mode .sidebar-nav a.active {
    background-color: rgba(99, 179, 237, 0.15);
    color: #90cdf4;
    border-left-color: #63b3ed;
}

/* 按钮深色模式 */
body.dark-mode .btn-online-tiku {
    border-color: #63b3ed;
    color: #63b3ed;
    background-color: rgba(66, 153, 225, 0.1);
}

body.dark-mode .btn-offline-tiku {
    border-color: #ed8936;
    color: #ed8936;
    background-color: rgba(237, 137, 54, 0.1);
}

body.dark-mode .btn-outline {
    border-color: #9f7aea;
    color: #9f7aea;
    background-color: rgba(159, 122, 234, 0.1);
}

body.dark-mode .btn-env-pack {
    border-color: #68d391;
    color: #68d391;
    background-color: rgba(56, 161, 105, 0.1);
}

body.dark-mode .btn-disabled {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #718096;
}

body.dark-mode .btn-online-tiku:hover,
body.dark-mode .btn-offline-tiku:hover,
body.dark-mode .btn-outline:hover,
body.dark-mode .btn-env-pack:hover {
    color: #ffffff;
    border-color: transparent;
}

body.dark-mode .download-btn:hover {
    color: #ffffff;
}

/* 提示框深色模式 */
body.dark-mode .no-env-tip {
    color: #fbd38d;
    background-color: rgba(245, 124, 0, 0.1);
}

body.dark-mode .cad-tip {
    color: #c084fc;
    background-color: rgba(124, 58, 237, 0.1);
}

body.dark-mode .mobile-tip {
    background-color: #3c3119;
    border-color: #5c4b1a;
    color: #fbd38d;
}

/* 在线下载区 */
body.dark-mode .online-download {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

body.dark-mode #vm {
    background: linear-gradient(135deg, #fdf2f8 0%, #fef7fb 100%);
    border-color: #e53e3e;
    margin-top: 30px;
}

/* QQ群信息 */
body.dark-mode .qq-group-info {
    color: #90cdf4;
    background-color: rgba(66, 153, 225, 0.1);
    border-color: #4a5568;
}

/* 链接颜色 */
body.dark-mode a {
    color: var(--link-color);
}

body.dark-mode a:hover {
    color: var(--link-hover);
}

/* 高亮文字 */
body.dark-mode .highlight {
    color: #68d391;
}

/* 悬浮按钮 */
body.dark-mode .float-btn {
    filter: brightness(0.9);
}

body.dark-mode .float-btn:hover {
    filter: brightness(1);
}

/* 二维码弹窗 */
body.dark-mode .qrcode-popup {
    background-color: #2d3748;
    border-color: #4a5568;
}

body.dark-mode .qrcode-img {
    background-color: #4a5568;
    color: #e2e8f0;
}

/* 帮助提示框 */
body.dark-mode .help-icon .tooltip-text {
    background-color: #4a5568;
    color: #e2e8f0;
}

body.dark-mode .help-icon .tooltip-text::after {
    border-top-color: #4a5568;
}

/* 内容区块 */
body.dark-mode .content-section {
    background-color: #2d3748;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 导航跳转按钮 */
body.dark-mode .nav-jump-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

body.dark-mode .nav-jump-btn.btn-gold {
    background: linear-gradient(135deg, #c77c1a 0%, #a66315 100%);
    box-shadow: 0 4px 12px rgba(199, 124, 26, 0.3);
}

body.dark-mode .nav-jump-btn.btn-green {
    background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
    box-shadow: 0 4px 12px rgba(47, 133, 90, 0.3);
}

body.dark-mode .nav-jump-btn.btn-purple {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
    box-shadow: 0 4px 12px rgba(128, 90, 213, 0.3);
}

body.dark-mode .nav-jump-btn:hover {
    color: #ffffff;
}

/* 对比表头部 */
body.dark-mode .comparison-header {
    background: linear-gradient(135deg, #2a3447 0%, #1e2a3a 100%);
    border-color: #4a5568;
}

body.dark-mode .comparison-header .lighthouse-title {
    color: #fbd38d;
}

body.dark-mode .comparison-header .other-title {
    color: #a0aec0;
}

body.dark-mode .comparison-header .new-tag {
    background: linear-gradient(135deg, #b7791f 0%, #975a16 100%);
    color: #fefcbf;
}

body.dark-mode .comparison-header .vs-badge {
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    color: #ffffff;
}

body.dark-mode .advantage-tag {
    background: linear-gradient(135deg, #975a16 0%, #744210 100%);
    color: #fefcbf;
}

/* 对比表格列 */
body.dark-mode .comparison-table thead tr {
    background: linear-gradient(135deg, #374151 0%, #2d3748 100%);
    border-bottom-color: #977b1c;
}

body.dark-mode .comparison-table thead th {
    color: #e2e8f0;
    background: linear-gradient(135deg, #374151 0%, #2d3748 100%);
}

body.dark-mode .comparison-table td.left-col {
    background: linear-gradient(90deg, #2a3447 0%, #2d3748 100%);
    color: #e2e8f0;
    border-right-color: #4a5568;
}

body.dark-mode .comparison-table td.middle-col {
    background-color: #374151;
    color: #e2e8f0;
    border-right-color: #4a5568;
}

body.dark-mode .comparison-table td.right-col {
    background-color: #2d3748;
    color: #a0aec0;
}

body.dark-mode .comparison-table .icon-check {
    color: #68d391;
}

body.dark-mode .comparison-table .icon-cross {
    color: #fc8181;
}

body.dark-mode .comparison-table tbody tr:hover {
    background-color: #374151;
}

/* 虚拟机下载区 */
body.dark-mode #vm .online-title {
    color: #fc8181;
}

body.dark-mode #vm .online-desc strong {
    color: #fc8181;
}

body.dark-mode #vm .online-download a {
    background-color: rgba(229, 62, 62, 0.1);
    border-color: #702424;
    color: #fc8181;
}

/* 统计数字颜色 */
body.dark-mode span[style*="color: #4299e1"] {
    color: #63b3ed !important;
}

/* 评价模块 */
body.dark-mode .review-section>div {
    background-color: #2d3748;
}

body.dark-mode .review-section>div>div>div {
    background-color: #374151;
    border-color: #4a5568;
}

body.dark-mode .review-section h2 {
    background-color: #4a5568;
    border-left-color: #63b3ed;
}

/* 表格行悬浮高亮 - 基础样式 */
.compare-table tbody tr:hover {
    background-color: #f0f7ff !important;
    transform: scale(1.005);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.1);
}

/* 对比表格行悬浮高亮 */
.comparison-table tbody tr:hover {
    background-color: #f0f7ff !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* 深色模式下表格行悬浮高亮 */
body.dark-mode .compare-table tbody tr:hover {
    background-color: #374151 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .comparison-table tbody tr:hover {
    background-color: #374151 !important;
}

/* 修复移动端表格hover效果（触屏设备不生效） */
@media (max-width: 768px) {

    .compare-table tbody tr:hover,
    .comparison-table tbody tr:hover {
        transform: none;
        box-shadow: none;
    }

    body.dark-mode .compare-table tbody tr:hover,
    body.dark-mode .comparison-table tbody tr:hover {
        box-shadow: none;
    }
}

/* ========== 广告弹窗样式 ========== */
.ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* 修正初始状态：只控制透明度和可见性，布局保留 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    /* 新增：控制可见性，不影响布局 */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    /* 新增visibility过渡 */
    pointer-events: none;
    /* 新增：初始状态不响应点击，避免遮挡页面 */
}

.ad-overlay.show {
    opacity: 1;
    visibility: visible;
    /* 新增：显示弹窗 */
    pointer-events: auto;
    /* 新增：响应点击，允许关闭弹窗 */
}

.ad-popup {
    width: 90%;
    max-width: 420px;
    background: linear-gradient(135deg, #fff9f6 0%, #fff 100%);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 68, 0, 0.2);
    position: relative;
    border: 1px solid #ffeedb;
}

.ad-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    background-color: #fdf6f2;
    transition: all 0.2s;
}

.ad-close:hover {
    background-color: #feebe0;
    color: #666;
}

.ad-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
    line-height: 1.4;
}

.ad-title .free-highlight {
    font-size: 26px;
    color: #ff4400;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 68, 0, 0.1);
    display: inline-block;
    margin-top: 8px;
}

.ad-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #e63c00;
    margin: 0 0 20px;
    line-height: 1.5;
}

.ad-original-price {
    font-size: 15px;
    margin: 0 0 20px;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #fff3ed;
    display: inline-block;
    line-height: 1.6;
}

.ad-original-price .price-text {
    color: #666;
    margin-right: 8px;
}

.ad-original-price .price-num {
    color: #ff4400;
    font-weight: 700;
    font-size: 25px;
    text-decoration: line-through;
}

.ad-time {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.5;
    background-color: #fef8f4;
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
}

.ad-countdown {
    font-size: 17px;
    color: #ff4400;
    font-weight: 700;
    margin: 0 0 32px;
    padding: 14px 24px;
    background-color: #fff;
    border: 2px solid #ffeedb;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 68, 0, 0.1);
    line-height: 1.6;
}

.ad-countdown .millis {
    color: #e63c00;
    font-size: 15px;
    font-weight: 800;
}

.ad-countdown-over {
    font-size: 14px;
    color: #999;
    margin: 0 0 32px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f9f9f9;
    line-height: 1.5;
}

.ad-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(90deg, #ff4400 0%, #ff6a33 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 68, 0, 0.3);
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

.ad-btn:hover {
    background: linear-gradient(90deg, #e63c00 0%, #ff5a1f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 68, 0, 0.4);
}

.ad-btn:active {
    transform: translateY(0);
}

/* 广告弹窗移动端适配 */
@media (max-width: 480px) {
    .ad-popup {
        width: 88%;
        padding: 28px 24px;
    }

    .ad-title {
        font-size: 20px;
        margin: 0 0 14px;
    }

    .ad-title .free-highlight {
        font-size: 24px;
        margin-top: 6px;
    }

    .ad-subtitle {
        font-size: 16px;
        margin: 0 0 18px;
    }

    .ad-original-price {
        font-size: 14px;
        margin: 0 0 18px;
        padding: 9px 18px;
    }

    .ad-original-price .price-num {
        font-size: 15px;
    }

    .ad-time {
        margin: 0 0 18px;
        padding: 9px 14px;
    }

    .ad-countdown {
        font-size: 15px;
        margin: 0 0 28px;
        padding: 12px 20px;
    }

    .ad-btn {
        padding: 12px 32px;
        font-size: 16px;
    }
}

/* 原有样式保持不变 */

/* 人工客服按钮闪动动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        opacity: 1;
    }
}

/* 闪动动画类 */
.service-btn-flash {
    animation: pulse 1.2s infinite ease-in-out;
}

/* 人工客服按钮悬浮提示框样式 */
.service-btn {
    position: relative;
    /* 作为提示框的定位父级 */
}

.service-tooltip {
    position: absolute;
    left: -155px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    white-space: nowrap;
    padding: 8px 14px;
    background-color: #ffffff;
    color: #07c160;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-radius: 20px;
    border: 1.5px solid #07c160;
    box-shadow: 0 2px 12px rgba(7, 193, 96, 0.15);
    line-height: 1.4;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-tooltip.show-init,
.service-btn:hover .service-tooltip {
    visibility: visible;
    opacity: 1;
}

.service-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #07c160;
}

.service-btn:hover .service-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 16px rgba(7, 193, 96, 0.2);
}

@media (max-width: 768px) {
    .service-tooltip {
        left: -140px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .service-tooltip::after {
        border-width: 5px 0 5px 7px;
        right: -7px;
    }
}

.countdown-wrapper {
    max-width: 1300px;
    margin: 0 auto 20px;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--countdown-bg);
    box-shadow: 0 2px 12px var(--shadow-color);
}

.countdown-title {
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: var(--countdown-num);
    margin-bottom: 22px;
}

.countdown-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 120px;
    background: var(--countdown-card-bg);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.06);
    transition: transform 0.2s ease;
}

.countdown-card:hover {
    transform: translateY(-2px);
}

.card-num {
    font-size: 46px;
    font-weight: 800;
    color: var(--countdown-num);
    line-height: 1.1;
}

.card-label {
    font-size: 14px;
    color: var(--countdown-label);
    margin-top: 8px;
    font-weight: 500;
}

.countdown-sep {
    font-size: 32px;
    font-weight: 700;
    color: var(--countdown-num);
    align-self: center;
    margin-top: -18px;
    user-select: none;
}



/* LIVE红点闪烁 */
.countdown-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #e53e3e;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: liveBlink 1.5s ease-in-out infinite;
    box-shadow: 0 0 4px rgba(229, 62, 62, 0.6);
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* 深色模式 LIVE红点 */
body.dark-mode .countdown-live-dot {
    background: #fc8181;
    box-shadow: 0 0 6px rgba(252, 129, 129, 0.7);
}

/* 导航跳转按钮样式 */
.nav-jump-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    margin: 8px 6px;
}

.nav-jump-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.nav-jump-btn.btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.nav-jump-btn.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.nav-jump-btn.btn-green {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.nav-jump-btn.btn-green:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.nav-jump-btn.btn-teal {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.nav-jump-btn.btn-teal:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.nav-jump-btn.btn-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.nav-jump-btn.btn-purple:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.nav-jump-group {
    text-align: center;
    padding: 20px 0;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .nav-jump-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px 4px;
    }
}

/* ===== 考试日历组件 - 简洁风格 ===== */
.idx-cal-section {
    max-width: 1300px;
    margin: 0 auto 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    padding: 20px 24px;
    overflow: visible;
    transition: all 0.3s ease;
}

.idx-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.idx-cal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.idx-cal-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 15px;
    background: linear-gradient(180deg, #076fe8, #7ec8f8);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

.idx-cal-clock {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Consolas', 'Microsoft YaHei', monospace;
    font-weight: 500;
    white-space: nowrap;
}

#idxCalClose:hover {
    background: #e2e8f0 !important;
    color: #333 !important;
    transform: scale(1.1);
}

.idx-cal-body {
    overflow: visible;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 300px;
    opacity: 1;
}

.idx-cal-body.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.idx-cal-timeline {
    position: relative;
    padding-top: 10px;
    padding-bottom: 16px;
    overflow: visible;
}

/* --- 时间轴线（轨道底轨 + 枕木纹理） --- */
.idx-cal-line {
    position: absolute;
    top: 17px;
    left: 2%;
    right: 2%;
    height: 6px;
    border-radius: 3px;
    z-index: 0;
    overflow: hidden;
    background-color: #e8edf3;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* --- 轨道枕木纹理 --- */
.idx-cal-track-ties {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.06) 10px,
            rgba(0, 0, 0, 0.06) 12px);
    border-radius: 3px;
}

/* --- 列车主体容器 --- */
.idx-cal-train {
    position: absolute;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    width: 70px;
    height: 6px;
    display: flex;
    align-items: center;
    animation: idx-cal-train-run 4.5s linear infinite,
        idx-cal-train-shake 0.15s linear infinite;
    will-change: left, transform;
}

/* --- 列车车头（亮灯） --- */
.idx-cal-train-head {
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 30%, #60a5fa 60%, rgba(96, 165, 250, 0) 100%);
    box-shadow: 0 0 6px 2px rgba(96, 165, 250, 0.8), 0 0 12px 4px rgba(7, 111, 232, 0.4);
    z-index: 3;
}

/* --- 列车车身 --- */
.idx-cal-train-body {
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(7, 111, 232, 0.2) 0%, #076fe8 30%, #2563eb 70%, #3b82f6 100%);
    box-shadow: 0 0 4px rgba(7, 111, 232, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* --- 列车尾迹（气流） --- */
.idx-cal-train-tail {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(7, 111, 232, 0) 0%, rgba(96, 165, 250, 0.3) 60%, rgba(96, 165, 250, 0.6) 100%);
    filter: blur(1.5px);
    z-index: 1;
    animation: idx-cal-tail-pulse 0.8s ease-in-out infinite alternate;
}

/* --- 列车运行动画（匀速从左到右） --- */
@keyframes idx-cal-train-run {
    0% {
        left: -80px;
    }

    100% {
        left: 100%;
    }
}

/* --- 列车震动（轰隆隆感） --- */
@keyframes idx-cal-train-shake {
    0% {
        transform: translateY(-50%) translateY(0px);
    }

    25% {
        transform: translateY(-50%) translateY(-0.5px);
    }

    50% {
        transform: translateY(-50%) translateY(0.3px);
    }

    75% {
        transform: translateY(-50%) translateY(-0.3px);
    }

    100% {
        transform: translateY(-50%) translateY(0px);
    }
}

/* --- 尾迹脉冲 --- */
@keyframes idx-cal-tail-pulse {
    0% {
        opacity: 0.5;
        width: 25px;
    }

    100% {
        opacity: 1;
        width: 35px;
    }
}

/* --- 轨道经过时振动 --- */
.idx-cal-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 3px;
    animation: idx-cal-track-vibrate 4.5s linear infinite;
}

@keyframes idx-cal-track-vibrate {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(0.3px);
    }

    50% {
        transform: translateY(-0.2px);
    }

    75% {
        transform: translateY(0.2px);
    }
}

.idx-cal-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.idx-cal-node {
    text-align: center;
    flex: 1;
    position: relative;
    cursor: pointer;
}

/* --- 节点圆点 --- */
.idx-cal-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #076fe8;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

/* 脉冲光环 */
.idx-cal-dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(7, 111, 232, 0.08);
    animation: idx-cal-pulse 3s ease-in-out infinite;
}

.idx-cal-node:nth-child(2) .idx-cal-dot::after {
    animation-delay: 0.3s;
}

.idx-cal-node:nth-child(3) .idx-cal-dot::after {
    animation-delay: 0.6s;
}

.idx-cal-node:nth-child(4) .idx-cal-dot::after {
    animation-delay: 0.9s;
}

.idx-cal-node:nth-child(5) .idx-cal-dot::after {
    animation-delay: 1.2s;
}

.idx-cal-node:nth-child(6) .idx-cal-dot::after {
    animation-delay: 1.5s;
}

.idx-cal-node:nth-child(7) .idx-cal-dot::after {
    animation-delay: 1.8s;
}

@keyframes idx-cal-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* --- Hover 效果 --- */
.idx-cal-node:hover .idx-cal-dot {
    background: #076fe8;
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(7, 111, 232, 0.15);
}

/* --- 活跃节点 --- */
.idx-cal-node.idx-cal-active .idx-cal-dot {
    background: #076fe8;
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(7, 111, 232, 0.2);
    animation: idx-cal-activePulse 1.5s ease-in-out infinite;
}

@keyframes idx-cal-activePulse {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(7, 111, 232, 0.2);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(7, 111, 232, 0.08);
    }
}

.idx-cal-node.idx-cal-active .idx-cal-label {
    color: #076fe8;
    font-weight: 700;
}

/* --- 已过期节点 --- */
.idx-cal-node.idx-cal-past .idx-cal-dot {
    background: #93c5fd;
    border-color: #93c5fd;
}

.idx-cal-node.idx-cal-past .idx-cal-label,
.idx-cal-node.idx-cal-past .idx-cal-desc {
    color: #aaa;
}

/* --- 标签样式 --- */
.idx-cal-label {
    font-size: 14px;
    font-weight: 700;
    color: #076fe8;
    margin-bottom: 6px;
}

.idx-cal-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

/* --- 烟花效果 --- */
.idx-cal-final {
    overflow: visible !important;
}

.idx-cal-final .idx-cal-dot {
    overflow: visible !important;
}

.idx-cal-fw-box {
    position: absolute;
    top: 11px;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 20;
    pointer-events: none;
    overflow: visible !important;
}

.idx-cal-fw-p {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
}

/* ===== 响应式 - 移动端竖向布局 ===== */
@media (max-width: 768px) {
    .idx-cal-section {
        display: none !important;
    }

    .idx-cal-header {
        margin-bottom: 12px;
    }

    .idx-cal-title {
        font-size: 13px;
        gap: 4px;
    }

    .idx-cal-title::before {
        width: 3px;
        height: 12px;
        margin-right: 6px;
    }

    .idx-cal-clock {
        font-size: 11px;
    }

    #idxCalClose {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
    }

    .idx-cal-body {
        max-height: 280px;
    }

    .idx-cal-timeline {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .idx-cal-line {
        top: 0;
        bottom: 0;
        left: 9px;
        right: auto;
        width: 5px;
        height: auto;
        overflow: hidden;
        border-radius: 3px;
    }

    .idx-cal-track-ties {
        background: repeating-linear-gradient(180deg,
                transparent 0px,
                transparent 10px,
                rgba(0, 0, 0, 0.06) 10px,
                rgba(0, 0, 0, 0.06) 12px);
    }

    .idx-cal-train {
        top: -60px;
        left: 50%;
        width: 5px;
        height: 50px;
        flex-direction: column;
        transform: translateX(-50%);
        animation: idx-cal-train-run-v 4.5s linear infinite,
            idx-cal-train-shake-v 0.15s linear infinite;
    }

    .idx-cal-train-head {
        right: auto;
        bottom: -3px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 7px;
        height: 7px;
    }

    .idx-cal-train-body {
        width: 4px;
        height: 100%;
        border-radius: 2px;
        background: linear-gradient(180deg, rgba(7, 111, 232, 0.2) 0%, #076fe8 30%, #2563eb 70%, #3b82f6 100%);
    }

    .idx-cal-train-tail {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
        width: 3px;
        height: 25px;
        background: linear-gradient(180deg, rgba(7, 111, 232, 0) 0%, rgba(96, 165, 250, 0.3) 60%, rgba(96, 165, 250, 0.6) 100%);
    }

    @keyframes idx-cal-train-run-v {
        0% {
            top: -60px;
        }

        100% {
            top: 100%;
        }
    }

    @keyframes idx-cal-train-shake-v {
        0% {
            transform: translateX(-50%) translateX(0px);
        }

        25% {
            transform: translateX(-50%) translateX(-0.4px);
        }

        50% {
            transform: translateX(-50%) translateX(0.3px);
        }

        75% {
            transform: translateX(-50%) translateX(-0.3px);
        }

        100% {
            transform: translateX(-50%) translateX(0px);
        }
    }

    .idx-cal-line::after {
        animation: idx-cal-track-vibrate-v 4.5s linear infinite;
    }

    @keyframes idx-cal-track-vibrate-v {

        0%,
        100% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(0.3px);
        }

        50% {
            transform: translateX(-0.2px);
        }

        75% {
            transform: translateX(0.2px);
        }
    }

    .idx-cal-nodes {
        flex-direction: column;
        gap: 28px;
        padding-left: 28px;
    }

    .idx-cal-node {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .idx-cal-dot {
        position: absolute;
        left: -28px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: 14px;
        height: 14px;
        border-width: 2.5px;
    }

    .idx-cal-dot::after {
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
    }

    .idx-cal-node:hover .idx-cal-dot {
        transform: translateY(-50%) scale(1.2);
    }

    .idx-cal-node.idx-cal-active .idx-cal-dot {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 0 5px rgba(7, 111, 232, 0.2);
    }

    @keyframes idx-cal-activePulse {

        0%,
        100% {
            box-shadow: 0 0 0 5px rgba(7, 111, 232, 0.2);
        }

        50% {
            box-shadow: 0 0 0 9px rgba(7, 111, 232, 0.06);
        }
    }

    .idx-cal-label {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .idx-cal-desc {
        font-size: 12px;
        color: #888;
        white-space: nowrap;
    }

    .idx-cal-fw-box {
        top: 50%;
        left: -28px;
    }
}

/* ===== 深色模式 ===== */
body.dark-mode .idx-cal-title::before {
    background: linear-gradient(180deg, #60a5fa, #93c5fd);
}

body.dark-mode .idx-cal-clock {
    color: var(--text-muted);
}

body.dark-mode #idxCalClose {
    background: #4a5568;
    color: #a0aec0;
}

body.dark-mode #idxCalClose:hover {
    background: #718096;
    color: #e2e8f0;
}

body.dark-mode .idx-cal-line {
    background-color: #2d3748;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-mode .idx-cal-track-ties {
    background: repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 10px,
            rgba(255, 255, 255, 0.04) 10px,
            rgba(255, 255, 255, 0.04) 12px);
}

body.dark-mode .idx-cal-train-body {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.2) 0%, #60a5fa 30%, #93c5fd 70%, #60a5fa 100%);
    box-shadow: 0 0 6px rgba(96, 165, 250, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-mode .idx-cal-train-head {
    background: radial-gradient(circle, #fff 30%, #93c5fd 60%, rgba(147, 197, 253, 0) 100%);
    box-shadow: 0 0 8px 3px rgba(147, 197, 253, 0.8), 0 0 14px 5px rgba(96, 165, 250, 0.4);
}

body.dark-mode .idx-cal-train-tail {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0) 0%, rgba(147, 197, 253, 0.3) 60%, rgba(147, 197, 253, 0.5) 100%);
}

body.dark-mode .idx-cal-dot {
    background: #2d3748;
    border-color: #60a5fa;
}

body.dark-mode .idx-cal-dot::after {
    background: rgba(96, 165, 250, 0.08);
}

body.dark-mode .idx-cal-node:hover .idx-cal-dot {
    background: #60a5fa;
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.15);
}

body.dark-mode .idx-cal-node.idx-cal-active .idx-cal-dot {
    background: #60a5fa;
    border-color: #60a5fa;
    box-shadow: 0 0 0 8px rgba(96, 165, 250, 0.2);
}

body.dark-mode .idx-cal-node.idx-cal-past .idx-cal-dot {
    background: #4a5568;
    border-color: #4a5568;
}

body.dark-mode .idx-cal-label {
    color: #e2e8f0;
}

body.dark-mode .idx-cal-desc {
    color: #a0aec0;
}

body.dark-mode .idx-cal-node.idx-cal-past .idx-cal-label,
body.dark-mode .idx-cal-node.idx-cal-past .idx-cal-desc {
    color: #636e7b;
}

body.dark-mode .idx-cal-node.idx-cal-active .idx-cal-label {
    color: #60a5fa;
}

/* ===== 节点经过回应动画 ===== */
@keyframes idx-cal-node-respond {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(7, 111, 232, 0);
    }

    30% {
        transform: scale(1.3);
        box-shadow: 0 0 8px 3px rgba(7, 111, 232, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(7, 111, 232, 0);
    }
}

@keyframes idx-cal-label-float {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

.idx-cal-node-respond .idx-cal-dot {
    animation: idx-cal-node-respond 0.5s ease-out forwards !important;
}

.idx-cal-node-respond .idx-cal-label {
    animation: idx-cal-label-float 0.5s ease-out forwards;
}

/* 深色模式下光晕颜色更亮 */
body.dark-mode .idx-cal-node-respond .idx-cal-dot {
    animation-name: idx-cal-node-respond-dark !important;
}

@keyframes idx-cal-node-respond-dark {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    }

    30% {
        transform: scale(1.3);
        box-shadow: 0 0 8px 3px rgba(96, 165, 250, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    }
}

/* 移动端竖向布局下回应动画保持 translateY(-50%) */
@media (max-width: 768px) {
    @keyframes idx-cal-node-respond {
        0% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 0 rgba(7, 111, 232, 0);
        }

        30% {
            transform: translateY(-50%) scale(1.3);
            box-shadow: 0 0 8px 3px rgba(7, 111, 232, 0.4);
        }

        100% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 0 rgba(7, 111, 232, 0);
        }
    }

    @keyframes idx-cal-node-respond-dark {
        0% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
        }

        30% {
            transform: translateY(-50%) scale(1.3);
            box-shadow: 0 0 8px 3px rgba(96, 165, 250, 0.4);
        }

        100% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
        }
    }

    @keyframes idx-cal-label-float {
        0% {
            transform: translateX(0);
        }

        30% {
            transform: translateX(3px);
        }

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

/* ===== 日历广播条 ===== */
.idx-cal-broadcast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-top: 4px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    height: 36px;
    overflow: hidden;
    position: relative;
}

.idx-cal-broadcast-icon {
    flex-shrink: 0;
    color: #0284c7;
    font-size: 14px;
    animation: idx-cal-broadcast-pulse 1.5s ease-in-out infinite;
}

@keyframes idx-cal-broadcast-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

.idx-cal-broadcast-scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.idx-cal-broadcast-text {
    white-space: nowrap;
    font-size: 13px;
    color: #075985;
    font-weight: 500;
    display: inline-flex;
    animation: idx-cal-broadcast-scroll var(--broadcast-duration, 30s) linear infinite;
}

.idx-cal-broadcast-text .broadcast-copy {
    padding-right: 80px;
}

.idx-cal-broadcast-scroll:hover .idx-cal-broadcast-text {
    animation-play-state: paused;
}

@keyframes idx-cal-broadcast-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 深色模式 */
body.dark-mode .idx-cal-broadcast {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-color: #334155;
}

body.dark-mode .idx-cal-broadcast-icon {
    color: #38bdf8;
}

body.dark-mode .idx-cal-broadcast-text {
    color: #7dd3fc;
}

/* 移动端 */
@media (max-width: 768px) {
    .idx-cal-broadcast {
        padding: 5px 10px;
        height: 28px;
        gap: 6px;
        margin-top: 10px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .idx-cal-broadcast-icon {
        font-size: 12px;
    }

    .idx-cal-broadcast-text {
        font-size: 12px;
    }
}

#idxCalDebugPanel {
    margin: 0 auto 10px;
    max-width: 900px;
    padding: 12px 16px;
    background: rgba(30, 30, 40, 0.92);
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    color: #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#idxCalDebugPanel .debug-title {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
}

#idxCalDebugPanel .debug-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

#idxCalDebugPanel .debug-btns button {
    padding: 4px 8px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

#idxCalDebugPanel .debug-btns button:hover {
    background: rgba(251, 191, 36, 0.25);
    border-color: #fbbf24;
    color: #fff;
}

#idxCalDebugPanel .debug-btns button.active {
    background: rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
    color: #fbbf24;
}

#idxCalDebugPanel .debug-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

#idxCalDebugPanel input[type="datetime-local"] {
    padding: 3px 6px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
}

#idxCalDebugPanel .debug-reset {
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid #34d399;
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

#idxCalDebugPanel .debug-reset:hover {
    background: rgba(52, 211, 153, 0.3);
}

#idxCalDebugPanel .debug-time-display {
    color: #60a5fa;
    font-size: 12px;
    margin-top: 6px;
}

/* 对比表核心样式 - 适配原有网页架构 */
.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-header .new-tag {
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%);
    color: #2c5282;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
    position: absolute;
    top: 15px;
    left: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comparison-header .lighthouse-title {
    font-size: 24px;
    margin: 0;
    width: 45%;
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #f9c700 50%, #e6b800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vs-wrapper {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 69, 0, 0.4);
    animation: vsPulse 2s ease-in-out infinite;
}

@keyframes vsPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.comparison-header .other-title {
    font-size: 22px;
    color: #b0b7c3;
    width: 45%;
    text-align: center;
    font-weight: 500;
    opacity: 0.85;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px 0;
    font-size: 15px;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comparison-table thead tr {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-bottom: 3px solid #d4af37;
}

.comparison-table thead th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table thead .lighthouse-th {
    color: #d4af37;
    font-weight: 700;
    width: 45%;
}

.comparison-table thead .compare-th {
    color: #2c5282;
    width: 10%;
}

.comparison-table thead .other-th {
    color: #888;
    font-weight: 500;
    width: 45%;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #faf8e8;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 22px 20px;
    vertical-align: middle;
}

.left-col {
    width: 45%;
    background: linear-gradient(90deg, #fff8e1 0%, #fffde8 100%);
    border-right: 2px solid #f0d860;
}

.middle-col {
    width: 10%;
    text-align: center;
    background-color: #fff3e0;
    border-right: 1px solid #e8e8e8;
    white-space: nowrap;
}

.right-col {
    width: 45%;
    background-color: #f5f5f5;
}

.lighthouse-feature {
    font-size: 17px;
    font-weight: 600;
    color: #b8860b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lighthouse-feature::before {
    content: '✅';
    width: auto;
    height: auto;
    background: none;
    font-size: 16px;
}

.lighthouse-desc {
    font-size: 15px;
    color: #5a4b00;
    line-height: 1.7;
    padding-left: 12px;
}

.other-feature {
    font-size: 16px;
    font-weight: 500;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.other-feature::before {
    content: '❌';
    width: auto;
    height: auto;
    background: none;
    font-size: 14px;
    opacity: 0.6;
}

.other-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    padding-left: 12px;
    opacity: 0.85;
}

.advantage-tag {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #5d3a00;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* 深度优化移动端适配 - 解决重叠/体验差问题 */
@media (max-width: 768px) {

    /* 头部优化 */
    .comparison-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        border-radius: 12px 12px 0 0;
        gap: 10px;
    }

    .comparison-header .new-tag {
        top: 15px;
        left: 15px;
        transform: none;
        font-size: 12px;
        padding: 3px 8px;
    }

    .comparison-header .lighthouse-title {
        width: 100%;
        margin-bottom: 5px;
        font-size: 18px;
        letter-spacing: 0;
    }

    .vs-wrapper {
        width: 100%;
        margin: 5px 0;
    }

    .vs {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .comparison-header .other-title {
        width: 100%;
        font-size: 16px;
        opacity: 1;
    }

    /* 表格重构 - 移动端卡片式布局 */
    .comparison-table {
        border: none;
        box-shadow: none;
        margin: 0;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .comparison-table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        background-color: #fff;
        border-bottom: none;
    }

    .comparison-table td {
        display: block;
        width: 100%;
        padding: 15px 15px;
        border-right: none;
    }

    /* 移动端列样式重构 */
    .left-col {
        width: 100%;
        background: linear-gradient(90deg, #fffbf0 0%, #fffdf5 100%);
        border-right: none;
        border-bottom: 1px solid #f0e8cc;
    }

    .middle-col {
        width: 100%;
        background-color: #f8f9fa;
        border-right: none;
        border-top: 1px solid #e8e8e8;
        border-bottom: 1px solid #e8e8e8;
        padding: 10px 15px;
        text-align: center;
    }

    .right-col {
        width: 100%;
        background-color: #fafafa;
        border-right: none;
    }

    /* 文字适配 */
    .lighthouse-feature {
        font-size: 16px;
        margin-bottom: 8px;
        gap: 6px;
    }

    .lighthouse-feature::before {
        height: 16px;
    }

    .lighthouse-desc {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 10px;
    }

    .other-feature {
        font-size: 15px;
        margin-bottom: 8px;
        gap: 6px;
    }

    .other-feature::before {
        height: 16px;
    }

    .other-desc {
        font-size: 13px;
        line-height: 1.6;
        padding-left: 10px;
        opacity: 1;
    }

    .advantage-tag {
        font-size: 13px;
        padding: 4px 10px;
    }

    /* 移除hover效果（移动端无hover） */
    .comparison-table tbody tr:hover {
        background-color: #fff;
    }
}

/* 小屏手机额外优化 (375px以下) */
@media (max-width: 375px) {
    .comparison-header {
        padding: 15px 10px;
    }

    .comparison-table tbody {
        padding: 10px;
        gap: 10px;
    }

    .comparison-table td {
        padding: 12px 10px;
    }

    .lighthouse-feature {
        font-size: 15px;
    }

    .other-feature {
        font-size: 14px;
    }

    .lighthouse-desc,
    .other-desc {
        font-size: 13px;
    }
}

/* 深色模式弹窗确认按钮（保持原有渐变，增强对比度） */
/* 深色模式下人工客服提示框 */
body.dark-mode .service-tooltip {
    background-color: #2d3748;
    color: #68d391;
    border-color: #68d391;
    box-shadow: 0 2px 12px rgba(104, 211, 145, 0.15);
}

body.dark-mode .service-tooltip::after {
    border-left-color: #68d391;
}


.why-section {
    max-width: 100%;
    margin: 40px auto 0;
    padding: 0;
}

.why-header {
    text-align: center;
    margin-bottom: 32px;
}

.why-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.why-header h2 span {
    color: #4299e1;
}

.why-header p {
    font-size: 15px;
    color: #888;
    margin-top: 8px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 2px 10px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.why-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4299e1, #63b3ed);
    border-radius: 4px 0 0 4px;
}

.why-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.why-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #4299e1;
    font-family: Georgia, serif;
    line-height: 1;
}

.why-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.5;
}

.why-card-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    padding-left: 62px;
}

.why-card-body b {
    color: #4299e1;
    font-weight: 700;
}

@media (max-width: 768px) {
    .why-section {
        margin-top: 24px;
    }

    .why-header h2 {
        font-size: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .why-card {
        padding: 18px 14px;
        border-radius: 10px;
    }

    .why-badge {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
    }

    .why-card-title {
        font-size: 15px;
    }

    .why-card-body {
        padding-left: 0;
        margin-top: 8px;
        font-size: 13px;
    }
}

body.dark-mode .why-card::before {
    background: linear-gradient(180deg, #63b3ed, #4299e1);
}

body.dark-mode .why-badge {
    background: linear-gradient(135deg, #2a4365, #1a365d);
    color: #63b3ed;
}

body.dark-mode .why-card-body b {
    color: #63b3ed;
}

body.dark-mode .why-header p {
    color: var(--text-muted);
}

    /* 全局重置与容器基础样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .lighthouse-products {
        width: 100%;
        margin-top: 20px;
        padding: 0 10px;
    }

    /* 产品区域通用布局 */
    .product-section {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        margin-bottom: 28px;
    }

    /* ========== 基础组件卡片样式 ========== */
    .basic-card {
        flex: 1;
        min-width: 280px;
        background: #ffffff;
        border-radius: 10px;
        padding: 16px 20px;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
        position: relative;
        overflow: hidden;
    }

    /* 左侧彩色装饰条，替代粗边框，更精致 */
    .basic-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
    }

    .card-blue::before {
        background: #4299e1;
    }

    .card-teal::before {
        background: #38b2ac;
    }

    /* ========== 组合套餐卡片样式 ========== */
    .combo-card {
        flex: 1;
        min-width: 280px;
        background: #ffffff;
        border-radius: 12px;
        padding: 22px 24px;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .combo-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
    }

    .card-orange::before {
        background: #f97316;
    }

    .card-purple::before {
        background: #9f7aea;
    }

    .card-orange-dark::before {
        background: #ea580c;
    }

    /* hover悬浮交互效果，提升质感 */
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        border-color: #cbd5e1;
    }

    /* ========== 文字与标签样式 ========== */
    /* 产品标题 */
    .product-title {
        font-size: 16px;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    /* 组合套餐高亮标题 */
    .title-highlight {
        font-size: 18px;
        font-weight: 700;
        color: #c25100;
    }

    /* 标签样式，替代原有普通div，视觉更突出 */
    .product-tag {
        display: inline-block;
        font-size: 13px;
        font-weight: 500;
        padding: 5px 10px;
        border-radius: 6px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .tag-blue {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }

    .tag-teal {
        background: #f0fdfa;
        color: #0f766e;
        border: 1px solid #99f6e4;
    }

    .tag-orange {
        background: #fff7ed;
        color: #c2410c;
        border: 1px solid #fdba74;
    }

    .tag-purple {
        background: #faf5ff;
        color: #6b21a8;
        border: 1px solid #ddd6fe;
    }

    /* 正文描述 */
    .product-desc {
        font-size: 14px;
        color: #334155;
        line-height: 1.6;
        word-break: break-all;
    }

    /* 重点内容高亮 */
    .text-highlight {
        color: #4299e1;
        font-weight: 600;
    }

    /* 锚点链接样式重置 */
    .anchor-link {
        text-decoration: none;
        margin-left: 6px;
    }

    /* ========== 响应式适配 ========== */
    /* 平板端适配 */
    @media (max-width: 992px) {
        .product-section {
            gap: 15px;
        }

        .combo-card {
            min-width: 260px;
        }
    }

    /* 手机端适配 */
    @media (max-width: 768px) {
        .lighthouse-products {
            padding: 0 5px;
        }

        .product-section {
            gap: 12px;
        }

        .basic-card,
        .combo-card {
            min-width: 100%;
        }

        .product-title {
            font-size: 15px;
        }

        .title-highlight {
            font-size: 17px;
        }

        .product-desc {
            font-size: 13px;
        }
    }

    /* 小屏手机精细化调整 */
    @media (max-width: 375px) {
        .basic-card {
            padding: 14px 16px;
        }

        .combo-card {
            padding: 18px 20px;
        }

        .product-tag {
            font-size: 12px;
            padding: 4px 8px;
        }
    }

    @media (max-width: 768px) {
        .review-section>div>div {
            grid-template-columns: 1fr !important;
            gap: 15px !important;
        }

        .review-section>div {
            padding: 20px 15px !important;
        }

        .review-section h2 {
            font-size: 20px !important;
            padding: 10px 15px !important;
        }
    }

