/* 喔喔官網 — 軟體說明頁共用樣式（2026） */
:root {
  --hero-accent: #ff0000;
  --hero-accent-light: #ff6b6b;
  --hero-badge-bg: rgba(255,0,0,.15);
  --hero-badge-border: rgba(255,0,0,.4);
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #5a6270;
  --border: #e3e8ef;
  --accent: #006600;
  --accent-light: #e8f5e9;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --radius: 12px;
}
.theme-blog   { --hero-accent:#006600; --hero-accent-light:#4caf50; --hero-badge-bg:rgba(0,102,0,.12); --hero-badge-border:rgba(0,102,0,.35); }
.theme-click  { --hero-accent:#e65100; --hero-accent-light:#ff9800; --hero-badge-bg:rgba(230,81,0,.12); --hero-badge-border:rgba(230,81,0,.35); }
.theme-edm    { --hero-accent:#1565c0; --hero-accent-light:#42a5f5; --hero-badge-bg:rgba(21,101,192,.12); --hero-badge-border:rgba(21,101,192,.35); }
.theme-spider { --hero-accent:#00838f; --hero-accent-light:#26c6da; --hero-badge-bg:rgba(0,131,143,.12); --hero-badge-border:rgba(0,131,143,.35); }
.theme-youtube{ --hero-accent:#ff0000; --hero-accent-light:#ff6b6b; --hero-badge-bg:rgba(255,0,0,.15); --hero-badge-border:rgba(255,0,0,.4); }

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 36px; max-width: 120px; }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
nav a:hover { background: var(--accent-light); color: var(--accent); text-decoration: none; }
nav a.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 56px 24px 64px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .topbar-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; }
}
.hero-badge {
  display: inline-block;
  background: var(--hero-badge-bg);
  border: 1px solid var(--hero-badge-border);
  color: var(--hero-accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--hero-accent-light); }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 28px; }
.hero-desc .hl { color: #fff; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  min-width: 200px;
}
.stat-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.stat-box .num { font-size: 20px; font-weight: 800; color: var(--hero-accent-light); }
.stat-box .lbl { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--hero-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.btn-primary:hover { opacity: .92; color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-link { background: none; color: var(--accent); padding: 0; font-weight: 500; }
.btn-link:hover { text-decoration: underline; }

.main { max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; }
.intro-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 36px;
  border-left: 4px solid var(--hero-accent);
}
.intro-card p { color: var(--muted); }
.intro-card strong { color: var(--text); }
.notice-box {
  background: #fffbea;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #7a6200;
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--hero-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border-top: 3px solid var(--hero-accent);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card .icon { font-size: 26px; margin-bottom: 10px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.feature-card ul { list-style: none; }
.feature-card li {
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0 5px 18px;
  position: relative;
}
.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.feature-card p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }

.task-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.tag {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(0,102,0,.2);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.tag-hot {
  background: var(--hero-accent);
  color: #fff;
  border-color: var(--hero-accent);
  font-weight: 700;
}

.advantages {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 36px;
}
.adv-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  list-style: none;
}
.adv-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.adv-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.adv-list strong { color: var(--text); display: block; margin-bottom: 2px; }

.highlight-box {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 36px;
}
.highlight-box h3 { color: var(--hero-accent-light); margin-bottom: 12px; font-size: 18px; }
.highlight-box p, .highlight-box li { color: rgba(255,255,255,.82); font-size: 15px; }
.highlight-box ul { list-style: none; padding: 0; }
.highlight-box li { padding: 6px 0 6px 20px; position: relative; }
.highlight-box li::before { content: "★"; position: absolute; left: 0; color: var(--hero-accent-light); }

.screenshot-grid { display: grid; gap: 16px; margin-bottom: 36px; }
.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cta-center { text-align: center; margin-top: 8px; }
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 28px 24px;
  font-size: 14px;
}
footer a { color: rgba(255,255,255,.8); }
footer .links { margin-bottom: 10px; }
footer .links a { margin: 0 10px; }

/* ── 圖文手冊頁（softblogguid、addsrcinfo 等）── */
.page-header {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: #fff;
  padding: 36px 24px;
  text-align: center;
}
.page-header h1 { font-size: clamp(22px, 4vw, 28px); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,.75); font-size: 15px; }

.guide-main { max-width: 900px; margin: 0 auto; padding: 36px 24px 64px; }

.toc {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.toc h2 { font-size: 16px; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.toc ol, .toc ul { padding-left: 20px; }
.toc li { margin: 6px 0; }
.toc a { font-weight: 500; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc-links { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

.guide-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 20px;
}
.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-section h2 .num {
  background: var(--hero-accent);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.guide-section h3 { font-size: 17px; font-weight: 600; margin: 18px 0 10px; color: var(--text); }
.guide-section p { color: var(--muted); font-size: 15px; margin-bottom: 10px; line-height: 1.75; }
.guide-section ul, .guide-section ol { color: var(--muted); font-size: 15px; margin: 8px 0 12px 20px; }
.guide-section li { margin-bottom: 6px; }
.guide-section strong { color: var(--text); }
.guide-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 12px 0;
}
.guide-section .img-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.guide-section .img-row img { flex: 1; min-width: 200px; max-width: 100%; }

code, .code-inline {
  background: #f0f4f8;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  color: #c0392b;
}
.code-block {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  overflow-x: auto;
  margin: 12px 0;
  line-height: 1.6;
}
