﻿/* ===== CSS Variables ===== */
:root {
    --primary-color: #4169E1;
    --secondary-color: #6C63FF;
    --accent-color: #FF6B6B;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f0f5ff;
    --border-color: #e1e4e8;
    --blue-icon: #4169E1;
    --orange-icon: #FF9F43;
    --purple-icon: #6C63FF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container { width: 100%; margin: 0 auto; max-width: 80%; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn:after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn:hover:after { width: 300px; height: 300px; }

.blue-btn {
    background-color: #3366ff;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    border: none;
}
.blue-btn:hover { background-color: #2952cc; }

.blue-btn2 {
    background-color: #3366ff;
    color: white;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
    cursor: pointer;
    border: none;
}
.blue-btn2:hover { background-color: #2952cc; }

/* ===== Header / Nav ===== */
header {
    width: 100%;
    background-color: white;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}
.container-left { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; display: block; }

nav { display: flex; align-items: center; flex-shrink: 0; }

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 20px;
}
.nav-menu li { margin: 0 20px; }
.nav-menu a {
    font-weight: 400;
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
    position: relative;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 70px;
}
.nav-menu a:hover { color: var(--primary-color); }
.nav-menu a.active { color: var(--primary-color); }
.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    margin: 0 auto;
    height: 2px;
    background-color: var(--primary-color);
    width: 45px;
}
.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    margin: 0 auto;
    width: 0; height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-menu a.active:hover:after { width: 45px !important; }

/* Resources Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-link { cursor: pointer; padding: 0 14px; }
.nav-dropdown .nav-link .dropdown-arrow {
    position: absolute;
    right: -6px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    padding: 2.5px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    object-fit: contain;
    box-sizing: border-box;
}
.nav-dropdown.active .nav-link .dropdown-arrow { background: #F7F9FD; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    min-height: 160px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 16px;
    margin-top: 3px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { margin: 0; }
.dropdown-item {
    display: flex;
    align-items: flex-start !important;
    width: 100%;
    min-height: 60px;
    padding: 8px 12px !important;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 0;
}
.dropdown-item:hover { background: #F7F9FD; }
.dropdown-icon { width: 20px; height: 20px; margin-right: 12px; flex-shrink: 0; border-radius: 2px; object-fit: contain; margin-top: 2px; }
.dropdown-content { display: flex; flex-direction: column; flex: 1; }
.dropdown-title { font-weight: 500; font-size: 16px; color: #17181A; margin-bottom: 4px; }
.dropdown-subtitle { font-weight: 400; font-size: 12px; color: #7C7D81; }

.login-btn { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }

/* ===== Hero New ===== */
.hero-new {
    width: 100%;
    height: 560px;
    background-image: url('../images/backgrounds/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-new .container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-new .hero-content { flex: 1; max-width: 640px; }
.hero-new .hero-title {
    width: 640px;
    min-height: 60px;
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #17181A;
    letter-spacing: -1px;
    line-height: 60px;
    margin: 0 0 20px 0;
}
.hero-new .hero-description {
    width: 670px;
    min-height: 48px;
    font-weight: 400;
    font-size: 16px;
    color: #7C7D81;
    line-height: 24px;
    margin: 0 0 40px 0;
}
.hero-new .hero-buttons { display: flex; align-items: center; gap: 16px; }
.hero-new .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.hero-new .btn-primary {
    width: 161px; height: 36px;
    border-radius: 18px;
    background: #3457DC;
    color: #FFFFFF;
    padding: 0;
    line-height: 36px;
}
.hero-new .btn-primary:hover { background-color: #2A47C4; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(52,87,220,0.3); }
.hero-new .btn-secondary {
    width: 77px; height: 36px;
    border-radius: 18px;
    background: #FFFFFF;
    color: #45464A;
    border: none;
    padding: 0;
    line-height: 36px;
}
.hero-new .btn-secondary:hover { background-color: #F5F5F5; }
.hero-new .hero-image { flex: 1; display: flex; align-items: center; justify-content: center; max-width: 520px; }
.hero-new .hero-product-card { width: 100%; border-radius: 16px; overflow: hidden; position: relative; }
.hero-new .hero-product-card img { width: 100%; height: auto; display: block; }

/* ===== Talent Search ===== */
.talent-search { background: #FFFFFF; padding: 80px 0; height: 700px; }
.talent-search .container { max-width: 1200px; margin: 0 auto; }
.talent-search .search-title {
    font-weight: 600; font-size: 40px; color: #17181A;
    text-align: center; margin: 0 0 48px 0;
}
.search-box-wrapper {
    width: 940px; height: 180px;
    border-radius: 8px;
    background-image: url('../images/backgrounds/search-input-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 26px 36px 48px 36px;
    margin: 0 auto 48px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.search-box { background: #FFFFFF; border-radius: 4px; overflow: hidden; border: 1px solid #DCDFF1; }
.search-input-group { display: flex; align-items: center; background: #FFFFFF; }
.input-item { display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.location-select { width: 220px; }
.search-input {
    flex: 1; border: none; outline: none;
    font-size: 16px; color: #17181A; background: transparent;
}
.search-input::placeholder { color: #999; }
.input-divider { width: 1px; height: 60px; background: #E0E0E0; }
.keyword-input { flex: 1; }
.search-btn {
    background: #3457DC; color: #FFFFFF;
    border: none; border-radius: 4px;
    padding: 0 32px; height: 44px; margin: 8px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.5px; cursor: pointer;
    transition: all 0.3s ease;
}
.search-btn:hover { background: #4A6EEE; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(91,127,255,0.3); }
.filter-tags { display: flex; gap: 12px; }
.filter-tag {
    display: inline-flex; align-items: center; gap: 6px;
    width: 116px; height: 32px;
    border-radius: 4px; background: #FFFFFF;
    border: none; font-size: 14px; color: #666;
    cursor: pointer; transition: all 0.3s ease;
    justify-content: center; padding: 0;
}
.filter-tag .check-icon { display: block; width: 20px; height: 20px; overflow: hidden; transition: all 0.3s ease; border-radius: 2px; }
.filter-tag:hover:not(.active) { background: #F5F5F5; }

.candidate-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.candidate-card {
    width: 385px; height: 232px;
    border-radius: 8px; background: #FFFFFF;
    border: 1px solid #DCDFF1;
    padding: 0; transition: all 0.3s ease;
    cursor: pointer; display: flex;
    flex-direction: column; overflow: hidden;
}
.candidate-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: #3457DC; }
.card-header {
    width: 385px; height: 96px;
    border-radius: 8px 8px 0 0;
    background: #FFFFFF;
    border-bottom: 1px solid #DCDFF1;
    display: flex; align-items: center; gap: 12px;
    padding: 20px; flex-shrink: 0;
}
.candidate-avatar { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.candidate-info { flex: 1; min-width: 0; }
.candidate-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.candidate-name { font-size: 16px; font-weight: 600; color: #17181A; }
.open-badge { display: inline-flex; align-items: center; padding: 2px 8px; background: #EBF5FF; border-radius: 12px; font-size: 12px; color: #3457DC; }
.candidate-title { font-size: 14px; color: #999; line-height: 1.4; }
.card-content { display: flex; gap: 8px; align-items: flex-start; padding: 16px 20px 20px 20px; flex: 1; }
.card-icon { flex-shrink: 0; margin-top: 2px; }
.card-description { font-size: 14px; line-height: 1.6; color: #7C7D81; }

/* ===== Industries ===== */
.industries-new { background: #F9FBFF; padding: 80px 0; height: 720px; }
.industries-new .container { max-width: 1200px; margin: 0 auto; }
.industries-new .industries-title { font-weight: 600; font-size: 40px; color: #17181A; text-align: center; margin: 0 0 16px 0; }
.industries-new .industries-subtitle { font-weight: 400; font-size: 16px; color: #7C7D81; text-align: center; line-height: 24px; max-width: 900px; margin: 0 auto 56px auto; }
.industry-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 48px 32px; }
.industry-item { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer; transition: all 0.3s ease; }
.industry-item:hover { transform: translateY(-8px); }
.industry-icon { width: 88px; height: 88px; display: flex; align-items: center; justify-content: center; border-radius: 8px; padding: 12px; transition: all 0.3s ease; }
.industry-item:hover .industry-icon { border-color: #3457DC; background: #F5F8FF; }
.industry-icon img { width: 100%; height: 100%; object-fit: contain; transition: all 0.3s ease; }
.industry-name { font-size: 14px; color: #17181A; text-align: center; margin: 0; line-height: 1.4; transition: all 0.3s ease; }
.industry-item:hover .industry-name { color: #5B7FFF; font-weight: 500; }

/* ===== Testimonials ===== */
.testimonials { background: #FFFFFF; overflow: hidden; height: 960px; position: relative; }
.testimonials .container-full { max-width: 100%; margin: 0 auto; height: 100%; display: flex; flex-direction: column; padding-top: 80px; }
.testimonials-title { width: 844px; height: 56px; font-weight: 600; font-size: 40px; color: #17181A; letter-spacing: -1px; text-align: center; margin: 0 auto 56px auto; line-height: 56px; flex-shrink: 0; }
.testimonials-scroll-wrapper { display: flex; gap: 24px; padding: 0 40px; max-width: 1400px; margin: 0 auto; flex: 1; overflow: hidden; position: relative; }
.testimonials-scroll-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to bottom,#FFFFFF 0%,rgba(255,255,255,0) 100%); pointer-events: none; z-index: 10; }
.testimonials-scroll-wrapper::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to top,#FFFFFF 0%,rgba(255,255,255,0) 100%); pointer-events: none; z-index: 10; }
.testimonials-column {
    --scroll-length: 0px;
    flex: 1; display: flex; flex-direction: column; gap: 24px;
    animation: scrollUp var(--scroll-duration,18s) linear infinite;
    will-change: transform;
}
.testimonials-column[data-speed="30"] { --scroll-duration: 10s; }
.testimonials-column[data-speed="35"] { --scroll-duration: 18s; }
.testimonials-column[data-speed="40"] { --scroll-duration: 10s; }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(calc(-1 * var(--scroll-length))); } }
.testimonials-scroll-wrapper:hover .testimonials-column { animation-play-state: paused; }
.testimonial-card { width: 405px; border-radius: 8px; background: #F7F9FD; padding: 24px; transition: all 0.3s ease; flex-shrink: 0; }
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-4px); border: 1px solid #5B7FFF; }
.testimonial-text { font-size: 14px; line-height: 1.6; color: #7C7D81; margin: 0 0 20px 0; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; object-fit: cover; flex-shrink: 0; }
.testimonial-user { flex: 1; }
.user-name { font-size: 14px; font-weight: 600; color: #17181A; margin: 0 0 4px 0; }
.user-title { font-size: 12px; color: #999; margin: 0; }

/* ===== CTA New ===== */
.cta-new { background: #FFFFFF; padding: 80px 40px; height: 520px; }
.cta-new .container { max-width: 80%; margin: 0 auto; padding: 80px 120px; background-image: url('../images/backgrounds/cta-bg.png'); background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 24px; position: relative; overflow: hidden; text-align: center; }
.cta-new .container > * { position: relative; z-index: 1; }
.cta-title { font-weight: 600; font-size: 40px; color: #FFFFFF; margin: 0 0 16px 0; line-height: 1.2; text-align: center; }
.cta-subtitle { width: 800px; height: 24px; font-weight: 400; font-size: 16px; color: #7C7D81; text-align: center; line-height: 24px; margin: 0 auto 40px auto; }
.cta-button { min-width: 161px; height: 36px; background: transparent; color: #FFFFFF; border: 1px solid #FFFFFF; border-radius: 18px; padding: 0 24px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-block; line-height: 36px; text-align: center; }
.cta-button:hover { background: #FFFFFF; color: #1a1a2e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.3); }
.cta-disclaimer { width: 463px; height: 20px; font-weight: 400; font-size: 12px; color: #A9AAAE; line-height: 20px; margin: 24px auto 0 auto; text-align: center; }

/* ===== FAQ ===== */
.faq { background: #F7F9FD; padding: 80px 0; height: 816px; }
.faq .container { max-width: 80%; margin: 0 auto; }
.faq-main-title { font-weight: 600; font-size: 40px; color: #17181A; text-align: center; margin: 0 0 56px 0; }
.faq-content { display: grid; grid-template-columns: 570px 640px; gap: 80px; }
.faq-left { width: 600px; height: 172px; display: flex; flex-direction: column; margin-top: 170px; }
.faq-left-title { font-weight: 600; font-size: 24px; color: #17181A; margin: 0 0 16px 0; line-height: 1.2; }
.faq-left-text { font-size: 16px; color: #7C7D81; line-height: 1.6; margin: 0 0 32px 0; }
.faq-help-btn { background: #3457DC; color: #FFFFFF; border: none; border-radius: 24px; padding: 12px 28px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; align-self: flex-start; text-transform: uppercase; }
.faq-help-btn:hover { background: #2A47C4; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(52,87,220,0.3); }
.faq-right { width: 640px; display: flex; flex-direction: column; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #FFFFFF; border-bottom: 1px solid #E8E8E8; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: #3457DC; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; background: transparent; transition: all 0.3s ease; }
.faq-question h4 { font-size: 18px; font-weight: 400; color: #17181A; margin: 0; flex: 1; }
.faq-toggle { width: 20px; height: 20px; flex-shrink: 0; margin-left: 16px; transition: all 0.3s ease; display: block; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.faq-answer p { font-size: 16px; line-height: 1.6; color: #FFFFFF; margin: 0; }
.faq-item.active { background: #3457DC; border-color: #3457DC; }
.faq-item.active .faq-question { background: #3457DC; }
.faq-item.active .faq-question h4 { color: #FFFFFF; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px 24px; }

/* ===== Footer ===== */
footer {
    width: 100%;
    background-image: url('../images/backgrounds/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    color: white;
    padding: 60px 0 30px;
}
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; gap: 60px; }
.footer-logo-section { display: flex; flex-direction: column; gap: 20px; flex: 0 0 auto; }
.footer-logo-section img { max-width: 245px; max-height: 46px; object-fit: contain; display: block; }
.social-icons { display: flex; align-items: center; }
.social-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.social-icon img { width: 20px; height: 20px; object-fit: contain; }
.footer-nav { flex: 1; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav ul li a { color: rgba(255,255,255,0.8); font-size: 14px; transition: color 0.3s ease; }
.footer-nav ul li a:hover { color: white; }
.footer-contact { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.footer-contact h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: white; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.8); margin: 0; }
.footer-contact p a { color: rgba(255,255,255,0.8); text-decoration: underline; transition: color 0.3s ease; }
.footer-contact p a:hover { color: white; }
.copyright { padding-top: 30px; }
.copyright .container { border-top: 1px solid rgba(255,255,255,0.4); padding-top: 30px; }
.copyright .record-box { text-align: left; font-size: 14px; color: rgba(255,255,255,0.8); }

/* ===== Modal ===== */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 9999; }
.modal-content { background: white; border-radius: 8px; padding: 30px; max-width: 400px; margin: 10% auto; position: relative; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: #666; }
.close-modal:hover { color: #333; }
.modal-body { text-align: center; }
.modal-body h3 { margin-bottom: 20px; font-size: 20px; }
.qrcode-container { display: flex; justify-content: center; align-items: center; }
.qrcode-img { max-width: 200px; height: auto; }

/* ===== Mobile ===== */
@media screen and (max-width: 768px) {
    body { font-size: 14px; }
    .container { padding: 0 15px; }
    header .container { height: 60px; }
    .logo img { width: 100px; height: auto; }
    .nav-menu { display: none; }

    .hero-new { height: auto; padding: 50px 0; }
    .hero-new .container { flex-direction: column; gap: 40px; }
    .hero-new .hero-content { max-width: 100%; text-align: center; }
    .hero-new .hero-title { width: 100%; font-size: 32px; line-height: 40px; margin-bottom: 16px; }
    .hero-new .hero-description { width: 100%; font-size: 14px; line-height: 22px; margin-bottom: 32px; }
    .hero-new .hero-buttons { flex-direction: column; width: 100%; }
    .hero-new .btn { width: 100%; max-width: 300px; }
    .hero-new .hero-image { max-width: 100%; }

    .talent-search { height: auto; padding: 50px 0; }
    .search-box-wrapper { width: 100%; height: auto; }
    .candidate-grid { grid-template-columns: 1fr; }
    .candidate-card { width: 100%; }
    .card-header { width: 100%; }

    .industries-new { height: auto; }
    .industry-grid { grid-template-columns: repeat(3,1fr); gap: 24px 16px; }

    .testimonials { height: auto; min-height: 600px; }
    .testimonials-title { width: 100%; }
    .testimonials-scroll-wrapper { flex-direction: column; }

    .cta-new { height: auto; padding: 50px 20px; }
    .cta-new .container { padding: 40px 20px; }
    .cta-title { font-size: 28px; }
    .cta-subtitle { width: 100%; height: auto; }
    .cta-disclaimer { width: 100%; height: auto; }

    .faq { height: auto; }
    .faq-content { grid-template-columns: 1fr; gap: 40px; }
    .faq-left { width: 100%; height: auto; margin-top: 0; }
    .faq-right { width: 100%; }

    footer { padding: 40px 0 20px; }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 30px; }

    .nav-dropdown .dropdown-menu { position: absolute; top: 100%; left: 0; transform: none; width: 90vw; max-width: 400px; margin-top: 4px; }
    .nav-dropdown:hover .dropdown-menu, .nav-dropdown.active .dropdown-menu { transform: none; }
}

/* ===== Features Page ===== */
.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #3457DC;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 12px;
    background: #EBF5FF;
    border-radius: 12px;
}

.talent-search-showcase {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.talent-search-showcase .showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.talent-search-showcase .showcase-image {
    flex: 1;
    max-width: 50%;
}

.talent-search-showcase .showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.talent-search-showcase .showcase-text {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.talent-search-showcase .showcase-title {
    font-size: 36px;
    font-weight: 600;
    color: #17181A;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.talent-search-showcase .showcase-description {
    font-size: 16px;
    color: #45464A;
    line-height: 1.6;
    margin: 6px 0 48px 0;
}

.talent-search-showcase .showcase-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.global-talent-distribution {
    padding: 80px 0;
    background-color: #F5F5F5;
    text-align: center;
}

.global-talent-distribution .distribution-title {
    font-size: 40px;
    font-weight: 700;
    color: #17181A;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
}

.global-talent-distribution .distribution-description {
    font-size: 16px;
    color: #7C7D81;
    line-height: 1.6;
    max-width: 1040px;
    margin: 0 auto 60px;
}

.global-talent-distribution .distribution-map {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: center;
}

.global-talent-distribution .distribution-map img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
}

.global-talent-distribution .distribution-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 48px;
    background-color: #17181A;
    color: #FFFFFF;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    padding: 0 32px;
    transition: all 0.3s ease;
}

.global-talent-distribution .distribution-cta-btn:hover {
    background-color: #2A2A2A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23,24,26,0.3);
}

.ai-feature-showcase {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.ai-feature-showcase .feature-showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.ai-feature-showcase-reverse .feature-showcase-content {
    flex-direction: row-reverse;
}

.ai-feature-showcase .feature-showcase-text {
    flex: 1;
    max-width: 50%;
}

.ai-feature-showcase .feature-showcase-title {
    font-size: 36px;
    font-weight: 600;
    color: #17181A;
    line-height: 1.3;
    margin: 0 0 24px 0;
}

.ai-feature-showcase .feature-showcase-description {
    font-size: 16px;
    color: #45464A;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.ai-feature-showcase .feature-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.ai-feature-showcase .feature-showcase-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: #4A4A4A;
    line-height: 1.6;
}

.ai-feature-showcase .feature-showcase-list li i {
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 16px;
    background-color: #F0F3FF;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3457DC;
}

.ai-feature-showcase .feature-showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.ai-feature-showcase .feature-showcase-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-showcase .feature-showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .talent-search-showcase .showcase-content { flex-direction: column; gap: 40px; }
    .talent-search-showcase .showcase-image,
    .talent-search-showcase .showcase-text { max-width: 100%; }
    .talent-search-showcase .showcase-title { font-size: 28px; text-align: center; }
    .talent-search-showcase .showcase-description { text-align: center; }
    .talent-search-showcase .showcase-cta-btn { margin: 0 auto; }
    .global-talent-distribution .distribution-title { font-size: 32px; }
    .global-talent-distribution .distribution-description { font-size: 14px; padding: 0 20px; }
    .ai-feature-showcase { padding: 60px 0; }
    .ai-feature-showcase .feature-showcase-content { flex-direction: column; gap: 40px; }
    .ai-feature-showcase-reverse .feature-showcase-content { flex-direction: column; }
    .ai-feature-showcase .feature-showcase-text,
    .ai-feature-showcase .feature-showcase-image { max-width: 100%; }
    .ai-feature-showcase .feature-showcase-title { font-size: 28px; text-align: center; }
    .ai-feature-showcase .feature-showcase-btn { margin: 0 auto; }
}


/* ===== job-descriptions page styles ===== */
/* 基础样式 */
:root {
    --primary-color: #4169E1;
    --secondary-color: #6C63FF;
    --accent-color: #FF6B6B;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f0f5ff;
    --border-color: #e1e4e8;
    --blue-icon: #4169E1;
    --orange-icon: #FF9F43;
    --purple-icon: #6C63FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    margin: 0 auto;
    max-width: 80%;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    /* list-style: none; */
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover:after {
    width: 300px;
    height: 300px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #3658c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--light-text);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.text-center {
    text-align: center;
}

/* 导航栏样式 */
header {
    width: 100%;
    background-color: white;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    /* max-width: 100% !important;
    padding: 0 12% !important; */
}

.container-left {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* 确保页脚logo样式也正确 */
.footer-logo-section img {
    max-width: 245px;
    max-height: 46px;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin-left: 20px;
}

.nav-menu li {
    margin: 0 20px;
}

.nav-menu a {
    font-weight: 400;
    font-size: 14px;
    color: #333;
    transition: color 0.3s;
    position: relative;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 70px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover:after {
    width: 0; /* hover 时不显示下划线 */
}

/* 确保 active 状态的下划线在 hover 时也显示 */
.nav-menu a.active:hover:after {
    width: 45px !important; /* active 状态下 hover 时也显示下划线 */
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
    background-color: var(--primary-color);
    width: 45px;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* hover 下划线效果已移除 - 只保留文字变蓝 */
/* .nav-menu a:hover:after {
    width: 45px;
} */

.nav-menu .nav-gift-icon {
    width: 20px;
    height: 20px;
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
}

/* Resources 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
    padding: 0 14px;
}

/* 保持 active 状态的下划线显示，优先级更高 */
.nav-dropdown .nav-link.active:after,
.nav-dropdown .nav-link.active:hover:after {
    content: '' !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 2px;
    background-color: var(--primary-color);
    width: 45px !important;
}

/* 点击时隐藏下划线的类（通过 JS 动态添加） */
.nav-dropdown .nav-link.clicked-no-underline:after {
    display: none !important;
}

.nav-dropdown .nav-link .dropdown-arrow {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    padding: 2.5px;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    object-fit: contain;
    box-sizing: border-box;
    margin-left: 0;
}

/* 当展开状态（图标为 up）时，添加背景色 */
.nav-dropdown.active .nav-link .dropdown-arrow {
    background: #F7F9FD;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    min-height: 160px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-top: 3px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: flex-start !important;
    width: 100%;
    min-height: 60px;
    padding: 8px 12px !important;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 0;
}

.dropdown-item:hover {
    background: #F7F9FD;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 2px;
    object-fit: contain;
    margin-top: 2px;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dropdown-title {
    font-family: PingFangSC-Medium, 'PingFang SC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #17181A;
    margin-bottom: 4px;
}

.dropdown-subtitle {
    font-family: PingFangSC-Regular, 'PingFang SC', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #7C7D81;
}

.blue-btn {
    background-color: #3366ff;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.blue-btn:hover {
    background-color: #2952cc;
}

.blue-btn2 {
    background-color: #3366ff;
    color: white;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    line-height: 1.4;
}

.blue-btn2:hover {
    background-color: #2952cc;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 主标题区域样式 */
.hero {
    padding: 80px 0;
    background: linear-gradient(to right, #f8f9ff, #e8eeff);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/wave-bg.png');
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary-color);
    margin-right: 8px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 数据统计样式 */
.stats {
    padding: 60px 0;
    background-color: white;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    color: var(--light-text);
}

/* 优势卡片样式 */
.advantages {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.advantage-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.advantage-card {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-card .icon i {
    font-size: 24px;
    color: white;
}

.advantage-card .blue {
    background-color: var(--blue-icon);
}

.advantage-card .orange {
    background-color: var(--orange-icon);
}

.advantage-card .purple {
    background-color: var(--purple-icon);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

/* AI人才推荐样式 */
.ai-recommendation {
    padding: 80px 0;
    background-color: white;
}

.feature-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.feature-tab {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* .feature-tab:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
} */

.feature-tab img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.feature-tab h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-tab p {
    color: var(--light-text);
    font-size: 14px;
}

/* 全球人才分布样式 */
.global-talent {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.world-map {
    text-align: center;
    margin-bottom: 40px;
}

.world-map img {
    max-width: 100%;
    height: auto;
}

/* 行业覆盖样式 */
.industries {
    padding: 80px 0;
    background-color: white;
}

.industry-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

.industry-icon {
    width: 120px;
    text-align: center;
    margin: 20px;
}

.industry-icon i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.industry-icon:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.industry-icon p {
    font-size: 14px;
}

/* CTA区域样式 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .primary-btn:hover {
    background-color: #f0f0f0;
}

/* 页脚样式 */
footer {
    width: 100%;
    background-image: url('../images/backgrounds/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 60px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 auto;
}

.footer-logo-section img {
    max-width: 245px;
    max-height: 46px;
    object-fit: contain;
    display: block;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-nav {
    flex: 1;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: white;
}

.footer-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-contact p a:hover {
    color: white;
}

.copyright {
    padding-top: 30px;
}

.copyright .container {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 30px;
}

.copyright .record-box {
    text-align: left;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* 淡入动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 删除这一行 */
/* @import 'modules/hero.css'; */
.qw-white {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
    min-width: 195px;
}

.qw-white-img-box {
    width: 48px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #008DFA;
    border-radius: 4px 0 0 4px;
}

.qw-white-img {
    width: 32px;
    height: 24px;

}

.qw-white-text {
    border: 1px solid #008DFA;
    border-radius: 0 4px 4px 0;
    font-family: PingFangSC-Regular;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    color: #008DFA;
    padding: 0px 16px;
    white-space: nowrap;
}

.talentseek-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.hero-image-box {
    display: flex;
    align-items: center;
}

.hero-image-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 16px;
    color: #17181A;
    min-width: 200px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 16px;
}

.hero-image-item img {
    width: 32px;
    height: 24px;
    margin-right: 10px;
}

.hero-image-item:nth-child(2) {
    background: #3457DC;
    color: #fff;
}

/* Resources 博客区域样式 */
.resources-section {
    padding: 80px 0;
    background: linear-gradient(to right, #f0f4ff, #ffffff);
    position: relative;
    background-image: url('../images/blogs-bg.png');
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    min-height: 250px;
}

.resources-header {
    text-align: left;
    margin-bottom: 50px;
    padding-left: 20px;
}

.resources-label {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resources-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.resources-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resources-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.resources-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    font-size: 0;
}

.resources-title-main {
    font-size: 48px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}


.resources-subtitle {
    font-size: 18px;
    color: #7C7D81;
    max-width: 800px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.resources-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.resources-count {
    font-size: 14px;
    color: #17181A;
    font-weight: 400;
    margin-top: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-date {
    font-size: 14px;
    color: #999;
    margin-top: 38px;
}

.no-articles {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    width: 100%;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e1e4e8;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    line-height: 1;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f5f7ff;
}

.pagination-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination-btn.active:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #e1e4e8;
    color: #999;
}

.pagination-btn.pagination-arrow {
    border: none !important;
    background: transparent !important;
    min-width: auto;
    padding: 0 8px;
    color: #333 !important;
    font-weight: 600;
    font-size: 16px;
}

.pagination-btn.pagination-arrow:hover:not(:disabled) {
    border: none !important;
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.pagination-btn.pagination-arrow:disabled {
    border: none !important;
    background: transparent !important;
    opacity: 0.6;
    color: #333 !important;
    font-weight: 600;
}

.pagination-ellipsis {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e1e4e8;
    background: #fff;
    color: #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: inherit;
    line-height: 1;
    pointer-events: none;
}



/* 自定义下拉框容器 */
.sidebar-dropdown-wrapper {
    position: relative;
    width: 100%;
}

/* 下拉框样式 */
.sidebar-dropdown {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #17181A;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #17181A;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.sidebar-dropdown:hover {
    border-color: #17181A;
}

.sidebar-dropdown.active {
    border-color: #17181A;
}

.sidebar-dropdown-text {
    flex: 1;
}

.sidebar-dropdown-arrow {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sidebar-dropdown.active .sidebar-dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 下拉选项列表 */
.sidebar-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #17181A;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 4px 8px 8px;
}

.sidebar-dropdown-menu.show {
    display: block;
}

.sidebar-dropdown-item {
    padding: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #45464A;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin-top: 4px;
}

.sidebar-dropdown-item:hover {
    background-color: #F5F5F5;
}

.sidebar-dropdown-item.selected {
    background-color: #F0F4FF;
    color: #17181A;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .resources-header {
        padding-left: 20px;
    }
    
    .resources-title-wrapper {
        gap: 10px;
    }
    
    .resources-logo {
        width: 50px;
        height: 50px;
    }
    
    .resources-title-main {
        font-size: 32px;
    }
    
    .resources-title-sub {
        font-size: 24px;
    }
    
    .resources-subtitle {
        font-size: 16px;
    }
    
    .resources-logo {
        width: 50px;
        height: 50px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .resources-header {
        padding-left: 20px;
    }
    
    .resources-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .resources-title-main {
        font-size: 28px;
    }
    
    .resources-title-sub {
        font-size: 20px;
    }
    
    .resources-logo {
        width: 40px;
        height: 40px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}