/* ============================================================
   LinkX 官网 · 关于页
   ============================================================ */

.about-hero {
  padding: calc(var(--nav-h) + 96px) 0 clamp(64px, 8vw, 110px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #06080C;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 167, 214, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 167, 214, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 66% at 50% 40%, #000, transparent 100%);
  mask-image: radial-gradient(70% 66% at 50% 40%, #000, transparent 100%);
}
.about-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 54% at 50% 0%, rgba(51, 153, 245, 0.14) 0%, transparent 70%);
}
.about-hero .eyebrow { margin-bottom: 20px; }
.about-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}
.about-hero .grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-strong) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.about-hero p.lead {
  color: var(--text-2); font-size: 17px; max-width: 560px; margin: 0 auto;
  position: relative;
}

/* ---------- 项目故事 ---------- */

.story-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px; align-items: center;
}
.story-copy h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 16px; }
.story-copy p { color: var(--text-2); font-size: 16.5px; line-height: 1.9; margin-bottom: 14px; }
.story-copy p b { color: var(--text); font-weight: 600; }
.story-quote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 18px;
  margin: 22px 0;
  font-size: 16.5px; font-weight: 600; color: var(--text);
}
.story-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.story-stat {
  padding: 22px 20px;
  text-align: left;
}
.story-stat .ss-num {
  font-size: 30px; font-weight: 800; color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}
.story-stat .ss-num small { font-size: 0.55em; font-weight: 700; margin-left: 2px; }
.story-stat .ss-label { font-size: 13px; color: var(--text-2); margin-top: 4px; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 作者说 ---------- */

.author-say {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: 44px 48px 38px;
}
.author-say .as-mark {
  position: absolute; top: -6px; left: 18px;
  font-size: 120px; line-height: 1;
  font-weight: 800;
  color: var(--accent-soft);
  pointer-events: none;
  user-select: none;
}
.author-say h2 { font-size: 22px; margin-bottom: 18px; position: relative; }
.author-say p {
  position: relative;
  font-size: 16.5px; line-height: 2.05;
  color: var(--text-2);
  margin-bottom: 16px;
}
.author-say p b { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--accent-soft); }
.author-say .as-sign {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  font-size: 14px; color: var(--text-3);
}
.author-say .as-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid var(--accent-soft);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .author-say { padding: 34px 24px 30px; }
  .author-say .as-mark { font-size: 80px; }
}

/* ---------- 版本时间线 ---------- */

.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding-left: 26px;
}
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
}
.tl-item { position: relative; padding: 0 0 34px 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-item.now::before { background: var(--ok); box-shadow: 0 0 0 2px var(--ok); animation: pulse-dot 2.2s var(--ease) infinite; }
.tl-date {
  font-family: var(--font-mono);
  font-size: 12.5px; color: var(--text-3); letter-spacing: 0.04em;
}
.tl-item h3 { font-size: 18px; margin: 4px 0 6px; }
.tl-item h3 .ver { color: var(--accent-strong); }
.tl-item p { font-size: 15.5px; color: var(--text-2); max-width: 560px; text-wrap: balance; }

/* ---------- 技术栈 ---------- */

.tech-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px;
}
.tech-card {
  grid-column: auto !important;
  padding: 20px 18px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tech-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tech-card .b-icon {
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(74, 168, 255, 0.18), rgba(74, 168, 255, 0.06));
  border: 1px solid rgba(74, 168, 255, 0.15);
}
.tech-card .b-icon svg { width: 24px; height: 24px; }
.tech-card h3 { font-size: 15.5px; margin-bottom: 5px; font-weight: 700; }
.tech-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.65; }
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr !important; }
}

/* ---------- 作者 + 打赏 ---------- */

.author-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch;
}
.author-card, .donate-card { padding: 34px; display: flex; flex-direction: column; }

.author-card { align-items: flex-start; position: relative; }
.author-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-accent);
  border: 2px solid rgba(74, 168, 255, 0.3);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-card h3 { font-size: 22px; margin-bottom: 2px; }
.author-card .author-handle { font-size: 13.5px; color: var(--text-3); font-family: var(--font-mono); margin-bottom: 14px; }
.author-card p { font-size: 15.5px; line-height: 1.85; color: var(--text-2); margin-bottom: 22px; text-wrap: balance; }
.author-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }

/* 应用内「关于」页真机截图 */
.author-shot { margin-top: 26px; position: relative; max-width: 400px; width: 100%; }
.author-shot > img {
  width: 100%; display: block;
  border-radius: 10px;
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}
.author-shot figcaption { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.author-shot-phone {
  position: absolute; right: 8px; bottom: 48px;
  width: 130px;
  border-radius: 14px; padding: 3px;
  background: #0C0E13;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transform: rotate(5deg);
}
.author-shot-phone img { width: 100%; border-radius: 11px; display: block; }
@media (max-width: 1020px) {
  .author-shot-phone { right: 6px; width: 110px; }
}

.donate-card {
  align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 0%, var(--glow-1), transparent 70%),
    var(--surface);
}
.donate-card h3 { font-size: 20px; margin-bottom: 8px; }
.donate-card p { font-size: 14px; color: var(--text-2); margin-bottom: 22px; max-width: 300px; }
.donate-coins { font-size: 34px; margin-bottom: 14px; letter-spacing: 6px; }
@media (max-width: 800px) { .author-grid { grid-template-columns: 1fr; } }

/* 打赏弹窗内的二维码 */
.donate-qr {
  width: min(240px, 70vw);
  margin: 18px auto 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}
.modal-panel h3 { font-size: 21px; margin-bottom: 8px; }
.modal-panel .modal-sub { font-size: 14px; color: var(--text-2); }
.donate-thanks { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }

/* ---------- 开源协议 ---------- */

.license-card {
  padding: 34px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.license-card .b-icon { margin: 0; width: 50px; height: 50px; border-radius: 14px; flex: none; }
.license-card h3 { font-size: 18px; margin-bottom: 6px; }
.license-card p { font-size: 14px; color: var(--text-2); }
@media (max-width: 700px) {
  .license-card { grid-template-columns: 1fr; text-align: left; }
  .license-card .btn { justify-self: start; }
}

/* ==================== 深色大版面玻璃卡 ==================== */
.card, .author-say { background: rgba(255, 255, 255, 0.035); border-color: rgba(255, 255, 255, 0.09); }
.author-avatar { box-shadow: 0 8px 28px rgba(51, 153, 245, 0.35); }
.author-shot > img { border-color: rgba(255, 255, 255, 0.12); }
.b-icon {
  display: flex; align-items: center; justify-content: center;
  background: rgba(51, 153, 245, 0.14);
  color: var(--accent-strong);
  flex: none;
}
