/* W2 - 侧边栏风格 - 蓝色主题 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2962ff;
    --primary-dark: #0039cb;
    --secondary: #00bcd4;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    display: flex;
}

/* 侧边导航栏 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.logo-section {
    margin-bottom: 60px;
}

.logo {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
}

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

.nav-menu li {
    margin-bottom: 20px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.sidebar-cta .btn-primary {
    display: block;
    background: var(--white);
    color: var(--primary);
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.sidebar-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 主内容区 */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px 60px;
}

/* Hero区域 */
.hero-section {
    background: var(--white);
    border-radius: 20px;
    padding: 80px 60px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-large {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.3);
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.stat-box h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-box p {
    color: var(--text-light);
    font-size: 14px;
}

/* 功能区 */
.features-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.15);
}

.feature-box .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* 产品区 */
.products-section {
    margin-bottom: 60px;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-card.highlight {
    border: 2px solid var(--primary);
}

.badge-hot {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.product-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.product-card ul li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
}

.product-card ul li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 8px;
}

.link-arrow {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.link-arrow:hover {
    margin-left: 10px;
}

/* 下载区 */
.download-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 80px 60px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.download-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    color: var(--text-dark);
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    font-size: 32px;
}

.download-btn strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.download-btn small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

/* 步骤指南 */
.guide-section {
    margin-bottom: 60px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.step-item {
    flex: 1;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.step-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
}

/* FAQ */
.faq-section {
    margin-bottom: 60px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    list-style: none;
    transition: all 0.3s;
}

.faq-item summary:hover {
    background: var(--bg-light);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    float: right;
    font-size: 24px;
    color: var(--primary);
}

.faq-item[open] summary:after {
    content: "−";
}

.faq-item p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.footer-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.footer-info p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px !important;
    color: #999 !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
        padding: 30px;
    }
    
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 20px;
    }
    
    .nav-menu {
        display: flex;
        gap: 10px;
        overflow-x: auto;
    }
    
    .nav-menu li {
        margin-bottom: 0;
    }
    
    .sidebar-cta {
        margin-top: 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .hero-section {
        padding: 50px 30px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}