/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(to bottom, #1989fa, #409eff);
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.nav-item {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #e3f2fd;
    border-bottom: 2px solid #e3f2fd;
}

.nav-item.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo p {
    color: #ffffff;
    font-size: 16px;
    margin-left: 10px;
}

.logo-tag {
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* 顶部Banner */
.recruit-banner {
    height: 400px;
    background: linear-gradient(to bottom, #409eff, #7ec1ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.banner-title {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.banner-desc {
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

/* 核心内容区 - 已修改：与顶部背景合二为一 */
.hero-section {
    max-width: 1400px;
    margin: 0 auto 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    padding: 80px 20px;
    position: relative;
    /* 以下两行是关键修改 */
    background-color: transparent;
    border-radius: 0;
}

/* 卡片样式 - 统一布局 */
.recruit-card {
    width: 100%;
    max-width: 400px;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 社会招聘卡片 */
.card-social {
    transform: none;
}

/* 校园招聘卡片 */
.card-campus {
    transform: none;
}

/* 主播培养卡片 */
.card-streamer {
    transform: none;
}

.card-streamer .card-badge {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
}

.recruit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.card-img-container {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.recruit-card:hover .card-img {
    transform: scale(1.08);
}

.card-img-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.15));
    z-index: 1;
}

.card-content {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 卡片徽章 */
.card-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-social .card-badge {
    background:rgb(245, 251, 230);
    color: #A0D585;
}

.card-campus .card-badge {
    background: rgba(25, 137, 250, 0.1);
    color: #1989fa;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 15px;
    color: #606266;
    line-height: 1.8;
    margin-bottom: 30px;
    flex: 1;
}

/* 按钮样式 */
.btn-orange {
    background: #A0D585 !important;
    border-color: #A0D585 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-orange:hover {
    background: #A2CB8B !important;
    border-color: #A2CB8B !important;
    transform: translateX(3px);
}

.btn-blue {
    background: #1989fa !important;
    border-color: #1989fa !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-blue:hover {
    background: #409eff !important;
    border-color: #409eff !important;
    transform: translateX(3px);
}

.btn-purple {
    background: #8a2be2 !important;
    border-color: #8a2be2 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-purple:hover {
    background: #9370db !important;
    border-color: #9370db !important;
    transform: translateX(3px);
}

/* 页脚样式 */
.footer {
    background-color: #E1FFFF;
    color: #000000;
    padding: 20px 0 10px;
    margin-top: 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
    margin-bottom: 15px;
    margin-right: 30px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #3a3e4a;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #1989fa;
}

.footer-col p {
    margin-bottom: 12px;
    color: #4a4e5a;
    font-size: 14px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-col p:hover {
    color: #1989fa;
}

.footer-right {
    flex: 1;
    min-width: 200px;
    text-align: right;
}

.company-name {
    margin-top: 16px !important;
    font-size: 14px !important;
    color: #4a4e5a !important;
    cursor: default !important;
}

.icp-info {
    font-size: 12px !important;
    color: #95a5a6 !important;
    margin-top: 8px !important;
    cursor: default !important;
}

.icp-info a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #1989fa;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 10px 20px 0;
    border-top: 1px solid #34495e;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #95a5a6;
}

/* 响应式适配 */

/* 平板设备 */
@media (max-width: 1200px) {
    .hero-section {
        gap: 30px;
    }
    
    .nav-content {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        padding: 60px 15px;
    }

    .logo p {
        font-size: 14px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-item {
        font-size: 14px;
    }

    .decor-element {
        display: none;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 12px 15px;
    }

    .logo {
        margin-left: 0;
        margin-bottom: 12px;
        width: 100%;
        justify-content: center;
    }

    .logo img {
        height: 40px;
    }

    .logo p {
        font-size: 13px;
        margin-left: 8px;
        display: none;
    }

    .logo-tag {
        font-size: 11px;
        padding: 2px 6px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 8px;
    }

    .nav-item:hover,
    .nav-item.active {
        border-bottom: none;
        background: rgba(255, 255, 255, 0.2);
    }

    .recruit-banner {
        height: 180px;
        padding: 20px;
    }

    .banner-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .banner-desc {
        font-size: 14px;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-section {
        margin: 0 auto 40px;
        padding: 40px 12px;
        gap: 20px;
    }

    .recruit-card {
        min-width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .card-img-container {
        height: 160px;
    }

    .card-content {
        padding: 20px;
    }

    .card-badge {
        font-size: 12px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .card-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .btn-orange,
    .btn-blue,
    .btn-purple {
        width: 100%;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .footer {
        padding: 20px 0 15px;
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 15px;
        justify-content: center;
        gap: 15px;
    }

    .footer-col {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
        min-width: auto;
        flex: none;
        width: calc(33.33% - 10px);
        max-width: 120px;
    }

    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
    }

    .footer-col p {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-right {
        text-align: center;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        order: 10;
    }

    .company-name {
        font-size: 12px !important;
        margin-top: 10px !important;
    }

    .icp-info {
        font-size: 11px !important;
        margin-top: 6px !important;
    }

    .footer-bottom {
        padding: 15px 15px 0;
        margin-top: 15px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .nav-content {
        padding: 10px 10px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-item {
        font-size: 13px;
        padding: 6px 10px;
    }

    .recruit-banner {
        height: 150px;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-desc {
        font-size: 12px;
    }

    .hero-section {
        padding: 30px 10px;
    }

    .card-img-container {
        height: 140px;
    }

    .card-content {
        padding: 16px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-desc {
        font-size: 12px;
    }
}

/* 触控优化 */
.recruit-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.el-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 移动端点击效果 */
@media (hover: none) {
    .recruit-card:active {
        transform: scale(0.98);
    }

    .nav-item:active {
        background: rgba(255, 255, 255, 0.3);
    }

    .btn-orange:active,
    .btn-blue:active,
    .btn-purple:active {
        transform: scale(0.98);
    }
}