/* section_no1_new.css - V3 */
.roles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
    max-width: 1200px;
    margin: 30px auto 0;
}

.role-card {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: 16px;
    box-shadow: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
    padding: 20px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 25px #c8d0db, -10px -10px 25px #ffffff;
}

.role-card .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 1.8em;
    color: #fff;
    position: relative;
    z-index: 2;
}

.role-card h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
    color: #343a40;
    font-weight: 700;
}

.role-card p.main-desc {
    font-size: 0.9em;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 12px;
}

.role-card .detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.role-card .detail-list li {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 0;
}

.role-card .salary-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 8px;
}

/* Card-specific colors and pseudo-elements for decoration */
.role-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.1;
    transition: transform 0.5s ease;
}

.role-card:hover::before {
    transform: scale(1.2);
}

.role-card.student .icon-wrapper { background: linear-gradient(45deg, #007bff, #0056b3); }
.role-card.student::before { background-color: #007bff; }

.role-card.ops .icon-wrapper { background: linear-gradient(45deg, #28a745, #1e7e34); }
.role-card.ops::before { background-color: #28a745; }

.role-card.pm .icon-wrapper { background: linear-gradient(45deg, #ffc107, #d39e00); }
.role-card.pm::before { background-color: #ffc107; }

.role-card.dev .icon-wrapper { background: linear-gradient(45deg, #dc3545, #b02a37); }
.role-card.dev::before { background-color: #dc3545; }

.role-card.market .icon-wrapper { background: linear-gradient(45deg, #17a2b8, #117a8b); }
.role-card.market::before { background-color: #17a2b8; }

.role-card.business .icon-wrapper { background: linear-gradient(45deg, #6f42c1, #5a32a3); }
.role-card.business::before { background-color: #6f42c1; }

/* 统计数据高亮区域 */
.stats-highlight {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.95em;
    color: rgba(255,255,255,0.95);
    display: block;
    max-width: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .roles-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px auto 0;
    }

    .role-card {
        padding: 16px;
    }

    .stats-highlight {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-top: 30px;
    }

    .stat-number {
        font-size: 2em;
    }
}
