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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 0; /*移除为固定头部留出的空间 */
}

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

/* 网站头部样式 */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-section {
    display: flex;
    gap: 10px;
    margin-right: 30px;
}

.auth-btn {
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-btn.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.3s ease;
}

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

.main-nav a.active {
    color: rgba(255, 255, 255, 0.9);
}

.main-nav a.active::after {
    width: 100%;
}



/* 学生端和教师端模式 */
.student-mode {
    /* 可以为学生端模式添加特殊样式 */
}

.teacher-mode {
    /* 可以为教师端模式添加特殊样式 */
}

/* 为按钮添加更明显的状态指示 */
.student-btn.active {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

.teacher-btn.active {
    background: #2196F3 !important;
    border-color: #2196F3 !important;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #34495e;
    font-weight: 600;
}

/* 首屏沉浸式舞台 */
.hero-section {
    height: 115vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: 
        inset 0 0 50px rgba(255, 255, 255, 0.1),
        inset 10px 0 80px rgba(0, 0, 0, 0.3),
        inset -10px 0 80px rgba(0, 0, 0, 0.3),
        inset 10px 0 200px rgba(0, 0, 0, 0.2),
        inset -10px 0 200px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(255, 255, 255, 0.1),
        -10px 0 80px rgba(0, 0, 0, 0.3),
        10px 0 80px rgba(0, 0, 0, 0.3);
    animation: clouds 60s linear infinite;
}

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
  /*  opacity: 0.3;
    animation: clouds 120s linear infinite;*/
}

@keyframes sparkle {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-200px) translateY(-100px); }
}

@keyframes clouds {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text-container {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.title-line {
    display: block;
    margin: 0.5rem 0;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
}

.scroll-text {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* 多视角空间轮播区 */
.carousel-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dimension-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.dimension-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dimension-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.dimension-tab.active {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dimension-display {
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dimension-card {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(20px);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.dimension-card.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 10;
}

.dimension-icon {
    font-size: 5rem;
    flex-shrink: 0;
}

.dimension-content {
    flex: 1;
}

.dimension-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.dimension-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-weight: 500;
}

.dimension-description {
    margin-bottom: 25px;
}

.dimension-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.dimension-features {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(102, 126, 234, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
}

/* 价值解构区 */
.values-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.values-section > .container {
    position: relative;
    z-index: 1;
}

.value-statements-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.statement-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 移除文本选中时的背景色 */
.statement-card::selection {
    background-color: transparent;
}

.statement-card *::selection {
    background-color: transparent;
}

.statement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transition: all 0.3s ease;
}

.statement-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(102, 126, 234, 0.1);
    font-family: 'Arial', sans-serif;
}

.statement-content {
    position: relative;
    z-index: 1;
}

.statement-content h3 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    position: relative;
    padding-left: 30px;
}

.statement-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
}

.statement-content p {
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.interactive-faq {
    max-width: 800px;
    margin: 60px auto 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
}

.faq-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    margin: 10px auto 0;
    border-radius: 2px;
}

.faq-item {
    border-radius: 10px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 18px 20px;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.faq-question h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question:hover h4 {
    color: #667eea;
}

.faq-toggle {
    font-size: 1.8rem;
    color: #667eea;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(102, 126, 234, 0.2);
}

.faq-answer {
    padding: 0 20px 0 20px;
    color: #5a6c7d;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px 20px 20px 20px;
    opacity: 1;
}

.faq-answer p {
    margin: 0 0 15px 0;
    padding: 10px 15px;
    background: rgba(238, 242, 255, 0.5);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}



/* 学生视角区 */
.students-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.student-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-avatar {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-content p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author {
    color: #667eea;
    font-weight: 600;
}

/* 劳动课程区 - 现代化设计 */
.courses-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.2) 0%, transparent 20%);
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.course-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 250px;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 3;
}

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

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.course-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 2;
}

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

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

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.course-content h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.4em;
    line-height: 1.4;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.course-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 245px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.course-content p {
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex-grow: 1;
    font-size: 0.95em;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #777;
}

.course-duration {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    color: #1976d2;
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.1);
}

.course-type {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    color: #2e7d32;
    box-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
}

.course-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.course-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: left 0.5s ease;
}

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

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 实践课程模块 - 现代化设计 */
.practice-courses-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.practice-courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(102, 126, 234, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 85% 85%, rgba(118, 75, 162, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.practice-courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 35px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.practice-course-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    max-width: 100%;
    min-width: 220px;
}

.practice-course-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.practice-course-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.course-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2em;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.15);
    z-index: 1;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

.practice-course-item:hover .course-number {
    color: rgba(102, 126, 234, 0.3);
    transform: scale(1.1);
}

.course-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.practice-course-item:hover .course-image {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

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

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

.practice-course-item h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.5em;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.practice-course-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.practice-course-item p {
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0 0 25px 0;
    text-align: center;
    font-size: 0.95em;
    padding: 0 15px;
}

/* 终章设计 */
.ending-section {
    padding: 100px 0 0 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.final-message {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.message-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.ending-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    position: relative;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-text {
    position: relative;
    z-index: 2;
    display: block;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover .btn-bg {
    opacity: 1;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 底部页脚样式 */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0 0 20px;
    /*margin-top: 60px;*/
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ecf0f1;
    position: relative;
}

.footer-section h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #667eea;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-legal {
    color: #95a5a6;
}

.footer-legal a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .practice-courses-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .practice-courses-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-courses-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    
    .carousel-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 10px auto;
    }
    
    .card-center {
        transform: scale(1) !important;
    }
    
    .path-node {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .path-node:nth-child(even) {
        left: 0 !important;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .node-badge {
        left: 0 !important;
    }
    
    .node-content {
        margin-left: 40px;
        margin-right: 0;
    }
    
    .ending-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .students-grid {
        grid-template-columns: 1fr;
    }
}