/* 全局样式 */
:root {
    --primary-color: #2c5282;
    --secondary-color: #4299e1;
    --accent-color: #f56565;
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --light-bg: #f7f9fc;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --warning-color: #ecc94b;
    --error-color: #e53e3e;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

/* 增加动画关键帧 */
@keyframes dotProgress {
    0% { background: linear-gradient(to right, var(--accent-color) 0%, rgba(255,255,255,0.5) 0%); }
    100% { background: linear-gradient(to right, var(--accent-color) 100%, rgba(255,255,255,0.5) 0%); }
}

@keyframes floatCard {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(-0.5deg); }
}

@keyframes glow {
    0% { box-shadow: 0 5px 15px rgba(66, 153, 225, 0.2); }
    50% { box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4); }
    100% { box-shadow: 0 5px 15px rgba(66, 153, 225, 0.2); }
}

@keyframes shimmerEnhanced {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* 新闻项阅读全文按钮样式 */
.news-actions {
    margin-top: 15px;
    text-align: right;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-sm i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-sm:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.btn-sm:hover i {
    transform: translateX(3px);
}

/* 首页新闻项样式增强 */
.news-item:hover .btn-sm {
    background-color: var(--primary-color);
    color: white;
}

.news-item .news-content {
    display: flex;
    flex-direction: column;
}

.news-item .news-content p {
    flex-grow: 1;
    margin-bottom: 10px;
}

/* 增强卡片动画效果 */
.data-card {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.data-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(44, 82, 130, 0.2);
    animation: floatCard 5s ease-in-out infinite, glow 3s ease-in-out infinite;
    z-index: 2;
}

.data-card:before {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.8) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmerEnhanced 3s infinite;
}

/* 这里的轮播点样式已移除，改为在原来的.banner-dot样式中统一定义 */

/* 增强视觉过渡效果 */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 2;
    pointer-events: none;
}

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

body {
    font-family: "Microsoft YaHei", "微软雅黑", "Source Han Sans CN", "思源黑体", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style-type: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

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

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

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

.btn-register:hover {
    background-color: var(--secondary-color);
}

.btn-more {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 24px;
    position: relative;
    overflow: hidden;
}

.btn-more:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

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

.btn-more:hover:before {
    width: 300px;
    height: 300px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* 按钮样式扩展 */
.btn-apply {
    background-color: var(--accent-color);
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-apply:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 101, 101, 0.4);
}

.btn-detail {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-detail:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.4);
}

.btn-enroll {
    background-color: var(--accent-color);
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-enroll:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 101, 101, 0.4);
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    background-color: #e2e8f0;
    border-radius: 2px;
    font-size: 12px;
    color: var(--text-color);
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 轮播图样式 */
.banner {
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(240, 249, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.banner-slider:hover {
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.2);
    transform: translateY(-5px);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 5s ease;
}

.banner-slider:hover .slide.active img {
    transform: scale(1.1);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: white;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.5s ease;
}

.banner-slider:hover .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.banner-slider:hover .slide.active .slide-content h2 {
    transform: translateY(0);
    opacity: 1;
}

.slide-content p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.banner-slider:hover .slide.active .slide-content p {
    transform: translateY(0);
    opacity: 1;
}

.banner-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-dot {
    width: 10px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                width 0.4s ease, 
                background-color 0.4s ease,
                transform 0.4s ease;
    margin: 0 5px;
}

.banner-dot.active {
    width: 25px;
    background-color: var(--accent-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.banner-dot:hover {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: white;
    font-size: 20px;
    opacity: 0;
}

.banner-slider:hover .banner-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.banner-arrow:hover {
    background-color: rgba(255,255,255,0.7);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* 产业数据概览 */
.industry-overview {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.industry-overview:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.4) 0%, rgba(225, 245, 254, 0.4) 50%, rgba(227, 242, 253, 0.4) 100%);
    z-index: -1;
    animation: shimmer 8s infinite alternate;
}

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

.data-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.data-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.data-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.data-card:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmerCard 6s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes shimmerCard {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

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

.data-card:hover:after {
    opacity: 1;
}

.data-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.data-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(66, 153, 225, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.5s ease;
    position: relative;
}

/* 为不同卡片设置不同的图标背景颜色 */
.data-card:nth-child(1) .data-icon {
    background: linear-gradient(45deg, rgba(66, 153, 225, 0.1), rgba(49, 130, 206, 0.2));
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.15);
}

.data-card:nth-child(2) .data-icon {
    background: linear-gradient(45deg, rgba(72, 187, 120, 0.1), rgba(56, 161, 105, 0.2));
    box-shadow: 0 4px 10px rgba(72, 187, 120, 0.15);
}

.data-card:nth-child(3) .data-icon {
    background: linear-gradient(45deg, rgba(237, 100, 166, 0.1), rgba(213, 63, 140, 0.2));
    box-shadow: 0 4px 10px rgba(237, 100, 166, 0.15);
}

.data-card:nth-child(4) .data-icon {
    background: linear-gradient(45deg, rgba(246, 173, 85, 0.1), rgba(221, 107, 32, 0.2));
    box-shadow: 0 4px 10px rgba(246, 173, 85, 0.15);
}

/* 图标脉冲动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 153, 225, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
    }
}

.data-card:hover .data-icon {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

.data-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.data-card:hover .data-icon i {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(10deg);
}

.data-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light-text);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.data-card:hover .data-content h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.data-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

/* 添加数字底部装饰线条 */
.data-number:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.5s ease;
}

.data-card:hover .data-number:after {
    width: 100%;
}

.data-card:hover .data-number {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.data-trend {
    font-size: 14px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.data-trend.up:before {
    content: '↑';
    display: inline-block;
    color: var(--success-color);
    transition: transform 0.3s ease;
}

.data-card:hover .data-trend.up:before {
    transform: translateY(-3px);
}

.data-trend.down:before {
    content: '↓';
    display: inline-block;
    color: var(--error-color);
    transition: transform 0.3s ease;
}

.data-card:hover .data-trend.down:before {
    transform: translateY(3px);
}

.data-trend.up span {
    color: var(--success-color);
    font-weight: 600;
}

.data-trend.down span {
    color: var(--error-color);
    font-weight: 600;
}

/* SVG图标样式 */
.icon-enterprise, .icon-order, .icon-money, .icon-job {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 注册企业图标 - 工厂/企业建筑 */
.icon-enterprise {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234299e1'%3E%3Cpath d='M3 21h18v1H3v-1zM5 8h4v1H5V8zm0 4h4v1H5v-1zm0 4h4v1H5v-1zm10-8h4v1h-4V8zm0 4h4v1h-4v-1zm0 4h4v1h-4v-1zM8 5l4-3 4 3v15h-2v-4h-4v4H8V5zm2 9h4v-4h-4v4z'/%3E%3C/svg%3E");
}

/* 月度订单图标 - 文档/订单 */
.icon-order {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234299e1'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h10v2H7zm0-4h5v2H7zm0 8h8v2H7z'/%3E%3C/svg%3E");
}

/* 产业总产值图标 - 人民币符号 */
.icon-money {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234299e1'%3E%3Cpath d='M13.5 3H12v4.5c0 .83-.67 1.5-1.5 1.5S9 8.33 9 7.5V3H7.5v4.5C7.5 9.49 9.01 11 11 11v2H9v2h2v5h1.5v-5h2v-2h-2v-2c1.99 0 3.5-1.51 3.5-3.5V3z'/%3E%3Cpath d='M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm0-18c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8z'/%3E%3C/svg%3E");
}

/* 人才需求图标 - 人员/招聘 */
.icon-job {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234299e1'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5S5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

/* 数据卡片动画效果增强 */
.data-card:hover .icon-enterprise,
.data-card:hover .icon-order,
.data-card:hover .icon-money,
.data-card:hover .icon-job {
    transform: scale(1.2);
    transition: transform 0.5s ease;
}

/* 最新资讯 */
.latest-news {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.latest-news:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(240, 249, 255, 0.4) 0%, rgba(225, 245, 254, 0.4) 50%, rgba(227, 242, 253, 0.4) 100%);
    z-index: -1;
    animation: shimmer 10s infinite alternate-reverse;
}

.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.news-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.news-item:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmerCard 6s infinite linear;
    animation-delay: 0.5s;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover:before {
    opacity: 1;
}

.news-item:hover:after {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.news-date {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-date:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.news-item:hover .news-date:before {
    opacity: 1;
    transform: rotate(45deg) translateY(-100%);
}

.news-item:hover .news-date {
    background-color: var(--secondary-color);
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.news-item:hover .news-date .day {
    transform: scale(1.1);
}

.news-date .month {
    font-size: 14px;
    margin-top: 3px;
}

.news-content {
    padding: 15px;
    flex: 1;
    transition: all 0.3s ease;
}

.news-item:hover .news-content {
    padding-left: 25px;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-content h3 a {
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

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

.news-content h3 a:hover:after {
    width: 100%;
}

.news-content h3 a:hover {
    color: var(--secondary-color);
}

.news-content p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.news-item:hover .news-content p {
    color: var(--text-color);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.news-meta span {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-meta i {
    margin-right: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-item:hover .news-meta span {
    color: var(--primary-color);
}

.news-item:hover .news-meta i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

/* 热门企业 */
.hot-enterprises {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hot-enterprises:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(240, 249, 255, 0.4) 0%, rgba(225, 245, 254, 0.4) 50%, rgba(227, 242, 253, 0.4) 100%);
    z-index: -1;
    animation: shimmer 12s infinite alternate;
}

.enterprise-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.enterprise-item {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.enterprise-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-100%);
    transition: all 0.5s ease;
    z-index: 1;
}

.enterprise-item:hover:before {
    transform: translateY(0);
}

.enterprise-item:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmerCard 6s infinite linear;
    animation-delay: 1s;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.enterprise-item:hover:after {
    opacity: 1;
}

.enterprise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.enterprise-logo {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    text-align: center;
    z-index: 1;
}

.enterprise-logo img {
    max-width: 150px;
    height: 80px;
    object-fit: contain;
    display: inline-block;
    transition: all 0.5s ease;
}

.enterprise-item:hover .enterprise-logo img {
    transform: scale(1.05);
}

.enterprise-info {
    flex: 1;
    z-index: 1;
}

.enterprise-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
    transition: all 0.3s ease;
}

.enterprise-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.enterprise-item:hover .enterprise-info h3:after {
    width: 70px;
}

.enterprise-info p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.enterprise-item:hover .enterprise-info p {
    color: var(--text-color);
}

.enterprise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

/* 为企业卡片添加不同颜色的顶部边框 */
.enterprise-item:nth-child(1):before {
    background: linear-gradient(90deg, #4299e1, #63b3ed);
}

.enterprise-item:nth-child(2):before {
    background: linear-gradient(90deg, #48bb78, #68d391);
}

.enterprise-item:nth-child(3):before {
    background: linear-gradient(90deg, #ed64a6, #f687b3);
}

.enterprise-item:nth-child(4):before {
    background: linear-gradient(90deg, #9f7aea, #b794f4);
}

.enterprise-item:nth-child(5):before {
    background: linear-gradient(90deg, #f6ad55, #fbd38d);
}

.enterprise-item:nth-child(6):before {
    background: linear-gradient(90deg, #38b2ac, #4fd1c5);
}

.enterprise-more {
    text-align: center;
    margin-top: 30px;
}

/* 招聘信息 */
.job-info {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.job-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, rgba(240, 249, 255, 0.4) 0%, rgba(225, 245, 254, 0.4) 50%, rgba(227, 242, 253, 0.4) 100%);
    z-index: -1;
    animation: shimmer 14s infinite alternate-reverse;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.job-item {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.job-item:before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background-color: rgba(245, 101, 101, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}

.job-item:hover:before {
    transform: scale(10);
    opacity: 0.1;
}

.job-item:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmerCard 6s infinite linear;
    animation-delay: 1.5s;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-item:hover:after {
    opacity: 1;
}

.job-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.job-header h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.job-item:hover .job-header h3:after {
    width: 100%;
}

.job-salary {
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.job-item:hover .job-salary {
    transform: scale(1.1);
}

.job-company {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.job-item:hover .job-company {
    color: var(--primary-color);
}

.job-tags {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.job-desc {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.job-item:hover .job-desc {
    color: var(--text-color);
}

.job-more {
    text-align: center;
    margin-top: 30px;
}

/* 培训课程 */
.training-courses {
    padding: 50px 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.training-courses:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(240, 249, 255, 0.4) 0%, rgba(225, 245, 254, 0.4) 50%, rgba(227, 242, 253, 0.4) 100%);
    z-index: -1;
    animation: shimmer 16s infinite alternate;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.course-item {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.course-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 1;
}

.course-item:hover:before {
    transform: scaleX(1);
}

.course-item:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmerCard 6s infinite linear;
    animation-delay: 2s;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.course-item:hover:after {
    opacity: 1;
}

.course-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(66, 153, 225, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.course-item:hover .course-image:after {
    opacity: 1;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.course-item:hover .course-image img {
    transform: scale(1.1);
}

.course-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
    transition: all 0.3s ease;
}

.course-item:hover .course-tag {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.course-content {
    padding: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.course-item:hover .course-content {
    background-color: rgba(247, 249, 252, 0.5);
}

.course-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.course-item:hover .course-content h3 {
    color: var(--secondary-color);
}

.course-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--light-text);
}

.course-info span {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.course-info i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

.course-item:hover .course-info i {
    color: var(--primary-color);
    transform: scale(1.2);
}

.course-price {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.course-item:hover .price {
    transform: scale(1.1);
}

.original-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
}

.course-more {
    text-align: center;
    margin-top: 30px;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .enterprise-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .main-nav li {
        flex-shrink: 0;
    }
    
    .main-nav a {
        font-size: 13px;
    }
    
    .logo img {
        max-width: 40px;
    }
    
    .data-cards, .enterprise-list, .job-list, .course-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 15px;
    }
    
    .news-date .day {
        font-size: 18px;
        margin-right: 5px;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .industry-overview, .latest-news, .hot-enterprises, .job-info, .training-courses {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .enterprise-logo img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .header .container {
        padding: 10px;
    }
    
    .logo img {
        max-width: 30px;
        margin-right: 5px;
    }
    
    .logo h1 {
        font-size: 14px;
    }
    
    .user-info {
        margin-left: 10px;
    }
    
    .user-info a {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .main-nav a {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .main-nav a.active::after {
        width: 15px;
        height: 2px;
    }
    
    .data-cards, .enterprise-list, .job-list, .course-list {
        grid-template-columns: 1fr;
    }
    
    .banner-slider {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .industry-overview, .latest-news, .hot-enterprises, .job-info, .training-courses {
        padding: 20px 0;
        margin: 10px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .data-card, .news-item, .enterprise-item, .job-item, .course-item {
        padding: 15px;
    }
    
    .enterprise-info h3 {
        font-size: 16px;
    }
    
    .enterprise-logo img {
        height: 50px;
    }
} 

/* 使数据卡片作为链接有更好的交互体验 */
a.data-card {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    position: relative;
    transition: all 0.3s ease;
}

a.data-card::before {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234299e1' opacity='0.6'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

a.data-card:hover::before {
    opacity: 1;
    transform: translateX(0);
}

a.data-card:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
}

/* 查看更多按钮容器 */
.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* 查看更多按钮样式增强 */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(5px);
} 