/* 简约大气风格 - 有道翻译网站样式 */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #dadce0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--background-white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* 导航栏样式 - 简约大气 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    gap: 10px;
}

.logo i {
    color: var(--primary-color);
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* 主横幅样式 - 简约大气 */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* 功能区域样式 */
.features {
    padding: 100px 0;
    background-color: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--border-radius);
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.download-section .btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.platform-icon i {
    font-size: 32px;
    opacity: 0.9;
}

.platform-icon span {
    font-size: 14px;
    opacity: 0.8;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer .logo {
    color: white;
    margin-bottom: 16px;
}

.footer .logo i {
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 12px;
}

.footer-bottom a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .download-section {
        padding: 60px 0;
    }
    
    .platform-icons {
        gap: 16px;
    }
    
    .platform-icon i {
        font-size: 24px;
    }
    
    .platform-icon span {
        font-size: 12px;
    }
}