/* 基础样式 */
: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%;
    max-width: 1200px;
    margin: 0 auto;
    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 {
    background-color: white;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.logo img {
    /* max-width: 121px; */
    max-height: 75px;
    object-fit: contain;  /* 确保图片不变形 */
    display: block;  /* 改为block而不是flex */
}

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

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

.nav-menu {
    display: flex;
    margin-right: 30px;
}

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

.nav-menu a {
    font-weight: 500;
    color: white;
    transition: color 0.3s;
    position: relative;
}

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

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

.nav-menu a:hover:after {
    width: 100%;
}

.blue-btn {
    background-color: #3366ff;
    color: white;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
    /* 删除了 height: 36px; */
    /* 删除了 display: inline-flex; */
    /* 删除了 align-items: center; */
    /* 删除了 justify-content: center; */
}

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

.login-btn {
    margin-left: auto;
    margin-top: 6px;
}

/* 主标题区域样式 */
.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 {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
}

.link-group {
    margin-right: 60px;
}

.link-group h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: #b3b3b3;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    margin-left: 15px;
    font-size: 20px;
    color: #b3b3b3;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* 淡入动画 */
.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'; */