/* Google Chrome 官网风格样式 */
:root {
    --google-blue: #4285f4;
    --google-red: #ea4335;
    --google-yellow: #fbbc05;
    --google-green: #34a853;
    --google-gray: #5f6368;
    --light-gray: #f8f9fa;
    --border-gray: #dadce0;
    --text-primary: #202124;
    --text-secondary: #5f6368;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans', 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--google-blue), var(--google-green), var(--google-yellow), var(--google-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--google-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--google-blue);
}

.nav-links a.active {
    color: var(--google-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--google-blue);
    border-radius: 2px;
}

.download-btn {
    background-color: var(--google-blue);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #3367d6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 主要区域样式 */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-gray);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.chrome-logo-large {
    font-size: 120px;
    background: linear-gradient(135deg, var(--google-blue), var(--google-green), var(--google-yellow), var(--google-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 30px;
}

/* 特色区域 */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* 下载页面样式 */
.download-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.download-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.platform-card {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    text-align: center;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: var(--google-blue);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.1);
}

.platform-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    min-height: 60px;
}

/* 关于页面样式 */
.about-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.about-content {
    padding: 60px 0;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--google-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 页脚样式 */
footer {
    background-color: #f1f3f4;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--google-blue);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
    color: var(--text-secondary);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .chrome-logo-large {
        font-size: 80px;
    }
    
    .section-title {
        font-size: 28px;
    }
}