/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #202124;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a73e8;
}

.logo img {
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #5f6368;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a73e8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a73e8;
    border-radius: 2px;
}

.btn-download {
    background: #1a73e8;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-download:hover {
    background: #0d62d9;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #5f6368;
    border-radius: 2px;
    transition: 0.3s;
}

/* 主横幅样式 */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #202124;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #5f6368;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #1a73e8;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #0d62d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-secondary {
    background: white;
    color: #1a73e8;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid #dadce0;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #1a73e8;
    background: #f8f9fa;
}

.version-info {
    display: flex;
    gap: 20px;
    color: #5f6368;
    font-size: 0.9rem;
}

.image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #5f6368;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #5f6368;
    border-bottom: 2px solid #5f6368;
    transform: rotate(45deg);
}

/* 功能特性 */
.features-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #202124;
}

.section-subtitle {
    text-align: center;
    color: #5f6368;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.features-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.feature-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #202124;
}

.feature-card p {
    color: #5f6368;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-prev,
.carousel-next {
    background: white;
    border: 2px solid #dadce0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dadce0;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #1a73e8;
}

/* 性能对比 */
.performance-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.comparison-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 30px;
}

.comparison-before {
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.comparison-after {
    right: 0;
}

.comparison-label {
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.performance-bar {
    margin-bottom: 25px;
}

.bar-fill {
    height: 40px;
    background: #34a853;
    border-radius: 8px;
    margin-bottom: 8px;
    width: 0;
    transition: width 1.5s ease;
    display: flex;
    align-items: center;
    padding-left: 15px;
    color: white;
    font-weight: 600;
}

.comparison-before .bar-fill {
    background: #ea4335;
}

.bar-label {
    font-size: 0.9rem;
    color: #5f6368;
}

.comparison-slider-control {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
    background: #1a73e8;
    cursor: ew-resize;
    z-index: 2;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #1a73e8;
    cursor: grab;
    user-select: none;
}

.slider-handle:active {
    cursor: grabbing;
}

.performance-note {
    text-align: center;
    margin-top: 30px;
    color: #5f6368;
    font-size: 0.9rem;
}

/* 安全特性 */
.security-section {
    padding: 100px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.security-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.security-card:hover {
    transform: translateY(-10px);
}

.security-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 15px;
    opacity: 0.3;
}

.security-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #202124;
}

.security-card p {
    color: #5f6368;
    line-height: 1.6;
}

/* 扩展生态系统 */
.extensions-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.extensions-scroll {
    overflow-x: auto;
    padding: 20px 0;
    margin-bottom: 40px;
    scrollbar-width: thin;
    scrollbar-color: #1a73e8 #e0e0e0;
}

.extensions-scroll::-webkit-scrollbar {
    height: 8px;
}

.extensions-scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.extensions-scroll::-webkit-scrollbar-thumb {
    background: #1a73e8;
    border-radius: 4px;
}

.extensions-container {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 20px;
}

.extension-card {
    flex: 0 0 250px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.extension-card:hover {
    transform: translateY(-5px);
}

.extension-icon {
    width: 60px;
    height: 60px;
    background: #1a73e8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.extension-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #202124;
}

.extension-card p {
    color: #5f6368;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.extension-rating {
    color: #fbbc04;
    font-size: 1.1rem;
}

.extensions-note {
    text-align: center;
    color: #5f6368;
    max-width: 700px;
    margin: 0 auto;
}

/* 跨平台同步 */
.sync-section {
    padding: 100px 0;
}

.sync-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.sync-content {
    flex: 1;
}

.sync-image {
    flex: 1;
}

.sync-list {
    list-style: none;
    margin-top: 20px;
}

.sync-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #5f6368;
}

.sync-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34a853;
    font-weight: bold;
}

.devices-showcase {
    position: relative;
    height: 400px;
}

.device {
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.device:hover {
    transform: scale(1.05);
}

.device-laptop {
    top: 0;
    right: 0;
    width: 400px;
}

.device-phone {
    bottom: 0;
    left: 0;
    width: 200px;
}

.device img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下载引导 */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-subtext {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 页脚 */
.main-footer {
    background: #202124;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #e8eaed;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e8eaed;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3c4043;
    color: #9aa0a6;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    
    .device-laptop {
        width: 350px;
    }
    
    .device-phone {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
    }
    
    .sync-section .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .sync-list {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .devices-showcase {
        height: 350px;
    }
    
    .device-laptop {
        width: 300px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .device-phone {
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        flex: 0 0 280px;
    }
    
    .comparison-slider {
        height: 400px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-showcase {
        height: 300px;
    }
    
    .device-laptop {
        width: 250px;
    }
    
    .device-phone {
        width: 120px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .version-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .feature-card {
        padding: 20px;
        flex: 0 0 260px;
    }
    
    .carousel-track {
        gap: 20px;
    }
    
    .comparison-slider {
        height: 350px;
    }
    
    .comparison-before,
    .comparison-after {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .devices-showcase {
        height: 250px;
    }
    
    .device-laptop {
        width: 200px;
    }
    
    .device-phone {
        width: 100px;
    }
}