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

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --gold-color: #d4af37;
    --dark-color: #0f1419;
    --light-color: #f7fafc;
    --gray-color: #4a5568;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 32px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--gray-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

.lang-btn:hover {
    color: var(--accent-color);
    background: rgba(49, 130, 206, 0.1);
}

.lang-btn.active {
    color: var(--accent-color);
    background: rgba(49, 130, 206, 0.15);
}

.lang-divider {
    color: #cbd5e0;
    font-weight: 300;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* ==================== 首页横幅 ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    overflow: hidden;
    margin-top: 70px;
}

/* 添加背景图片 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.85) 0%, rgba(32, 58, 67, 0.85) 50%, rgba(44, 83, 100, 0.85) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.1s ease-out;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--gold-color);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(49, 130, 206, 0.4);
}

/* ==================== 动画 ==================== */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 公司简介 ==================== */
.intro {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 50px;
}

.intro-description {
    font-size: 17px;
    line-height: 1.9;
    color: var(--gray-color);
    margin-bottom: 20px;
    text-align: justify;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 2px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    color: var(--gold-color);
}

.stat-label {
    font-size: 16px;
    color: var(--gray-color);
    font-weight: 500;
}

/* ==================== 我们的服务 ==================== */
.services {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-color);
    font-size: 15px;
}

.service-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.about-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--light-color);
    border-radius: 12px;
    transition: var(--transition);
}

.about-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-card p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== 企业文化与使命 ==================== */
.mission {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.mission-item {
    text-align: center;
    padding: 30px;
}

.mission-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-item h3 i {
    color: var(--gold-color);
    margin-right: 10px;
}

.mission-item p {
    line-height: 1.8;
    opacity: 0.95;
    font-size: 15px;
}

/* ==================== 加入我们 ==================== */
.careers {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.careers::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.careers-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.careers-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
}

.career-positions {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.career-positions h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.position-item {
    padding: 25px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}

.position-item:hover {
    border-color: var(--accent-color);
    background: var(--light-color);
}

.position-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.position-title h4 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.position-location {
    color: var(--gray-color);
    font-size: 14px;
}

.position-location i {
    color: var(--accent-color);
    margin-right: 5px;
}

.position-item p {
    color: var(--gray-color);
    line-height: 1.7;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 28px;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 10px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.info-item p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 15px;
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: var(--gray-color);
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 15px;
}

.footer-tagline {
    font-style: italic;
    color: var(--gold-color) !important;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-disclaimer {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

/* ==================== 返回顶部按钮 ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.scroll-top.active {
    display: flex;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .mission-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .lang-switcher {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }

    .lang-btn {
        font-size: 13px;
        padding: 4px 8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .career-positions {
        padding: 30px 20px;
    }

    .position-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* ==================== Terms Modal ==================== */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.terms-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terms-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

.terms-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--light-color);
    background: var(--gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 28px;
    font-weight: 600;
}

.terms-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.terms-body h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.terms-body h3:first-child {
    margin-top: 0;
}

.terms-body p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 20px;
}

.terms-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--light-color);
    display: flex;
    justify-content: center;
    background-color: #f9fafb;
}

.terms-footer .btn {
    min-width: 200px;
    font-size: 16px;
    padding: 14px 40px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Terms Modal 响应式 */
@media (max-width: 768px) {
    .terms-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .terms-header {
        padding: 20px;
    }
    
    .terms-header h2 {
        font-size: 24px;
    }
    
    .terms-body {
        padding: 20px;
    }
    
    .terms-body h3 {
        font-size: 18px;
    }
    
    .terms-body p {
        font-size: 14px;
    }
    
    .terms-footer {
        padding: 15px 20px;
    }
    
    .terms-footer .btn {
        min-width: 150px;
        font-size: 15px;
        padding: 12px 30px;
    }
}

/* ==================== Legal Information Modals ==================== */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.legal-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.legal-modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

.legal-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--light-color);
    background: var(--gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 28px;
    font-weight: 600;
}

.modal-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    opacity: 0.8;
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 15px;
    text-align: justify;
    margin-bottom: 15px;
    white-space: pre-line;
}

/* Modal Language Switcher */
.modal-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-lang-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
    opacity: 0.7;
}

.modal-lang-btn:hover {
    opacity: 1;
}

.modal-lang-btn.active {
    opacity: 1;
    font-weight: 600;
    text-decoration: underline;
}

.modal-lang-switcher .lang-divider {
    color: var(--white);
    opacity: 0.5;
    font-size: 14px;
}

/* Legal Modal 响应式 */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .legal-modal-header {
        padding: 20px;
    }
    
    .legal-modal-header h2 {
        font-size: 24px;
    }
    
    .legal-modal-body {
        padding: 20px;
    }
    
    .legal-modal-body p {
        font-size: 14px;
    }
    
    .close-btn {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }
    
    .modal-header-right {
        gap: 10px;
    }
    
    .modal-lang-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* ==================== Job Application Modal ==================== */
.job-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.job-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.job-modal-content {
    background-color: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

.job-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--light-color);
    background: var(--gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-modal-header h2 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
}

.job-modal-body {
    padding: 40px 30px;
    overflow-y: auto;
    flex: 1;
    text-align: center;
}

.job-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.job-icon i {
    font-size: 36px;
    color: var(--white);
}

.job-modal-body h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 600;
}

.job-application-info {
    text-align: left;
    margin-top: 20px;
}

.job-application-info > p {
    color: var(--gray-color);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.job-email-box {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 25px 0;
    border: 2px solid var(--accent-color);
}

.job-email-box i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.job-email-box a {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.job-email-box a:hover {
    color: var(--primary-color);
}

.job-requirements {
    margin: 25px 0;
}

.job-requirements h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    color: var(--gray-color);
    font-size: 15px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.job-requirements li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.job-note {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 6px;
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 20px;
    border-left: 4px solid var(--accent-color);
}

/* Position Item 悬停效果 */
.position-item {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.position-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.position-apply-hint {
    text-align: center;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    opacity: 0;
    transition: var(--transition);
}

.position-item:hover .position-apply-hint {
    opacity: 1;
}

/* Job Modal 响应式 */
@media (max-width: 768px) {
    .job-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .job-modal-header {
        padding: 20px;
    }
    
    .job-modal-header h2 {
        font-size: 20px;
    }
    
    .job-modal-body {
        padding: 30px 20px;
    }
    
    .job-icon {
        width: 60px;
        height: 60px;
    }
    
    .job-icon i {
        font-size: 28px;
    }
    
    .job-modal-body h3 {
        font-size: 18px;
    }
    
    .job-application-info > p {
        font-size: 14px;
    }
    
    .job-email-box {
        padding: 15px;
    }
    
    .job-email-box i {
        font-size: 20px;
    }
    
    .job-email-box a {
        font-size: 16px;
    }
    
    .job-requirements h4 {
        font-size: 15px;
    }
    
    .job-requirements li {
        font-size: 14px;
    }
    
    .job-note {
        font-size: 13px;
    }
}
