/* 招聘区域样式 */
.careers {
    position: relative;
    background-color: #162a3c;
    background: linear-gradient(135deg, #0a1825 0%, #162a3c 50%, #0e2234 100%);
    color: #fff;
    padding: 0 0 100px 0;
    overflow: hidden;
}

.careers .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 100px 20px 0;
    position: relative;
    z-index: 2;
}

.careers-text {
    flex: 0 0 55%;
    padding-right: 40px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers-text.animated {
    opacity: 1;
    transform: translateX(0);
}

.careers-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.careers-text h2.careers-animated-text {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.careers-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #71a7d9;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover {
    background-color: #5a96c8;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover:before {
    left: 100%;
}

/* 按钮波纹效果 */
.cta-button .ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    transform-origin: center;
}

@keyframes ripple {
    to {
        transform: scale(20);
        opacity: 0;
    }
}

.cta-button.hover-effect {
    animation: buttonPulse 0.7s ease;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(113, 167, 217, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(113, 167, 217, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(113, 167, 217, 0);
    }
}

.careers-image {
    flex: 0 0 45%;
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.careers-image.animated {
    opacity: 1;
    transform: translateX(0);
}

.careers-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    will-change: transform, box-shadow;
}

.careers-image img:hover {
    transform: scale(1.02);
}

/* 装饰元素 */
.careers-circle-1,
.careers-circle-2 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 103, 145, 0.4), rgba(38, 65, 97, 0.2));
    z-index: 0;
    transition: transform 0.3s ease;
    will-change: transform;
}

.careers-circle-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.careers-circle-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.careers-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    right: 5%;
    top: 10%;
    background-image: radial-gradient(circle, rgba(100, 145, 190, 0.3) 2px, transparent 3px);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 闪光效果 */
.careers::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    transform: rotate(45deg);
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 80%);
    animation: shine 12s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    70% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .careers-text {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .careers-image {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .careers {
        padding: 0 0 70px 0;
    }
    
    .careers-text h2 {
        font-size: 2rem;
    }
    
    .careers-text h2.careers-animated-text {
        font-size: 2rem;
        white-space: normal;
    }
    
    .careers-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .careers-circle-2 {
        width: 180px;
        height: 180px;
    }
    
    .careers .container {
        padding: 60px 20px 0;
    }
} 