/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f2f5;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 20%);
}

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50, #4a6491);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav a:hover,
.nav a.active {
    background: rgba(52, 152, 219, 0.3);
    color: #fff;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after,
.nav a.active::after {
    width: 70%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.user-info i {
    font-size: 1.5rem;
    color: #3498db;
}

/* 主要内容区域 */
.main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 首页横幅样式 */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2a6c 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.2) 0%, transparent 20%);
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-ai, .badge-data {
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.5);
    color: #3498db;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.badge-data {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-buttons .btn.primary {
    background: linear-gradient(90deg, #3498db, #2980b9);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.hero-buttons .btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.hero-animation {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.floating-elements {
    position: relative;
    width: 200px;
    height: 200px;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.element-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

.element-4 {
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

.element-5 {
    top: 10%;
    right: 40%;
    font-size: 1.5rem;
    animation-delay: 1.5s;
}

.element-6 {
    bottom: 10%;
    left: 40%;
    font-size: 1.5rem;
    animation-delay: 2.5s;
}

.element-7 {
    top: 40%;
    left: 10%;
    font-size: 1.8rem;
    animation-delay: 0.5s;
}

.element-8 {
    top: 60%;
    right: 10%;
    font-size: 1.8rem;
    animation-delay: 3.5s;
}

.element-9 {
    top: 15%;
    left: 60%;
    font-size: 1.3rem;
    animation-delay: 4s;
}

.element-10 {
    bottom: 15%;
    right: 60%;
    font-size: 1.3rem;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* 连接线样式 */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.line {
    position: absolute;
    background: rgba(52, 152, 219, 0.3);
    transform-origin: left top;
}

.line-1 {
    top: 30%;
    left: 25%;
    width: 100px;
    height: 1px;
    transform: rotate(30deg);
    animation: pulseLine 3s infinite;
}

.line-2 {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 1px;
    transform: rotate(-45deg);
    animation: pulseLine 4s infinite 1s;
}

.line-3 {
    top: 70%;
    left: 30%;
    width: 120px;
    height: 1px;
    transform: rotate(15deg);
    animation: pulseLine 5s infinite 2s;
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* 数据点样式 */
.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(46, 204, 113, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.7);
}

.point-1 {
    top: 20%;
    left: 30%;
    animation: pulsePoint 2s infinite;
}

.point-2 {
    top: 60%;
    left: 70%;
    animation: pulsePoint 2s infinite 0.5s;
}

.point-3 {
    top: 40%;
    left: 80%;
    animation: pulsePoint 2s infinite 1s;
}

.point-4 {
    top: 80%;
    left: 40%;
    animation: pulsePoint 2s infinite 1.5s;
}

@keyframes pulsePoint {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* 粒子效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle 8s infinite linear;
}

.particle-1 {
    top: 10%;
    left: 10%;
    animation-duration: 15s;
}

.particle-2 {
    top: 20%;
    left: 80%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.particle-3 {
    top: 70%;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.particle-4 {
    top: 80%;
    left: 90%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.particle-5 {
    top: 50%;
    left: 50%;
    animation-duration: 16s;
    animation-delay: 3s;
}

@keyframes floatParticle {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(20px, -20px); opacity: 0; }
}

/* 彩色光晕效果 */
.color-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
}

.glow-1 {
    top: 10%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: #3498db;
    animation: pulseGlow 4s infinite;
}

.glow-2 {
    bottom: 20%;
    right: 30%;
    width: 150px;
    height: 150px;
    background: #2ecc71;
    animation: pulseGlow 5s infinite 1s;
}

.glow-3 {
    top: 40%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: #e74c3c;
    animation: pulseGlow 6s infinite 2s;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* 环形图表 */
.rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    opacity: 0.2;
}

.ring-1 {
    top: 15%;
    left: 15%;
    width: 40px;
    height: 40px;
    border-width: 2px;
    border-color: #3498db;
    animation: rotateRing 10s linear infinite;
}

.ring-2 {
    bottom: 25%;
    right: 20%;
    width: 60px;
    height: 60px;
    border-width: 3px;
    border-color: #2ecc71;
    animation: rotateRing 15s linear infinite reverse;
}

.ring-3 {
    top: 60%;
    left: 25%;
    width: 30px;
    height: 30px;
    border-width: 1px;
    border-color: #f39c12;
    animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 数据流效果 */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    animation: streamFlow 3s linear infinite;
}

.stream-1 {
    top: 25%;
    left: 0;
    width: 100px;
    animation-delay: 0s;
}

.stream-2 {
    top: 50%;
    right: 0;
    width: 150px;
    animation-delay: 1s;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
}

.stream-3 {
    top: 75%;
    left: 0;
    width: 120px;
    animation-delay: 2s;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
}

@keyframes streamFlow {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100% + 100px)); }
}

/* 立方体效果 */
.cubes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.5);
    transform: rotate(45deg);
    animation: floatCube 8s ease-in-out infinite;
}

.cube-1 {
    top: 30%;
    right: 30%;
    animation-delay: 0s;
}

.cube-2 {
    bottom: 40%;
    left: 40%;
    animation-delay: 2s;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
}

@keyframes floatCube {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

/* 教育相关元素 */
.education-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.edu-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    animation: float 8s ease-in-out infinite;
}

.edu-book {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.edu-chalkboard {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.edu-laptop {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.edu-flask {
    bottom: 15%;
    right: 25%;
    animation-delay: 3s;
}

.edu-school {
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

.edu-calendar {
    bottom: 40%;
    right: 15%;
    animation-delay: 5s;
}

.edu-presentation {
    top: 25%;
    left: 25%;
    animation-delay: 6s;
}

.edu-microscope {
    bottom: 20%;
    left: 30%;
    animation-delay: 7s;
}

/* 学习进度条元素 */
.learning-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.progress-bar-element {
    position: absolute;
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-1 {
    top: 20%;
    right: 20%;
}

.progress-2 {
    top: 50%;
    left: 20%;
}

.progress-3 {
    bottom: 30%;
    right: 30%;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
    animation: progressFill 3s infinite alternate;
}

.progress-1 .progress-fill {
    width: 60%;
    animation-delay: 0s;
}

.progress-2 .progress-fill {
    width: 80%;
    animation-delay: 1s;
}

.progress-3 .progress-fill {
    width: 40%;
    animation-delay: 2s;
}

@keyframes progressFill {
    0% { width: 30%; }
    100% { width: 100%; }
}

/* 教研活动元素 */
.research-activities {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.activity {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    animation: pulseActivity 2s infinite;
}

.activity-1 {
    top: 15%;
    right: 35%;
    animation-delay: 0s;
}

.activity-2 {
    bottom: 35%;
    left: 35%;
    animation-delay: 1s;
}

.activity-3 {
    top: 65%;
    right: 35%;
    animation-delay: 2s;
}

@keyframes pulseActivity {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* 模块通用样式 */
.module {
    margin-bottom: 3rem;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.module-header h2 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-badge {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.module-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.module-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.search-box {
    display: flex;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-box button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #7f8c8d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: #95a5a6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn.primary {
    background: linear-gradient(90deg, #3498db, #2980b9);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn.primary:hover {
    background: linear-gradient(90deg, #2980b9, #3498db);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* 特性卡片样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.module-actions {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* 教师画像模块 */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.profile-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.profile-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-details {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.label {
    font-weight: bold;
    color: #2c3e50;
}

.progress-bar {
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 5px;
}

/* 智能遴选模块 */
.selection-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.task-list {
    display: grid;
    gap: 15px;
}

.task-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.task-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.task-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.task-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* 课程管理模块 */
.course-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

.course-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: white;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-header {
    background: linear-gradient(135deg, #2c3e50, #1a2a6c);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-type {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.course-details {
    padding: 1rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 学分管理模块 */
.credit-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.credit-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.summary-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.summary-item .label {
    display: block;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

.summary-item .value {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credit-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.credit-details ul {
    list-style: none;
    margin-top: 1rem;
}

.credit-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.credit-details li:last-child {
    border-bottom: none;
}

/* 政策服务模块 */
.policy-search {
    display: flex;
    margin-bottom: 1.5rem;
}

.policy-list {
    display: grid;
    gap: 15px;
}

.policy-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.policy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* 数据分析模块 */
.report-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.report-list {
    display: grid;
    gap: 15px;
}

.report-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.report-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.report-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.report-actions {
    display: flex;
    gap: 10px;
}

/* 底部样式 */
.footer {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h4 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-group h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.link-group a:hover {
    opacity: 1;
    color: #3498db;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .features,
    .stats-grid,
    .charts,
    .profile-grid,
    .course-grid,
    .credit-overview {
        grid-template-columns: 1fr;
    }
    
    .report-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}