/* ============================================
   山东人才招聘网 - 样式表
   现代简洁, 移动优先, 响应式
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.08);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --container: 1200px;
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
.site-header { background: var(--bg-card); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-top { background: var(--bg); border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--text-secondary); }
.header-top .container { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.header-top a { color: var(--text-secondary); }
.header-top a:hover { color: var(--primary); }
.header-top .sep { margin: 0 8px; color: var(--border); }

.header-main { padding: 16px 0; }
.header-main .container { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: var(--primary); color: #fff;
    border-radius: var(--radius); font-size: 1.4rem; font-weight: 700;
}
.logo-text { color: var(--text); }

.search-box { flex: 1; max-width: 560px; display: flex; }
.search-box input {
    flex: 1; height: 42px; padding: 0 16px; border: 2px solid var(--primary);
    border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: .9rem; outline: none;
}
.search-box button {
    width: 80px; height: 42px; background: var(--primary); color: #fff; border: none;
    border-radius: 0 var(--radius) var(--radius) 0; font-size: .9rem; cursor: pointer; font-weight: 500;
    transition: background .2s;
}
.search-box button:hover { background: var(--primary-dark); }

.main-nav { border-top: 1px solid var(--border); background: var(--bg-card); }
.nav-list { display: flex; gap: 4px; overflow-x: auto; }
.nav-list li { white-space: nowrap; }
.nav-list a {
    display: block; padding: 12px 18px; color: var(--text); font-size: .9rem; font-weight: 500;
    border-bottom: 2px solid transparent; transition: all .2s;
}
.nav-list li.active a, .nav-list a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== Breadcrumbs ===== */
.breadcrumbs { padding: 12px 0; font-size: .85rem; color: var(--text-secondary); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li::after { content: "›"; margin-left: 8px; color: var(--text-light); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--primary); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 48px 0; color: #fff; text-align: center;
}
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.hero p { font-size: 1.05rem; opacity: .9; margin-bottom: 24px; }
.hero-search {
    max-width: 600px; margin: 0 auto; display: flex; background: #fff;
    border-radius: var(--radius); padding: 4px; box-shadow: var(--shadow-lg);
}
.hero-search input {
    flex: 1; height: 44px; padding: 0 16px; border: none; outline: none;
    font-size: .95rem; color: var(--text); background: transparent;
}
.hero-search button {
    padding: 0 28px; background: var(--primary); color: #fff; border: none;
    border-radius: var(--radius-sm); font-size: .95rem; cursor: pointer; font-weight: 500;
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 700; }
.hero-stat-label { font-size: .85rem; opacity: .8; }

/* ===== Sections ===== */
.section { padding: 32px 0; }
.section-title {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.section-title h2 { font-size: 1.3rem; font-weight: 600; }
.section-title h2::before {
    content: ""; display: inline-block; width: 4px; height: 20px;
    background: var(--primary); border-radius: 2px; margin-right: 8px; vertical-align: -3px;
}
.section-title .more { font-size: .85rem; color: var(--text-secondary); }
.section-title .more:hover { color: var(--primary); }

/* ===== Layout ===== */
.main-content { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 24px 0; }
.main-content-full { grid-column: 1 / -1; }

/* ===== Job Card ===== */
.job-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; display: flex;
    align-items: flex-start; gap: 16px; margin-bottom: 12px;
}
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.job-card-body { flex: 1; min-width: 0; }
.job-card-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.job-card-title a { color: var(--text); }
.job-card-title a:hover { color: var(--primary); }
.job-card-title .tag {
    display: inline-block; padding: 1px 6px; font-size: .7rem; border-radius: 3px;
    margin-left: 6px; vertical-align: 2px;
}
.tag-urgent { background: #fef2f2; color: var(--danger); }
.tag-top { background: #fffbeb; color: var(--accent); }
.tag-new { background: #f0fdf4; color: var(--success); }
.job-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--text-secondary); margin-bottom: 6px; }
.job-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-card-company { font-size: .85rem; color: var(--text-secondary); }
.job-card-company a { color: var(--text-secondary); }
.job-card-company a:hover { color: var(--primary); }
.job-card-salary {
    font-size: 1.05rem; font-weight: 600; color: var(--accent); white-space: nowrap;
    text-align: right; min-width: 120px;
}
.job-card-time { font-size: .8rem; color: var(--text-light); margin-top: 4px; text-align: right; }

/* ===== Job List Grid ===== */
.job-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.job-grid-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; transition: all .2s;
}
.job-grid-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.job-grid-item .title { font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.job-grid-item .title a { color: var(--text); }
.job-grid-item .title a:hover { color: var(--primary); }
.job-grid-item .salary { font-size: .95rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.job-grid-item .meta { font-size: .8rem; color: var(--text-secondary); display: flex; gap: 10px; flex-wrap: wrap; }
.job-grid-item .company { font-size: .82rem; color: var(--text-secondary); margin-top: 6px; }

/* ===== Sidebar ===== */
.sidebar-widget {
    background: var(--bg-card); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow); margin-bottom: 16px;
}
.sidebar-widget h3 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.sidebar-widget h3::before {
    content: ""; display: inline-block; width: 3px; height: 16px;
    background: var(--primary); border-radius: 2px; margin-right: 8px; vertical-align: -2px;
}
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.sidebar-widget ul li a:hover { color: var(--primary); }
.sidebar-widget .hot-job-salary { color: var(--accent); font-weight: 600; font-size: .82rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    padding: 4px 12px; background: var(--bg); border-radius: 20px; font-size: .82rem;
    color: var(--text-secondary); transition: all .2s;
}
.tag-cloud a:hover { background: var(--primary-light); color: var(--primary); }

/* ===== Filter Bar ===== */
.filter-bar { background: var(--bg-card); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.filter-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.filter-row:last-child { border-bottom: none; }
.filter-label { font-size: .85rem; color: var(--text-secondary); min-width: 60px; }
.filter-items { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-items a {
    padding: 4px 12px; font-size: .85rem; color: var(--text); border-radius: var(--radius-sm);
    transition: all .2s;
}
.filter-items a:hover, .filter-items a.active { background: var(--primary); color: #fff; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem;
    color: var(--text); transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { color: var(--text-light); cursor: not-allowed; }

/* ===== Job Detail ===== */
.job-detail-header {
    background: var(--bg-card); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow); margin-bottom: 16px;
}
.job-detail-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.job-detail-salary { font-size: 1.3rem; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.job-detail-meta { display: flex; flex-wrap: wrap; gap: 24px; color: var(--text-secondary); font-size: .9rem; }
.job-detail-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-detail-section { background: var(--bg-card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.job-detail-section h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.job-detail-section h3::before {
    content: ""; display: inline-block; width: 4px; height: 18px;
    background: var(--primary); border-radius: 2px; margin-right: 8px; vertical-align: -3px;
}
.job-detail-content { line-height: 1.8; color: var(--text); font-size: .92rem; }
.job-detail-content p { margin-bottom: 10px; }
.welfare-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.welfare-tag {
    padding: 4px 12px; background: var(--primary-light); color: var(--primary);
    border-radius: 4px; font-size: .82rem;
}
.company-info-card {
    display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg);
    border-radius: var(--radius); margin-top: 16px;
}
.company-info-card .company-logo {
    width: 60px; height: 60px; border-radius: var(--radius); background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--primary);
}
.company-info-card .company-detail { flex: 1; }
.company-info-card .company-name { font-size: 1rem; font-weight: 600; }
.company-info-card .company-meta { font-size: .82rem; color: var(--text-secondary); margin-top: 4px; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-secondary); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state .text { font-size: 1rem; }
.empty-state .sub { font-size: .85rem; margin-top: 8px; }

/* ===== Footer ===== */
.site-footer { margin-top: 48px; background: #1e293b; color: #cbd5e1; }
.footer-main { padding: 40px 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: .85rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #334155; padding: 16px 0; text-align: center; font-size: .8rem; color: #64748b; }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: #94a3b8; margin: 0 4px; }
.friend-links a { margin: 0 6px; }

/* ===== Admin ===== */
.admin-header { background: #1e293b; color: #fff; padding: 12px 0; }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; }
.admin-header .logo { color: #fff; font-size: 1.1rem; font-weight: 600; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a { color: #cbd5e1; padding: 6px 14px; border-radius: var(--radius-sm); font-size: .85rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; }

.admin-body { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; min-height: calc(100vh - 120px); }
.admin-sidebar { background: var(--bg-card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); height: fit-content; }
.admin-sidebar a { display: block; padding: 10px 16px; color: var(--text); font-size: .88rem; border-radius: var(--radius-sm); margin-bottom: 2px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--primary-light); color: var(--primary); }
.admin-content { background: var(--bg-card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-weight: 600; color: var(--text-secondary); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table tr:hover { background: var(--bg-hover); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-card .stat-label { font-size: .82rem; color: var(--text-secondary); margin-bottom: 8px; }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; color: var(--primary); }

.btn { display: inline-block; padding: 8px 20px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: .88rem; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--primary-dark); }
.btn-sm { padding: 4px 12px; font-size: .8rem; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); }
.btn-success:hover { background: #059669; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; }
.form-control { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; outline: none; transition: border-color .2s; }
.form-control:focus { border-color: var(--primary); }
textarea.form-control { height: auto; padding: 8px 12px; min-height: 80px; resize: vertical; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-top { display: none; }
    .header-main .container { flex-wrap: wrap; gap: 12px; }
    .logo { font-size: 1.1rem; }
    .logo-icon { width: 32px; height: 32px; font-size: 1.1rem; }
    .search-box { order: 3; width: 100%; }
    .nav-list { gap: 0; }
    .nav-list a { padding: 10px 14px; font-size: .85rem; }
    .hero { padding: 32px 0; }
    .hero h1 { font-size: 1.4rem; }
    .hero p { font-size: .9rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 1.4rem; }
    .main-content { grid-template-columns: 1fr; }
    .job-list-grid { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; gap: 8px; }
    .job-card-salary { text-align: left; min-width: 0; }
    .job-card-time { text-align: left; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { display: flex; flex-wrap: wrap; gap: 4px; }
    .admin-sidebar a { display: inline-block; }
    .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: .82rem; }
    .filter-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .section { padding: 20px 0; }
    .job-detail-header { padding: 16px; }
    .job-detail-title { font-size: 1.2rem; }
    .footer-cols { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
}

/* ============================================
   首页美化 V2 — 大气动态风格
   ============================================ */

/* ---- Hero V2 ---- */
.hero.hero-v2 {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0ea5e9 100%);
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
    color: #fff;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    animation: floatShape 12s ease-in-out infinite;
}

.shape-1 { width: 300px; height: 300px; background: #60a5fa; top: -80px; left: -60px; animation-delay: 0s; }
.shape-2 { width: 220px; height: 220px; background: #22d3ee; top: 40%; right: -40px; animation-delay: -3s; }
.shape-3 { width: 180px; height: 180px; background: #818cf8; bottom: -40px; left: 30%; animation-delay: -6s; }
.shape-4 { width: 140px; height: 140px; background: #f472b6; top: 20%; left: 55%; animation-delay: -9s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-title-line { display: block; }
.hero-title-accent {
    background: linear-gradient(90deg, #fff, #93c5fd, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: .85;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-search.hero-search-v2 {
    max-width: 720px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .95);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    backdrop-filter: blur(10px);
    transition: transform .3s, box-shadow .3s;
}

.hero-search.hero-search-v2:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.hero-search-v2 .search-icon {
    padding: 0 8px 0 16px;
    font-size: 1.1rem;
    opacity: .5;
}

.hero-search-v2 input {
    flex: 1;
    height: 52px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text);
    background: transparent;
}

.hero-search-v2 input::placeholder { color: #94a3b8; }

.hero-search-v2 button {
    height: 52px;
    padding: 0 36px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    font-size: 1rem;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}

.hero-search-v2 button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, .4);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    opacity: .9;
    margin-bottom: 48px;
}

.hero-tags span { opacity: .7; }
.hero-tags a {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    padding: 5px 14px;
    border-radius: 20px;
    transition: all .2s;
    border: 1px solid rgba(255, 255, 255, .2);
}

.hero-tags a:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.hero-stats.hero-stats-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-stats-v2 .hero-stat {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 20px 12px;
    backdrop-filter: blur(8px);
    transition: transform .3s, background .3s;
}

.hero-stats-v2 .hero-stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .18);
}

.hero-stats-v2 .hero-stat-num {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    background: linear-gradient(180deg, #fff, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats-v2 .hero-stat-label { font-size: .85rem; opacity: .8; margin-top: 4px; }

/* ---- Section Header ---- */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-header .section-title { margin-bottom: 0; }

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.section-title h2::before { height: 24px; border-radius: 3px; }

.section-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    margin: 0 0 0 12px;
}

.section-header .more {
    font-size: .9rem;
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-header .more:hover { gap: 8px; }

.section-header-inline { align-items: center; }

/* ---- City Grid ---- */
.section-cities { padding: 48px 0 32px; }

.city-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.city-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), 
                box-shadow .3s cubic-bezier(.34, 1.56, .64, 1),
                border-color .3s ease;
    contain: layout style;
    will-change: transform, box-shadow;
}

.city-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .12);
}

/* 优化 HOT 标签动画 */
.city-card-hot {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    border-radius: 10px;
    animation: hotPulse 2s ease-in-out infinite;
    will-change: transform, box-shadow;
    z-index: 1;
}

@keyframes hotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 推荐城市卡片（邹平市） */
.city-card-featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(139, 92, 246, .08));
    border-color: rgba(59, 130, 246, .4);
    will-change: transform;
}

.city-card-featured .city-card-icon {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: #fff;
    animation: iconFloat 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.city-card-featured:hover {
    border-color: rgba(59, 130, 246, .8);
    box-shadow: 0 12px 32px rgba(37, 99, 235, .18);
    transform: translateY(-6px) scale(1.02);
}

.city-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(14, 165, 233, .05));
    opacity: 0;
    transition: opacity .3s;
}

.city-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(37, 99, 235, .12);
}

.city-card:hover::before { opacity: 1; }

.city-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
    transition: transform .3s;
    z-index: 1;
}

.city-card:hover .city-card-icon { transform: scale(1.1) rotate(-6deg); }

.city-card-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    z-index: 1;
}

.city-card-count {
    font-size: .8rem;
    color: var(--text-secondary);
    z-index: 1;
}

.city-card-hot {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #f97316, #ef4444);
    border-radius: 10px;
    animation: hotPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes hotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { transform: scale(1.05); box-shadow: 0 0 12px rgba(239, 68, 68, .4); }
}

/* 推荐城市卡片（邹平市） */
.city-card-featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(139, 92, 246, .08));
    border-color: rgba(59, 130, 246, .4);
}

.city-card-featured .city-card-icon {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: #fff;
    animation: iconFloat 3s ease-in-out infinite;
}

.city-card-featured:hover {
    border-color: rgba(59, 130, 246, .8);
    box-shadow: 0 12px 32px rgba(37, 99, 235, .18);
    transform: translateY(-6px) scale(1.02);
}

.city-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 10px;
    animation: hotPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}


/* ---- Job Card V3 ---- */
.job-list-grid.job-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.job-card-v3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.job-card-v3:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(37, 99, 235, .1);
    transform: translateY(-3px);
}

.job-card-v3::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity .3s;
}

.job-card-v3:hover::before { opacity: 1; }

.job-card-v3-logo {
    width: 56px; height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 6px 16px rgba(37, 99, 235, .2);
    transition: transform .3s;
}

.job-card-v3:hover .job-card-v3-logo { transform: scale(1.08) rotate(-4deg); }

.job-card-v3-body { flex: 1; min-width: 0; }

.job-card-v3-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.job-card-v3-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    transition: color .2s;
}

.job-card-v3:hover .job-card-v3-title { color: var(--primary); }

.job-card-v3-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.job-card-v3-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
}

.job-card-v3-tag-new {
    background: linear-gradient(90deg, #fef2f2, #fee2e2);
    color: var(--danger);
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); }
}

.job-card-v3-tag-city {
    background: var(--primary-light);
    color: var(--primary);
}

.job-card-v3-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.job-card-v3-company {
    font-weight: 500;
    color: var(--text);
}

.job-card-v3-dot { color: var(--text-light); }
.job-card-v3-time { color: var(--text-light); }

.job-card-v3-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.job-card-v3-salary {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.job-card-v3-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s;
}

.job-card-v3:hover .job-card-v3-btn {
    opacity: 1;
    transform: translateY(0);
}

.job-card-v3-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

/* ---- Sidebar ---- */
.sidebar-widget-hot h3 { margin-bottom: 12px; }

.hot-job-list li { padding: 0; border: none; }

.hot-job-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.hot-job-list li:last-child a { border-bottom: none; }

.hot-job-rank {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    background: var(--text-light);
    flex-shrink: 0;
}

.hot-job-list li:nth-child(1) .hot-job-rank { background: #f59e0b; }
.hot-job-list li:nth-child(2) .hot-job-rank { background: #64748b; }
.hot-job-list li:nth-child(3) .hot-job-rank { background: #b45309; }

.hot-job-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-job-salary { font-weight: 600; color: var(--accent); font-size: .82rem; }

.tag-cloud-v2 a { border: 1px solid var(--border); }
.tag-cloud-v2 a:hover { border-color: var(--primary); }

.sidebar-widget-cta p { font-size: .85rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.sidebar-widget-cta .btn { display: block; width: 100%; text-align: center; }

/* ---- Reveal Animation ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.city-card { opacity: 0; transform: translateY(20px); }
.city-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--delay, 0ms);
}

/* 职位卡片渐入 */
.job-card-v3 { opacity: 0; transform: translateY(20px); }
.job-card-v3.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--delay, 0ms);
}

/* 全局细节 */
html { scroll-behavior: smooth; }
::selection { background: rgba(37, 99, 235, .15); color: var(--primary-dark); }

/* 加载状态 */
.page-loading {
    position: fixed; inset: 0; z-index: 9999;
    background: #fff; display: flex; align-items: center; justify-content: center;
    transition: opacity .4s ease, visibility .4s;
}
.page-loading.hide { opacity: 0; visibility: hidden; }
.page-loading .spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border); border-top-color: var(--primary);
    border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Responsive Home V2 ---- */
@media (max-width: 992px) {
    .city-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-stats-v2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero.hero-v2 { padding: 60px 0 70px; }
    .hero-title { font-size: 1.8rem; }
    .hero-search.hero-search-v2 { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; }
    .hero-search-v2 input { width: 100%; height: 46px; }
    .hero-search-v2 button { width: 100%; height: 46px; border-radius: var(--radius); margin-top: 8px; }
    .hero-tags { gap: 8px; }
    .hero-tags a { padding: 4px 10px; font-size: .8rem; }
    .hero-stats-v2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-stats-v2 .hero-stat { padding: 14px 8px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .city-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .city-card { padding: 18px 8px; }
    .city-card-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .job-card-v3 { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .job-card-v3-action {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    .job-card-v3-btn { opacity: 1; transform: none; padding: 6px 14px; font-size: .8rem; }
    .job-card-v3-logo { width: 48px; height: 48px; font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .city-grid { grid-template-columns: repeat(2, 1fr); }
    .job-card-v3-title { font-size: 1rem; }
    .job-card-v3-salary { font-size: 1.05rem; }
    .hero-stats-v2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Features Section ---- */
.section-features {
    padding: 56px 0 48px;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    text-align: center;
    padding: 36px 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(37, 99, 235, .1);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card-icon {
    width: 72px; height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border: 1px solid rgba(37, 99, 235, .12);
    margin-bottom: 20px;
    transition: transform .3s;
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.feature-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card { opacity: 0; transform: translateY(24px); }
.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--delay, 0ms);
}

/* ---- CTA Section ---- */
.section-cta {
    padding: 64px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0ea5e9 100%);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    color: #fff;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-text h2 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.cta-text p {
    font-size: 1rem;
    opacity: .85;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
    white-space: nowrap;
}

.cta-btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.cta-btn-primary:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.2);
    color: var(--primary-dark);
}

.cta-btn-outline {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    backdrop-filter: blur(4px);
}

.cta-btn-outline:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.5);
    transform: translateY(-2px);
    color: #fff;
}

/* ---- Responsive Features & CTA ---- */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 20px 24px; }
    .feature-card-icon { width: 60px; height: 60px; font-size: 1.8rem; }
    .cta-box { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-btn { justify-content: center; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .section-cta { padding: 48px 0; }
    .cta-text h2 { font-size: 1.3rem; }
    .cta-btn { padding: 12px 24px; font-size: .95rem; }
}
