/* ========== CSS变量定义 ========== */
:root {
    --primary-color: #333;
    --accent-color: #ff6b35;
    --secondary-color: #ff8c42;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ========== 全局样式重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== 隐藏滚动条样式 ========== */
/* Webkit浏览器 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox */
html {
    scrollbar-width: none;
}

/* IE和Edge */
body {
    -ms-overflow-style: none;
}

/* ========== 顶部导航栏样式 ========== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(245, 235, 225, 0.4);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(249, 243, 237, 0.1) 0%, 
        rgba(245, 235, 225, 0.05) 50%, 
        rgba(249, 243, 237, 0.1) 100%);
    pointer-events: none;
    z-index: -1;
}

.navbar-container {
    max-width: min(1400px, 95vw);
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    transition: all 0.15s ease;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}

.nav-link .nav-text-cn,
.nav-link .nav-text-en {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.15s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.nav-link .nav-text-cn {
    top: 0;
    opacity: 1;
}

.nav-link .nav-text-en {
    top: 40px;
    opacity: 0;
    color: var(--accent-color);
}

.nav-link:hover .nav-text-cn {
    top: -40px;
    opacity: 0;
}

.nav-link:hover .nav-text-en {
    top: 0;
    opacity: 1;
}

.nav-link:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(252, 248, 245, 0.5) 0%, 
        rgba(249, 243, 237, 0.55) 50%, 
        rgba(252, 248, 245, 0.5) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 30px;
    border: 1px solid rgba(245, 235, 225, 0.3);
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin: 20px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ========== 移动端菜单动画 ========== */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ========== 主容器 ========== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 7vw 60px;
}

/* ========== 页面标题区域 ========== */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 愿景使命部分 ========== */
.vision-section {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 60px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.vision-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.vision-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.vision-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.vision-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

/* ========== 团队优势部分 ========== */
.advantages-section {
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    font-weight: 600;
    padding: 15px;
}

.advantage-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-desc {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* ========== 价值观部分 ========== */
.values-section {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    margin-bottom: 60px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.values-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

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

.value-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-5px);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-desc {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}

/* ========== 招聘职位部分 ========== */
.positions-section {
    margin-bottom: 60px;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.position-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 450px;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.position-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.position-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.position-department {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.position-experience {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.position-requirements {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
}

/* ========== 隐藏滚动条 ========== */
.position-requirements::-webkit-scrollbar {
    display: none;
}

.position-requirements {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.position-requirements ul {
    margin: 10px 0;
    padding-left: 20px;
}

.position-requirements li {
    margin-bottom: 5px;
}

.apply-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    text-align: center;
    width: auto;
    max-width: 160px;
    align-self: flex-start;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* ========== 联系我们部分 ========== */
.contact-section {
    background: white;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.contact-info {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-email {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .main-container {
        padding: 100px 30px 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-container {
        height: 70px;
        padding: 0 20px;
    }

    .navbar-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        top: 70px;
    }

    .main-container {
        padding: 100px 20px 40px;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-item {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .vision-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .value-item {
        padding: 20px 15px;
    }

    .value-title {
        font-size: 1.2rem;
    }

    .value-desc {
        font-size: 0.9rem;
    }
}