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

:root {
    --primary-color: #FF1493;
    --secondary-color: #9370DB;
    --accent-color: #FF69B4;
    --dark-color: #2C2C2C;
    --light-color: #F8F8F8;
    --text-color: #333333;
    --border-color: #E0E0E0;
    --gradient-primary: linear-gradient(135deg, #FF1493 0%, #9370DB 100%);
    --gradient-secondary: linear-gradient(135deg, #FF69B4 0%, #BA55D3 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
}

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

/* 头部样式 */
.header {
    background: var(--gradient-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-box {
    display: flex;
    gap: 8px;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 200px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    padding: 8px 20px;
    background-color: #FFFFFF;
    color: var(--primary-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* 内页头部样式 */
.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 内容区域样式 */
.content-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.content-section h2 {
    font-size: 32px;
    margin: 50px 0 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* Hero区域样式 */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.8) 0%, rgba(147, 112, 219, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #FFFFFF;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

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

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 介绍区域样式 */
.intro {
    padding: 80px 0;
    background-color: var(--light-color);
}

.intro h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* 模块区域样式 */
.modules {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.modules h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.module-category {
    margin-bottom: 60px;
}

.module-category h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

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

.video-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.5);
    transition: transform 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.2);
}

.video-card h4 {
    font-size: 20px;
    margin: 20px 20px 10px;
    color: var(--dark-color);
}

.video-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0 20px 20px;
}

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

.feature-card {
    background: var(--gradient-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* 专家团队样式 */
.experts {
    padding: 80px 0;
    background-color: var(--light-color);
}

.experts h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #666666;
    margin-bottom: 50px;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.expert-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.expert-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid transparent;
    background: var(--gradient-primary);
    padding: 5px;
}

.expert-card h4 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.expert-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.expert-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

/* FAQ样式 */
.faq {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.faq-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.2);
    transform: translateX(5px);
}

.faq-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
}

/* 用户评价样式 */
.reviews {
    padding: 80px 0;
    background-color: var(--light-color);
}

.reviews h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.review-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-color);
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
}

.review-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666666;
}

/* CTA区域样式 */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: #FFFFFF;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页脚样式 */
.footer {
    background-color: var(--dark-color);
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        width: 100%;
        justify-content: flex-start;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .intro h2,
    .modules h2,
    .experts h2,
    .faq h2,
    .reviews h2,
    .cta h2,
    .content-section h2 {
        font-size: 28px;
    }
    
    .module-category h3 {
        font-size: 22px;
    }
    
    .video-grid,
    .feature-grid,
    .expert-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
}
