/* ============================================================
   FontCreator 繁體中文官網 - 子頁面共享樣式 pages.css
   編輯部 / 規格頁 風格
   ============================================================ */

/* ---------- 頁面頂部 Hero 帶 ---------- */
.page-hero {
  position: relative;
  padding: 80px 0 56px;
  background: linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
  overflow: hidden;
}
.page-hero::before {
  position: absolute;
  top: 60px; left: -40px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 700;
  font-size: clamp(140px, 22vw, 240px);
  line-height: 1; color: rgba(10, 62, 135, .04);
  letter-spacing: -8px;
  pointer-events: none; -webkit-user-select: none; user-select: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 360px at 88% 10%, rgba(10,62,135,.08), transparent 65%),
    radial-gradient(640px 340px at 6% 88%, rgba(245,184,0,.08), transparent 65%);
}
.page-hero--download::before { content: "DOWNLOAD."; }
.page-hero--buy::before      { content: "BUY."; }
.page-hero--faq::before      { content: "FAQ."; }
.page-hero--changelog::before{ content: "LOG."; }
.page-hero--features::before { content: "FEATURES."; }
.page-hero--support::before  { content: "SUPPORT."; }

.page-hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  z-index: 1;
}

.page-hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.page-hero__kicker .num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 700;
  font-size: 18px; color: #0A3E87;
}
.page-hero__kicker .num::before { content: "—"; color: rgba(10,62,135,.4); margin-right: 6px; }
.page-hero__kicker .label {
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  color: #6b7280; text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  color: #0a1024;
  letter-spacing: -1.4px;
  max-width: 900px;
}
.page-hero h1 em {
  font-style: italic; font-weight: 700;
  font-family: Georgia, "Times New Roman", "Source Han Serif SC", "Songti SC", serif;
  background: linear-gradient(120deg, #0A3E87 0%, #1557b8 50%, #f5b800 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero__lead {
  margin-top: 22px;
  font-size: 17px; line-height: 1.85;
  color: #4b5563;
  max-width: 760px;
}
.page-hero__lead strong { color: #0A3E87; font-weight: 700; }

.page-hero__breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px; color: #6b7280;
}
.page-hero__breadcrumb a { color: #6b7280; }
.page-hero__breadcrumb a:hover { color: #0A3E87; }
.page-hero__breadcrumb svg { width: 12px; height: 12px; opacity: .5; }

/* ---------- 通用頁面區段 ---------- */
.page-section {
  position: relative;
  padding: 80px 0;
}
.page-section--soft { background: var(--bg-soft); }
.page-section__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.page-section__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.page-section__kicker .num {
  font-family: Georgia, serif; font-style: italic; font-weight: 700;
  font-size: 16px; color: #0A3E87;
}
.page-section__kicker .num::before { content: "—"; color: rgba(10,62,135,.4); margin-right: 6px; }
.page-section__kicker .label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px;
  color: #6b7280; text-transform: uppercase;
}
.page-section__headline {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: #0a1024;
  letter-spacing: -.8px;
  max-width: 880px;
  margin-bottom: 18px;
}
.page-section__headline em {
  font-style: italic; font-weight: 700;
  font-family: Georgia, "Source Han Serif SC", "Songti SC", serif;
  background: linear-gradient(120deg, #0A3E87, #1557b8 50%, #f5b800);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-section__lead {
  font-size: 16px; line-height: 1.85;
  color: #4b5563;
  max-width: 780px;
  margin-bottom: 40px;
}

/* ---------- 通用富文字（para / list） ---------- */
.rich-text { color: #374151; font-size: 15.5px; line-height: 1.85; }
.rich-text p { margin-bottom: 14px; }
.rich-text strong { color: #0a1024; font-weight: 700; }
.rich-text a { color: #0A3E87; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10,62,135,.25); text-underline-offset: 3px; }
.rich-text a:hover { color: #1557b8; text-decoration-color: #1557b8; }
.rich-text ul { padding-left: 0; list-style: none; margin-bottom: 16px; }
.rich-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.75;
}
.rich-text ul li::before {
  content: "";
  position: absolute; left: 6px; top: 12px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #0A3E87, #f5b800);
}

/* ---------- 卡片網格（feature / spec list） ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.spec-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10,62,135,.10);
  border-radius: 16px;
  padding: 24px 24px 22px;
  transition: all .3s ease;
  overflow: hidden;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10,62,135,.10); border-color: rgba(10,62,135,.22); }
.spec-card__num {
  font-family: Georgia, serif; font-style: italic; font-weight: 700;
  font-size: 28px; line-height: 1;
  background: linear-gradient(135deg,#0A3E87,#f5b800);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.spec-card__icon {
  display: inline-flex; width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-50);
  color: #0A3E87;
  align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.spec-card__icon svg { width: 20px; height: 20px; }
.spec-card h3 {
  font-size: 17px; font-weight: 700; color: #0a1024;
  margin-bottom: 10px; letter-spacing: -.2px;
}
.spec-card p, .spec-card__desc {
  font-size: 14px; line-height: 1.8; color: #4b5563;
}

/* ---------- 大段說明塊（feature group） ---------- */
.feat-group {
  background: #fff;
  border: 1px solid rgba(10,62,135,.10);
  border-radius: 20px;
  padding: 32px 32px 28px;
  margin-bottom: 20px;
  position: relative;
}
.feat-group__head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(10,62,135,.12);
}
.feat-group__num {
  flex-shrink: 0;
  font-family: Georgia, serif; font-style: italic; font-weight: 700;
  font-size: 32px; line-height: 1;
  background: linear-gradient(135deg,#0A3E87,#f5b800);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.feat-group h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800; color: #0a1024;
  letter-spacing: -.4px; line-height: 1.2;
}
.feat-group__sub { font-size: 13px; color: #6b7280; margin-top: 4px; }

@media (max-width: 640px) {
  .page-hero { padding: 56px 0 36px; }
  .page-hero h1 { font-size: clamp(28px, 9vw, 38px); letter-spacing: -.6px; }
  .page-hero__lead { font-size: 15.5px; }
  .page-section { padding: 56px 0; }
  .feat-group { padding: 24px 22px; }
  .feat-group__head { gap: 12px; padding-bottom: 14px; margin-bottom: 14px; }
  .feat-group__num { font-size: 26px; }
}
