/* ============================================================
   Evaer v2 — 页面级样式（购买页 / 列表页通用）
   ============================================================ */

/* ---------- 内页 Hero ---------- */
.page-hero {
  padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 68ch; margin-bottom: 18px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
  color: var(--muted-2);
  font-size: 0.82rem;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text-strong); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill-row li {
  margin: 0;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- 清单 ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 7px 0;
  color: var(--text);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(30, 55, 80, 0.55);
}
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--ok); }
.checklist b { color: var(--text-strong); }

.feature-group { margin-bottom: 32px; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-strong);
}
.feature-group h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- 信息卡 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.info-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.info-card h3 { margin-bottom: 8px; font-size: 0.98rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.info-card a { font-weight: 600; }

/* ---------- 提示条 ---------- */
.note {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(245, 158, 11, 0.07);
  color: var(--muted);
  font-size: 0.88rem;
}
.note strong { color: var(--warn); }

/* ---------- 信任徽章 ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.badge-row img {
  height: 58px;
  width: auto;
  opacity: 0.92;
  filter: grayscale(0.1);
}
.badge-row .badge-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- 下载卡 ---------- */
.download-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, var(--panel-2), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.75), rgba(99, 102, 241, 0.75)) border-box;
  box-shadow: var(--glow);
}
.download-card h3 { margin: 0 0 6px; }
.download-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.82rem;
}
.dl-meta b { color: var(--text); font-weight: 600; }

/* ---------- 媒体框（视频/大图） ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #000;
  box-shadow: var(--shadow);
}
.media-frame iframe,
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ---------- 编号步骤 ---------- */
.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.steps li {
  position: relative;
  margin: 0;
  padding-left: 52px;
  color: var(--muted);
  font-size: 0.94rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
}
.steps li strong { color: var(--text-strong); }

/* ---------- 相关指南 ---------- */
.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.guide-list li { margin: 0; }
.guide-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel);
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.guide-list a:hover {
  border-color: var(--accent-line);
  transform: translateX(3px);
  color: var(--text-strong);
}
.guide-list a::after {
  content: "→";
  margin-left: auto;
  color: var(--accent);
}

/* ---------- 双栏内容 ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.two-col .checklist { grid-template-columns: 1fr; }

/* ---------- 对比表 ---------- */
.compare {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--panel);
}
.compare th {
  padding: 14px 18px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  vertical-align: top;
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child {
  width: 30%;
  color: var(--text-strong);
  font-weight: 600;
}
.compare tbody tr:last-child td {
  background: rgba(34, 211, 238, 0.06);
  color: var(--text);
}
.compare tbody tr:last-child td:first-child { color: var(--accent); }

.badge-row--center {
  justify-content: center;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; align-items: stretch; }
}

@media (max-width: 640px) {
  .checklist { grid-template-columns: 1fr; }
  .badge-row { justify-content: center; text-align: center; }
  .badge-row .badge-text { width: 100%; }
}

/* ---------- 分组小标题 ---------- */
.grid-head { margin: clamp(34px, 4vw, 52px) 0 20px; }
.grid-head h3 { margin-bottom: 6px; }
.grid-head p { margin: 0; max-width: 68ch; color: var(--muted); font-size: 0.9rem; }

/* ---------- 四列卡片 ---------- */
.card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) {
  .card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .card-grid--four { grid-template-columns: 1fr; }
}

/* ---------- 单卡片定价 ---------- */
.pricing--one {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

/* ---------- 长正文（法务 / 指南） ---------- */
.prose { max-width: 78ch; }
.prose h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.prose p,
.prose li { color: var(--muted); font-size: 0.95rem; }
.prose strong { color: var(--text); }
.prose ul,
.prose ol { padding-left: 1.25em; }
.prose li { margin: 0.45em 0; }
.prose hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.prose .updated { color: var(--muted-2); font-size: 0.85rem; }
.prose-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

/* ---------- 表格横向滚动 ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
}
.table-wrap .compare { min-width: 640px; }

/* ---------- 表单 ---------- */
.form-card {
  max-width: 540px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 22px; }
.field label { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  color: var(--text-strong);
  font: inherit;
  font-size: 0.95rem;
}
.field input:focus,
.field select:focus {
  border-color: var(--accent-line);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.field .hint { color: var(--muted-2); font-size: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 链接分组（sitemap） ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.link-grid .info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.link-grid .info-card li { margin: 0; }
.link-grid .info-card a { font-size: 0.9rem; color: var(--muted); }
.link-grid .info-card a:hover { color: var(--text-strong); }
.link-grid .info-card h3 { margin-bottom: 12px; }

@media (max-width: 1024px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
}
/* ---------- 产品差异化模块 ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.proof-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.proof-card--accent {
  border-color: var(--accent-line);
  box-shadow: var(--glow);
}
.proof-card .feature-card__icon { margin-bottom: 14px; }
.proof-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}
.proof-card p { margin-bottom: 0; color: var(--muted); }
.proof-card__meta {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.82rem;
}
.compare--highlight th:last-child,
.compare--highlight td:last-child {
  border-left: 1px solid var(--accent-line);
  background: rgba(34, 211, 238, 0.06);
}
.compare--highlight th:last-child { color: var(--accent); }
.compare--highlight td:last-child { color: var(--text); }

@media (max-width: 768px) {
  .proof-grid { grid-template-columns: 1fr; }
}
