/* ===== about.css — HomeScope ===== */
:root {
  --bg:         #0f0f11;
  --surface:    #1c1c1f;
  --surface2:   #28282c;
  --surface3:   #35353a;
  --accent:     #30D196;
  --accent-dim: rgba(48, 209, 150, 0.12);
  --gold:       #FFD60A;
  --gold-dim:   rgba(255, 214, 10, 0.12);
  --text-1:     #f5f5f7;
  --text-2:     #c0c0c4;
  --text-3:     #8e8e93;
  --border:     rgba(255,255,255,0.08);
  --r-sm:       8px;
  --r-md:       14px;
  --r-lg:       20px;
}

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

html, body {
  background: var(--bg);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Noto Sans TC', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

#page {
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* ── Hero ── */
#hero {
  padding: 48px 24px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-logo { font-size: 56px; }

.hero-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F9BF1B 0%, #F7701F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ── Content Sections ── */
.content-section {
  margin: 0 16px 16px;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 20px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.content-section:hover {
  border-color: rgba(48, 209, 150, 0.2);
  background: linear-gradient(180deg, rgba(48, 209, 150, 0.04) 0%, var(--surface) 60%);
  box-shadow: 0 0 20px rgba(48, 209, 150, 0.04);
}

.content-section.about-section:hover {
  border-color: rgba(90, 200, 250, 0.2);
  background: linear-gradient(180deg, rgba(90, 200, 250, 0.04) 0%, var(--surface) 60%);
  box-shadow: 0 0 20px rgba(90, 200, 250, 0.04);
}

.section-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-2);
  transition: background 0.15s, transform 0.15s, color 0.15s;
  cursor: default;
}
.feature-card:hover {
  background: var(--surface3);
  transform: translateY(-2px);
  color: var(--text-1);
}
.fc-icon { font-size: 18px; flex-shrink: 0; }

/* ── Usage List ── */
.usage-list {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 2;
}
.usage-list li { margin-bottom: 2px; }
.usage-list strong { color: var(--text-1); }

.feedback-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(48, 209, 150, 0.35);
  border-radius: var(--r-sm);
  background: rgba(48, 209, 150, 0.08);
  color: var(--accent);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.14s;
}
.feedback-btn:hover { background: rgba(48, 209, 150, 0.16); }

/* ── Changelog ── */
.changelog { display: flex; flex-direction: column; gap: 14px; }

.cl-item { display: flex; gap: 12px; }

.cl-ver {
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  height: fit-content;
  margin-top: 2px;
  flex-shrink: 0;
}

.cl-body { flex: 1; }
.cl-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cl-list li {
  font-size: 12px;
  color: var(--text-2);
  padding-left: 12px;
  position: relative;
}
.cl-list li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--text-3);
}

/* ── About ── */
.risa-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.risa-logo-wrap a {
  display: inline-block;
  border-radius: var(--r-md);
  transition: transform 0.15s, box-shadow 0.15s;
}
.risa-logo-wrap a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.risa-logo {
  width: 160px;
  height: auto;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 20px;
  object-fit: contain;
  display: block;
}

.about-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-text strong { color: var(--text-1); }
.about-link { color: var(--accent); text-decoration: none; }
.about-link:hover { text-decoration: underline; }

.about-badge {
  display: inline-flex;
  background: var(--surface2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-2);
}

/* ── Data Source Section ── */
.data-section:hover {
  border-color: rgba(255, 159, 10, 0.2);
  background: linear-gradient(180deg, rgba(255, 159, 10, 0.03) 0%, var(--surface) 60%);
  box-shadow: 0 0 20px rgba(255, 159, 10, 0.03);
}

.data-block {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.data-block:last-of-type { border-bottom: none; padding-bottom: 4px; }

.data-block-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 5px;
}

.data-block-hint {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.6;
}

.data-block-body {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.75;
}
.data-block-body strong { color: var(--text-1); }

.data-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.7;
  padding: 8px 12px;
  background: var(--surface2);
  border-radius: var(--r-sm);
}

/* ── Donate Section ── */
.donate-section {
  border-color: rgba(255, 214, 10, 0.15);
}
.donate-section .section-heading { color: var(--gold); }
.donate-section:hover {
  border-color: rgba(255, 214, 10, 0.28);
  background: linear-gradient(180deg, rgba(255, 214, 10, 0.04) 0%, var(--surface) 60%);
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.04);
}

.donate-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
  justify-content: center;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.qr-card {
  background: var(--surface2);
  border-radius: var(--r-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.qr-card:hover { border-color: rgba(255, 214, 10, 0.3); }
.qr-card--dimmed { opacity: 0.5; }

.qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--surface3);
  border-radius: var(--r-sm);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.qr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
}

.qr-link {
  font-size: 11px;
  color: var(--text-3);
  text-decoration: none;
  text-align: center;
}
a.qr-link:hover { color: var(--accent); text-decoration: underline; }

/* ── Footer ── */
#about-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px 28px;
  flex-wrap: wrap;
}

.close-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  padding: 8px 24px;
  font-size: 13px;
  transition: background 0.14s, color 0.14s;
}
.close-btn:hover { background: var(--surface2); color: var(--text-1); }

.footer-copy {
  font-size: 11px;
  color: var(--text-3);
}

.footer-privacy {
  font-size: 11px;
  color: var(--text-3);
  text-decoration: none;
}
.footer-privacy:hover { color: var(--accent); text-decoration: underline; }

/* ── CTA Button（落地頁用，about.html 原版無此按鈕）── */
.cta-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F9BF1B 0%, #F7701F 100%);
  color: #1c1c1f;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(247, 112, 31, 0.25);
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(247, 112, 31, 0.35); }
.cta-btn-footer { width: 100%; text-align: center; order: -1; }

/* ── 桌面版落地頁寬度（about.html 原為 popup 用 560px，網站放寬）── */
@media (min-width: 700px) {
  #page { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
