/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 基础样式 */
body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.5;
}

/* 容器和间距 */
.main-container {
    padding-top: 1rem; /* 为顶部导航栏留出空间 */
    padding-bottom: 5rem; /* 为底部导航栏留出空间 */
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 768px;
    margin: 0 auto;
}

.section-spacing {
    margin-bottom: 3rem;
}

.top-spacing {
    margin-top: 2rem;
}

/* 文本样式 */
.heading-large {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.heading-medium {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.heading-small {
    font-size: 1rem;
    font-weight: 600;
}

.text-normal {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.text-small {
    color: #666;
    font-size: 0.875rem;
}

.text-xs {
    color: #888;
    font-size: 0.75rem;
}

.text-primary {
    color: #3b82f6;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: bold;
}

/* 按钮样式 */
.btn-primary {
    display: block;
    width: 100%;
    background-color: #3b82f6;
    color: white;
    padding: 1rem 0;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
}

/* 卡片和布局 */
.card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* 图标替代 */
.icon-container {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.icon-text::before {
    content: "📄";
    font-size: 1.25rem;
}

.icon-magic::before {
    content: "✨";
    font-size: 1.25rem;
}

.icon-hand::before {
    content: "👆";
    font-size: 1.25rem;
}

.icon-bolt::before {
    content: "⚡";
    font-size: 1.25rem;
}

.icon-shield::before {
    content: "🛡️";
    font-size: 1.25rem;
}

.icon-brain::before {
    content: "🧠";
    font-size: 1.25rem;
}

.icon-headset::before {
    content: "🎧";
    font-size: 1.25rem;
}

.icon-star::before {
    content: "⭐";
    font-size: 0.8rem;
}

/* 用户评价 */
.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-stars {
    color: #f59e0b;
    font-size: 0.8rem;
}

/* 图片样式 */
.rounded-lg {
    border-radius: 0.5rem;
}

.w-full {
    width: 100%;
}

.object-cover {
    object-fit: cover;
}

/* 统计数字 */
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
}

/* 响应式调整 */
@media (min-width: 640px) {
    .main-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .heading-large {
        font-size: 2rem;
    }
    
    .heading-medium {
        font-size: 1.5rem;
    }
}