@charset "UTF-8";
/* www 首页与下载中心：CrossDriver 全家（Run、磁盘工具、Files）（app/index/view/index/index.html、download/index.html）。
   视觉与 fs.crossdriver.com（Website/fs.crossdriver.com/src/site.css）一致：主色 #3567ff、浅紫蓝 hero、
   各产品的图标色、圆角卡片。class 统一以 cdh- 开头，不与 style.css / Bootstrap 冲突。 */

.cdh {
  --blue: #3567ff; --blue-dark: #2450d8; --blue-soft: #e7eeff; --accent-2: #7b5cff;
  --orange-1: #ff8a00; --orange-2: #ff5a3d;
  --ink: #0f172a; --text: #1e293b; --muted: #64748b; --line: #e2e8f0; --panel: #f8fafc;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(15, 35, 95, .18), 0 6px 18px rgba(15, 35, 95, .08);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  overflow: hidden;
}
.cdh h1, .cdh h2, .cdh h3 { text-wrap: balance; }
.cdh p { text-wrap: pretty; }
.cdh a { color: var(--blue); }
.cdh a:hover { text-decoration: underline; }

/* ------------------------------------------------ Mac / Windows：data-platform 决定显示哪一套 */
.cdh [data-only="windows"] { display: none; }
.cdh[data-platform="windows"] [data-only="windows"] { display: block; }
.cdh[data-platform="windows"] [data-only="mac"] { display: none; }
.cdh[data-platform="windows"] .cdh-cards[data-only="windows"] { display: grid; }
.cdh[data-platform="windows"] span[data-only="windows"] { display: inline; }

.cdh-switch {
  display: flex; width: max-content; margin: 0 auto 26px; padding: 4px; border-radius: 999px;
  background: #fff; box-shadow: 0 6px 18px rgba(15, 35, 95, .08);
}
.cdh-switch a {
  padding: 8px 30px; border-radius: 999px; font-weight: 700; color: var(--blue-dark); text-decoration: none;
}
.cdh-switch a:hover { text-decoration: none; }
.cdh[data-platform="mac"] .cdh-switch a[data-set-platform="mac"],
.cdh[data-platform="windows"] .cdh-switch a[data-set-platform="windows"] { background: var(--blue); color: #fff; }

/* ------------------------------------------------ 按钮 */
.cdh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 12px;
  font-weight: 650; font-size: 17px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.cdh .cdh-btn:hover { text-decoration: none; transform: translateY(-1px); }
.cdh .cdh-btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(53, 103, 255, .3); }
.cdh .cdh-btn--primary:hover { background: var(--blue-dark); color: #fff; }
.cdh .cdh-btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cdh .cdh-btn--light { background: #fff; color: var(--blue-dark); }
.cdh .cdh-btn--small { padding: 9px 16px; font-size: 14.5px; border-radius: 9px; box-shadow: none; }

/* ------------------------------------------------ hero */
.cdh-hero {
  text-align: center; padding: 56px 0 0;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(53, 103, 255, .18), transparent 70%),
    radial-gradient(800px 420px at 0% 30%, rgba(255, 138, 0, .10), transparent 70%),
    linear-gradient(180deg, var(--blue-soft) 0%, #f3f6ff 62%, #fff 100%);
}
.cdh-badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; color: #fff;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%); box-shadow: 0 6px 16px rgba(255, 90, 61, .3);
}
.cdh-badge--soon { background: linear-gradient(135deg, #64748b 0%, #334155 100%); box-shadow: 0 6px 16px rgba(15, 23, 42, .2); }
.cdh-h1 {
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.1; letter-spacing: -1.2px; font-weight: 800; color: var(--ink);
  margin: 22px auto 18px; max-width: 980px;
}
.cdh-h1 em {
  display: block; font-style: normal;
  background: linear-gradient(90deg, var(--blue) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cdh-lead { font-size: clamp(17px, 1.9vw, 20px); color: #475569; max-width: 800px; margin: 0 auto 30px; }
.cdh-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cdh-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.cdh-fine span + span::before { content: "·"; margin: 0 10px; color: #94a3b8; }
.cdh-hero-shot {
  margin: 48px auto 0; max-width: 1100px; max-height: 520px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.cdh-hero-shot img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.cdh-hero-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 48px auto 0; padding-bottom: 56px; max-width: 900px; }
.cdh-hero-icons span { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 130px; font-size: 14.5px; font-weight: 650; color: #334155; }
.cdh-hero-icons img { filter: drop-shadow(0 6px 12px rgba(15, 35, 95, .18)); opacity: .9; }

/* ------------------------------------------------ 区块 */
.cdh-block { padding: 88px 0; }
.cdh-tint { background: var(--panel); }
.cdh-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.cdh-head h2, .cdh-classic h2, .cdh-cta h2 {
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.6px; font-weight: 800; color: var(--ink); margin: 0 0 14px;
}
.cdh-head p { color: #475569; font-size: 18px; margin: 0; }
.cdh-eyebrow { display: block; color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 10px; }

/* ------------------------------------------------ 产品卡片（颜色同 App 图标，fs.crossdriver.com 的 --ntfs 等） */
.cdh-card { --pc: var(--blue); }
.cdh-pc-ntfs { --pc: #1d63e8; }
.cdh-pc-ext4 { --pc: #0a8060; }
.cdh-pc-xfs { --pc: #6d45e0; }
.cdh-pc-omni { --pc: #2a3d78; }
.cdh-pc-nas-rescue { --pc: #cc3d2a; }
.cdh-pc-data-recovery { --pc: #a86200; }
.cdh-pc-mac-disk { --pc: #3567ff; }
.cdh-pc-linux-disk { --pc: #b4530f; }
.cdh-pc-run { --pc: #3567ff; }
.cdh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cdh-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cdh-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pc) 45%, #fff); box-shadow: 0 18px 40px rgba(15, 35, 95, .12); }
.cdh-card.is-featured { border: 2px solid var(--pc); box-shadow: 0 20px 50px rgba(42, 61, 120, .16); }
.cdh-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cdh-card__top img { filter: drop-shadow(0 5px 10px rgba(15, 35, 95, .18)); }
.cdh-card h3 { margin: 4px 0 0; font-size: 19px; font-weight: 750; color: var(--ink); }
.cdh-card h3 a { color: inherit; }
.cdh-card > p { margin: 0; color: var(--muted); font-size: 15px; }
.cdh-card > p:first-of-type { flex: 1; }
.cdh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cdh-chips span {
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--pc) 12%, #fff); color: color-mix(in srgb, var(--pc) 80%, #000);
}
.cdh-card__price { margin: 6px 0 0; }
.cdh-card__price b { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.cdh-card__price small { color: var(--muted); font-size: 13px; font-weight: 600; }
.cdh-card__note { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.cdh-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cdh .cdh-card .cdh-btn--primary { background: var(--pc); box-shadow: none; }
.cdh .cdh-card .cdh-btn--primary:hover { background: color-mix(in srgb, var(--pc) 85%, #000); }
.cdh-card.is-soon { background: #fcfcfd; }
.cdh-card.is-soon .cdh-card__top img { opacity: .75; }
.cdh-tag {
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%);
}
.cdh-tag--soon { background: #e2e8f0; color: #334155; }
.cdh-download-version { font-weight: 500; opacity: .85; }
.cdh-choose {
  max-width: 900px; margin: 32px auto 0; padding: 18px 24px; border-radius: 14px; background: var(--blue-soft);
  color: #334155; font-size: 15.5px; text-align: center;
}
.cdh-choose b { color: var(--ink); margin-right: 8px; }

/* ------------------------------------------------ 新一代引擎 */
.cdh-dark { background: #0b1220; color: #cbd5e1; }
.cdh-dark .cdh-eyebrow { color: #8fb0ff; }
.cdh-dark .cdh-head h2 { color: #fff; }
.cdh-dark .cdh-head p { color: #cbd5e1; }
.cdh-locks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cdh-locks > div { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.cdh-locks h3 { margin: 0 0 8px; font-size: 18px; color: #fff; }
.cdh-locks h3::before { content: "✓ "; color: #6ee7b7; }
.cdh-locks p { margin: 0; font-size: 15px; }
.cdh-dark__note { margin: 26px 0 0; text-align: center; font-size: 14.5px; color: #94a3b8; }

/* ------------------------------------------------ 价格 */
.cdh-table-wrap { overflow-x: auto; max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cdh-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 620px; }
.cdh-table th, .cdh-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cdh-table tr:last-child td { border-bottom: 0; }
.cdh-table th { font-size: 13.5px; color: var(--muted); background: var(--panel); font-weight: 700; }
.cdh-table td:last-child { text-align: right; }
.cdh-table b { color: var(--ink); font-size: 18px; }
.cdh-table del { color: #94a3b8; font-size: 14px; margin-left: 6px; }
.cdh-table tr.is-featured { background: #f5f3ff; }
.cdh-table__app { display: flex; align-items: center; gap: 12px; font-weight: 650; color: var(--ink); }
.cdh-soon-box { max-width: 760px; margin: 0 auto; padding: 22px 26px; border-radius: 16px; background: #fff; border: 1px dashed #cbd5e1; text-align: center; color: #475569; }
.cdh-note { max-width: 980px; margin: 16px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------ 经典版（较小的区块） */
.cdh-classic {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto;
  padding: 36px 40px; border-radius: var(--radius); border: 1px dashed #cbd5e1; background: #fff;
}
.cdh-classic h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cdh-classic h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.cdh-classic p { margin: 0; color: #475569; font-size: 15.5px; }
.cdh-classic__list { display: flex; flex-direction: column; gap: 12px; }
.cdh-classic__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--panel); }
.cdh-classic__item img { border-radius: 10px; }
.cdh .cdh-classic__name { flex: 1; font-weight: 700; color: var(--ink); }

/* ------------------------------------------------ 购买与支持 */
.cdh-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cdh-trust > div { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; }
.cdh-trust h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.cdh-trust p { margin: 0 0 10px; color: #475569; font-size: 15px; }
.cdh-faq { max-width: 860px; margin: 40px auto 0; }
.cdh-faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.cdh-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.cdh-faq details p { margin: 10px 0 0; color: #475569; font-size: 15.5px; }

/* ------------------------------------------------ 结尾 */
.cdh-cta { padding: 72px 0; text-align: center; color: #fff; background: linear-gradient(120deg, #2450d8 0%, #3567ff 55%, #7b5cff 100%); }
.cdh-cta h2 { color: #fff; }
.cdh-cta p { margin: 0 0 26px; font-size: 18px; color: rgba(255, 255, 255, .88); }

/* ------------------------------------------------ 下载中心 */
.cdh-dl-hero { padding: 48px 0 8px; text-align: center; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.cdh-dl-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); margin: 0 0 22px; }
.cdh-dl-section { padding: 36px 0; }
.cdh-dl-section > .container-xxl > h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.cdh-dl-section > .container-xxl > p { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.cdh-cards--compact .cdh-card { padding: 20px; }
.cdh-card__version { margin: 0; font-size: 13px; color: var(--muted); min-height: 1.4em; }

/* ------------------------------------------------ 首页：全家（hero 的三块）、CrossDriver Run、Files */
.cdh-hero--family { padding-bottom: 64px; }
.cdh-family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 40px auto 0; text-align: left; }
.cdh .cdh-family__tile {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line); color: var(--text); box-shadow: 0 10px 30px rgba(15, 35, 95, .06); transition: transform .15s, box-shadow .15s;
}
.cdh .cdh-family__tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 35, 95, .12); }
.cdh-family__tile img { flex: none; filter: drop-shadow(0 5px 10px rgba(15, 35, 95, .18)); }
.cdh-family__tile b { font-size: 18px; color: var(--ink); margin-right: 8px; }
.cdh-family__tile small { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.cdh-tag--free { background: #22c55e; }
.cdh .cdh-tag { font-style: normal; display: inline-block; vertical-align: middle; }

.cdh-head h2 em { display: block; font-style: normal; color: var(--blue); }
.cdh-head .cdh-badge { margin-bottom: 16px; }
.cdh-head .cdh-fine { margin-top: 14px; }
.cdh-head .cdh-switch { margin-top: 6px; }

.cdh-run { background: linear-gradient(180deg, #fff 0%, #f5f7ff 100%); }
.cdh-run__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.cdh-run__grid h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.6px; font-weight: 800; color: var(--ink); margin: 6px 0 14px; }
.cdh .cdh-run__name { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--ink); text-transform: none; font-size: 17px; letter-spacing: 0; }
.cdh-run__lead { color: #475569; font-size: 17.5px; margin: 0 0 16px; }
.cdh-run__values { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.cdh-run__values li { padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 14px; font-weight: 650; }
.cdh-actions--left { justify-content: flex-start; }
.cdh-fine--left { text-align: left; line-height: 1.7; }
.cdh-run__shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.cdh-run__excel {
  display: grid; grid-template-columns: 3fr 2fr; gap: 28px; align-items: center; margin-top: 48px; padding: 26px 30px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.cdh-run__excel h3 { margin: 0 0 8px; font-size: 21px; color: var(--ink); }
.cdh-run__excel p { margin: 0; color: #475569; font-size: 15.5px; }

.cdh-block--tight { padding-top: 24px; }
.cdh-files-block { padding-bottom: 24px; }
.cdh-files {
  display: flex; gap: 22px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 24px 28px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.cdh-files img { flex: none; filter: drop-shadow(0 5px 10px rgba(15, 35, 95, .18)); }
.cdh-files__text { flex: 1; }
.cdh .cdh-files__text .cdh-eyebrow { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 15px; margin-bottom: 4px; }
.cdh-files__text h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.cdh-files__text p { margin: 0; color: #475569; font-size: 15px; }
.cdh-files__actions { display: flex; flex-direction: column; gap: 8px; }

.cdh-subhead { max-width: 980px; margin: 0 auto 6px; font-size: 20px; font-weight: 800; color: var(--ink); }
.cdh-note--top { text-align: left; margin: 0 auto 16px; }
.cdh-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 36px auto 0; }
.cdh-plan { padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 15px; }
.cdh-plan.cdh-pc-run { border: 2px solid var(--pc); }
.cdh-plan h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; color: var(--ink); }
.cdh-plan__h { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.cdh-plan ul { margin: 0 0 10px; padding-left: 18px; color: #475569; }
.cdh-plan__fine { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; }

.cdh .cdh-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .75); }

@media (max-width: 980px) {
  .cdh-family { grid-template-columns: 1fr; max-width: 560px; }
  .cdh-run__grid, .cdh-run__excel, .cdh-plans { grid-template-columns: 1fr; }
  .cdh-files { flex-wrap: wrap; }
  .cdh-files__actions { flex-direction: row; }
}

@media (max-width: 1100px) {
  .cdh-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .cdh-cards { grid-template-columns: repeat(2, 1fr); }
  .cdh-locks { grid-template-columns: 1fr; }
  .cdh-classic { grid-template-columns: 1fr; padding: 28px 24px; }
}
@media (max-width: 600px) {
  .cdh { font-size: 16px; }
  .cdh-block { padding: 64px 0; }
  .cdh-cards, .cdh-trust { grid-template-columns: 1fr; }
  .cdh-switch a { padding: 7px 22px; }
  .cdh-classic__item { flex-wrap: wrap; }
}
