/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #333;
  background: #f5f6fa;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== Header ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #ff6b35;
}
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 15px;
  color: #555;
  transition: color .2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav-login {
  /* 与导航栏其他按钮保持相同字体样式 */
}
.nav-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 5px;
  margin-left: 4px;
  vertical-align: middle;
  display: none;
}
.nav-badge.show { display: inline-block; }
.nav a:hover, .nav a.active {
  color: #ff6b35;
  border-bottom-color: #ff6b35;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ffa94d 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
.hero .subtitle { font-size: 20px; opacity: 0.95; margin-bottom: 12px; }
.hero .tagline { font-size: 16px; opacity: 0.85; margin-bottom: 36px; }
.btn-primary {
  display: inline-block;
  background: #fff;
  color: #ff6b35;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(255,107,53,0.3);
  cursor: pointer;
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,53,0.4); }

/* ===== Section Common ===== */
.section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.section-desc { text-align: center; color: #888; font-size: 16px; margin-bottom: 48px; }

/* ===== Advantages ===== */
.advantages { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: all .3s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: #ff6b35; }
.adv-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #fff3ed, #ffe8db);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}
.adv-card h3 { font-size: 18px; color: #1a1a1a; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: #888; line-height: 1.8; }

/* ===== Process ===== */
.process { background: #fafbfc; }
.process-steps { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 220px; max-width: 260px;
  text-align: center; position: relative;
}
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #ff6b35, #ff8c5a);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin: 0 auto 16px;
}
.step h4 { font-size: 16px; color: #1a1a1a; margin-bottom: 6px; }
.step p { font-size: 13px; color: #999; }
.step-arrow {
  position: absolute;
  right: -30px;
  top: 18px;
  font-size: 20px;
  color: #ddd;
}
.step:last-child .step-arrow { display: none; }

/* ===== Cases ===== */
.cases { background: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-card {
  background: #fafbfc;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all .3s;
}
.case-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.case-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #ff6b35, #ffa94d);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  margin: 0 auto 16px;
}
.case-card h4 { font-size: 16px; margin-bottom: 6px; }
.case-card .case-tag { font-size: 12px; color: #ff6b35; background: #fff3ed; display: inline-block; padding: 2px 10px; border-radius: 20px; margin-bottom: 10px; }
.case-card .case-growth { font-size: 14px; color: #666; margin-top: 8px; }
.case-growth strong { color: #ff6b35; font-size: 20px; }

/* ===== Join Form Page ===== */
.join-section { background: #f5f6fa; padding: 48px 24px 72px; }
.join-form-wrap { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 48px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.join-form-wrap h2 { text-align: center; font-size: 26px; margin-bottom: 8px; color: #1a1a1a; }
.join-form-wrap .form-subtitle { text-align: center; color: #999; font-size: 14px; margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.form-group label .required { color: #ff6b35; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  transition: border-color .3s;
  font-family: inherit;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #ff6b35; box-shadow: 0 0 0 3px rgba(255,107,53,0.1); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff6b35, #ff8c5a);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s;
  margin-top: 8px;
}
.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,53,0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-notice {
  margin-top: 32px;
  padding: 20px;
  background: #fffbf0;
  border: 1px solid #ffe8b5;
  border-radius: 10px;
  font-size: 13px;
  color: #8a6d3b;
  line-height: 1.8;
}
.form-notice h4 { font-size: 15px; margin-bottom: 10px; color: #5c4811; }
.form-error { color: #e74c3c; font-size: 13px; margin-top: 4px; display: none; }

/* Toast */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  padding: 14px 28px; border-radius: 12px; color: #fff; font-size: 15px;
  z-index: 9999; display: none; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.toast.success { background: #27ae60; }
.toast.error { background: #e74c3c; }

/* ===== Agreements Page ===== */
.agreements-section { padding: 48px 24px 72px; }
.agreements-wrap { max-width: 900px; margin: 0 auto; }
.agreement-tabs { display: flex; gap: 0; margin-bottom: 32px; border-bottom: 2px solid #eee; }
.agreement-tab {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.agreement-tab:hover { color: #ff6b35; }
.agreement-tab.active { color: #ff6b35; border-bottom-color: #ff6b35; }
.agreement-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  line-height: 1.9;
  font-size: 15px;
  color: #444;
}
.agreement-content h2 { font-size: 22px; color: #1a1a1a; margin-bottom: 24px; text-align: center; }
.agreement-content h3 { font-size: 17px; color: #333; margin: 24px 0 12px; }
.agreement-content p { margin-bottom: 14px; }
.agreement-content .update-date { text-align: right; color: #999; font-size: 13px; margin-top: 32px; }

/* ===== About Page ===== */
.about-section { padding: 48px 24px 72px; }
.about-wrap { max-width: 900px; margin: 0 auto; }
.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.about-card h2 { font-size: 22px; color: #1a1a1a; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #ff6b35; display: inline-block; }
.about-card p { font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 12px; }
.about-card .info-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: baseline; }
.about-card .info-label { font-weight: 600; color: #333; min-width: 80px; font-size: 15px; }
.about-card .info-value { color: #555; font-size: 15px; }
.qual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fff4;
  border: 1px solid #b7ebd0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: #27ae60;
  margin: 4px;
}
.map-placeholder {
  width: 100%;
  height: 300px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  margin-top: 16px;
}

/* ===== Help Page ===== */
.help-section { padding: 48px 24px 72px; }
.help-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
}
.faq-question {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: #fafbfc; }
.faq-arrow {
  width: 28px; height: 28px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: #fff3ed; color: #ff6b35; }
.faq-answer {
  padding: 0 28px 20px;
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ===== Footer ===== */
.footer {
  background: #f5f5f5;
  color: #666;
  padding: 48px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: #333; font-size: 16px; margin-bottom: 16px; }
.footer-col p, .footer-col li { font-size: 13px; line-height: 2; }
.footer-col a { color: #666; transition: color .2s; }
.footer-col a:hover { color: #ff6b35; }
.footer-divider { border-top: 1px solid #ddd; padding-top: 24px; text-align: center; font-size: 12px; }
.footer-divider p { margin-bottom: 8px; }
.beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #999;
  font-size: 12px;
}
.beian:hover { color: #666; }
.footer-qrcode {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  border: 2px solid #ddd;
  flex-shrink: 0;
}
.footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 4px;
}
.footer-brand-row p {
  flex: 1;
  line-height: 1.6;
  margin: 0;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #fff;
}
.modal h3 { font-size: 20px; color: #1a1a1a; margin-bottom: 10px; }
.modal p { font-size: 15px; color: #666; margin-bottom: 24px; line-height: 1.8; }
.modal .btn-close {
  padding: 12px 40px;
  background: #ff6b35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

/* ===== Page Header (for sub-pages) ===== */
.page-header {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  padding: 48px 24px;
  text-align: center;
  color: #fff;
}
.page-header h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-header p { font-size: 16px; opacity: 0.9; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 16px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; align-items: center; }
  .step { max-width: none; }
  .step-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .join-form-wrap { padding: 28px 20px; }
  .agreement-tab { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .nav { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 16px; }
}
