/* --- 模块一：Hero Banner --- */
.hero-section {
    height: 900px;
    background: url(../images/join/join_m1_bg1.jpg);
    background-repeat: no-repeat;
    background-size: 100% 75%;
    position: relative;
    margin: 70px 0 0 0;

}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    /* background: linear-gradient(180deg, rgba(230, 240, 255, 0.3) 9%, rgb(255 255 255) 100%); */
    background-size: cover;
    background-position: center;
    z-index: 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

}

.hero-text {
    width: 70%;
    padding-top: 180px;
    position: relative;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-text p {
    color: var(--text-sub);
    margin-bottom: 40px;
    font-size: 16px;
}

.hero-cards {
    display: flex;
    gap: 20px;
    position: absolute;

    z-index: 1;
}

.h-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    /* flex: 1; */
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    width: 50%;
}

.h-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.h-card i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}

.h-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.h-card p {
    font-size: 12px;
}

.hero-img-box {
    width: 50%;
    position: absolute;
    top: 216px;
    right: 0;
    height: 100%;
}

.hero-img-box img {
    width: 63%;
    height: 60%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* --- 模块二：愿景视频 --- */
.vision-section {
    background: url('https://placehold.co/1920x600/333/666?text=Building+Night') no-repeat center/cover;
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    margin: 100px auto 50px;
    max-width: 1300px;
}

.vision-overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vision-content {
    position: relative;
    z-index: 2;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    cursor: pointer;
    border: 2px solid white;
    transition: var(--transition);
}

.play-btn::after {
    content: '';
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.play-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- 模块三：价值观 (⭐ 重新设计) --- */
.values-section {
    padding: 80px 0;
    background: #f5f7fa;
    /* 浅灰背景区分 */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 两列布局 */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.v-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* 左侧装饰条 */
.v-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.4s ease;
}

.v-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 210, 184, 0.2);
}

.v-card:hover::before {
    height: 100%;
}

.v-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 210, 184, 0.1) 0%, rgba(0, 210, 184, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.v-icon {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.v-card:hover .v-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00b8a0 100%);
    transform: scale(1.1) rotate(5deg);
}

.v-card:hover .v-icon {
    color: white;
}

.v-content {
    flex: 1;
}

.v-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    transition: color 0.4s ease;
}

.v-card:hover .v-content h3 {
    color: var(--primary-color);
}

.v-content p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.8;
    transition: color 0.4s ease;
}

.v-card:hover .v-content p {
    color: #555;
}

.v-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    color: var(--primary-color);
    font-size: 16px;
    opacity: 0;
    transition: all 0.4s ease;
}

.v-card:hover .v-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* --- 模块四：我们需要这样的你 (⭐ 重新设计) --- */
.requirements-section {
    padding: 80px 0;
    background: #fff;
}

.req-wrapper {
    display: flex;
    align-items: stretch;
    /* 高度拉伸对齐 */
    gap: 50px;
    background: #fff;
}

.req-img {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.req-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.req-img:hover img {
    transform: scale(1.05);
}

.req-steps {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.req-steps h2 {
    margin-bottom: 128px;
    font-size: 28px;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 20px;
}

.step-item {
    padding: 40px 20px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-item:hover {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.step-num-bg {
    position: absolute;
    top: -62px;
    left: 10px;
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, aqua, #fff);
    background-clip: text;
    color: transparent;
}

.step-item:hover .step-num-bg {
    color: rgba(0, 210, 184, 0.15);
    transform: scale(1.1);
}

.step-text {
    position: relative;
    z-index: 1;
}

.step-text h4 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.step-text p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* --- 模块五：招聘策略 --- */
.strategy-section {
    background: url(../images/join/join_m5_bg1.jpg) no-repeat center/cover;
    padding: 252px 0;
    color: white;
    position: relative;
}

.strategy-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.strat-text {
    width: 40%;
}

.strat-cards {
    display: flex;
    gap: 20px;
    margin: 30px 0 0 0;
}

.s-card {
    width: 140px;
    height: 158px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;

    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0 0 0 20px;
}

.s-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-8px);
}

.s-card i {
    font-size: 30px;
    margin-bottom: 10px;
}

.s-card .s-card-title {
    display: inline-block;
    margin: 0 0 20px 0;
}

/* --- 模块六：职位列表 --- */
.jobs-section {
    padding: 80px 0;
    background: #fff;
}

.job-table-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--light-bg);
    border-top: 2px solid var(--primary-color);
    font-weight: bold;
    color: var(--primary-color);
}

.job-list {
    width: 100%;
}

.job-row {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.job-row:hover {
    background: #fcfcfc;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.job-title {
    /* font-weight: bold; */
    font-size: 16px;
    width: 15%;
}

.job-info span {
    margin-right: 30px;
    color: var(--text-sub);
}

.toggle-btn {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
}

.job-details {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    padding: 0 20px;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
}

.job-details.active {
    max-height: 800px;
    padding: 20px;
}

.detail-content {
    color: var(--text-sub);
    font-size: 14px;
    line-height: 1.8;
    /* padding: 0 40% 0 0; */
}

.detail-content h5 {
    color: var(--text-main);
    margin: 15px 0 5px;
}

/* --- 模块七：人才成长体系 --- */
.growth-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.g-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.g-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.g-img {
    height: 200px;
    overflow: hidden;
}

.g-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.g-card:hover .g-img img {
    transform: scale(1.1);
}

.g-text {
    padding: 20px;
}

.g-text h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.g-text p {
    font-size: 13px;
    color: var(--text-sub);
}

/* --- 模块八：智目生活 --- */
.life-section {
    padding: 80px 0;
    background: #fff;
}

.life-tabs {
    display: flex;
    gap: 20px;
}

.life-tab {
    flex: 1;
    height: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.life-tab {
    filter: grayscale(70%);
    opacity: 0.7;
    flex: 1;
}

.life-tab.active {
    flex: 3;
    filter: grayscale(0%);
    opacity: 1;
}

.tab-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.life-tab.active .tab-content {
    opacity: 1;
}

.tab-content h3 {
    margin-bottom: 10px;
}

.tab-content p {
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.life-tab.active .tab-content p {
    display: block;
}

.tab-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* --- 模块九：公司福利 (⭐ 重新设计 - 参考截图) --- */
.welfare-section {
    height: 650px;
    /* 增加高度以适应新布局 */
    background: url(../images/join/join_m9_bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* 深色渐变背景 */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 背景装饰图形 */
.welfare-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 184, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.welfare-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 60px;
}

/* 左侧文字区域 */
.w-left {
    width: 40%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-main-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.w-content-wrapper {
    position: relative;
    min-height: 200px;
    /* 防止内容切换时高度跳动 */
}

.w-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.w-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.w-number-bg {
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -40px;
    left: -10px;
    z-index: 0;
    line-height: 1;
}

.w-sub-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.w-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.w-controls {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.w-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* 右侧图片区域 */
.w-right {
    width: 60%;
    height: 450px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.w-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-size: cover;
    background-position: center;
}

.w-slide.active {
    opacity: 1;
    transform: scale(1);
}


/* 响应式适配 */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .req-wrapper {
        flex-direction: column;
    }

    .req-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text,
    .hero-img-box {
        width: 100%;
    }

    .strategy-container {
        flex-direction: column;
        gap: 30px;
    }

    .strat-text {
        width: 100%;
    }

    .growth-grid {
        grid-template-columns: 1fr;
    }

    .life-tabs {
        flex-direction: column;
    }

    .life-tab {
        flex: none !important;
        height: 200px;
    }

    .welfare-container {
        flex-direction: column-reverse;
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .w-left,
    .w-right {
        width: 100%;
    }

    .w-right {
        height: 300px;
    }

    .w-main-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .w-content-wrapper {
        text-align: center;
        min-height: 250px;
    }

    .w-number-bg {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }

    .w-desc {
        margin: 0 auto 30px;
    }

    .w-controls {
        justify-content: center;
    }
}


/* =========================================
   模块五：招聘策略 (优化版)
   ========================================= */

.strategy-section {
    padding: 80px 0;
    background-color: #fff;
    /* 确保背景色统一 */
}

.strategy-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 顶部对齐 */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧文字区域 */
.strat-text {
    /* width: 65%; */
    /* 桌面端占比 */
}

.strat-text h2 {
    font-size: 36px;
    margin-bottom: 56px;

    line-height: 1.2;
}

.strat-text p {
    font-size: 16px;
    line-height: 1.8;

    text-align: justify;
    /* 两端对齐更整洁 */
}

/* 右侧卡片区域包裹层 */
.strategy-container>div:last-child {
    width: 28%;
    /* 桌面端占比 */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 右侧描述文字 */
.strategy-container>div:last-child>div:first-child {
    font-size: 15px;
    line-height: 1.6;

    margin-bottom: 10px;
}

/* 卡片容器 */
.strat-cards {}



/* .s-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
} */

.s-card-title {
    font-size: 18px;
    font-weight: bold;

    margin-bottom: 5px;
    display: block;
}

.s-card-small {
    font-size: 13px;

    font-weight: normal;
}

/* =========================================
   移动端适配 (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    .strategy-section {
        padding: 50px 0;
    }

    .strategy-container {
        flex-direction: column;
        /* 改为垂直布局 */
        gap: 30px;
        padding: 0 15px;
    }

    /* 文字区域占满全宽 */
    .strat-text {
        width: 100%;
    }

    .strat-text h2 {
        font-size: 28px;
        /* 缩小标题 */
        margin-bottom: 20px;
        text-align: left;
    }

    .strat-text p {
        font-size: 14px;
        /* 缩小正文 */
        line-height: 1.6;
        text-align: left;
    }

    /* 右侧区域占满全宽 */
    .strategy-container>div:last-child {
        width: 100%;
    }

    /* 右侧描述文字调整 */
    .strategy-container>div:last-child>div:first-child {
        font-size: 14px;
        margin-bottom: 20px;

    }

    /* 卡片在移动端改为横向并排，如果屏幕太窄则自动换行 */
    .strat-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .s-card {
        flex: 1 1 45%;
        /* 每个卡片约占45%宽度，留出gap空间 */
        min-width: 140px;
        /* 最小宽度防止过扁 */
        padding: 20px 15px;
    }

    .s-card i {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .s-card-title {
        font-size: 16px;
    }

    .s-card-small {
        font-size: 12px;
    }
}

/* 超小屏幕 (如 iPhone SE) 强制卡片垂直堆叠 */
@media (max-width: 480px) {
    .strat-cards {
        /* flex-direction: column; */
    }

    .s-card {
        /* flex: 1 1 100%; */
        min-width: auto;
    }
}