/* 程瑜云 - 单页通用样式（与首页风格统一） */

@font-face {
    font-family: 'Microsoft YaHei';
    src: url('https://fonts.gstatic.com/s/ubuntu/v20/4iCs6KVjbNBYlgoKfw72nU6AFw.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'TypoUbuntuRegular', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    width: 100%;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.page-subtitle {
    font-size: 15px;
    color: #999;
    text-align: center;
    margin-bottom: 36px;
}

/* 正文内容 */
.content {
    background: #ffffff;
}

.content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 8px;
}

.content p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
}

.content ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.content li {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 4px;
}

.content a {
    color: #4982c4;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content strong {
    color: #1a1a1a;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.card:hover {
    background: #f0f6ff;
}

.card .card-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.card .card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.card .card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 表格 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e8e8e8;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

tr:hover td {
    background: #fafafa;
}

/* 搜索框 */
.search-box {
    display: flex;
    max-width: 480px;
    margin: 0 auto 32px;
}

.search-box input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.search-box input:focus {
    border-color: #4982c4;
}

.search-box button {
    padding: 10px 24px;
    background: #4982c4;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #3a6db0;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.faq-q::before {
    content: "Q";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #4982c4;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

.faq-a {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding-left: 30px;
}

/* 下载相关 */
.qr-section {
    display: flex;
    gap: 48px;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-code .qr-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 13px;
}

.qr-code .qr-label {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.download-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #4982c4;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.download-btn:hover {
    background: #3a6db0;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* 提示框 */
.notice {
    background: #f0f6ff;
    border: 1px solid #d0e3ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    color: #4982c4;
    line-height: 1.7;
}

.notice a {
    color: #4982c4;
    font-weight: 500;
}

/* 底部 */
.footer {
    width: 100%;
    padding: 20px 15px;
    text-align: center;
    font-size: 12px;
    color: #999;
    line-height: 2;
    margin-top: auto;
}

.footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #4982c4;
}

.footer-links {
    margin-bottom: 4px;
}

.footer-links a {
    margin: 0 2px;
}

.footer .divider {
    color: #ddd;
    margin: 0 2px;
}

/* 响应式 */
@media (max-width: 768px) {
    .main-content {
        padding: 24px 16px;
    }

    .page-title {
        font-size: 22px;
    }

    .container {
        max-width: 100%;
    }

    .content h2 {
        font-size: 18px;
    }

    .content p, .content li {
        font-size: 14px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .footer {
        font-size: 10px;
        line-height: 1.8;
        padding: 12px 5px;
    }

    .footer-links a,
    .footer a {
        margin: 0 1px;
    }

    .footer .divider {
        margin: 0 1px;
    }

    .qr-section {
        gap: 24px;
    }

    .search-box {
        max-width: 100%;
    }
}
