/* ============================================
   绿启未来工坊 v3 组件样式
   小团队微型技术服务版 —— 与 css/style.css 并存，
   只放新增组件，不改原有设计令牌。
   ============================================ */

/* ---------- 通用：标签 ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(0, 113, 227, 0.07); color: #005BBF; letter-spacing: 0.01em;
}
.tag--green { background: rgba(52, 199, 89, 0.1); color: var(--accent-green-on-light); }
.tag--purple { background: rgba(175, 82, 222, 0.09); color: #8B3EC4; }
.tag--orange { background: rgba(255, 149, 0, 0.1); color: #B56500; }
.tag--gray { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border-lighter); }

/* ---------- 数据条（Hero 下方 / 证据页顶部） ---------- */
.proof-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 16px;
  max-width: 1040px; margin: 40px auto 0;
}
.proof-item {
  background: var(--bg-secondary); border-radius: 16px;
  padding: 20px 16px; text-align: center;
}
.proof-num {
  display: block; font-family: var(--font-display);
  font-size: 30px; font-weight: 700; color: var(--accent-blue);
  letter-spacing: -0.02em; line-height: 1.1;
}
.proof-label { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 6px; line-height: 1.5; }
@media (max-width: 480px) { .proof-strip { grid-template-columns: 1fr; } }

/* ---------- 痛点清单 ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 834px) { .problem-grid { grid-template-columns: 1fr; max-width: 560px; } }
.problem-item {
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-left: 3px solid #FF3B30; border-radius: 12px;
  padding: 18px 20px;
}
.problem-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); line-height: 1.4; }
.problem-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 主线能力卡（01/02/03） ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; max-width: 560px; } }
.cap-card {
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 20px; padding: 30px 26px 28px; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cap-card--featured { border-color: var(--accent-blue); box-shadow: var(--shadow-md); }
.cap-no {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--accent-blue); margin-bottom: 12px;
}
.cap-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cap-card .cap-price { font-size: 15px; font-weight: 700; color: var(--accent-blue); margin-bottom: 12px; }
.cap-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.cap-list { list-style: none; padding: 0; margin: 14px 0 0; }
.cap-list li {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
  padding: 4px 0 4px 18px; position: relative;
}
.cap-list li::before {
  content: ''; position: absolute; left: 2px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-blue);
}
.cap-card .btn { margin-top: 18px; font-size: 14px; padding: 10px 18px; }

/* ---------- 120% 交付承诺 ---------- */
.promise-wrap { max-width: 900px; margin: 0 auto; }
.promise-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border-lighter);
}
.promise-item:last-child { border-bottom: none; }
.promise-mark {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #0071E3, #34C759); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.promise-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.promise-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.promise-item p a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- GitHub 证据卡 ---------- */
.repo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .repo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .repo-grid { grid-template-columns: 1fr; } }
.repo-card {
  display: flex; flex-direction: column;
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 16px; padding: 22px 22px 20px;
  text-decoration: none; color: inherit;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.repo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.repo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.repo-icon { font-size: 20px; line-height: 1; }
.repo-name {
  font-family: "SF Mono", "Consolas", "Menlo", monospace;
  font-size: 15px; font-weight: 600; color: var(--accent-blue);
  word-break: break-all;
}
.repo-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.repo-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-lighter);
  font-size: 12px; color: var(--text-tertiary);
}
.repo-lang { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--text-secondary); }
.repo-lang::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text-tertiary); }
.repo-lang--python::before { background: #3572A5; }
.repo-lang--shell::before { background: #89E051; }
.repo-lang--powershell::before { background: #012456; }
.repo-lang--go::before { background: #00ADD8; }
.repo-license { border: 1px solid var(--border-light); border-radius: 4px; padding: 1px 6px; }

/* ---------- 价格表 ---------- */
.price-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.price-table th {
  background: var(--bg-dark-secondary); color: var(--text-white);
  padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.price-table th:first-child { border-radius: 12px 0 0 0; }
.price-table th:last-child { border-radius: 0 12px 0 0; text-align: right; }
.price-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--border-lighter);
  color: var(--text-secondary); vertical-align: top; line-height: 1.6;
}
.price-table td:first-child { color: var(--text-primary); font-weight: 600; }
.price-table td:last-child { text-align: right; }
.price-table .price-num { font-size: 17px; font-weight: 700; color: var(--accent-blue); white-space: nowrap; }
.price-table tr:nth-child(even) td { background: var(--bg-tertiary); }
.price-table tbody tr:last-child td { border-bottom: none; }

/* ---------- 合作流程 ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow-steps { grid-template-columns: 1fr; } }
.flow-step {
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 16px; padding: 20px 18px;
}
.flow-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-blue-light); color: var(--accent-blue);
  font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.flow-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 案例精简卡 ---------- */
.case-lite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .case-lite-grid { grid-template-columns: 1fr; max-width: 560px; } }
.case-lite {
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column;
}
.case-lite h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.case-lite p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; flex: 1; }
.case-lite .case-result {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-lighter);
  font-size: 13px; font-weight: 600; color: var(--accent-green-on-light); line-height: 1.6;
}

/* ---------- 次要业务条（弱化的个人家庭业务） ---------- */
.aside-strip {
  max-width: 1040px; margin: 40px auto 0; padding: 20px 24px;
  background: var(--bg-secondary); border-radius: 14px;
  border: 1px dashed var(--border-light);
}
.aside-strip h3 { font-size: 15px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.aside-strip p { font-size: 13.5px; color: var(--text-tertiary); line-height: 1.7; }
.aside-strip a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 深挖能力块（能力页用） ---------- */
.deep-block {
  max-width: 900px; margin: 0 auto 24px;
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 20px; padding: 32px 34px;
}
.deep-block h2 { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.deep-block .deep-sub { font-size: 15px; color: var(--accent-blue); font-weight: 600; margin-bottom: 16px; }
.deep-block p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.deep-block ul, .deep-block ol { padding-left: 22px; margin-bottom: 14px; }
.deep-block li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.deep-block code {
  font-family: "SF Mono", "Consolas", "Menlo", monospace; font-size: 13.5px;
  background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px; color: #C7254E;
}
.deep-block .deep-proof {
  margin-top: 18px; padding: 16px 18px; border-radius: 12px;
  background: var(--accent-green-light); border: 1px solid var(--accent-green);
  font-size: 14px; color: var(--text-primary); line-height: 1.7;
}
.deep-block .deep-proof strong { color: var(--accent-green-on-light); }
@media (max-width: 600px) { .deep-block { padding: 24px 20px; } }

/* ---------- 引语 / 前言 ---------- */
.lead-quote {
  max-width: 780px; margin: 0 auto 44px; text-align: center;
  font-size: 19px; line-height: 1.75; color: var(--text-secondary);
}
.lead-quote strong { color: var(--text-primary); }

/* ---------- 报价说明 ---------- */
.price-note {
  max-width: 900px; margin: 20px auto 0; font-size: 13px;
  color: var(--text-tertiary); line-height: 1.7; text-align: center;
}

/* ---------- 从业经历时间线 ---------- */
.career-timeline { max-width: 780px; margin: 0 auto; }
.career-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px dashed var(--border-lighter);
}
.career-item:last-child { border-bottom: none; }
.career-badge {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-blue-light); color: var(--accent-blue);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.career-item--highlight .career-badge { background: var(--accent-green-light); color: var(--accent-green-on-light); }
.career-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.career-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.career-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px; margin-left: 8px;
  background: var(--accent-green-light); color: var(--accent-green-on-light);
  vertical-align: 2px;
}
@media (max-width: 600px) {
  .career-item { gap: 12px; padding: 16px 0; }
  .career-body h3 { font-size: 15px; }
}

/* ---------- 可查验凭证卡（芝麻工作证） ---------- */
.credential-card {
  display: flex; gap: 40px; align-items: flex-start;
  max-width: 900px; margin: 0 auto;
  background: var(--bg-primary); border: 1px solid var(--border-lighter);
  border-radius: 20px; padding: 32px; box-shadow: var(--shadow-sm);
}
.credential-img { flex-shrink: 0; width: 300px; max-width: 100%; }
.credential-img img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--border-lighter);
  box-shadow: var(--shadow-md);
}
.credential-caption {
  font-size: 12px; color: var(--text-tertiary);
  text-align: center; margin-top: 10px; line-height: 1.6;
}
.credential-text h3 { font-size: 20px; font-weight: 600; margin-bottom: 14px; line-height: 1.4; }
.credential-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.credential-text p:last-child { margin-bottom: 0; }
@media (max-width: 834px) {
  .credential-card { flex-direction: column; gap: 24px; padding: 24px 20px; }
  .credential-img { width: 100%; max-width: 300px; margin: 0 auto; }
}

/* ---------- 检查清单 ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; padding: 6px 0;
}
.check-item::before {
  content: '✓'; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-green-light); color: var(--accent-green-on-light);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
