
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部导航 */
.navbar {
    background: #782F40;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: #f0c040;
}

/* Banner区域 */
.hero {
    background: linear-gradient(135deg, #782F40 0%, #6B2737 50%, #5D1F2E 100%);
    color: white;
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0c040);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #f0c040;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #f0c040, #e6b134);
    color: #782F40;
    box-shadow: 0 5px 15px rgba(240,192,64,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #f0c040;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.btn:hover .tooltip {
    opacity: 1;
}

/* 院系简介 */
.intro-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #782F40;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #782F40, #f0c040);
    border-radius: 2px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.timeline {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.timeline-year {
    background: #782F40;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}

.intro-text {
    font-size: 18px;
    line-height: 2;
    color: #555;
}

.highlight-box {
    background: linear-gradient(135deg, #782F40, #6B2737);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(120,47,64,0.2);
}

/* 考情分析 */
.analysis-section {
    padding: 100px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid #f0c040;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #782F40;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* 课程体系 */
.curriculum-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 60px 0 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    background: white;
    border: 2px solid #782F40;
    color: #782F40;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active,
.tab-btn:hover {
    background: #782F40;
    color: white;
    transform: translateY(-2px);
}

.curriculum-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #f0c040;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: #782F40;
    color: white;
    transform: translateX(5px);
}

.course-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.course-topics {
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
}

.course-topics li {
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
}

.course-topics li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f0c040;
}

/* 学员反馈 */
.feedback-section {
    padding: 100px 20px;
    background: #782F40;
    color: white;
}

.feedback-carousel {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.feedback-item {
    background: white;
    color: #333;
    padding: 40px;
    margin: 0 10px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feedback-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.feedback-author {
    font-weight: bold;
    color: #782F40;
}

/* 底部联系方式 */
.contact-section {
    background: #2c2c2c;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-item {
    position: relative;
    padding: 15px 25px;
    background: #444;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: #782F40;
    transform: translateY(-3px);
}

.qr-code {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-item:hover .qr-code {
    opacity: 1;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .nav-menu {
        gap: 20px;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .curriculum-tabs {
        flex-direction: column;
        align-items: center;
    }

    .trial-videos {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动进入动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}
