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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #1a365d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-link:hover {
    color: #ed8936;
    background-color: rgba(237, 137, 54, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ed8936;
}

/* Banner区 */
.banner {
    background: linear-gradient(135deg, #1a365d 0%, #2b4c7e 100%);
    color: #fff;
    padding: 100px 0 60px;
    margin-top: 60px;
}

.banner .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: #ed8936;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(237, 137, 54, 0.3);
}

.btn-primary:hover {
    background-color: #dd6b20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 137, 54, 0.4);
}

.banner-image {
    flex: 1;
    min-width: 300px;
    margin-top: 30px;
}

.banner-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 课程价值区 */
.values {
    padding: 80px 0;
    background-color: #fff;
}

.values .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.value-item {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    margin: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.value-icon.communication {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='1'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='1'%3E%3C/circle%3E%3C/svg%3E");
}

.value-icon.new-media {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='21' x2='16' y2='21'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='21'%3E%3C/line%3E%3C/svg%3E");
}

.value-icon.voice {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'%3E%3C/path%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'%3E%3C/path%3E%3Cline x1='12' y1='19' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='8' y1='23' x2='16' y2='23'%3E%3C/line%3E%3C/svg%3E");
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a365d;
}

.value-item p {
    color: #666;
}

/* 课程介绍区 */
.intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a365d;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.intro-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.intro-text ul {
    list-style-type: none;
    margin-top: 30px;
}

.intro-text li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.intro-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ed8936;
    font-weight: bold;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    margin-top: 30px;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 课程购买区 */
.course {
    padding: 80px 0;
    background-color: #fff;
}

.course-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.course-header {
    background: linear-gradient(135deg, #1a365d 0%, #2b4c7e 100%);
    color: #fff;
    padding: 40px;
    text-align: center;
}

.course-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.course-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.course-body {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.course-features {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.course-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a365d;
}

.course-features ul {
    list-style-type: none;
}

.course-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.course-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ed8936;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.course-price {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.price-tag {
    margin-bottom: 20px;
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ed8936;
}

.price-note {
    color: #666;
    margin-bottom: 30px;
}

.btn-buy {
    display: block;
    width: 100%;
    background-color: #ed8936;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(237, 137, 54, 0.3);
}

.btn-buy:hover {
    background-color: #dd6b20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 137, 54, 0.4);
}

.btn-detail {
    display: block;
    width: 100%;
    background-color: #ed8936;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(237, 137, 54, 0.3);
}

.btn-detail:hover {
    background-color: #dd6b20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 137, 54, 0.4);
}

.custom-link {
    margin-top: 20px;
    color: #666;
}

.custom-link a {
    color: #1a365d;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.custom-link a:hover {
    color: #ed8936;
    text-decoration: underline;
}

/* 底部信息区 */
.footer {
    background-color: #1a365d;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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



/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
    
    .banner-content, .banner-image {
        padding-right: 0;
    }
    
    .intro-text {
        padding-right: 0;
    }
    
    .course-features {
        padding-right: 0;
    }
    
    .course-body {
        padding: 30px;
    }
    
    .course-header {
        padding: 30px;
    }
    
    .course-header h2 {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner {
        padding: 80px 0 40px;
    }
    
    .values, .intro, .course {
        padding: 60px 0;
    }
    
    .value-item {
        margin: 10px 0;
    }
    
    .intro h2 {
        font-size: 2rem;
    }
    
    .course-header h2 {
        font-size: 1.8rem;
    }
    
    .modal-content {
        margin: 25% auto;
        padding: 20px;
    }
}