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

html, body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    overflow-x: auto;
    background-color: #ffffff;
}

/* ====== 导航栏样式 - 与 index.html 一致 ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar:hover .nav-link {
    color: #000000;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.logo-link {
    position: absolute;
    left: 150px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-hover {
    display: none;
}

.navbar:hover .logo-default {
    display: none;
}

.navbar:hover .logo-hover {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-right: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar:hover .nav-link::after {
    background-color: #000000;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-item-has-children {
    position: relative;
}

.nav-item-active > .nav-link::after {
    transform: scaleX(1);
}

/* 二级菜单样式 - 同步 index.html */
.sub-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    list-style: none;
    padding: 8px;
    border-radius: 16px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2000;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.nav-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu-item {
    padding: 0;
    margin: 2px 0;
}

.sub-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.sub-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sub-menu-link::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.sub-menu-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.sub-menu-link:hover::before {
    opacity: 1;
}

.sub-menu-link:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.sub-menu-item + .sub-menu-item {
    position: relative;
}

.sub-menu-item + .sub-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.06) 20%,
        rgba(0, 0, 0, 0.06) 80%,
        transparent 100%);
}

/* ====== 页面 Banner 区域 ====== */
.careers-banner {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.careers-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
}

.careers-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
}

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

.careers-banner-subtitle {
    font-size: 22px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

/* ====== 筛选区域 ====== */
.careers-filter {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.careers-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.filter-select {
    padding: 10px 20px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:hover {
    border-color: #10b981;
}

.filter-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ====== 职位卡片区域 ====== */
.careers-section {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.careers-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #6ee7b7 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 50px;
}

/* 职位卡片网格 */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #6ee7b7 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.15);
    border-color: #6ee7b7;
}

.job-card:hover::before {
    transform: scaleX(1);
}

/* 职位头部 */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.job-salary {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(110, 231, 183, 0.1) 100%);
    padding: 6px 16px;
    border-radius: 20px;
}

/* 职位标签 */
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.job-tag {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: #f3f4f6;
    color: #6b7280;
}

.job-tag.hot {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.job-tag.new {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* 职位描述 */
.job-description {
    margin-bottom: 20px;
}

.job-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #10b981 0%, #6ee7b7 100%);
    border-radius: 2px;
}

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

.job-description li {
    font-size: 14px;
    line-height: 2;
    color: #4b5563;
    padding-left: 20px;
    position: relative;
}

.job-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 投递按钮 */
.apply-btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.apply-btn:active {
    transform: translateY(0);
}

/* ====== 弹窗样式 ====== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: translateY(0) scale(1);
}

/* 弹窗头部 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background-color: #ffffff;
}

.modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background-color: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #ef4444;
    color: #ffffff;
}

/* 弹窗内容 */
.modal-content {
    padding: 30px;
}

/* 职位信息摘要 */
.job-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.job-summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.job-summary-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.job-summary-item {
    font-size: 14px;
    color: #4b5563;
}

.job-summary-item strong {
    color: #10b981;
}

/* 表单样式 */
.apply-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 投递要求 */
.apply-requirements {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.apply-requirements-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

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

.apply-requirements li {
    font-size: 14px;
    line-height: 1.8;
    color: #4b5563;
    padding-left: 20px;
    position: relative;
}

.apply-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 提交按钮 */
.submit-btn {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 联系方式 */
.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.contact-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-info-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-item {
    font-size: 14px;
    color: #4b5563;
}

.contact-info-item a {
    color: #10b981;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* 成功提示 */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #ffffff;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.success-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* ====== 页脚样式 ====== */
.site-footer {
    position: relative;
    width: 100%;
    background-color: #0f0f1a;
    color: #ffffff;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-intro {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #ffffff;
    padding: 6px;
}

.qrcode-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-beian {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.beian-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ====== 响应式设计 ====== */
@media (max-width: 768px) {
    .navbar-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        height: 35px;
    }

    .nav-menu {
        gap: 20px;
        margin-right: 0;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .careers-banner {
        height: 40vh;
    }

    .careers-banner-title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .careers-banner-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .careers-filter {
        top: 60px;
    }

    .careers-filter-inner {
        gap: 15px;
    }

    .filter-select {
        min-width: 120px;
        padding: 8px 15px;
    }

    .careers-section {
        padding: 40px 15px;
    }

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

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

    .job-card {
        padding: 24px;
    }

    .job-header {
        flex-direction: column;
        gap: 10px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .modal-container {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-content {
        padding: 20px;
    }
}

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

    .job-salary {
        font-size: 18px;
        padding: 4px 12px;
    }

    .job-tag {
        font-size: 12px;
        padding: 4px 10px;
    }
}