/**
 * Custom CSS - 绩效新书公共样式
 * 包含所有页面共享的通用样式
 */

/* ========== 字体基础 ========== */
body, h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========== 通用间距工具类 ========== */
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mt40 { margin-top: 40px; }
.mt50 { margin-top: 50px; }
.mt60 { margin-top: 60px; }
.mt80 { margin-top: 80px; }

.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb40 { margin-bottom: 40px; }
.mb50 { margin-bottom: 50px; }
.mb60 { margin-bottom: 60px; }
.mb80 { margin-bottom: 80px; }

/* ========== 页面通用 Banner ========== */
.page-header-banner {
    position: relative;
    background: linear-gradient(135deg, #012a1b 0%, #009966 50%, #00D084 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* 浮动几何形状容器 */
.page-header-banner .geo-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* 通用几何形状 - 固定位置，由JS随机生成 */
.geo-shape {
    position: absolute;
}

/* 深绿色几何图形 - 与渐变背景形成良好对比 */
.geo-shape.circle {
    border-radius: 50%;
    background: rgba(1, 42, 27, 0.2);
    border: 2px solid rgba(1, 42, 27, 0.25);
}

.geo-shape.square {
    background: rgba(1, 42, 27, 0.15);
    border: 2px solid rgba(1, 42, 27, 0.2);
    border-radius: 8px;
}

.geo-shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(1, 42, 27, 0.2);
}

.geo-shape.dot {
    border-radius: 50%;
    background: rgba(1, 42, 27, 0.3);
    border: 1px solid rgba(1, 42, 27, 0.25);
}

.page-header-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    text-shadow: -2px -2px 0 rgba(255,255,255,0.7),
                 2px -2px 0 rgba(255,255,255,0.7),
                 -2px 2px 0 rgba(255,255,255,0.7),
                 2px 2px 0 rgba(255,255,255,0.7),
                 0 -2px 0 rgba(255,255,255,0.7),
                 0 2px 0 rgba(255,255,255,0.7),
                 -2px 0 0 rgba(255,255,255,0.7),
                 2px 0 0 rgba(255,255,255,0.7);
    position: relative;
    z-index: 2;
}
.page-header-banner p {
    font-size: 16px;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

/* ========== 通用 Section Title ========== */
.section-title {
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 12px;
}
.section-title p {
    font-size: 16px;
    color: #64748B;
}

/* ========== 通用卡片样式 ========== */
.card-base {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    transition: all 0.3s;
}
.card-base:hover {
    border-color: #009966;
    box-shadow: 0 8px 25px rgba(0,153,102,0.1);
}
.card-base h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin: 0 0 10px;
}
.card-base p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

/* ========== 通用卡片图标样式 ========== */
.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(0,153,102,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #009966;
}

/* ========== 通用 CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, #009966 0%, #00D084 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.cta-section .btn-cta {
    background: #fff;
    color: #009966;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
}

/* ========== 响应式通用 ========== */
@media (max-width: 767px) {
    .hero-banner { min-height: 400px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content .hero-subtitle { font-size: 16px; }
}