: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 {
    /*max-width: 1300px;*/
    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;
}

.price-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    margin: 20px 0;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    margin-right: 15px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .original-price {
        font-size: 1rem;
    }
    .current-price {
        font-size: 1rem;
    }
    
}

/* 课程特色 */
.features-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;
}

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

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

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

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

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

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

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-weight: 600;
}

.feature-desc {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 班型介绍 */
.plans-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid rgba(255,107,53,0.1);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
}

.plan-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.plan-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.plan-features i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 3px;
}
/* 师资介绍 */
.teacher-section {
    padding: 40px 0;
    background-color: var(--white);
}

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

.section-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.teacher-photo {
    width: 100%;
    height: 250px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.teacher-info {
    padding: 25px;
}

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

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

.teacher-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
}

/* 响应式设计 - 平板及以上 */
@media (min-width: 768px) {
    .teacher-section {
        padding: 60px 0;
    }
    
    .teacher-card {
        flex-direction: row;
    }
    
    .teacher-photo {
        flex: 0 0 300px;
        height: auto;
    }
    
    .teacher-info {
        padding: 40px;
    }
    
    .teacher-name {
        font-size: 2rem;
    }
    
    .teacher-title {
        font-size: 1.2rem;
    }
    
    .teacher-desc {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .teacher-section {
        padding: 80px 0;
    }

    
}

@media (max-width: 768px) {
    .teacher-section {
        padding: 80px 0;
    }
    .teacher-photo img {
        width: 55%;
    }
    
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    display: none;
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-item.active .faq-answer {
    display: block;
}

/* 作文范例 */
.examples-section {
    padding: 80px 0;
    background-color: var(--white);
}

.example-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    border: 1px solid rgba(255,107,53,0.1);
}

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

.example-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.example-note {
    font-style: italic;
    color: var(--gray-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 20px;
}

.examples-carousel {
    max-width: 475px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 700px; /* 固定高度 */
}

.example-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
    position: relative;
    display: none;
}

.example-slide.active {
    display: block;
}

.example-slide img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.example-slide img:hover {
    transform: scale(1.02);
}

.example-info {
    background: var(--white);
    padding: 20px;
    text-align: center;
}

.example-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.example-info p {
    color: var(--gray-color);
    line-height: 1.6;
}

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

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

.carousel-prev:hover, .carousel-next:hover {
    background: #e05a2b;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

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

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

/* 图片放大模态框样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid var(--primary-color);
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
}

.caption {
    color: var(--white);
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

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

@media (max-width: 768px) {
    .features-grid, .plans-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .highlight-text {
        letter-spacing: 2px;
        font-size: 1rem;
    }
}

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