/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

/* 确保所有图片和媒体元素自适应 */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* 使用免费商用字体 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
 /*  overflow-x: hidden; */     /* 防止水平滚动条 */
  /* overflow-y: hidden;  */   /* 新增防止垂直滚动条 */
  width: 100%;
  max-width: 100vw; /* 确保不超过视口宽度 */
}

/* 容器 */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
   overflow-x: hidden; overflow-y: hidden; /* 防止内容溢出 */
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* 英雄区域 */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: #fbbf24;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.feature-icon {
  font-size: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 20px;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button.primary {
  background: #fbbf24;
  color: #1f2937;
}

.cta-button.primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #667eea;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 通用区域样式 */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #1f2937;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 50px;
}

/* 痛点分析 */
.problems {
  background: #f9fafb;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.problem-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.problem-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* 解决方案 */
.solutions {
  background: white;
}

.solution-main {
  text-align: center;
  margin-bottom: 50px;
}

.solution-main h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2563eb;
}

.solution-desc {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.solution-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid #2563eb;
}

.solution-card h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #1f2937;
}

.solution-card ul {
  list-style: none;
}

.solution-card li {
  padding: 8px 0;
  color: #4b5563;
  position: relative;
  padding-left: 20px;
}

.solution-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* 免费群体 */
.free-groups {
  background: #f0f9ff;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.group-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.group-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.group-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.group-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.group-card p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* 收益模式 */
.benefits {
  background: white;
}

.benefit-section {
  margin-bottom: 60px;
}

.benefit-section h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1f2937;
  text-align: center;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.benefit-card h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.benefit-rate {
  font-size: 3rem;
  font-weight: bold;
  margin: 20px 0;
  color: #fbbf24;
}

.benefit-card p {
  margin: 10px 0;
  opacity: 0.9;
}

/* 奖励规则 */
.rewards-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.reward-structure h3,
.reward-rules h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #1f2937;
  text-align: center;
}

.structure-diagram {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.level {
  margin-bottom: 30px;
  position: relative;
}

.level::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 15px;
  background: #2563eb;
}

.level:last-child::after {
  display: none;
}

.user-node {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.level-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.user-type {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.reward {
  font-size: 0.9rem;
  opacity: 0.9;
}

.rules-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rule-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: #e5e7eb;
}

.rule-header {
  background: #2563eb;
  color: white;
}

.rule-header .rule-cell {
  font-weight: bold;
}

.rule-cell {
  background: white;
  padding: 15px 10px;
  text-align: center;
  font-size: 0.9rem;
}

.rule-header .rule-cell {
  background: #2563eb;
}


/* 响应式调整 - 移动端适配 */
@media (max-width: 768px) {
  /* 奖励内容区域改为单列布局 */
  .rewards-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  
  /* 规则表格改为两列布局，实现自动换行 */
  .rule-row {
    grid-template-columns: 1fr 1fr;
  }
  
  /* 调整表头和单元格样式，适应小屏幕 */
  .rule-cell {
    padding: 12px 8px;
    font-size: 0.85rem;
  }
  
  /* 调整等级3的布局，适应小屏幕 */
  .level-3 {
    gap: 15px;
  }
  
  /* 调整标题大小 */
  .reward-structure h3,
  .reward-rules h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* 调整结构图表的内边距 */
  .structure-diagram {
    padding: 20px 15px;
  }
}


















/* 奖励表格 */
.reward-table {
  background: white;
  border-radius: 15px;
  overflow: hidden; /* 保持边框圆角 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #3b82f6; /* 蓝色边框 */
  /* 添加悬浮在顶部的样式 */
  position: sticky;
  top: 70px; /* 导航栏高度 */
  z-index: 999;
  width: 100%; /* 确保表格占满容器宽度 */
  max-width: 100%; /* 防止表格溢出父容器 */
  box-sizing: border-box; /* 确保边框不会增加元素宽度 */
}

/* 添加内部滚动容器 */
.reward-table-inner {
  overflow-x: auto; /* 允许水平滚动 */
  -webkit-overflow-scrolling: touch; /* 提升移动设备滚动体验 */
  width: 100%; /* 确保容器占满父元素宽度 */
  display: block; /* 确保容器是块级元素 */
}

.reward-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 2fr 3fr;
  gap: 20px;
  padding: 20px;
  border-bottom: 2px solid #3b82f6; /* 蓝色边框 */
  min-width: 800px; /* 设置最小宽度确保内容不会挤压 */
}

.reward-row1 {
  display: grid;
  grid-template-columns: 1fr; /* 单列布局 */
  gap: 20px;
  padding: 20px;
  border-bottom: 2px solid #3b82f6; /* 蓝色边框 */
}

 .reward-row.header {
  background: #dbeafe;
  font-weight: bold;
  color: #1e40af;
  border-bottom: 2px solid #3b82f6; /* 蓝色边框 */
  position: sticky;
  z-index: 1000;
} 




.reward-row:last-child {
  border-bottom: 2px solid #3b82f6; /* 蓝色边框 */
}

/* 为表格单元格添加边框 */
.reward-row > div,
.reward-row1 > div {
  border-right: 2px solid #93c5fd; /* 浅蓝色右边框 */
  padding: 8px; /* 增加内边距 */
  word-wrap: break-word; /* 允许长文本换行 */
  overflow-wrap: break-word;
  word-break: break-word; /* 在任何可能的断点处换行 */
  hyphens: auto; /* 自动添加连字符 */
  min-width: 0; /* 防止内容溢出 */
  box-sizing: border-box; /* 确保内边距不会增加元素宽度 */
  max-width: 100%; /* 确保不超过容器宽度 */
}

.reward-row > div:last-child,
.reward-row1 > div:last-child {
  border-right: none; /* 最后一列不显示右边框 */
}

/* 为每行添加不同的边框颜色 */
.reward-table .reward-row:nth-child(2) {
  border-bottom-color: #ef4444; /* 红色 */
}

.reward-table .reward-row:nth-child(3) {
  border-bottom-color: #f97316; /* 橙色 */
}

.reward-table .reward-row:nth-child(4) {
  border-bottom-color: #eab308; /* 黄色 */
}

.reward-table .reward-row:nth-child(5) {
  border-bottom-color: #22c55e; /* 绿色 */
}

.reward-table .reward-row:nth-child(6) {
  border-bottom-color: #06b6d4; /* 青色 */
}

.reward-table .reward-row:nth-child(7) {
  border-bottom-color: #8b5cf6; /* 紫色 */
}

.reward-table .reward-row:nth-child(8) {
  border-bottom-color: #ec4899; /* 粉色 */
}

.reward-table .reward-row:nth-child(9) {
  border-bottom-color: #f43f5e; /* 玫红色 */
}

.reward-table .reward-row:nth-child(10) {
  border-bottom-color: #64748b; /* 灰色 */
}

.reward-table .reward-row:nth-child(11) {
  border-bottom-color: #14b8a6; /* 绿松石色 */
}

.reward-table .reward-row:nth-child(12) {
  border-bottom-color: #a855f7; /* 紫罗兰色 */
}

.reward-table .reward-row:nth-child(13) {
  border-bottom-color: #0ea5e9; /* 天蓝色 */
}

.reward-table .reward-row:nth-child(14) {
  border-bottom-color: #f59e0b; /* 琥珀色 */
}

.reward-table .reward-row:nth-child(15) {
  border-bottom-color: #8b5cf6; /* 紫色 */
}

.reward-table .reward-row1 {
  border-bottom-color: #ec4899; /* 粉色 */
}

/* 规则卡片 */
.rule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.rule-card {
  background: #fef3c7;
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #f59e0b;
}

.rule-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #92400e;
}

.rule-card p {
  color: #78350f;
}

/* 计算器 */
.calculator {
  background: #f9fafb;
}

.calculator-note {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}

.calculator-inputs {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 30px;
}

.input-group label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1f2937;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider {
  flex: 1;
  height: 8px;
  border-radius: 5px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: none;
}

.slider-value {
  font-weight: bold;
  color: #2563eb;
  min-width: 60px;
  text-align: center;
}

.calculator-results {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
}

.result-card {
  text-align: center;
  margin-bottom: 30px;
}

.result-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.result-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fbbf24;
}

.result-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  opacity: 0.9;
}

.calculator-disclaimer {
  background: #fef3c7;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #92400e;
  font-weight: 500;
}

/* 公益价值 */
.charity {
  background: #ecfdf5;
}

.charity-main {
  text-align: center;
  margin-bottom: 50px;
}

.charity-main h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #059669;
}

.charity-main p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
}

.charity-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.value-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #059669;
}

.value-card p {
  color: #6b7280;
  line-height: 1.6;
}

.charity-impact h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  color: #1f2937;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.impact-item {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.impact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #059669;
}

.impact-item p {
  color: #6b7280;
}

/* 平台优势 */
.advantages {
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.advantage-card:hover {
  border-color: #2563eb;
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.advantage-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.advantage-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* 联系我们 */
.contact {
  background: #f9fafb;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info {
  display: grid;
  gap: 30px;
}

.contact-item h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.contact-item p {
  color: #6b7280;
  margin-bottom: 5px;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.qr-item p {
  font-weight: 500;
  color: #1f2937;
}

/* 页脚 */
.footer {
  background: #1f2937;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-disclaimer {
  margin-bottom: 30px;
}

.footer-disclaimer p {
  color: #9ca3af;
  margin-bottom: 10px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.legal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
}

.legal-icon {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  border-top: 1px solid #374151;
  padding-top: 20px;
  color: #9ca3af;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

/* 确保在移动设备上也能正确显示 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-title {
    font-size: 2rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .groups-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .benefit-cards {
    grid-template-columns: 1fr;
  }

  /* 移动端表格适配 - 保持表格结构，使用水平滚动 */
  .reward-table {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  
  /* 确保内部滚动容器正常工作 */
  .reward-table-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  
  /* 保持表格行结构不变 */
  .reward-row {
    min-width: 800px;
  }

  .calculator-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-qr {
    flex-direction: row;
    justify-content: space-around;
  }

  .footer-legal {
    flex-direction: column;
    gap: 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .groups-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .contact-qr {
    flex-direction: column;
    align-items: center;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}
