/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏logo样式 */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-logo {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* 章节通用样式 */
.section {
    padding: 100px 0 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* 首页背景 */
.home-section {
    padding: 0;
}

.hero-container {
    width: 100vw;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    margin-left: calc(-50vw + 50%);
}

.hero-container::after {
    content: '';
    position: absolute;
    height: 100vh;
    color: #000;
    width: 100%;
    background-size: cover;
    background-image: url('../images/home.png');
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

/* .hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
} */

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 平台介绍 */
.platform-section {
    background:#FCF9F8
}

.platform-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.platform-overview h3 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
/* 平台概述段落首行缩进 */
.platform-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-indent: 2em;  /* 首行缩进两个字符 */
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* 平台特色卡片样式调整 */
.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-card h4 {
    color: #FF6F00;
    margin: 0;
    font-size: 1.3rem;
}

.feature-card p {
    margin: 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .feature-icon {
        width: 35px;
        height: 35px;
    }
    
    .feature-header {
        gap: 0.8rem;
    }
}

.core-advantages {
    background: linear-gradient(135deg,#FF9100, #FF6F00);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

/* 平台优势 */
.advantages-section {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}


/* 平台优势图标样式 */
.advantage-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    background: #FCF9F8
}

.advantage-item:hover {
    transform: translateY(-10px);
    background: var(--white);
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.advantage-item p {
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}


.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #FF6F00;
}

/* 页脚 */
.footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}
.footer a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: #ccc;
    text-decoration: underline;
}
/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .platform-features {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .section {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}