/* ================================================================
   洋代跨境采购集运一体化系统 — 系统产品页样式（system.html）
   基础变量、按钮、导航、页脚、样机见 style.css
   ================================================================ */

/* ── Section heading ───────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  color: var(--ink);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-title .gradient-text { color: var(--brand-600); }
.section-lead { color: var(--body); font-size: 16px; line-height: 1.8; max-width: 640px; margin: 0 auto; }

/* ── Fact cards ────────────────────────────────────────────── */
.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.fact-card b { display: block; color: var(--ink); font-size: 26px; font-weight: 800; line-height: 1.15; }
.fact-card span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 4px; }

/* ── Why cards ─────────────────────────────────────────────── */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.why-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  background: var(--brand-50) !important;
  color: var(--brand-600) !important;
}
.why-card h3 { color: var(--ink); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why-card p  { color: var(--body); font-size: 14.5px; line-height: 1.8; }

/* ── Architecture ──────────────────────────────────────────── */
.arch { max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; }
.arch-layer, .arch-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.arch-layer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.arch-layer-split { background: none; border: none; box-shadow: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.arch-layer-ext { background: transparent; border-style: dashed; box-shadow: none; }
.arch-box p { color: var(--body); font-size: 14px; line-height: 1.7; margin-top: 6px; }
.arch-label { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 16px; }
.arch-label i { color: var(--brand-600); }
.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--body);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 11px;
}
.arch-arrow { text-align: center; color: var(--brand-200); font-size: 13px; padding: 7px 0; }
@media (max-width: 640px) { .arch-layer-split { grid-template-columns: 1fr; } }

/* ── Flow ──────────────────────────────────────────────────── */
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.flow-no { position: absolute; top: 16px; right: 18px; font-size: 22px; font-weight: 800; color: var(--brand-100); }
.flow-step i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.flow-step h3 { color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.flow-step p  { color: var(--body); font-size: 13.5px; line-height: 1.7; }

/* ── Feature cards ─────────────────────────────────────────── */
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.feat-card h3 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.feat-card h3 i { color: var(--brand-600) !important; }
.feat-card li { position: relative; color: var(--body); font-size: 14px; line-height: 1.65; padding: 4px 0 4px 16px; }
.feat-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }

/* ── Platforms ─────────────────────────────────────────────── */
.plat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.plat-head b { color: var(--ink); font-size: 18px; font-weight: 800; }
.plat-tier { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-50) !important; color: var(--brand-700) !important; }
.plat-desc { color: var(--body); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.plat-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; }
.plat-list em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ok); background: #ecfdf5; padding: 2px 9px; border-radius: 999px; }
.plat-tag { font-size: 13px; color: var(--body); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }
.plat-tag-more { color: var(--muted); }
.plat-custom { display: flex; gap: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 16px; }
.plat-custom i { color: var(--brand-600); margin-top: 3px; }
.plat-custom b { color: var(--ink); font-size: 15px; }
.plat-custom p { color: var(--body); font-size: 13.5px; line-height: 1.65; margin-top: 3px; }

/* ── License cards ─────────────────────────────────────────── */
.lic-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.lic-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.lic-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--brand-50) !important; color: var(--brand-600) !important; }
.lic-top h3 { color: var(--ink); font-size: 22px; font-weight: 800; }
.lic-top p  { color: var(--muted); font-size: 14px; }
.lic-for { color: var(--body); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; background: var(--soft); border-radius: 10px; padding: 10px 14px; }
.lic-for b { color: var(--ink); }
.lic-list { flex: 1; margin-bottom: 22px; }
.lic-list li { position: relative; color: var(--body); font-size: 14.5px; line-height: 1.65; padding: 5px 0 5px 26px; }
.lic-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 8px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lic-price { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 14px; }
.lic-price a { color: var(--brand-600); font-weight: 700; }
.lic-price a:hover { text-decoration: underline; }

/* ── Edition tabs & table ──────────────────────────────────── */
.ed-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; width: fit-content; margin: 0 auto 20px; box-shadow: var(--shadow-sm); }
.ed-tab { font-size: 15px; font-weight: 600; color: var(--body); padding: 9px 20px; border-radius: 9px; transition: background 0.2s, color 0.2s; }
.ed-tab:hover { color: var(--brand-600); }
.ed-tab.is-active { background: var(--brand-600); color: #fff; }
.ed-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ed-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.ed-table-2 { min-width: 480px; }
.ed-table th, .ed-table td { padding: 13px 16px; text-align: center; font-size: 14px; border-bottom: 1px solid #eef2f7; color: var(--body); }
.ed-table th:first-child, .ed-table td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.ed-table thead th { color: var(--ink); font-size: 17px; font-weight: 800; padding: 20px 16px; vertical-align: bottom; background: #fafbfd; }
.ed-table thead th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.ed-table tbody tr:last-child td { border-bottom: none; }
.ed-table tbody tr:hover td { background: #fafbfd; }
.ed-table .ed-hl, .ed-table tbody tr:hover td.ed-hl { background: var(--brand-50); }
.ed-table thead .ed-hl { color: var(--brand-700); background: var(--brand-50); box-shadow: inset 0 3px 0 var(--brand-600); }
.ed-table i.y::before, .ed-table i.n::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-style: normal; }
.ed-table i.y::before { content: '\f00c'; color: var(--brand-600); }
.ed-table i.n::before { content: '\2014'; font-family: inherit; color: #cbd5e1; }
.ed-note { display: flex; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 14px; }
.ed-note i { color: var(--brand-600); margin-top: 4px; }

/* ── Delivery & services ───────────────────────────────────── */
.deliv { counter-reset: step; margin-top: 24px; }
.deliv li { counter-increment: step; position: relative; padding: 0 0 26px 52px; }
.deliv li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deliv li::after { content: ''; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--brand-100); }
.deliv li:last-child::after { display: none; }
.deliv b { color: var(--ink); font-size: 16px; }
.deliv p { color: var(--body); font-size: 14px; line-height: 1.7; margin-top: 3px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.svc i { color: var(--brand-600); margin-bottom: 10px; display: block; font-size: 18px; }
.svc b { color: var(--ink); font-size: 15px; }
.svc p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 3px; }

/* ── Cases ─────────────────────────────────────────────────── */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.case-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.case-top img, .case-anon { width: 52px; height: 52px; border-radius: 13px; object-fit: contain; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.case-anon { background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.case-top b { display: block; color: var(--ink); font-size: 16px; }
.case-top span { font-size: 13px; color: var(--muted); }
.case-card p { flex: 1; color: var(--body); font-size: 14.5px; line-height: 1.75; margin-bottom: 16px; }
.case-card a { color: var(--brand-600); font-size: 14.5px; font-weight: 600; }
.case-card a i { font-size: 11px; margin-left: 4px; }
.case-note { font-size: 12.5px; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 22px; color: var(--ink); font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); color: var(--brand-600); }
.faq details p { color: var(--body); font-size: 15px; line-height: 1.8; padding: 0 22px 20px; }

/* ── Consult CTA ───────────────────────────────────────────── */
.consult {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-600) 0%, #1e3a8a 100%);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.consult .section-eyebrow { color: #bcd0fd; }
.consult .section-title, .consult .section-title .gradient-text { color: #fff; }
.consult-lead { color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.8; margin-bottom: 26px; }
.consult-note { color: rgba(255, 255, 255, 0.65); font-size: 13px; margin-top: 12px; }
.consult-info { display: flex; flex-direction: column; gap: 12px; }
.consult-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
  transition: background 0.2s;
  min-width: 0;
}
a.consult-item:hover { background: rgba(255, 255, 255, 0.16); }
.consult-item i { color: #fff; width: 16px; text-align: center; }
.consult-item div { min-width: 0; }
.consult-item span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.consult-item b { display: block; font-size: 15px; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 768px) { .consult { grid-template-columns: 1fr; padding: 28px 22px; } }
/* 页签在窄屏上不换行，放不下时横向滑动 */
.ed-tab { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .ed-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .ed-tabs::-webkit-scrollbar { display: none; }
  .ed-tab { padding: 8px 14px; font-size: 14px; }
}

/* ── FAQ 分类 ──────────────────────────────────────────────── */
.faq-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  transition: border-color 0.2s, color 0.2s;
}
.faq-chip i { color: var(--brand-600); font-size: 12px; }
.faq-chip:hover { border-color: var(--brand-500); color: var(--brand-600); }
.faq-group { margin-bottom: 36px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; margin: 0 0 14px 2px; }
.faq-group-title i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-a { padding: 0 22px 20px; }
.faq .faq-a p { color: var(--body); font-size: 15px; line-height: 1.85; padding: 0; margin: 0 0 10px; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0 0 10px; padding: 0; }
.faq-a ul:last-child { margin-bottom: 0; }
.faq-a li { position: relative; color: var(--body); font-size: 15px; line-height: 1.8; padding: 3px 0 3px 18px; }
.faq-a li::before { content: ''; position: absolute; left: 3px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }
.faq-a b { color: var(--ink); font-weight: 600; }
.faq-a a { color: var(--brand-600); font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

/* 平台列表里的真实图标 */
.plat-name { display: inline-flex; align-items: center; gap: 10px; }
.plat-list-logo { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.plat-tag { display: inline-flex; align-items: center; gap: 6px; }

.ed-scroll-hint { display:none; }
@media (max-width:767px) {
  .ed-scroll-hint { display:block; font-size:13px; color:var(--brand-700); margin:0 0 10px; }
  .ed-table th:first-child, .ed-table td:first-child { position:sticky; left:0; z-index:1; background:#fff; min-width:110px; max-width:140px; box-shadow:3px 0 6px #0f172a0a; }
  .ed-table thead th:first-child { background:#fafbfd; }
  .ed-tab { padding:10px 12px; font-size:14px; }
}
.consult-qr{display:flex;align-items:center;gap:14px;background:#fff;border-radius:14px;padding:12px}.consult-qr img{width:118px;height:auto;border-radius:8px}.consult-qr b{display:block;color:var(--ink);font-size:16px}.consult-qr span{display:block;color:var(--muted);font-size:12px;margin-top:4px}@media(max-width:480px){.consult-qr{flex-direction:column;text-align:center}.consult-qr img{width:180px}}
