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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 首页样式 */
.home-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

/* 导航栏 */
.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

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

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

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3498db;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* 英雄区 */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 2rem;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5d6d7e;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-keywords {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.keyword-tag {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.hero-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 500px;
}

.graphic-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.05));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

.graphic-triangle {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.05));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 30%;
    right: 20%;
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

/* 介绍区域 */
.intro-section {
    padding: 4rem 2rem;
    background-color: white;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    color: #5d6d7e;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 导航指南 */
.nav-guide-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
}

.nav-guide-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.guide-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.guide-card p {
    color: #5d6d7e;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.guide-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.guide-link:hover {
    color: #2980b9;
}

.guide-link:hover i {
    transform: translateX(5px);
}

/* 特色功能 */
.features-section {
    padding: 5rem 2rem;
    background-color: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.features-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-image {
    flex: 1;
}

.feature-visual {
    position: relative;
    height: 400px;
}

.visual-item {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
}

.visual-item:nth-child(1) {
    width: 250px;
    height: 250px;
    top: 0;
    left: 0;
    animation: float 8s ease-in-out infinite;
}

.visual-item:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 0;
    right: 0;
    animation: float 10s ease-in-out infinite 0.5s;
}

.visual-item:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: 100px;
    animation: float 12s ease-in-out infinite 1s;
}

.feature-list {
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.feature-item:hover {
    background-color: #e8ecef;
    transform: translateX(10px);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3498db;
    margin-right: 1.5rem;
    line-height: 1;
    opacity: 0.2;
}

.feature-text h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.feature-text p {
    color: #5d6d7e;
    line-height: 1.6;
}

/* 常见问题 */
.faq-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    margin-right: 10px;
    color: #3498db;
}

.faq-item p {
    color: #5d6d7e;
    line-height: 1.6;
    display: none;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* 页脚 */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-logo i {
    margin-right: 10px;
    color: #3498db;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
}

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

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-content {
        flex-direction: column;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .guide-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .intro-section h2,
    .nav-guide-section h2,
    .features-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}