/* 基础样式设置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
  text-decoration: none;
}

:root {
    --primary-color: #1565C0;
    --primary-light: #1E88E5;
    --primary-dark: #0D47A1;
    --secondary-color: #1e40af;
    --accent-color: #2196F3;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-tertiary: #666;
    --background-main: #F0F8FF;
    --background-light: #f5f7fa;
    --background-card: #FFFFFF;
    --success-color: #06D6A0;
    --warning-color: #FFD166;
    --danger-color: #FF6B6B;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 16px rgba(0,0,0,0.16);
    --border-radius: 8px;
    --spacing-unit: 8px;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-main);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 15px;
    padding-bottom: 60px; /* 为底部导航留出空间 */
    font-size: 14px;
    min-height: 100vh;
    margin: 0; /* 移除默认外边距 */
}

/* 主容器样式 */
.main-container {
    max-width: 820px; 
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-card);
    min-height: 100vh;
    position: relative;
}

/* 页面样式 */
.page {
    display: none; 
    height: 100%;
    padding-bottom: 5rem; 
}

.page.active {
    display: block;
}

/* 头部标题区域样式 */
.header-banner {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem; 
    text-align: center;
}

.header-banner h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700; 
    margin: 0;
    color: white;
}

.header-banner p {
    margin-top: 0.5rem; 
    opacity: 0.9;
    margin-bottom: 0;
    color: white;
}

/* 基础容器样式 */
.dashboard-container {
    padding: 1rem;
}

/* 功能卡片区域 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

/* 功能卡片样式 */
.feature-card {
    display: block;
    background-color: var(--background-card);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
}

/* 卡片图标容器 */
.feature-icon-container {
    width: 3rem;
    height: 3rem;
    background-color: #e0f2fe; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

/* 卡片图标样式 */
.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* 卡片标题样式 */
.feature-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin: 0;
    color: black; 
}

/* 卡片描述样式 */
.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* 数据概览区域 */
.data-overview {
    margin-top: 1.5rem;
    background-color: var(--background-card);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-light);
}

/* 数据概览标题栏 */
.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

/* 数据概览标题 */
.overview-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin: 0;
    color: blue; 
}

/* 数据指标网格 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* 数据指标项 */
.data-item {
    background-color: #eff6ff; /* 蓝色50 */
    padding: 0.75rem;
    border-radius: 0.5rem;
}

/* 数据指标标签 */
.data-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 数据指标值 */
.data-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

/* 使用提示区域 */
.usage-tip {
    margin-top: 1.5rem;
    background-color: #eff6ff; /* 蓝色50 */
    border-radius: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
}

/* 提示标题 */
.tip-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin: 0;
}

/* 提示图标 */
.tip-icon {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* 提示内容 */
.tip-content {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

h1 {
    color: var(--primary-color);
    text-align: center;
    margin: 15px 0;
    font-size: 1.5em;
}

h2 {
    color: var(--text-primary);
    margin: 15px 0 10px;
    font-size: 1.3em;
    font-weight: 500;
}

h3 {
    font-size: 1.1em;
}

/* 输入组样式 */
.input-group {
    background: var(--background-card);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 15px;
}

.input-item {
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-item label {
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="number"],
input[type="text"],
select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 16px; /* 防止iOS缩放 */
}

input[readonly] {
    background-color: #f0f8ff;
    border: 1px solid #1976D2;
    font-weight: bold;
}

/* 按钮样式 */
button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin: 10px 0;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.full-width-btn {
    display: block;
    width: 100%; /* 确保按钮宽度充满容器 */
    box-sizing: border-box; /* 防止padding影响总宽度 */
    margin: 0; /* 清除默认外边距 */
    padding: 8px 16px; /* 可选：添加内边距美化按钮 */
}

.upload-btn {
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border-radius: calc(var(--border-radius) / 2);
    cursor: pointer;
    display: inline-block;
    margin-top: calc(var(--spacing-unit) * 2);
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

.upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* 结果区域 */
#results {
    background: var(--background-card);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 15px 0;
    box-shadow: var(--shadow-light);
    overflow-x: auto;
}

/* 图表容器 */
canvas#priceChart {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
}

.chart-container {
    margin: calc(var(--spacing-unit) * 6) auto 0;
    height: 300px;
    width: 100%;
    background: var(--background-card);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease;
    font-size: 1.1rem;
}

/* 使用说明样式 */
.user-manual {
    background: var(--background-card);
    border-radius: var(--border-radius);
    margin: 15px 0;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.manual-header {
    background: var(--accent-color);
    color: white;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manual-content {
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.manual-content.active {
    max-height: 1000px;
    opacity: 1;
    padding: 15px;
}

/* 上传区域样式 */
.upload-section {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
    border: 2px dashed var(--primary-light);
    border-radius: var(--border-radius);
    margin-bottom: calc(var(--spacing-unit) * 4);
    transition: all 0.3s ease;
    background-color: rgba(21, 101, 192, 0.02);
}

.upload-section.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(21, 101, 192, 0.05);
    transform: scale(1.01);
}

.upload-section:hover {
    border-color: var(--primary-color);
    background-color: rgba(21, 101, 192, 0.05);
}

#fileInput {
    display: none;
}

/* 错误消息样式 */
.error-message {
    color: var(--danger-color);
    margin-top: calc(var(--spacing-unit) * 2);
    display: none;
    padding: calc(var(--spacing-unit) * 2);
    background-color: #FFEBEE;
    border-radius: calc(var(--border-radius) / 2);
    border: 1px solid #FFCDD2;
    animation: shake 0.5s ease-in-out;
    font-size: 1.1rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 统计网格样式 */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.stat-card {
    background: var(--background-card);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-card h3 {
    margin: 0 0 calc(var(--spacing-unit) * 2) 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.stat-card .value {
    font-size: 1.8em;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

/* 中间提示区域样式 */
.info-section {
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow-light);
}

.info-section p {
    color: #2E7D32;
    font-size: 16px;
    margin: 0;
}

/* 底部导航样式 */
.bottom-nav-container {
    position: fixed;
    bottom: 0;
    width: 100%; /* 优先全屏宽度，解决小屏幕适配问题 */
    max-width: 820px; /* 大屏幕限制最大宽度 */
    margin: 0 auto;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* 实际导航内容 */
.bottom-nav {
    width: 100%; /* 改为100%宽度，不再固定800px */
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.bottom-nav a {
    flex: 1; /* 平均分配空间 */
    min-width: 0; /* 允许内容收缩，关键修复点 */
    text-align: center;
    padding: 10px 0; /* 减少垂直内边距 */
    color: var(--text-tertiary);
    font-size: 12px; /* 缩小字体，适合手机屏幕 */
    text-decoration: none;
    border-top: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.bottom-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bottom-nav a.active {
    color: #333;
    font-weight: 500;
}

.bottom-nav a.active::after {
    transform: scaleX(1);
}

.bottom-nav a:hover {
    color: var(--accent-color);
    background-color: rgba(0,0,0,0.02);
}

.bottom-nav a i {
    display: block;
    font-size: 18px; /* 适当缩小图标 */
    margin-bottom: 2px; /* 减少图标与文字间距 */
    transition: transform 0.3s ease;
}

.bottom-nav a:hover i,
.bottom-nav a.active i {
    transform: translateY(-2px);
}

/* 针对超小屏幕的额外优化 */
@media (max-width: 360px) {
    .bottom-nav a {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .bottom-nav a i {
        font-size: 16px;
    }
}


/* 风险区域描述 */
.risk-zone-description {
    flex-direction: column;
    gap: 10px;
}

.risk-zone {
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    color: white;
}

/* 注意事项区域 */
.manual-section {
    background: var(--background-card);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin: 15px 0;
}

/* 特定规则说明 */
#abAverageExplanation,
#newBasePriceExplanation,
#threeWeightExplanation {
    background: #e3f2fd;
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 15px 0;
}

/* 响应式表格 */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 14px;
}

/* 横向滚动容器 */
.scroll-container {
    overflow-x: auto;
}

/* 工具类 */
.flex {
    display: flex;
}

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

.justify-center {
    justify-content: center;
}

.mr-2 {
    margin-right: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.font-medium {
    font-weight: 500;
}

.transition-colors {
    transition: background-color 0.3s ease;
}

.bg-primary {
    background-color: var(--accent-color);
}

.bg-dark {
    background-color: #1976D2;
}

.text-white {
    color: white;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results {
    display: none;
    margin-top: calc(var(--spacing-unit) * 6);
    animation: fadeIn 0.5s ease-out;
}

.cursor {
    display: inline-block;
    background-color: white;
    margin-left: 3px;
    width: 3px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 弹窗背景样式 */
.manual-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* 半透明黑色背景 */
}

/* 弹窗内容容器样式 */
.manual-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    position: relative;
    max-height: 80vh; /* 最大高度为视口高度的80% */
    overflow-y: auto; /* 内容超出时显示垂直滚动条 */
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); /* 添加阴影效果 */
}

/* 关闭按钮样式 */
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s; /* 颜色过渡效果 */
}

/* 关闭按钮悬停效果 */
.close-modal:hover,
.close-modal:focus {
    color: #000;
}

/* 弹窗标题样式 */
.manual-modal-content h3 {
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
}

/* 弹窗段落样式 */
.manual-modal-content p {
    line-height: 1.6;
    color: #34495e;
}

/* 弹窗中的强调文本样式 */
.manual-modal-content strong {
    color: #2c3e50;
}

/* 标题样式优化 */
.manual-content-scrollable h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #1565C0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .manual-modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

/* AI分析样式 */
.ai-analysis {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
}

/* 补充的样式 */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.gap-4 {
    gap: 16px;
}

.gap-3 {
    gap: 12px;
}

.mt-6 {
    margin-top: 24px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 12px;
}

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

.p-4 {
    padding: 16px;
}

.p-3 {
    padding: 12px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-between {
    justify-content: space-between;
}

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

.w-12 {
    width: 48px;
}

.h-12 {
    height: 48px;
}

.rounded-full {
    border-radius: 50%;
}

.text-xl {
    font-size: 20px;
}

.text-lg {
    font-size: 18px;
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.text-2xl {
    font-size: 24px;
}

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

.border-l-4 {
    border-left-width: 4px;
}

.mr-2 {
    margin-right: 8px;
}

.bg-blue-100 {
    background-color: rgba(33, 150, 243, 0.1);
}

.bg-blue-50 {
    background-color: rgba(33, 150, 243, 0.05);
}

.shadow-light {
    box-shadow: var(--shadow-light);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.data-update {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.bg-gradient-to-r {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

        /* 使用说明样式 */
        .user-manual {
            background: #fff;
            border-radius: 8px;
            margin: 20px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .manual-header {
            background: #2196F3;
            color: white;
            padding: 15px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }
        .manual-content {
            max-height: 0;
            opacity: 0;
            padding: 0 20px;
            transition: all 0.3s ease;
        }
        .manual-content.active {
            max-height: 1000px;
            opacity: 1;
            padding: 20px;
        }
        .arrow {
            transition: transform 0.3s ease;
            font-size: 0.8em;
        }
        .arrow.active {
            transform: rotate(180deg);
        }
        .user-manual h3 {
            color: #2c3e50;
            margin: 15px 0 10px;
        }
        .user-manual ul, .user-manual ol {
            padding-left: 20px;
            margin: 10px 0;
        }
        .user-manual li {
            margin: 8px 0;
            line-height: 1.4;
        }
        body {
            font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 900px;
            margin: 30px auto;
            padding: 20px;
            background-color: #f5f7fa;
        }
        .input-group {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 25px;
            transition: all 0.3s ease;
        }
        .input-group:hover {
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }
        .input-item {
            margin: 3px 0;
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        input[type="number"] {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            width: 100px;
        }
        button {
            background: #2196F3;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
        }
        button:hover {
            background: #1976D2;
        }
        #results {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        h1 {
            color: #1565C0;
            text-align: center;
            margin-bottom: 30px;
            font-size: 2em;
        }
        .input-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 15px;
        }

        @media (max-width: 768px) {
            .input-group {
                grid-template-columns: 1fr;
            }
            canvas#priceChart {
                width: 100%!important;
                height: auto!important;
            }
        }
        .container {
            max-width: 95%;
            margin: 10px auto;
        }
        
        .info-box {
            background: #e3f2fd;
            border-left: 4px solid #2196F3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .risk-zone-description {
            display: flex;
            margin: 15px 0;
            gap: 10px;
        }
        
        .risk-zone {
            flex: 1;
            padding: 12px;
            border-radius: 6px;
            text-align: center;
            color: white;
        }
        
        .risk-high {
            background-color: #FF6B6B;
        }
        
        .risk-medium {
            background-color: #FFD166;
        }
        
        .risk-low {
            background-color: #06D6A0;
        }

   /* 弹窗背景 */
    .manual-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }
    
    /* 弹窗内容容器 */
    .manual-modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 25px;
        border: 1px solid #888;
        width: 85%;
        max-width: 700px;
        position: relative;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    
    /* 关闭按钮 */
    .close-modal {
        position: absolute;
        right: 25px;
        top: 25px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .close-modal:hover {
        background: #e0e0e0;
    }
    
    /* 付费套餐样式 */
    /* 弹窗标题 */
    .modal-title {
        text-align: center;
        color: #2c3e50;
        margin-top: 0;
        margin-bottom: 25px;
        font-size: 18px;
        font-weight: 600;
    }
    
    /* 套餐网格布局 */
    .payment-plans {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    /* 套餐卡片样式 */
    .plan {
        border: 1px solid #e0e0e0;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        transition: box-shadow 0.3s;
        background: #f9f9f9;
        position: relative;
    }
    
    .plan:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .plan h4 {
        color: #2c3e50;
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 16px;
    }
    
    .plan .price {
        color: #e74c3c;
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0;
    }
    
    .plan .price small {
        font-size: 12px;
        color: #666;
        font-weight: normal;
    }
    
    .plan .description {
        color: #666;
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .plan button {
        padding: 8px 20px;
        background-color: #3B82F6;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background 0.3s;
        font-size: 14px;
    }
    
    .plan button:hover {
        background-color: #2563EB;
    }
    
    /* 套餐标签 */
    .plan-tag {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 2px 12px;
        border-radius: 12px;
        color: white;
        font-size: 12px;
    }
    
    .tag-popular {
        background: #2ecc71;
    }
    
    .tag-value {
        background: #9b59b6;
    }
    
    /* 微信联系区域 */
    .wechat-contact {
        background: #f7f9fc;
        padding: 20px;
        border-radius: 8px;
        margin-top: 15px;
    }
    
    .contact-title {
        text-align: center;
        color: #2c3e50;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: 600;
    }
    
    .contact-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .wechat-info, .wechat-qrcode {
        text-align: center;
        flex: 1;
        min-width: 150px;
    }
    
    .wechat-icon {
        width: 60px;
        height: 60px;
        background: #2ecc71;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px;
        box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    }
    
    .wechat-icon i {
        color: white;
        font-size: 30px;
    }
    
    .wechat-label {
        color: #666;
        font-size: 13px;
        margin: 0 0 5px;
    }
    
    .wechat-id {
        color: #e74c3c;
        font-weight: bold;
        margin: 0;
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .wechat-note {
        color: #7f8c8d;
        font-size: 12px;
        margin: 8px 0 0;
    }
    
    .qrcode-container {
        border: 3px solid white;
        padding: 8px;
        display: inline-block;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .qrcode-image {
        width: 140px;
        height: 140px;
        display: block;
    }
    
    .qrcode-label {
        color: #666;
        font-size: 13px;
        margin-top: 12px;
        font-weight: 500;
    }
    
    .qrcode-note {
        color: #7f8c8d;
        font-size: 12px;
        margin: 5px 0 0;
    }