/* ==========================================
   山西有闲田科技有限责任公司官网 - 内页样式
   版本：1.0.0
   创建日期：2026-03-18
   ========================================== */

/* ==================== 页面标题 ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--text-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" x="0" y="0" width="50" height="50"/><rect fill="rgba(255,255,255,0.05)" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.5;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ==================== 通用内容区 ==================== */
.page-shell {
    padding: 60px 0 80px;
    background-color: var(--background-gray);
}

.page-intro {
    max-width: 860px;
    margin: 0 auto 40px;
    text-align: center;
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: rgba(42, 157, 143, 0.12);
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.page-section-title {
    font-size: 30px;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.4;
}

.page-intro p {
    color: #5f6b72;
    line-height: 1.9;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.page-card {
    background-color: var(--text-white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.page-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.15), rgba(38, 70, 83, 0.12));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 22px;
    margin-bottom: 20px;
}

.page-card-title {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.page-card-text {
    color: #5f6b72;
    line-height: 1.85;
    margin-bottom: 18px;
}

.page-list {
    margin-bottom: 20px;
    padding-left: 18px;
    color: #5f6b72;
}

.page-list li {
    list-style: disc;
    margin-bottom: 10px;
    line-height: 1.8;
}

.page-card-actions,
.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background-color: var(--primary-green);
    color: var(--text-white);
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.page-link-btn:hover {
    background-color: #23847a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.page-link-btn.secondary {
    background-color: rgba(38, 70, 83, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(38, 70, 83, 0.16);
}

.page-link-btn.secondary:hover {
    background-color: rgba(38, 70, 83, 0.14);
}

.page-highlight {
    margin-top: 28px;
    padding: 18px 22px;
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
    background-color: rgba(42, 157, 143, 0.08);
    color: var(--text-dark);
    line-height: 1.85;
}

.page-highlight a {
    color: var(--primary-green);
    text-decoration: underline;
}

.page-highlight a:hover {
    color: var(--primary-blue);
}

.page-footer-note {
    max-width: 860px;
    margin: 28px auto 0;
    text-align: center;
    color: #6b757c;
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .page-header {
        padding: 72px 0;
    }

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

    .page-subtitle {
        font-size: 16px;
    }

    .page-shell {
        padding: 50px 0 60px;
    }

    .page-section-title {
        font-size: 24px;
    }

    .page-card {
        padding: 22px 18px;
    }

    .page-card-title {
        font-size: 20px;
    }

    .page-card-actions,
    .page-links {
        flex-direction: column;
    }

    .page-link-btn {
        width: 100%;
    }
}
