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

:root {
    --primary-color: #2196f3;
    --secondary-color: #1976d2;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 主要内容区域 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* 按钮样式 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.secondary-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* 特性卡片 */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 页脚样式 */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

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

.icp-info {
    margin-top: 0.5rem;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.icp-info a:hover {
    color: var(--white);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* 默认隐藏菜单图标 */
.menu-toggle {
    display: none;  /* 默认隐藏 */
    cursor: pointer;
}

/* 响应式设计部分 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;  /* 移动端显示 */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* 产品优势部分样式 */
.advantages {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

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

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.advantages-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.advantage-number {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(33, 150, 243, 0.1);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 技术规格部分样式 */
.tech-specs {
    padding: 5rem 2rem;
    background: var(--white);
}

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

.tech-specs h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spec-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.spec-details h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.spec-details p {
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .advantages-content,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item,
    .spec-item {
        margin: 0 1rem;
    }
}

/* 二级页面通用头部样式 */
.page-header {
    background: linear-gradient(135deg, #f6f9fc 0%, #e9f2f9 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 特性详情页样式 */
.feature-details {
    padding: 4rem 2rem;
}

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

.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.feature-image svg {
    width: 120px;
    height: 120px;
    color: var(--primary-color);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 响应式调整 */
@media (max-width: 968px) {
    .feature-block {
        flex-direction: column !important;
        gap: 2rem;
        padding: 1.5rem;
    }

    .feature-image {
        flex: 0 0 200px;
        width: 100%;
    }

    .feature-image svg {
        width: 80px;
        height: 80px;
    }

    .page-header {
        padding: 6rem 1rem 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .feature-text h2 {
        font-size: 1.8rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* 技术规格详情页样式 */
.specs-detail {
    padding: 4rem 2rem;
    background: var(--white);
}

.specs-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.specs-category {
    margin-bottom: 4rem;
}

.specs-category h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.specs-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.spec-detail-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.spec-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.spec-icon {
    flex: 0 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    color: var(--primary-color);
}

.spec-content {
    flex: 1;
}

.spec-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.spec-content ul {
    list-style: none;
    padding: 0;
}

.spec-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.spec-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .specs-detail {
        padding: 3rem 1rem;
    }

    .spec-detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .spec-content ul li {
        text-align: left;
    }

    .specs-category h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .spec-content h3 {
        font-size: 1.3rem;
    }

    .spec-icon {
        padding: 1rem;
    }
}

/* 使用指南页面样式 */
.guide-steps {
    padding: 4rem 2rem;
    background: var(--white);
}

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

.step-item {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content {
    margin-top: 1rem;
}

.step-content h2 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.step-details {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
}

.step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.step-image {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.step-image svg {
    color: var(--primary-color);
}

/* 下载页面样式 */
.download-section {
    padding: 4rem 2rem;
    background: var(--white);
}

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

.qr-section {
    text-align: center;
}

.qr-code {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.qr-code svg {
    color: var(--text-color);
}

.qr-section p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.download-options {
    flex: 1;
    max-width: 500px;
}

.download-options h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: var(--primary-color);
    color: var(--white);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

.download-btn span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-details {
        flex-direction: column;
        gap: 2rem;
    }

    .step-image {
        width: 100%;
    }

    .download-container {
        flex-direction: column;
        gap: 3rem;
    }

    .download-options {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .step-content h2 {
        font-size: 1.8rem;
    }

    .step-text h3 {
        font-size: 1.3rem;
    }

    .download-btn {
        padding: 1rem 1.5rem;
    }
} 