/* 基础样式 */
html,body{
    
  padding:0;
  margin:0;
}
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background: #4CAF50;
  padding: 20px 0;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 15px;
}

.logo h1 {
  color: white;
  font-size: 24px;
}

/* 导航菜单 */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* 菜单切换按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 20px;
}

/* 横向布局 */
.grid.horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.grid.horizontal .card {
  flex: 1;
  min-width: 300px;
}

/* 卡片样式 */
.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card h3 {
  color: #4CAF50;
  margin-top: 0;
}

/* 二维码区域 */
.qrcode-section {
  display: flex;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.qrcode {
  width: 150px;
  height: 150px;
  margin-right: 30px;
}

.cta-text h3 {
  color: #4CAF50;
  margin-top: 0;
}

.cta-text p {
  margin: 10px 0;
  color: #666;
}

/* 按钮样式 */
.cta-button {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  margin-top: 20px;
}

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table th,
table td {
  padding: 12px 15px;
  text-align: left;
}

table th {
  background-color: #4CAF50;
  color: white;
  font-weight: 600;
}

table tr {
  border-bottom: 1px solid #ddd;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:last-child {
  border-bottom: 2px solid #4CAF50;
}

/* 加盟流程样式 */
.steps {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.step {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.step .number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.step h3 {
  color: #4CAF50;
  margin: 15px 0 10px;
}

.step p {
  color: #666;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .logo {
    margin-bottom: 0;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #4CAF50;
    padding: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    margin: 15px 0;
  }

  .steps {
    flex-direction: column;
    gap: 20px;
  }
  
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .grid.horizontal {
    flex-direction: column;
  }
  
  .qrcode-section {
    flex-direction: column;
    text-align: center;
  }
  
  .qrcode {
    margin: 0 0 20px 0;
  }
}
