/* 全局样式 */
:root {
    --primary-color: #00A4A7;
    --secondary-color: #333333;
    --text-color: #222222;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

/* 语言选择器 */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.lang-btn {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover, .lang-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 头部 */
header {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

header p {
    font-size: 1.5rem;
    color: #666;
}

/* 主要内容 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* 电动车图片 */
.scooter-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.main-scooter {
    width: 100%;
    height: auto;
}

/* 特性部分 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-text p {
    color: #666;
}

/* 应用预览 */
.app-preview {
    max-width: 350px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* 下载部分 */
.download-section {
    text-align: center;
    padding: 40px 0;
    width: 100%;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #008587;
    transform: translateY(-2px);
}

.download-btn img {
    width: 24px;
    height: 24px;
}

/* 悬浮下载按钮 */
.floating-download-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-download-btn:hover {
    background-color: #008587;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    animation: none;
}

.floating-download-btn img {
    width: 24px;
    height: 24px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}

/* 微信浏览器提示 */
.wechat-tip {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--white);
}

.wechat-tip.show {
    display: flex;
}

.wechat-tip p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.wechat-tip .arrow {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 30px;
    height: 30px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(45deg);
}

.wechat-tip .close-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1.2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .floating-download-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .main-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .scooter-image {
        flex: 0 0 45%;
    }
    
    .features {
        flex: 0 0 45%;
    }
    
    .app-preview, .download-section {
        flex: 0 0 100%;
    }
} 