/* 基础重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a73e8;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #5f6368;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a73e8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1a73e8;
    border-radius: 1px;
}

.btn-download-nav {
    background-color: #1a73e8;
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download-nav:hover {
    background-color: #0d62d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* 英雄区域样式 */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #ffd600, #ff6d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.btn-primary {
    background-color: white;
    color: #1a73e8;
    padding: 16px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    margin-top: 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* 通用区域样式 */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #202124;
    opacity: 0;
    transform: translateY(30px);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #5f6368;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
}

/* 功能滑块样式 */
.features-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background-color: white;
    border: 2px solid #e8eaed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
    transform: scale(1.1);
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px;
}

.feature-card {
    flex: 0 0 25%;
    padding: 40px 30px;
    background-color: white;
    border-radius: 12px;
    margin: 0 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.feature-icon img {
    filter: drop-shadow(0 4px 8px rgba(26, 115, 232, 0.2));
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
    text-align: center;
}

.feature-description {
    color: #5f6368;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: center;
}

.feature-list {
    list-style: none;
    text-align: center;
}

.feature-list li {
    padding: 5px 0;
    color: #5f6368;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    color: #34a853;
    font-weight: bold;
    margin-right: 8px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dadce0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: #1a73e8;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #5f6368;
}

/* AI区域垂直滑块 */
.ai-section {
    background-color: #f8f9fa;
}

.ai-slider-vertical {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ai-slider-controls {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.ai-prev,
.ai-next {
    background-color: white;
    border: 2px solid #e8eaed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-prev:hover,
.ai-next:hover {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.ai-slider-container {
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ai-slider-track {
    transition: transform 0.5s ease;
}

.ai-slide {
    height: 400px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-slide h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #202124;
}

.ai-slide p {
    font-size: 1.1rem;
    color: #5f6368;
    margin-bottom: 30px;
    line-height: 1.7;
}

.ai-feature {
    background-color: #f1f8ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #1a73e8;
}

.ai-feature strong {
    color: #202124;
}

/* 安全翻页卡片 */
.security-flip-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.flip-card {
    perspective: 1000px;
    height: 280px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
}

.flip-card-back {
    background: linear-gradient(135deg, #34a853 0%, #0d9d58 100%);
    color: white;
    transform: rotateY(180deg);
}

.flip-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.flip-card p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.flip-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-button:hover {
    background-color: white;
    color: #1a73e8;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, #1a73e8 0%, #0d62d9 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.cta-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-platforms span:first-child {
    opacity: 0.8;
}

.platform {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    background-color: #202124;
    color: #9aa0a6;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.7;
    max-width: 300px;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9aa0a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #3c4043;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .feature-card {
        flex: 0 0 33.333%;
    }
    
    .slider-controls {
        left: -40px;
        right: -40px;
    }
    
    .ai-slider-controls {
        left: -60px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-card {
        flex: 0 0 50%;
    }
    
    .slider-controls,
    .ai-slider-controls {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .ai-slider-controls {
        flex-direction: row;
    }
    
    .ai-slide {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .security-flip-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        flex: 0 0 100%;
    }
    
    .ai-slide h3 {
        font-size: 1.5rem;
    }
}