/**
 * 页面模板通用样式
 * 用于所有 page-*.php 模板文件
 */

/* 页面头部 */
.page-header {
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* 内容区域 */
.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 40px;
    text-align: center;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 服务卡片 */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 64px;
    margin-bottom: 20px;
    text-align: center;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 15px;
    text-align: center;
}

.service-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 功能列表 */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #555;
}

.feature-list li:before {
    content: "✓ ";
    color: #42a5f5;
    font-weight: bold;
    margin-right: 8px;
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: #1a237e;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #1a237e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }
}
