/* ========== 首页轮播图 ========== */
.carousel {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--bg-dark);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    padding: 20px;
    max-width: 800px;
}

/* 图片上方显示联系方式 */
.slide-contact {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--neon-yellow);
    text-shadow: 0 0 12px rgba(255, 230, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
    padding: 8px 22px;
    border: 2px solid var(--neon-yellow);
    border-radius: 40px;
    background: rgba(10, 10, 18, 0.5);
    box-shadow: 0 0 18px rgba(255, 230, 0, 0.4);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.slide-title {
    font-family: "Orbitron", sans-serif;
    font-size: 46px;
    font-weight: 900;
    color: var(--text-light);
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 24px rgba(0, 240, 255, 0.6),
        3px 0 var(--neon-magenta),
        -3px 0 var(--neon-purple);
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.slide-desc {
    font-size: 22px;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 240, 255, 0.35);
    box-shadow: 0 0 16px var(--neon-cyan);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--neon-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--neon-magenta);
    box-shadow: 0 0 12px var(--neon-magenta);
}

/* ========== 核心优势 ========== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    text-align: center;
    padding: 34px 20px;
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transition: left 0.6s ease;
}

.advantage-card:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 24px rgba(255, 0, 170, 0.3);
    transform: translateY(-6px);
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card i {
    font-size: 42px;
    color: var(--neon-cyan);
    text-shadow: 0 0 14px var(--neon-cyan);
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.advantage-card p {
    color: var(--text-dim);
    font-size: 15px;
}

/* ========== 热招岗位 ========== */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.job-card {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 26px;
    position: relative;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 26px rgba(255, 0, 170, 0.3);
    transform: translateY(-4px);
}

.job-tag {
    position: absolute;
    top: 14px;
    right: -4px;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-purple));
    color: #fff;
    font-size: 12px;
    padding: 3px 14px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
}

.job-card h3 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.job-salary {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
    margin-bottom: 16px;
}

.job-meta {
    margin-bottom: 18px;
}

.job-meta li {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 6px;
}

.job-meta i {
    color: var(--neon-cyan);
    width: 16px;
}

.job-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.job-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 16px var(--neon-cyan);
}

/* ========== 数据统计 ========== */
.stats {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.1), rgba(0, 240, 255, 0.1)) !important;
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item i {
    font-size: 36px;
    color: var(--neon-magenta);
    text-shadow: 0 0 14px var(--neon-magenta);
    margin-bottom: 10px;
}

.stat-num {
    font-family: "Orbitron", sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 14px var(--neon-cyan);
}

.stat-label {
    color: var(--text-dim);
    font-size: 15px;
    letter-spacing: 1px;
}

/* ========== 入职流程 ========== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
    box-shadow: 0 0 8px var(--neon-cyan);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    font-family: "Orbitron", sans-serif;
    font-size: 14px;
    color: var(--neon-purple);
    margin-bottom: 8px;
}

.process-step > i {
    font-size: 38px;
    color: var(--neon-cyan);
    text-shadow: 0 0 14px var(--neon-cyan);
    background: var(--bg-dark);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 76px;
    margin: 0 auto 14px;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
}

.process-step h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-dim);
    font-size: 14px;
    padding: 0 10px;
}

/* ========== 最新资讯 ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 24px rgba(255, 0, 170, 0.3);
    transform: translateY(-4px);
}

.news-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 18px;
}

.news-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    color: var(--text-dim);
    font-size: 13px;
}

.news-more {
    text-align: center;
    margin-top: 32px;
}

.more-link {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.more-link:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 16px var(--neon-cyan);
}

/* ========== 友情链接 ========== */
.friend-links {
    background: rgba(18, 18, 31, 0.4) !important;
}

.links-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左侧20% */
.links-external {
    flex: 0 0 20%;
    background: var(--bg-panel);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 6px;
    padding: 20px;
}

/* 右侧80% */
.links-content {
    flex: 0 0 calc(80% - 24px);
    background: var(--bg-panel);
    border: 1px solid rgba(255, 0, 170, 0.2);
    border-radius: 6px;
    padding: 20px;
}

.links-sub-title {
    font-size: 16px;
    color: var(--neon-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 170, 0.5);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 0, 170, 0.2);
}

.links-external .links-sub-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
    border-bottom-color: rgba(0, 240, 255, 0.2);
}

.links-col li {
    margin-bottom: 10px;
}

.links-col a {
    color: var(--text-dim);
    font-size: 14px;
    transition: all 0.25s ease;
}

.links-col a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
    padding-left: 4px;
}

/* 右侧4竖排 */
.links-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .process-steps::after {
        display: none;
    }
    .slide-title {
        font-size: 36px;
    }
    .slide-desc {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    .slide-contact {
        font-size: 15px;
        padding: 5px 14px;
        margin-bottom: 14px;
    }
    .slide-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
    .slide-desc {
        font-size: 15px;
    }
    .carousel-prev,
    .carousel-next {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .advantage-grid,
    .job-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-num {
        font-size: 30px;
    }
    /* 友情链接移动端改为纵向 */
    .links-layout {
        flex-direction: column;
    }
    .links-external,
    .links-content {
        flex: 1;
        width: 100%;
    }
    .links-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .links-cols-4 {
        grid-template-columns: 1fr;
    }
}
