/* 赚钱理论 v1·互动程序·主样式 */
/* 沿用 v0 橙黄主题 #c2410c */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  line-height: 1.7;
  color: #1f2937;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  min-height: 100vh;
  font-size: 16px;
}

a { color: #c2410c; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 顶部导航 ===== */
.money-header {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #fff;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.money-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.money-logo {
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.money-subtitle {
  color: #fde68a;
  font-size: 0.95em;
}
.money-expert-link {
  color: #fff;
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.88em;
  font-weight: 600;
}
.money-expert-link:hover { background: rgba(255,255,255,0.28); text-decoration: none; }

/* ===== 进度条 ===== */
.money-progress {
  background: rgba(255,255,255,0.6);
  height: 8px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.money-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #d97706 0%, #ea580c 100%);
  transition: width 0.3s;
}
.money-progress-text {
  text-align: center;
  font-size: 0.82em;
  color: #92400e;
  margin-top: 4px;
  font-weight: 600;
}

/* ===== 容器 ===== */
.money-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* ===== 入口页（index.php）===== */
.money-hero {
  text-align: center;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 60px 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 2px solid #fb923c;
  box-shadow: 0 8px 30px rgba(234,88,12,0.12);
}
.money-hero h1 {
  font-size: 2.2em;
  color: #7c2d12;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.money-hero-sub {
  font-size: 1.05em;
  color: #9a3412;
  margin-bottom: 30px;
}
.money-hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 2.2em;
  font-weight: 800;
  color: #c2410c;
  line-height: 1;
}
.stat-label {
  font-size: 0.9em;
  color: #9a3412;
  margin-top: 4px;
}
.money-start-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #fff;
  padding: 18px 60px;
  border-radius: 12px;
  font-size: 1.3em;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(234,88,12,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.money-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(234,88,12,0.5);
  text-decoration: none;
}
.money-hero-tip {
  margin-top: 20px;
  font-size: 0.85em;
  color: #9a3412;
  opacity: 0.85;
}

/* 入口页 4 个特性卡片 */
.money-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.feature-card {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.feature-card h3 {
  color: #c2410c;
  font-size: 1.1em;
  margin-bottom: 8px;
}
.feature-card p {
  color: #57534e;
  font-size: 0.92em;
}

/* ===== 步骤页通用表单 ===== */
.money-form {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #fed7aa;
}
.money-step-title {
  font-size: 1.8em;
  color: #7c2d12;
  margin-bottom: 8px;
  font-weight: 700;
}
.money-step-sub {
  color: #78716c;
  font-size: 1em;
  margin-bottom: 24px;
}
.money-step-h2 {
  color: #c2410c;
  font-size: 1.3em;
  margin: 30px 0 12px;
  padding-top: 20px;
  border-top: 2px dashed #fed7aa;
}

/* ===== 选项卡片 ===== */
.money-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.money-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.money-options-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.money-option {
  cursor: pointer;
  display: block;
  position: relative;
}
.money-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.money-option-card {
  background: #fff;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.2s;
  height: 100%;
}
.money-option:hover .money-option-card {
  border-color: #fb923c;
  background: #fff7ed;
}
.money-option input:checked + .money-option-card {
  border-color: #c2410c;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  box-shadow: 0 4px 12px rgba(194,65,12,0.2);
}
.money-option-label {
  font-size: 1.05em;
  font-weight: 600;
  color: #292524;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.money-option-advice {
  margin-top: 8px;
  font-size: 0.88em;
  color: #9a3412;
}
.money-option-desc {
  margin-top: 6px;
  font-size: 0.85em;
  color: #78716c;
  line-height: 1.5;
}
.money-level-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #c2410c;
  color: #fff;
  border-radius: 4px;
  font-size: 0.72em;
  font-weight: 700;
}

/* ===== 4 把尺子分组 ===== */
.money-ruler-group {
  margin: 20px 0;
  padding: 16px;
  background: #fffbeb;
  border-radius: 10px;
  border-left: 4px solid #c2410c;
}
.money-ruler-group h3 {
  color: #7c2d12;
  font-size: 1.15em;
  margin-bottom: 4px;
}
.money-ruler-question {
  color: #78716c;
  font-size: 0.92em;
  margin-bottom: 12px;
}

/* ===== 4 堵墙分组 ===== */
.money-wall-group {
  margin: 20px 0;
  padding: 16px;
  background: #fef2f2;
  border-radius: 10px;
  border-left: 4px solid #dc2626;
}
.money-wall-group h3 {
  color: #7f1d1d;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.money-wall-essence {
  color: #78716c;
  font-size: 0.88em;
  margin-bottom: 12px;
}
.money-wall-options {
  display: flex;
  gap: 12px;
}
.money-wall-option {
  flex: 1;
  cursor: pointer;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid #fecaca;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: #57534e;
  transition: all 0.2s;
}
.money-wall-option:hover { border-color: #f87171; background: #fef2f2; }
.money-wall-option input { display: none; }
.money-wall-option:has(input:checked) {
  background: #fee2e2;
  border-color: #dc2626;
  color: #7f1d1d;
}

/* ===== 表单按钮 ===== */
.money-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #fed7aa;
  gap: 12px;
  flex-wrap: wrap;
}
.money-next-btn, .money-back-btn, .money-restart-btn, .money-expert-btn, .money-cta-btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: none;
  transition: all 0.2s;
}
.money-next-btn {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #fff;
  margin-left: auto;
}
.money-next-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(234,88,12,0.4); }
.money-next-btn-large { font-size: 1.15em; padding: 16px 40px; }
.money-back-btn {
  background: #fff;
  color: #78716c;
  border: 1px solid #d6d3d1;
}
.money-back-btn:hover { background: #f5f5f4; }

/* ===== 结果页 ===== */
.money-result {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #fed7aa;
}
.money-result-title {
  text-align: center;
  font-size: 2em;
  color: #7c2d12;
  margin-bottom: 30px;
  font-weight: 700;
}
.money-result-section {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 2px solid #fed7aa;
}
.money-result-section:first-of-type { border-top: none; }
.money-result-section h2 {
  color: #c2410c;
  font-size: 1.3em;
  margin-bottom: 14px;
}
.money-profile {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1.05em;
  color: #7c2d12;
  font-weight: 600;
}
.money-rulers-score, .money-walls-score {
  font-size: 1.1em;
  color: #57534e;
  margin-bottom: 16px;
}
.money-rulers-score strong, .money-walls-score strong {
  color: #c2410c;
  font-size: 1.3em;
  margin: 0 4px;
}
.money-rulers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.money-ruler-card {
  background: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.money-ruler-name {
  font-weight: 700;
  color: #7c2d12;
  margin-bottom: 8px;
  font-size: 0.95em;
}
.money-ruler-stars {
  color: #d97706;
  font-size: 1.3em;
  margin: 6px 0;
  letter-spacing: 2px;
}
.money-ruler-label {
  font-size: 0.85em;
  color: #78716c;
}
.money-rulers-advice, .money-walls-advice {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff7ed;
  border-left: 4px solid #c2410c;
  border-radius: 8px;
  font-size: 1em;
  color: #7c2d12;
}
.money-walls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.money-wall-card {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
}
.money-wall-card.broken {
  background: #f0fdf4;
  border-color: #86efac;
}
.money-wall-card.standing {
  background: #fef2f2;
  border-color: #fecaca;
}
.money-wall-status {
  font-weight: 700;
  font-size: 0.95em;
  margin-bottom: 4px;
}
.money-wall-card.broken .money-wall-status { color: #166534; }
.money-wall-card.standing .money-wall-status { color: #991b1b; }
.money-wall-name {
  font-weight: 700;
  color: #292524;
  font-size: 0.95em;
}
.money-wall-essence {
  font-size: 0.82em;
  color: #78716c;
  margin-top: 4px;
}
.money-match {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.money-match-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff7ed;
  border-radius: 8px;
}
.money-match-label {
  font-weight: 700;
  color: #c2410c;
  font-size: 0.95em;
}
.money-match-value {
  color: #292524;
  font-size: 1em;
  font-weight: 600;
}
.money-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}
.money-path-stage {
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border-radius: 10px;
  border-left: 4px solid #c2410c;
}
.money-path-label {
  font-weight: 800;
  color: #7c2d12;
  font-size: 1.1em;
  margin-bottom: 6px;
}
.money-path-content {
  color: #292524;
  line-height: 1.7;
  font-size: 0.95em;
}
.money-risks-list {
  list-style: none;
  padding: 0;
}
.money-risks-list li {
  padding: 12px 16px;
  margin: 8px 0;
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  color: #7f1d1d;
  font-size: 0.95em;
}
.money-result-cta {
  text-align: center;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #fb923c;
}
.money-cta-btn {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #fff;
  margin-top: 14px;
  font-size: 1.1em;
  padding: 14px 36px;
  box-shadow: 0 4px 14px rgba(234,88,12,0.3);
}
.money-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.money-topic-card {
  display: block;
  background: #fffbeb;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.money-topic-card:hover {
  border-color: #c2410c;
  background: #fff7ed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194,65,12,0.15);
  text-decoration: none;
}
.money-topic-title {
  font-weight: 700;
  color: #7c2d12;
  font-size: 1em;
  margin-bottom: 4px;
}
.money-topic-reason {
  font-size: 0.85em;
  color: #78716c;
}
.money-result-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #fed7aa;
  flex-wrap: wrap;
}
.money-restart-btn, .money-expert-btn {
  background: #fff;
  color: #c2410c;
  border: 2px solid #c2410c;
}
.money-restart-btn:hover, .money-expert-btn:hover {
  background: #c2410c;
  color: #fff;
  text-decoration: none;
}

/* ===== 底部 ===== */
.money-footer {
  text-align: center;
  padding: 30px 20px;
  color: #78716c;
  font-size: 0.88em;
}
.money-footer p {
  margin: 4px 0;
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .money-container { padding: 20px 12px 40px; }
  .money-hero { padding: 40px 20px; }
  .money-hero h1 { font-size: 1.6em; }
  .money-hero-stats { gap: 16px; }
  .stat-num { font-size: 1.6em; }
  .money-form { padding: 24px 18px; }
  .money-step-title { font-size: 1.4em; }
  .money-result { padding: 24px 18px; }
  .money-result-title { font-size: 1.5em; }
  .money-options-grid { grid-template-columns: 1fr; }
  .money-wall-options { flex-direction: column; }
  .money-form-actions { flex-direction: column; }
  .money-next-btn { margin-left: 0; width: 100%; }
  .money-back-btn { width: 100%; text-align: center; }
}
