/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #0a0a0f;
    color: #ffffff;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(50, 100, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 50, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(50, 200, 150, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(50, 100, 200, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3264c8, #6432c8);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #3264c8;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 主要内容样式 */
main {
    margin-top: 80px;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(15, 15, 25, 0.8) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #3264c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #3264c8, #6432c8);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(50, 100, 200, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 100, 200, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3264c8;
    border: 2px solid #3264c8;
}

.btn-secondary:hover {
    background: #3264c8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 100, 200, 0.3);
}

/* 特性区域样式 */
.features {
    background-color: rgba(10, 10, 15, 0.9);
    padding: 80px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(50, 100, 200, 0.2);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(50, 100, 200, 0.2);
    border-color: rgba(50, 100, 200, 0.5);
}

.feature-item img {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* 产品介绍区域样式 */
.product-intro {
    background-color: rgba(10, 10, 15, 0.95);
    padding: 80px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.product-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.product-content p {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.product-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.product-content ul li {
    color: #b0b0b0;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.product-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3264c8;
    font-weight: bold;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(50, 100, 200, 0.3);
}

/* 下载区域样式 */
.download-section {
    background-color: rgba(10, 10, 15, 0.9);
    padding: 80px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.download-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.download-item {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(50, 100, 200, 0.2);
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(50, 100, 200, 0.2);
    border-color: rgba(50, 100, 200, 0.5);
}

.download-item img {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.download-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.download-item p {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 14px;
}

/* 教程导航样式 */
.tutorial-nav {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 20px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.tutorial-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tutorial-nav ul li a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.tutorial-nav ul li a:hover,
.tutorial-nav ul li a.active {
    background: linear-gradient(90deg, #3264c8, #6432c8);
    color: #ffffff;
}

/* 教程内容样式 */
.tutorial-content {
    background-color: rgba(10, 10, 15, 0.9);
    padding: 60px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.tutorial-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: center;
}

.tutorial-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #3264c8, #6432c8);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(50, 100, 200, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.step-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.8;
}

.step-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(50, 100, 200, 0.3);
}

/* 新闻列表样式 */
.news-list {
    background-color: rgba(10, 10, 15, 0.9);
    padding: 80px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.news-list h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: rgba(15, 15, 25, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(50, 100, 200, 0.2);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(50, 100, 200, 0.2);
    border-color: rgba(50, 100, 200, 0.5);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.news-item:hover .news-image img {
    filter: brightness(1);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.news-date {
    color: #3264c8;
}

.news-category {
    background-color: rgba(50, 100, 200, 0.2);
    color: #3264c8;
    padding: 3px 10px;
    border-radius: 15px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3264c8;
}

.news-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    color: #3264c8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: #6432c8;
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-item {
    color: #b0b0b0;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(50, 100, 200, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-item:hover {
    background: rgba(50, 100, 200, 0.2);
    color: #3264c8;
}

.page-item.active {
    background: linear-gradient(90deg, #3264c8, #6432c8);
    color: #ffffff;
    border-color: #3264c8;
}

/* FAQ区域样式 */
.faq-section {
    background-color: rgba(10, 10, 15, 0.9);
    padding: 80px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(15, 15, 25, 0.8);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(50, 100, 200, 0.2);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(15, 15, 25, 0.9);
}

.faq-question:hover {
    background-color: rgba(20, 20, 30, 0.9);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 20px;
    color: #3264c8;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(10, 10, 15, 0.5);
}

.faq-answer p,
.faq-answer ul {
    color: #b0b0b0;
    line-height: 1.8;
    margin: 20px 0;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 10px;
}

/* 相关链接样式 */
.related-links {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 60px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
    text-align: center;
}

.related-links h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.related-links p {
    color: #b0b0b0;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* 社交媒体分享样式 */
.share-section {
    background-color: rgba(15, 15, 25, 0.8);
    padding: 40px 0;
    border-bottom: 1px solid rgba(50, 100, 200, 0.2);
}

.share-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.share-section h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-share a {
    color: #b0b0b0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(50, 100, 200, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.social-share a:hover {
    background: linear-gradient(90deg, #3264c8, #6432c8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 100, 200, 0.3);
}

/* 页脚样式 */
footer {
    background-color: rgba(10, 10, 15, 0.95);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(50, 100, 200, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #3264c8;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(50, 100, 200, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

.footer-sitemap a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-sitemap a:hover {
    color: #3264c8;
}

/* 图片优化样式 */
img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

img:hover {
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .product-intro .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-content h2,
    .features h2,
    .download-section h2,
    .tutorial-content h2,
    .news-list h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .tutorial-nav ul {
        gap: 10px;
    }
    
    .tutorial-nav ul li a {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 13px;
    }
    
    main {
        margin-top: 120px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .features,
    .product-intro,
    .download-section,
    .tutorial-content,
    .news-list,
    .faq-section {
        padding: 60px 0;
    }
    
    .product-content h2,
    .features h2,
    .download-section h2,
    .tutorial-content h2,
    .news-list h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
}