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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.primary-btn {
    background-color: #FF9500;
    color: white;
}

.primary-btn:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: white;
    color: #FF9500;
    border: 1px solid #FF9500;
}

.secondary-btn:hover {
    background-color: #fff8ee;
}

.text-btn {
    color: #FF9500;
    background: none;
    padding: 0;
    font-weight: 400;
}

.full-width {
    width: 100%;
}

/* 头部导航 */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
}

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

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #FF9500;
}

.login-btn a {
    background-color: #FF9500;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #FF9500 0%, #FF512F 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.version-info {
    font-size: 14px;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* 通用部分标题 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 功能特性区域 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #FF9500;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 下载区域 */
.download-section {
    padding: 100px 0;
    background-color: white;
}

.os-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.os-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.os-btn.active {
    background-color: #FF9500;
    color: white;
    border-color: #FF9500;
}

.download-cards {
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    display: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-card.active {
    display: block;
}

.version-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.version-btn {
    flex: 1;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.version-btn.active {
    background-color: #FF9500;
    color: white;
    border-color: #FF9500;
}

.version-details {
    display: none;
}

.version-details.active {
    display: block;
}

.version-details h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.version-details p {
    margin-bottom: 20px;
    color: #666;
}

.version-details ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.version-details li {
    margin-bottom: 10px;
    color: #555;
}

.version-info {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.linux-options {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 解决方案区域 */
.solutions-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #FF9500;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.solution-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 支持区域 */
.support-section {
    padding: 100px 0;
    background-color: white;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.support-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
}

.support-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.support-card ul {
    list-style: none;
}

.support-card li {
    margin-bottom: 10px;
}

.support-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.support-card a:hover {
    color: #FF9500;
}

/* 页脚区域 */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #FF9500;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: #FF9500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons .icon {
    font-size: 24px;
    color: white;
    transition: color 0.3s;
}

.social-icons .icon:hover {
    color: #FF9500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #95a5a6;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #95a5a6;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF9500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .main-nav ul {
        margin-top: 15px;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .solutions-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
