/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
}

.logo-icon {
    color: #4285F4;
    font-size: 28px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
}

.logo-text span {
    color: #4285F4;
}

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

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: #555555;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #4285F4;
}

nav a.active {
    color: #4285F4;
}

nav a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #4285F4;
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

/* 主内容区域 */
.main-content {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
    flex: 1;
}

/* 页面标题 */
.page-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333333;
    font-weight: 700;
}

.page-subtitle {
    font-size: 18px;
    color: #666666;
    margin-bottom: 40px;
    max-width: 800px;
}

/* 页面内容卡片 */
.content-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333333;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 10px;
    color: #4285F4;
}

.card-content {
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

/* 特色功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #E8F0FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: #4285F4;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333333;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #4285F4;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

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

.btn i {
    margin-right: 8px;
}

.btn-secondary {
    background-color: #EA4335;
}

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

/* 页脚样式 */
footer {
    background-color: #f1f3f4;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

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

.copyright {
    color: #888888;
    font-size: 14px;
}

/* 浏览器展示区 */
.browser-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}

.browser-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.browser-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.browser-info {
    flex: 1;
    min-width: 300px;
    padding: 0 40px;
}

.browser-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 150px;
    margin: 10px 0;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #4285F4;
}

.stat-label {
    font-size: 14px;
    color: #666666;
    margin-top: 5px;
}

/* 特色功能页面额外样式 */
.feature-list {
    margin-top: 20px;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    color: #555555;
}

/* 安全页面样式 */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.security-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.security-icon {
    width: 60px;
    height: 60px;
    background-color: #E8F0FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.security-icon i {
    font-size: 24px;
    color: #34A853;
}

/* 扩展页面样式 */
.extensions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.extension-category {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.extension-category h4 {
    color: #4285F4;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.extension-category h4 i {
    margin-right: 8px;
}

/* 下载页面样式 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.download-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
}

.os-icon {
    font-size: 50px;
    color: #4285F4;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .logo {
        padding: 10px 0;
    }
    
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 10px 5px;
    }
    
    .main-content {
        margin-top: 140px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .features-grid, .security-grid, .download-grid {
        grid-template-columns: 1fr;
    }
    
    .browser-info {
        padding: 0;
        margin-top: 30px;
    }
    
    .browser-stats .stat {
        min-width: 120px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}