/* ==========================================================================
   about.css — 关于站长页面专属样式（独立文件，不影响其他页面）
   风格与全站一致：墨绿 + 铜金 + 等宽数字
   ========================================================================== */

/* ---------- 头像 + 数据 ---------- */
.ab-main { padding: 26px 0 30px; }

.ab-hero {
  display: flex; align-items: center; gap: 40px;
  background: #fff; border: 1px solid var(--line, #e5e9e5); border-radius: 20px;
  padding: 40px 44px; box-shadow: 0 10px 34px rgba(20, 86, 62, .07);
}
.ab-avatar-wrap { flex: none; text-align: center; }
.ab-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 132px; height: 132px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green, #14563e), #1e7a5a);
  color: #fff; font-size: 54px; font-weight: 700;
  border: 4px solid #fff; box-shadow: 0 10px 26px rgba(20, 86, 62, .28);
}
.ab-badge-open {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 12.5px; font-weight: 600; color: #14563e;
  background: #eaf3ec; border-radius: 14px; padding: 5px 13px;
}
.ab-badge-open i { color: #1e9e6f; }
.ab-hero-body { flex: 1; min-width: 0; }
.ab-hero-body h2 { display: flex; align-items: baseline; gap: 12px; font-size: 30px; font-weight: 700; color: var(--ink, #1c2b24); margin: 0 0 8px; }
.ab-en { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: #a9b4ad; letter-spacing: 2px; }
.ab-role { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: var(--copper, #b87f3e); font-weight: 600; margin: 0 0 12px; }
.ab-brief { font-size: 14.5px; line-height: 1.9; color: #3a4b42; margin: 0 0 20px; }
.ab-brief b { color: var(--green, #14563e); }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab-stat {
  background: #f6faf7; border: 1px solid var(--line, #e5e9e5); border-radius: 14px;
  padding: 14px 10px; text-align: center;
}
.ab-stat b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; color: var(--green, #14563e); }
.ab-stat span { font-size: 12px; color: #7a8a7f; }

/* ---------- 图文自述 ---------- */
.ab-story {
  display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start;
  background: #fff; border: 1px solid var(--line, #e5e9e5); border-radius: 20px;
  padding: 36px 40px; margin-top: 30px; box-shadow: 0 10px 34px rgba(20, 86, 62, .07);
}
.ab-story-img { position: relative; border-radius: 16px; overflow: hidden; }
.ab-story-img img { width: 100%; display: block; border-radius: 16px; transition: transform .5s; }
.ab-story:hover .ab-story-img img { transform: scale(1.04); }
.ab-story-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-size: 12px; color: #fff; background: rgba(15, 40, 30, .62);
  backdrop-filter: blur(4px); border-radius: 10px; padding: 7px 12px;
}
.ab-story-text h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--ink, #1c2b24); margin: 0 0 10px; }
.ab-story-text h3 i { color: var(--copper, #b87f3e); }
.ab-story-text h3:not(:first-child) { margin-top: 22px; }
.ab-story-text p { font-size: 14.5px; line-height: 1.9; color: #3a4b42; margin: 0 0 6px; }
.ab-story-text .btn-site { margin-top: 16px; }

/* ---------- 分组标题 ---------- */
.ab-section-h { margin: 46px 0 24px; }
.ab-section-h h2 { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 700; color: var(--ink, #1c2b24); margin: 0 0 6px; }
.ab-section-h h2 i { color: var(--copper, #b87f3e); }
.ab-section-h p { font-size: 13.5px; color: #7a8a7f; margin: 0; }

/* ---------- 时间线 ---------- */
.ab-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.ab-timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#1e7a5a, #b87f3e); border-radius: 2px; opacity: .35; }
.ab-timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 26px 18px; }
.ab-timeline li:last-child { padding-bottom: 0; }
.ab-timeline li::before {
  content: ''; position: absolute; left: -17px; top: 7px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 3px solid var(--green, #14563e);
  box-shadow: 0 0 0 3px rgba(20, 86, 62, .12);
}
.tl-year {
  flex: none; width: 66px; font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700; color: var(--copper, #b87f3e); padding-top: 2px;
}
.tl-body b { display: block; font-size: 15.5px; color: var(--ink, #1c2b24); margin-bottom: 4px; }
.tl-body p { font-size: 13.5px; line-height: 1.8; color: #5a6a60; margin: 0; }

/* ---------- 联系卡片 ---------- */
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-card {
  background: #fff; border: 1px solid var(--line, #e5e9e5); border-radius: 18px;
  padding: 24px 24px 20px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ab-card:hover { transform: translateY(-4px); border-color: var(--copper, #b87f3e); box-shadow: 0 16px 38px rgba(20, 86, 62, .13); }
.ab-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ab-card-head i { font-size: 21px; }
.ab-card-head h3 { font-size: 16px; font-weight: 700; color: var(--ink, #1c2b24); margin: 0; flex: 1; }
.ab-tag { flex: none; font-size: 11px; font-weight: 600; color: #b87f3e; background: #fdf1e4; border-radius: 10px; padding: 2px 9px; }
.ab-val { font-family: 'JetBrains Mono', monospace; font-size: 14.5px; font-weight: 600; color: var(--green, #14563e); word-break: break-all; margin: 0 0 8px; }
.ab-note { font-size: 13px; line-height: 1.75; color: #7a8a7f; margin: 0 0 16px; flex: 1; }
.ab-ops { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line, #e5e9e5); background: #fff; color: #3a4b42;
  border-radius: 18px; padding: 7px 16px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .18s;
}
.ab-btn:hover { border-color: var(--copper, #b87f3e); color: var(--copper, #b87f3e); text-decoration: none; transform: translateY(-1px); }
.ab-btn-solid { background: var(--green, #14563e); border-color: var(--green, #14563e); color: #fff; }
.ab-btn-solid:hover { background: #1e7a5a; border-color: #1e7a5a; color: #fff; filter: brightness(1.08); }
.ab-btn.ok { border-color: #1e9e6f !important; color: #1e9e6f !important; background: #eaf3ec !important; }

/* 网店卡：铜金描边强调 */
.ab-card-shop { border-color: #ecd9c2; background: linear-gradient(180deg, #fffdf9, #fff); }
.ab-card-shop:hover { border-color: #b87f3e; }
.ab-cards-shop { grid-template-columns: repeat(2, 1fr); }

/* ---------- 可承接服务 ---------- */
.ab-services {
  margin-top: 46px; background: linear-gradient(135deg, #14563e, #1e7a5a);
  border-radius: 20px; padding: 34px 38px; color: #fff;
  box-shadow: 0 14px 40px rgba(20, 86, 62, .25);
}
.ab-services h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin: 0 0 22px; }
.ab-services h3 i { color: #e9c9a0; }
.ab-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-svc {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 18px 16px; transition: background .2s, transform .2s;
}
.ab-svc:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.ab-svc i { font-size: 22px; color: #e9c9a0; display: block; margin-bottom: 10px; }
.ab-svc b { display: block; font-size: 14.5px; margin-bottom: 5px; }
.ab-svc span { font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.ab-svc-tip { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .8); margin: 20px 0 0; }

/* ---------- 轻提示 ---------- */
.ab-toast {
  position: fixed; left: 50%; bottom: 46px; transform: translate(-50%, 16px);
  background: rgba(20, 45, 35, .92); color: #fff; font-size: 13.5px;
  padding: 10px 20px; border-radius: 22px; z-index: 3000;
  opacity: 0; pointer-events: none; transition: all .25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.ab-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
  .ab-hero { flex-direction: column; text-align: center; padding: 32px 24px; }
  .ab-hero-body h2 { justify-content: center; }
  .ab-role { justify-content: center; }
  .ab-story { grid-template-columns: 1fr; }
  .ab-cards { grid-template-columns: repeat(2, 1fr); }
  .ab-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .ab-main { padding-top: 14px; }
  .ab-hero { padding: 26px 18px; }
  .ab-avatar { width: 104px; height: 104px; font-size: 42px; }
  .ab-hero-body h2 { font-size: 25px; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); }
  .ab-story { padding: 22px 18px; }
  .ab-cards, .ab-cards-shop { grid-template-columns: 1fr; }
  .ab-services { padding: 26px 20px; }
  .ab-svc-grid { grid-template-columns: 1fr; }
  .ab-section-h { margin: 34px 0 18px; }
}
