﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --c1: #FF6B6B;
    --c2: #FFD93D;
    --c3: #6BCB77;
    --c4: #4D96FF;
    --c5: #C77DFF;
    --c6: #FF9B71
}

body {
    font-family: 'Noto Sans SC',sans-serif;
    background: #f8f9fa
}

/* 导航 */
 .nav1 {
    background: #fff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.05)
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito',sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--c1)
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg,var(--c1),var(--c2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

/* 顶部英雄 */
.hero {
    background: linear-gradient(135deg,var(--c1),var(--c6));
    color: #fff;
    padding: 60px 40px;
    text-align: center
}

    .hero h1 {
        font-family: 'Nunito',sans-serif;
        font-size: 2.5rem;
        font-weight: 900;
        margin-bottom: 15px
    }

    .hero p {
        font-size: 1.1rem;
        opacity: .9
    }

/* 视角切换 */
.view-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 40px;
    background: #fff
}

.view-btn {
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 3px solid var(--c1);
    background: #fff;
    color: var(--c1);
    transition: all .3s;
    font-family: 'Noto Sans SC',sans-serif
}

    .view-btn.active {
        background: var(--c1);
        color: #fff
    }

    .view-btn:hover {
        transform: translateY(-2px)
    }

/* 双栏布局 */
.dual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh
}

.dual-left {
    background: #fff;
    padding: 50px 40px;
    border-right: 1px solid #eee
}

.dual-right {
    background: #f0f7ff;
    padding: 50px 40px
}

/* 区块标题 */
.block-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px
}

.block-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem
}

.block-title {
    font-family: 'Nunito',sans-serif;
    font-size: 1.4rem;
    font-weight: 900
}

.block-sub {
    font-size: .85rem;
    color: #888;
    margin-top: 3px
}

/* 列表卡片 */
.list-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
    transition: all .3s;
    border-left: 4px solid var(--c1)
}

    .list-card:hover {
        transform: translateX(5px);
        box-shadow: 0 8px 25px rgba(0,0,0,.1)
    }

    .list-card .tag {
        display: inline-block;
        background: var(--c1);
        color: #fff;
        padding: 3px 12px;
        border-radius: 20px;
        font-size: .75rem;
        font-weight: 600;
        margin-bottom: 10px
    }

        .list-card .tag.g {
            background: var(--c3)
        }

        .list-card .tag.b {
            background: var(--c4)
        }

        .list-card .tag.p {
            background: var(--c5)
        }

    .list-card h4 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px
    }

    .list-card p {
        font-size: .88rem;
        color: #666;
        line-height: 1.7
    }

/* 薪资卡片 */
.salary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05)
}

    .salary-card .rank {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Nunito',sans-serif;
        font-size: 1.3rem;
        font-weight: 900
    }

        .salary-card .rank.r1 {
            background: var(--c2);
            color: #333
        }

        .salary-card .rank.r2 {
            background: #e0e0e0;
            color: #666
        }

        .salary-card .rank.r3 {
            background: #cd7f32;
            color: #fff
        }

    .salary-card .salary {
        font-family: 'Nunito',sans-serif;
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--c1)
    }

    .salary-card .info h4 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 5px
    }

    .salary-card .info p {
        font-size: .82rem;
        color: #888
    }

/* 进度条 */
.progress-row {
    margin-top: 10px
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    margin-bottom: 5px
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease
}

/* 企业卡片 */
.company-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05);
    transition: all .3s
}

    .company-card:hover {
        transform: translateX(5px)
    }

    .company-card .rank {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: var(--c4);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-family: 'Nunito',sans-serif;
        font-size: 1.1rem
    }

    .company-card .logo {
        font-size: 2rem
    }

    .company-card .info {
        flex: 1
    }

        .company-card .info h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 4px
        }

        .company-card .info p {
            font-size: .82rem;
            color: #888
        }

    .company-card .jobs {
        font-family: 'Nunito',sans-serif;
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--c1)
    }

/* 面试对话 */
.chat-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px
}

.chat-q {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,.05)
}

    .chat-q .q {
        font-weight: 700;
        color: var(--c1);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px
    }

    .chat-q .a {
        font-size: .88rem;
        color: #666;
        line-height: 1.7
    }

/* 技能表格 */
.skill-table {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,.05)
}

    .skill-table th {
        background: var(--c1);
        color: #fff;
        padding: 14px 18px;
        text-align: left;
        font-weight: 600;
        font-size: .9rem
    }

    .skill-table td {
        padding: 12px 18px;
        border-bottom: 1px solid #f0f0f0;
        font-size: .88rem
    }

    .skill-table tr:last-child td {
        border-bottom: none
    }

    .skill-table tr:hover td {
        background: #fafafa
    }

/* 政策节点 */
.policy-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px
}

.policy-year {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg,var(--c1),var(--c2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito',sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0
}

.policy-item .content {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,.05)
}

    .policy-item .content h4 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px
    }

    .policy-item .content p {
        font-size: .88rem;
        color: #666;
        line-height: 1.7
    }

/* 生活信息 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px
}

.info-box {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,.05)
}

    .info-box .icon {
        font-size: 2.5rem;
        margin-bottom: 10px
    }

    .info-box h4 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 8px
    }

    .info-box p {
        font-size: .85rem;
        color: #666;
        line-height: 1.6
    }

/* 页脚 */
.footer {
    background: var(--c1);
    color: #fff;
    padding: 30px;
    text-align: center
}

    .footer a {
        color: var(--c2);
        text-decoration: none
    }

@media(max-width:900px) {
    .dual-layout {
        grid-template-columns: 1fr
    }

    .dual-left {
        border-right: none;
        border-bottom: 1px solid #eee
    }

    .info-grid {
        grid-template-columns: 1fr
    }
}
#job-view {
    max-width: 1300px;
    margin: auto;
}
#company-view {
    max-width: 1300px;
    margin: auto;
}
/* 底部CTA */
.cta {
    background: linear-gradient(135deg,#FF6B6B,#FF9B71);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden
}

    .cta::before {
        content: '🎯';
        font-size: 8rem;
        position: absolute;
        left: -20px;
        top: -10px;
        opacity: .1
    }

    .cta::after {
        content: '🎪';
        font-size: 8rem;
        position: absolute;
        right: -20px;
        bottom: -10px;
        opacity: .1
    }

    .cta h2 {
        font-family: 'Nunito',sans-serif;
        font-size: 2.2rem;
        font-weight: 900;
        margin-bottom: 10px
    }

    .cta p {
        font-size: 1.05rem;
        opacity: .9;
        margin-bottom: 30px
    }

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap
}

.cta .btn-white {
    background: #fff;
    color: #FF6B6B;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all .3s;
    display: inline-block;
    font-family: 'Nunito',sans-serif
}

    .cta .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2)
    }

.cta .btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 33px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
    font-family: 'Nunito',sans-serif
}

    .cta .btn-outline:hover {
        background: rgba(255,255,255,0.2)
    }