@charset "utf-8";

/* ===================================================================
   Resolume 繁體中文官網 - 子頁面通用內容樣式 page.css
   配合 common.css 使用，承載產品/下載/購買/教程/幫助頁內容
=================================================================== */

.page { padding-top: var(--nav-height); }

/* —— 子頁面英雄頭部 —— */
.subhero {
  position: relative;
  padding: 84px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -20%, rgba(255,1,93,0.16), transparent 55%),
    radial-gradient(100% 80% at 5% 0%, rgba(90,217,236,0.12), transparent 50%),
    #000;
  border-bottom: 1px solid var(--color-border);
}
.subhero__inner { position: relative; z-index: 2; max-width: 820px; }
.subhero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-pink); margin-bottom: 18px;
}
.subhero__logo { height: 40px; width: auto; }
.subhero__title {
  font-size: clamp(34px, 5vw, 58px); font-weight: 900; line-height: 1.08;
  letter-spacing: -0.02em; margin-bottom: 20px; color: #fff;
}
.subhero__lead { font-size: clamp(16px, 2vw, 20px); color: var(--color-text-soft); max-width: 680px; }
.subhero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* —— 通用區塊 —— */
.section { padding: 72px 0; background: #000; }
.section.alt { background: var(--color-bg-soft); }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-pink); margin-bottom: 12px;
}
.section__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.18; margin-bottom: 16px; }
.section__desc { font-size: 16.5px; color: var(--color-text-soft); }

/* —— 雙欄特性行 —— */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  padding: 52px 0; border-top: 1px solid var(--color-border);
}
.feature.reverse .feature__media { order: 2; }
.feature__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.feature__desc { font-size: 16px; color: var(--color-text-soft); margin-bottom: 14px; }
.feature__caption { font-size: 13px; color: var(--color-text-muted); margin-top: 10px; }
.feature__media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-card);
  background: var(--color-bg-card);
}
.feature__media img { width: 100%; height: auto; display: block; }
.media-video {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-strong);
}
.media-video iframe, .media-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (max-width: 860px){
  .feature { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .feature.reverse .feature__media { order: 0; }
}

/* —— 卡片網格 —— */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px;
}
.info-card {
  padding: 26px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); background: var(--color-bg-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: var(--shadow-card); }
.info-card__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.info-card__desc { font-size: 14.5px; color: var(--color-text-soft); }
.info-card__desc a { color: var(--color-cyan); }
.info-card__desc a:hover { text-decoration: underline; }

/* —— 全寬圖片 —— */
.figure { margin: 32px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-strong); }
.figure img { width: 100%; display: block; }
.figure__caption { font-size: 13px; color: var(--color-text-muted); padding: 12px 16px; background: var(--color-bg-card); }

/* —— 標識牆 —— */
.logo-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.logo-wall.mb { margin-bottom: 28px; }
.logo-wall.mt { margin-top: 28px; }
.feature__inline-img { border-radius: 12px; margin-top: 14px; }
.logo-wall img { height: 30px; width: auto; opacity: .8; filter: grayscale(1); transition: opacity .25s, filter .25s; }
.logo-wall img:hover { opacity: 1; filter: none; }

/* —— 下載/購買卡片 —— */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.dl-card {
  padding: 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong); background: var(--color-bg-card);
  display: flex; flex-direction: column; gap: 16px;
}
.dl-card__logos { display: flex; align-items: center; gap: 10px; }
.dl-card__logos img { height: 36px; width: auto; }
.dl-card__title { font-size: 20px; font-weight: 800; color: #fff; }
.dl-card__meta { font-size: 13.5px; color: var(--color-text-muted); }
.dl-card__os { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--color-text-soft); }
.dl-card__os svg { width: 18px; height: 18px; }

/* —— 價格卡片 —— */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.price-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong); background: var(--color-bg-card);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.price-card.featured { border-color: var(--color-pink); box-shadow: 0 0 0 1px var(--color-pink), 0 20px 50px rgba(255,1,93,0.18); }
.price-card__logo { height: 42px; width: auto; }
.price-card__name { font-size: 19px; font-weight: 800; color: #fff; }
.price-card__edu { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-mint); }
.price-card__price { display: flex; align-items: baseline; gap: 10px; }
.price-card__now { font-size: 32px; font-weight: 900; color: #fff; }
.price-card__now small { font-size: 16px; font-weight: 700; color: var(--color-text-soft); }
.price-card__was { font-size: 16px; color: var(--color-text-muted); text-decoration: line-through; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* —— 通用富文字段落 —— */
.prose { max-width: 760px; }
.prose p { font-size: 16.5px; color: var(--color-text-soft); margin-bottom: 18px; }
.prose a { color: var(--color-cyan); }
.prose a:hover { text-decoration: underline; }

/* —— CTA 區 —— */
.cta-band { padding: 80px 0; background: #000; }
.cta-band__card {
  border-radius: 28px; padding: 56px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,1,93,0.16), rgba(255,115,0,0.10) 45%, rgba(90,217,236,0.12));
  border: 1px solid var(--color-border-strong);
}
.cta-band__title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-band__desc { font-size: 16.5px; color: var(--color-text-soft); max-width: 540px; margin: 0 auto 28px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* —— 幫助/教程：分類區與縮略卡 —— */
.cat-block { padding: 48px 0; border-top: 1px solid var(--color-border); }
.cat-block__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.cat-block__intro { font-size: 15.5px; color: var(--color-text-soft); max-width: 760px; margin-bottom: 28px; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.thumb-card {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--color-border); background: var(--color-bg-card);
  transition: transform .25s ease, border-color .25s ease;
}
.thumb-card:hover { transform: translateY(-4px); border-color: var(--color-pink); }
.thumb-card__img { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.thumb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.thumb-card__img.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,1,93,0.4), rgba(90,217,236,0.35));
}
.thumb-card__img.placeholder span { font-weight: 800; letter-spacing: .08em; color: #fff; font-size: 20px; }
.thumb-card__body { padding: 16px 18px; }
.thumb-card__title { font-size: 15.5px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.thumb-card__desc { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }
