/* 移动端基础样式 */
:root {
    --primary-color: #007AFF;
    --primary-dark: #0056b3;
    --secondary-color: #6B7280;
    --accent-color: #10B981;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #F9FAFB;
}

/* 容器 */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* 导航栏 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    z-index: 50;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 0 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* 主要内容区域 */
.main-content {
    margin-top: 4rem;
    padding: 1rem 0;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f6f7f9 100%);
    padding: 2rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.hero h1 .accent {
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 特性卡片 */
.features {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f6f7f9 0%, #ffffff 100%);
}

.features h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6B7280;
    font-size: 1rem;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1), 0 -1px 2px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
}

.nav-item {
    text-align: center;
    color: #6B7280;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item.active {
    color: var(--primary-color);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* 响应式图片 */
img {
    max-width: 100%;
    height: auto;
}

/* 文章样式 */
.article-content {
    font-size: 1rem;
    line-height: 1.8;
}

.article-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

/* 媒体查询 */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
} 