:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #FFD166;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --white: #fff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 主内容区样式 */
.main-container {

    margin: 0 auto;
    width: 100%;
}

/* 英雄区域 */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), #e05a2b);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: inline-block;
}

/* 课程展示 */
.courses-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,107,53,0.1);
}

.course-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

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

.course-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.course-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.course-desc {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.course-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 问题与优势 */
.problems-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.problems-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problems-box, .advantages-box {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.box-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.problem-item, .advantage-item {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.problem-item:before, .advantage-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.problem-item:before {
    background: #ff6b6b;
}

.advantage-item:before {
    background: #51cf66;
}

/* 授课体系 */
.system-section {
    padding: 80px 0;
    background-color: var(--white);
}

.system-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.system-step {
    display: flex;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.step-number {
    flex: 0 0 80px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
    padding: 30px;
}

.step-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-desc {
    color: var(--gray-color);
    line-height: 1.8;
}

/* 师资介绍轮播样式 */
.teacher-section {
    padding: 80px 0;
    background-color: var(--white);
}

.teachers-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.teacher-container {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 500px; /* 固定高度 */
}

.teacher-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(100%);
    display: flex;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.teacher-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.teacher-card.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.teacher-card.next {
    transform: translateX(100%);
    opacity: 0;
}

.teacher-photo {
    flex: 0 0 350px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.teacher-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.teacher-title {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.teacher-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.teacher-rate {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.teacher-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.teacher-prev, .teacher-next {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: var(--transition);
}

.teacher-prev:hover, .teacher-next:hover {
    background: #e05a2b;
    transform: scale(1.1);
}

.teacher-dots {
    display: flex;
    gap: 15px;
}

.teacher-dots .dot {
    width: 12px;
    height: 12px;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.teacher-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .teacher-card {
        flex-direction: column;
        height: auto;
    }
    
    .teacher-photo {
        flex: 0 0 300px;
    }
    
    .teacher-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .teacher-photo {
        flex: 0 0 250px;
    }
    
    .teacher-name {
        font-size: 1.8rem;
    }
    .teacher-container {

    height: 560px;
}
    
}



@media (max-width: 480px) {
    .teacher-name {
        font-size: 1.6rem;
    }
    .teacher-photo {
        height: 180px;
        width: 390px;
    }
    
    .teacher-photo img {
        width: 50%;
        height: 100%;
        object-fit: cover;
    }
    
    .teacher-title {
        font-size: 1rem;
    }
    
    .teacher-desc {
        font-size: 1rem;
    }
}
@media (max-width: 400px) {
    .teacher-photo {
        height: 180px;
    }
    
    .teacher-name {
        font-size: 1.3rem;
    }
    
    .teacher-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .teacher-controls {
        margin-top: 15px;
    }
    
    .teacher-prev, .teacher-next {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .teacher-dots {
        gap: 8px;
    }
    
    .teacher-dots .dot {
        width: 8px;
        height: 8px;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .problems-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .system-step {
        flex-direction: column;
    }
    
    .step-number {
        flex: 0 0 60px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .course-card, .problems-box, .advantages-box {
        padding: 20px;
    }
}