/* ============================================================
 * 静态页面样式 - pages.css
 * 使用条款 / 版权隐私 / 联系我们 / 关于我们
 * ============================================================ */

/* 面包屑 */
.breadcrumb { background: #fff; border-bottom: 1px solid #f0f0f0; }
.breadcrumb .container { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #f26a1b; }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }
.breadcrumb .cur { color: #999; }

/* 主体 */
.page-main { padding: 24px 0 48px; background: #f5f6f8; min-height: 500px; }

/* 左右两栏布局 */
.page-layout { display: flex; gap: 20px; align-items: flex-start; }
.page-left { flex: 1; min-width: 0; }
.page-right { width: 280px; flex-shrink: 0; }

/* 页面容器 */
.page-box {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
}

/* 页面标题栏 */
.page-header {
    background: linear-gradient(135deg, #f26a1b 0%, #ff8c42 100%);
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.page-header::after {
    content: '';
    position: absolute;
    right: 80px;
    bottom: -50px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.page-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 1;
}
.page-header h1 i {
    margin-right: 10px;
    font-size: 22px;
}
.page-header p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    margin: 6px 0 0;
    position: relative;
    z-index: 1;
}

/* 内容区 */
.page-content {
    padding: 32px 40px 40px;
    font-size: 14px;
    color: #555;
    line-height: 2;
}
.page-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 28px 0 14px;
    padding-left: 14px;
    position: relative;
    line-height: 1.4;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: #f26a1b;
    border-radius: 4px;
}
.page-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
}
.page-content p {
    margin: 0 0 14px;
    text-indent: 2em;
}
.page-content p.no-indent { text-indent: 0; }
.page-content ul, .page-content ol {
    margin: 10px 0 14px 2em;
    padding: 0;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li {
    margin-bottom: 6px;
    line-height: 1.8;
}
.page-content strong { color: #333; }
.page-content em { color: #f26a1b; font-style: normal; }
.page-content a { color: #f26a1b; }
.page-content a:hover { text-decoration: underline; }

/* 更新日期 */
.page-update-time {
    text-align: right;
    font-size: 13px;
    color: #bbb;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px dashed #eee;
}

/* ====== 联系我们 - 特殊样式 ====== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 20px 0 28px;
}
.contact-card {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    transition: .25s;
}
.contact-card:hover {
    border-color: #f26a1b;
    background: #fff7f2;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(242,106,27,.1);
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f26a1b, #ff8c42);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}
.contact-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}
.contact-card p {
    font-size: 14px;
    color: #666;
    text-indent: 0;
    margin: 0;
    line-height: 1.6;
}
.contact-card a {
    color: #f26a1b;
    font-weight: 600;
}

/* FAQ 列表 */
.faq-list { margin: 16px 0; }
.faq-item {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: .2s;
}
.faq-item:hover {
    border-color: #f26a1b;
}
.faq-q {
    font-size: 14px;
    font-weight: 600;
    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;
    border-radius: 50%;
    background: #f26a1b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
}
.faq-a {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    padding-left: 30px;
    text-indent: 0;
}

/* ====== 关于我们 - 特殊样式 ====== */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.about-stat {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: .2s;
}
.about-stat:hover {
    border-color: #f26a1b;
    background: #fff7f2;
}
.about-stat .num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #f26a1b;
    line-height: 1.2;
}
.about-stat .label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* ====== 侧边栏 ====== */
.page-side-box {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 16px;
}
.page-side-title {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    position: relative;
    padding-left: 28px;
}
.page-side-title::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #f26a1b;
    border-radius: 4px;
}

/* 侧边导航菜单 */
.page-side-nav { list-style: none; margin: 0; padding: 0; }
.page-side-nav li { border-bottom: 1px solid #f5f5f5; }
.page-side-nav li:last-child { border-bottom: none; }
.page-side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 14px;
    color: #555;
    transition: .2s;
    text-decoration: none;
}
.page-side-nav a:hover {
    background: #fff7f2;
    color: #f26a1b;
}
.page-side-nav a.active {
    background: linear-gradient(90deg, #fff7f2 0%, #fff 100%);
    color: #f26a1b;
    font-weight: 600;
    border-left: 3px solid #f26a1b;
}
.page-side-nav a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #bbb;
}
.page-side-nav a.active i { color: #f26a1b; }

/* 侧边快捷入口 */
.page-side-links {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.page-side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    transition: .2s;
    text-decoration: none;
}
.page-side-link:hover {
    border-color: #f26a1b;
    background: #fff7f2;
    color: #f26a1b;
}
.page-side-link i {
    font-size: 16px;
    color: #f26a1b;
    width: 20px;
    text-align: center;
}

/* 响应式 */
@media (max-width: 1000px) {
    .page-right { width: 240px; }
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .page-layout { flex-direction: column; }
    .page-right { width: 100%; }
}
@media (max-width: 768px) {
    .page-header { padding: 24px 20px; }
    .page-header h1 { font-size: 20px; }
    .page-content { padding: 24px 20px 32px; }
}
