/* ========== 顶部 Header ========== */
.page-header {
    background: #ffffff;
    padding: 48px 0 36px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breadcrumb {
    font-size: 13px;
    color: #86868b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #0066cc;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #d2d2d7;
}

/* 标题行 */
.header-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.title-area h1 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 8px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    height: 48px;
    padding: 0 32px;
    border-radius: 40px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn-header.primary {
    background: #0071e3;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.2);
}

.btn-header.primary:hover {
    background: #0077ed;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.btn-header.secondary {
    background: #f5f5f7;
    color: #1d1d1f;
    border-color: #e8e8ed;
}

.btn-header.secondary:hover {
    background: #e8e8ed;
    transform: scale(1.02);
}

/* 标签栏 */
.meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f7;
    color: #4a4a4f;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 30px;
}

.chip i {
    color: #0066cc;
    font-size: 15px;
}

.chip.highlight {
    background: #e8f2ff;
    color: #0066cc;
}

.chip.hot {
    background: #fff0f0;
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.15);
}

.chip.hot i {
    color: #ff3b30;
}

/* ========== 迷你吸顶操作栏 ========== */
.sticky-bar {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: top 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.sticky-bar.show {
    top: 0;
}

.sticky-bar .bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.sticky-bar .bar-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 16px;
}

.sticky-bar .bar-meta {
    font-size: 13px;
    color: #86868b;
    display: flex;
    gap: 16px;
    margin-right: 24px;
}

.btn-sticky {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0071e3;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 0 20px;
    height: 38px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-sticky:hover {
    background: #0077ed;
    transform: scale(1.02);
}

/* ========== 主体内容 ========== */
.main-wrapper {
    background: #fbfbfd;
    padding: 40px 0 80px;
}

/* 沉浸式卡片 */
.content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.content-card:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #0066cc;
    font-size: 22px;
}

.info-list {
    list-style: none;
}

.info-list {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4a4a4f;
    line-height: 1.7;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0066cc;
}

/* 底部 CTA 区 */
.cta-section {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 24px;
}

.cta-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 28px;
}

.cta-section .btn-header {
    height: 52px;
    padding: 0 40px;
    font-size: 16px;
}

/* ========== 内推引导卡片 ========== */
.referral-card {
    margin-top: 24px;
    background: linear-gradient(135deg, #f2f8ff 0%, #ffffff 100%);
    border-radius: 24px;
    padding: 32px 36px;
    border: 1px solid rgba(0, 113, 227, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.referral-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.referral-icon {
    width: 56px;
    height: 56px;
    background: #e8f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0071e3;
    font-size: 28px;
    flex-shrink: 0;
}

.referral-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.referral-content p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

.referral-content p a {
    color: #0071e3;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-referral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #0071e3;
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    padding: 0 24px;
    border-radius: 40px;
    border: 1px solid rgba(0, 113, 227, 0.2);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-referral:hover {
    background: #e8f2ff;
    border-color: rgba(0, 113, 227, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.1);
}

/* ========== 底部职位推荐 ========== */
.recommend-section {
    margin-top: 56px;
}

.recommend-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-left: 4px;
}

.recommend-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #1d1d1f;
}

.job-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 113, 227, 0.15);
}

.job-card-header {
    margin-bottom: 16px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    line-height: 1.35;
    transition: color 0.2s;
}

.job-card:hover .job-title {
    color: #0066cc;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 13px;
    color: #86868b;
    margin-bottom: 20px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    font-size: 14px;
    color: #b0b0b5;
    transition: color 0.2s;
}

.job-card:hover .job-meta i {
    color: #0066cc;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f2;
}

.job-tag {
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    background: #e8f2ff;
    padding: 4px 12px;
    border-radius: 20px;
}

.job-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.2s;
}

.job-action i {
    font-size: 14px;
    transition: transform 0.2s;
}

.job-card:hover .job-action {
    color: #0066cc;
}

.job-card:hover .job-action i {
    transform: translateX(4px);
}

/* 页脚 */
.apple-footer {
    text-align: center;
    padding: 32px 20px 48px;
    font-size: 12px;
    color: #86868b;
    letter-spacing: -0.01em;
    border-top: 1px solid #e8e8ed;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .content-card {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 32px 0 24px;
    }

    .header-title-row h1 {
        font-size: 28px;
    }

    .header-actions {
        width: 100%;
        margin-top: 8px;
    }

    .btn-header {
        flex: 1;
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .meta-chips {
        gap: 8px;
    }

    .chip {
        font-size: 12px;
        padding: 6px 12px;
    }

    .sticky-bar .bar-inner {
        padding: 0 16px;
        height: 56px;
    }

    .sticky-bar .bar-meta {
        display: none;
    }

    .sticky-bar .bar-title {
        font-size: 14px;
    }

    .btn-sticky {
        height: 32px;
        padding: 0 16px;
        font-size: 13px;
    }

    .main-wrapper {
        padding: 24px 0 48px;
    }

    .content-card {
        padding: 24px 20px;
        border-radius: 20px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .info-list li {
        font-size: 15px;
        padding-left: 24px;
        margin-bottom: 16px;
    }

    .cta-section {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .cta-section h3 {
        font-size: 20px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .cta-section .btn-header {
        height: 46px;
        width: 100%;
    }

    /* 内推卡片移动端 */
    .referral-card {
        padding: 24px;
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .referral-left {
        align-items: flex-start;
        gap: 14px;
    }

    .referral-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .referral-content h3 {
        font-size: 16px;
    }

    .referral-content p {
        font-size: 13px;
    }

    .btn-referral {
        width: 100%;
        height: 42px;
    }

    .recommend-section {
        margin-top: 40px;
    }

    .recommend-header h2 {
        font-size: 22px;
    }

    .job-card {
        padding: 20px;
        border-radius: 16px;
    }

    .job-title {
        font-size: 16px;
    }

    .job-meta {
        font-size: 12px;
        gap: 8px 16px;
        margin-bottom: 16px;
    }

    .job-card-footer {
        padding-top: 16px;
    }

    .job-action {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-title-row h1 {
        font-size: 24px;
    }

    .header-actions {
        flex-direction: column;
    }

    .meta-chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .chip {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
