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

/* 基础样式设置 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-size: 16px;
}

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

/* 链接样式 */
a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.primary-btn {
    background-color: #3498db;
    color: white;
}

.primary-btn:hover {
    background-color: #2980b9;
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.secondary-btn:hover {
    background-color: #3498db;
    color: white;
}

.large-btn {
    padding: 14px 30px;
    font-size: 18px;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

/* 段落样式 */
p {
    margin-bottom: 15px;
}

/* 头部样式 */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.logo i {
    color: #3498db;
    margin-right: 10px;
    font-size: 1.8rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.main-nav a.active {
    color: #3498db;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3498db;
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    display: block;
    padding: 8px 0;
    font-weight: 600;
}

.mobile-nav a.active {
    color: #3498db;
}

/* 英雄区样式 */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf1 100%);
    position: relative;
    margin-top: 70px;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    text-align: center;
}

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

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

/* 特色区块样式 */
.features-section {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #3498db;
}

/* 课程区块样式 */
.courses-section {
    background-color: #f9f9f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.course-image {
    height: 200px;
    overflow: hidden;
}

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

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

.course-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-category {
    display: inline-block;
    padding: 5px 12px;
    background-color: #e8f4fd;
    color: #3498db;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #f1f1f1;
}

.course-meta i {
    margin-right: 5px;
}

/* 学习效果区块样式 */
.results-section {
    background-color: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.result-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.result-label {
    font-size: 1.1rem;
    color: #555;
}



.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.author-title {
    color: #777;
    font-size: 0.9rem;
}

/* 行动召唤区块样式 */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-section .primary-btn {
    background-color: white;
    color: #3498db;
}

.cta-section .primary-btn:hover {
    background-color: #f1f1f1;
}

/* 页脚样式 */
.site-footer {
    background-color: #2c3e50;
    color: white;
       padding: 10px 0 10px;
}



.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo i {
    color: #3498db;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #bdc3c7;
    margin-bottom: 0;
}

.link-group h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3498db;
    border-radius: 3px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #3498db;
    padding-left: 5px;
}


.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #bdc3c7;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .courses-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    
    .newsletter-form {
        flex-direction: column;
    }
}
    