/* 基础样式 */
:root {
    --primary-color: #000000;
    --secondary-color: #b51c22;
    --accent-color: #ffffff;
    --dark-color: #121212;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* 头部样式 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.3;
}

.logo-circle i {
    color: white;
    font-size: 18px;
    z-index: 2;
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.8));
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.logo-en {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: var(--text-color);
    margin-left: 10px;
    letter-spacing: normal;
    display: inline-block;
    position: relative;
    text-shadow: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    padding: 0;
}

.logo-en:hover {
    animation: none;
}

.logo-icon {
    font-size: 0.8em;
    vertical-align: middle;
    margin: 0 2px;
    color: var(--accent-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 首页英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/photo-1511512578047-dfb367046420.avif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.2) 0%, rgba(26, 35, 126, 0.3) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 关于我们部分 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    height: 400px;
}

/* 其他样式保持不变 */

/* 浮动图像效果 */
.floating-image {
    width: 100%;
    height: 100%;
    background: url('./images/photo-1552820728-8b83bb6b773f.jpg') no-repeat center center/cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    /* animation: float 6s ease-in-out infinite; */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 专长部分 */
.expertise {
    padding: 100px 0;
    background-color: var(--light-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.expertise-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 团队部分 */
.team {
    padding: 100px 0;
    background-color: #fff;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-member p {
    color: var(--text-color);
    opacity: 0.8;
}

/* CTA部分 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.cta .btn:hover {
    background-color: var(--text-light);
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-logo .logo-circle {
    width: 28px;
    height: 28px;
}

.footer-logo .logo-circle i {
    font-size: 14px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
}

.footer-logo .logo-en {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: var(--text-light);
    margin-left: 10px;
    margin-bottom: 0;
    display: inline-block;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-shadow: none;
}

.footer-logo p {
    opacity: 0.7;
    margin-top: 15px;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 招聘页面样式 */
.careers-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./images/photo-1522071820081-009f0129c71c.avif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    text-align: center;
}

.careers-hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.careers-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.careers-intro {
    padding: 100px 0;
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-color);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 职位列表 */
.job-listings {
    padding: 100px 0;
    background-color: var(--light-color);
}

.job-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.job-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 30px;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.job-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.job-details i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.job-description {
    margin-bottom: 25px;
}

.job-description p {
    margin-bottom: 15px;
}

.job-description h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.job-description ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-description ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.job-btn {
    width: 100%;
    text-align: center;
}

/* 职位卡片新增样式 */
.salary-info {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: var(--light-color);
    border-radius: 5px;
    font-size: 0.9rem;
}

.salary-info strong {
    color: var(--primary-color);
}

/* 加载和错误状态 */
.loading, .error, .no-jobs {
    text-align: center;
    padding: 50px 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.error {
    color: #e74c3c;
    background-color: #fdf2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 20px 0;
}

.loading {
    color: var(--secondary-color);
}

.no-jobs {
    background-color: var(--light-color);
    border-radius: 8px;
    margin: 20px 0;
}

/* 申请流程 */
.application-process {
    padding: 100px 0;
    background-color: #fff;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--secondary-color);
    opacity: 0.3;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 联系表单 */
.contact-form {
    padding: 100px 0;
    background-color: var(--light-color);
}

.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
}

form .btn {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 50px;
    }
    
    .image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        padding: 10px 30px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .menu-toggle.active i:before {
        content: "\f00d"; /* 切换为关闭图标 */
    }
    
    .expertise-grid,
    .team-grid,
    .benefits-grid,
    .jobs-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .process-step:not(:last-child)::after {
        display: none; /* 移除连接线，在移动端使用不同的视觉分隔 */
    }
    
    .process-steps {
        padding-left: 0;
    }
    
    .step-content {
        padding-left: 0;
    }
    
    /* 添加替代的视觉分隔 */
    .process-step:not(:last-child) {
        border-bottom: 1px dashed rgba(124, 77, 255, 0.3);
        padding-bottom: 30px;
    }
    
    form {
        padding: 20px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo-en {
        font-size: 0.6em;
    }
    
    /* 调整页面内边距 */
    section {
        padding: 60px 0;
    }
    
    /* 调整卡片内边距 */
    .job-card, .benefit-card, .expertise-card {
        padding: 20px;
    }
    
    /* 调整页脚布局 */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo, .footer-contact, .footer-social {
        width: 100%;
        text-align: center;
    }
    
    .footer-logo-top {
        justify-content: center;
    }
    
    /* 调整联系卡片 */
    .contact-card {
        padding: 30px 20px;
    }
    
    .job-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .job-details span {
        margin-right: 0;
    }
    
    .job-btn {
        width: 100%;
        text-align: center;
    }
    
    /* 调整筛选按钮 */
    .job-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .logo-image {
        max-height: 50px;
        width: auto;
    }
    
    .footer-logo-image {
        max-height: 50px;
        width: auto;
    }
}

/* Logo英文名样式 */
.logo-en {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: var(--text-color);
    margin-left: 10px;
    letter-spacing: normal;
    display: inline-block;
    position: relative;
    text-shadow: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    padding: 0;
}

.logo-en:hover {
    animation: none;
}

/* 美化联系我们部分 */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.email-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 20px 0;
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    transition: var(--transition);
}

.email-link:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.05);
}

.contact-note {
    font-style: italic;
    opacity: 0.8;
    margin-top: 20px;
}

/* 页脚英文名样式 */
.footer-en {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    opacity: 0.9;
}

/* 调整页脚 Logo 样式 */
.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
}

.footer-logo p {
    opacity: 0.7;
    margin-top: 5px;
}

/* 新 Logo 图片样式 */
.logo-image {
    max-height: 70px;
    width: auto;
}

.footer-logo-image {
    max-height: 70px;
    width: auto;
    margin-bottom: 10px;
}