/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 颜色变量定义 */
:root {
    --black: #111111;        /* 神秘黑 */
    --blue: #00B4CC;         /* 湖水蓝 */
    --blue-hover: #0099AA;   /* 湖水蓝 hover */
    --gray: #f5f5f5;         /* 背景灰 */
    --text-gray: #666666;    /* 文本灰 */
    --white: #ffffff;        /* 白色 */
}

/* 全局样式 */
body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--white);
    font-size: 16px;
}

.nav-menu li a:hover {
    color: var(--blue);
}

.download-btn {
    background-color: var(--blue);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--white)!important;
}

.download-btn:hover {
    background-color: var(--blue-hover)!important;
}

/* 英雄区 */
.hero {
    background: linear-gradient(to right, var(--black), #222);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--blue);
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.primary-btn i {
    font-size: 20px;
}

/* 产品介绍区 */
.product-intro {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--black);
}

.section-title span {
    color: var(--blue);
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--blue);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--black);
}

.card p {
    color: var(--text-gray);
    font-size: 16px;
}

/* 下载页样式 */
.download-page {
    padding: 60px 0;
}

.download-content {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.download-image {
    flex: 1;
}

.download-image img {
    width: 100%;
    border-radius: 8px;
}

.download-options {
    flex: 1;
}

.download-options h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--black);
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.download-item i {
    font-size: 24px;
    color: var(--blue);
}

.download-item-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.download-item-info p {
    color: var(--text-gray);
    font-size: 14px;
}

.version-update {
    margin-top: 60px;
}

.update-list {
    border-top: 1px solid #eee;
}

.update-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.update-item h4 {
    font-size: 18px;
    color: var(--black);
}

.update-item span {
    color: var(--text-gray);
    font-size: 14px;
}

/* 404页面样式 */
.error-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--gray);
}

.error-content {
    text-align: center;
}

.error-content h1 {
    font-size: 120px;
    color: var(--blue);
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--black);
}

.error-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.back-home {
    background-color: var(--blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 18px;
}

/* 底部样式 */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    margin-right: 30px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--blue);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--blue);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-content, .download-content {
        flex-direction: column;
    }
    
    .intro-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}