/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4285f4;
    --primary-dark: #3367d6;
    --secondary-color: #34a853;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn-primary, .btn-secondary, .btn-large {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    margin-top: 20px;
}

.btn-large:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.highlight {
    color: var(--primary-color);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo img {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.download-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--radius);
}

.download-btn:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero-section {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    margin: 10px auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* 特性区域 */
.features-section {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.features-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.carousel-container {
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    min-width: 270px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card ul {
    list-style: none;
    margin-top: 15px;
}

.feature-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.feature-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 优势区域 */
.advantages-section {
    background-color: var(--background-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.advantage-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(66, 133, 244, 0.1);
}

.advantage-card h3 {
    color: var(--text-color);
    margin-top: 10px;
}

/* 对比区域 */
.comparison-section {
    background-color: white;
}

.comparison-table-container {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--background-light);
    font-weight: 600;
}

.comparison-table td.best {
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
}

.comparison-table td.good {
    background-color: rgba(66, 133, 244, 0.1);
    color: var(--primary-color);
}

.comparison-chart {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--radius);
}

.chart-bar {
    margin-bottom: 20px;
}

.chart-label {
    margin-bottom: 5px;
    font-weight: 500;
}

.chart-bar-container {
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 500;
    transition: width 1.5s ease;
}

.chrome-fill {
    background-color: #4285f4;
}

.edge-fill {
    background-color: #0078d4;
}

.safari-fill {
    background-color: #000000;
}

.firefox-fill {
    background-color: #ff7139;
}

/* 下载引导区域 */
.download-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.download-cta-section h2 {
    color: white;
}

.download-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
}

.platform-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.platform-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    transition: transform 0.3s ease;
}

.platform-badge:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.small-text {
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background-color: #202124;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-right: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #bdc1c6;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3c4043;
    color: #9aa0a6;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .carousel-track {
        gap: 20px;
    }
    
    .feature-card {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .feature-card {
        min-width: calc(100% - 20px);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
}