/* ============================================================
   51吃瓜app 企业官网 - 完整样式表
   站点：gscyclerace.com
   设计方向：柔和科技风，浅灰白底、青绿色状态、细致分隔线
   分组：base / layout / components / pages / responsive
   ============================================================ */

/* ------------------------------------------------------------
   Base 基础层：变量、reset、字体、全局元素
   ------------------------------------------------------------ */
:root {
  --bg-light: #f7faf9;
  --bg-white: #ffffff;
  --primary: #0e7c6a;
  --primary-soft: #e0f2ef;
  --accent: #10b3a3;
  --status-ok: #22c55e;
  --text-main: #1f2d2d;
  --text-sub: #5b6e6e;
  --border: #dce9e7;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 45, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 45, 40, 0.08);
  --container-max: 1200px;
  --header-h: 68px;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
}

h1 {
  font-size: 36px;
  color: var(--primary);
}

h2 {
  font-size: 28px;
  color: var(--primary);
}

h3 {
  font-size: 20px;
}

p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.75;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ------------------------------------------------------------
   Layout 布局层：全站骨架、header、footer、容器
   ------------------------------------------------------------ */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 12px;
  color: var(--text-sub);
  border-left: 1px solid var(--border);
  padding-left: 8px;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  position: relative;
}

.site-nav .nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-soft);
}

.site-nav .nav-link.is-current {
  color: var(--primary);
  font-weight: 600;
}

.site-nav .nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

.nav-item-with-sub {
  position: relative;
}

.nav-item-with-sub .sub-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 50;
}

.nav-item-with-sub:hover .sub-nav,
.nav-item-with-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-with-sub .sub-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.nav-item-with-sub .sub-nav a:hover {
  color: var(--primary);
  background-color: var(--primary-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1;
}

.site-footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-left .footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.footer-left .footer-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
  max-width: 360px;
}

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-nav-group h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-nav-group ul li {
  margin-bottom: 8px;
}

.footer-nav-group ul a {
  font-size: 14px;
  color: var(--text-sub);
}

.footer-nav-group ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-sub);
}

/* ------------------------------------------------------------
   Components 组件层：按钮、卡片、表格、FAQ、时间轴等
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #0a6a5b;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-soft);
}

.btn-light {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light:hover {
  background-color: var(--primary-soft);
  border-color: var(--primary-soft);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--accent);
}

.btn-text::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* 面包屑 */
.breadcrumb-nav {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list a {
  color: var(--text-sub);
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list li:last-child {
  color: var(--text-main);
  font-weight: 500;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: var(--border);
  font-size: 13px;
}

/* 页面标题区 */
.page-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 24px;
}

.page-title {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 32px;
}

.page-title-area {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0 0 24px;
}

.page-title-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.page-title-area p,
.page-title-inner p {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 720px;
}

/* 内容布局容器 */
.content-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px;
}

.layout-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.main-panel {
  min-width: 0;
  min-height: 200px;
}

/* 侧栏 */
.aside-catalog-nav,
.faq-side-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.aside-catalog-nav h2,
.faq-side-nav h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.catalog-anchor-list li,
.anchor-nav-list li,
.faq-nav-list li {
  margin-bottom: 4px;
}

.catalog-anchor-list a,
.anchor-nav-list a,
.faq-nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.catalog-anchor-list a:hover,
.anchor-nav-list a:hover,
.faq-nav-list a:hover {
  color: var(--primary);
  background-color: var(--primary-soft);
}

.catalog-anchor-list a.is-active,
.anchor-nav-list a.is-active,
.faq-nav-list a.is-active {
  color: var(--primary);
  background-color: var(--primary-soft);
  border-left-color: var(--accent);
  font-weight: 500;
}

/* 表格通用 */
.table-wrapper,
.table-scroll-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
}

.comparison-table,
.compare-table {
  width: 100%;
  min-width: 640px;
  font-size: 14px;
}

.comparison-table thead th,
.compare-table thead th {
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table tbody td,
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: top;
  line-height: 1.7;
}

.comparison-table tbody tr:last-child td,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td,
.compare-table tbody tr:hover td {
  background-color: var(--bg-light);
}

/* 卡片通用 */
.service-card,
.delivery-card,
.checklist-card,
.principle-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.delivery-card:hover,
.checklist-card:hover,
.principle-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* 相关链接 */
.related-links {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.related-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.related-inner h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.related-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-inner ul li a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-sub);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.related-inner ul li a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}

/* ------------------------------------------------------------
   Pages 页面层：首页及各内页专属模块
   ------------------------------------------------------------ */

/* ---------- 首页 ---------- */
.hero-double-channel {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 0;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.hero-left h1 {
  font-size: 36px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-slogan {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero-intro {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-right {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.quick-entry-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.quick-links li {
  margin-bottom: 8px;
}

.quick-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.quick-links li a::after {
  content: "→";
  color: var(--accent);
  font-size: 14px;
}

.quick-links li a:hover {
  color: var(--primary);
  border-color: var(--accent);
  background: var(--primary-soft);
}

.hero-figure {
  max-width: var(--container-max);
  margin: 32px auto 0;
  padding: 0 24px;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.hero-figure figcaption {
  padding: 12px 0 24px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* 服务总览 */
.service-overview {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header p {
  max-width: 680px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 方案对比 */
.solution-comparison {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.solution-comparison .section-header {
  max-width: var(--container-max);
  margin: 0 auto 32px;
  padding: 0 24px;
}

.table-wrapper {
  max-width: var(--container-max);
  margin: 0 auto 32px;
}

.solution-figure {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.solution-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.solution-figure figcaption {
  padding: 12px 0 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* 流程预览 */
.process-preview {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
}

/* 底部CTA */
.entry-cta {
  background-color: var(--primary);
  border-radius: var(--radius-md);
  max-width: var(--container-max);
  margin: 0 auto 48px;
  overflow: hidden;
  position: relative;
}

.cta-content {
  padding: 48px 40px;
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cta-content h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.cta-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta-figure figcaption {
  display: none;
}

/* ---------- 服务目录页 ---------- */
.service-compare-table {
  margin-bottom: 40px;
}

.service-compare-table h2,
.service-detail-head h2,
.catalog-filter h2,
.delivery-notes h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.section-intro {
  margin-bottom: 20px;
}

.service-detail {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
}

.service-detail-head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.service-detail-head h2 {
  margin-bottom: 8px;
}

.service-detail-head p {
  font-size: 14px;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.capability-list h3,
.boundary-note h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--primary);
}

.capability-list ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-main);
}

.capability-list ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.boundary-note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.boundary-note ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.boundary-note ul li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: #d9534f;
  font-weight: 600;
}

.catalog-filter {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 40px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.filter-tag {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-sub);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.filter-tag:hover,
.filter-tag.is-active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.filter-hint {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 12px;
}

.filter-hint code {
  background: var(--primary-soft);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--primary);
}

.delivery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.delivery-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 10px;
}

.delivery-card p {
  font-size: 14px;
}

.service-visual {
  margin-top: 40px;
}

.service-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.service-visual figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* ---------- 解决方案页 ---------- */
.scenario-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.scenario-reverse .scenario-media {
  order: 2;
}

.scenario-reverse .scenario-content {
  order: 1;
}

.scenario-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.scenario-figure figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

.scenario-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.problem-list-wrap {
  margin-bottom: 20px;
}

.problem-list-wrap h3,
.solution-approach h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 12px;
}

.problem-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-main);
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.solution-approach p,
.solution-approach li {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.step-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
}

.step-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* 流程示意 */
.process-diagram {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.process-node {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.process-node:last-child {
  border-bottom: none;
}

.node-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.node-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

/* 移动端路径 */
.mobile-path-list {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.path-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.path-item:last-child {
  border-bottom: none;
}

.path-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.path-desc {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.selection-comparison {
  margin-top: 24px;
}

.selection-comparison h2 {
  margin-bottom: 20px;
}

/* ---------- 协作流程页 ---------- */
.timeline-steps {
  margin-bottom: 48px;
}

.timeline-steps h2 {
  margin-bottom: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.timeline-content h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  margin-bottom: 12px;
}

.delivery-block {
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.delivery-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.delivery-text {
  font-size: 14px;
  color: var(--text-main);
}

.confirm-note {
  font-size: 13px;
  color: var(--text-sub);
}

.process-figure {
  margin: 32px 0;
}

.process-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.process-figure figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

.prep-checklist {
  margin-bottom: 48px;
}

.prep-checklist h2 {
  margin-bottom: 8px;
}

.checklist-list {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 24px;
}

.checklist-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--primary);
}

.checklist-item p {
  font-size: 14px;
}

.confirmation-notes {
  margin-bottom: 24px;
}

.confirmation-notes h2 {
  margin-bottom: 20px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.principle-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 14px;
}

.more-note {
  margin-top: 24px;
  font-size: 14px;
}

.more-note a {
  font-weight: 500;
}

/* ---------- 常见问题页 ---------- */
.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item[open] summary {
  color: var(--primary);
  background: var(--primary-soft);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-sub);
}

.unanswered-note {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 24px;
}

.unanswered-note h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.unanswered-note p {
  font-size: 14px;
  margin-bottom: 16px;
}

.unanswered-note a {
  font-weight: 500;
}

.faq-figure {
  margin-top: 24px;
}

.faq-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.faq-figure figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* ---------- 合作对接页 ---------- */
.applicable-objects {
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.two-column-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.col-fit {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.col-fit h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 12px;
}

.suitable-list li,
.unsuitable-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
}

.suitable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-ok);
}

.unsuitable-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9534f;
}

.preparation-checklist {
  margin-bottom: 48px;
}

.section-desc {
  margin-bottom: 20px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.checklist-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.checklist-card p {
  font-size: 14px;
}

.three-steps {
  margin-bottom: 48px;
}

.steps-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-item .step-number {
  width: 36px;
  height: 36px;
  font-size: 16px;
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
}

.next-step-note {
  background: var(--primary-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
}

.note-inner h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.note-inner p {
  font-size: 14px;
  margin-bottom: 16px;
}

.note-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.note-links a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
}

.note-links a:hover {
  background: #0a6a5b;
  color: #fff;
}

.note-links a:last-child {
  background: transparent;
  color: var(--primary);
}

.note-links a:last-child:hover {
  background: var(--bg-white);
}

.media-figure {
  margin-top: 32px;
}

.media-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.media-figure figcaption {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

/* ---------- 404 页 ---------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 15px;
  margin-bottom: 24px;
}

.error-actions {
  margin-bottom: 16px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
}

.error-btn:hover {
  background: #0a6a5b;
  color: #fff;
}

.error-help {
  font-size: 13px;
}

/* ------------------------------------------------------------
   Responsive 响应式层：平板与手机断点
   ------------------------------------------------------------ */

/* 平板：1024px 及以下 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }

  .layout-shell {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }

  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checklist-grid .checklist-card:last-child {
    grid-column: span 2;
  }
}

/* 手机：768px 及以下 */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .site-nav .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
    z-index: 99;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .site-nav .nav-link.is-current::after {
    display: none;
  }

  .nav-item-with-sub .sub-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-item-with-sub:hover .sub-nav,
  .nav-item-with-sub:focus-within .sub-nav {
    transform: none;
  }

  .nav-item-with-sub .sub-nav a {
    padding: 10px 16px;
    font-size: 15px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left h1 {
    font-size: 28px;
  }

  .hero-right {
    order: 2;
  }

  .hero-figure {
    margin-top: 24px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-content {
    padding: 32px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layout-shell {
    grid-template-columns: 1fr;
  }

  .aside-catalog-nav,
  .faq-side-nav {
    position: static;
    order: 2;
  }

  .main-panel {
    order: 1;
  }

  .service-detail-body {
    grid-template-columns: 1fr;
  }

  .delivery-cards {
    grid-template-columns: 1fr;
  }

  .scenario-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scenario-reverse .scenario-media {
    order: 0;
  }

  .scenario-reverse .scenario-content {
    order: 1;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .timeline-item::before {
    left: 24px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .two-column-split {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-grid .checklist-card:last-child {
    grid-column: auto;
  }

  .steps-sequence {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 24px 0 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .content-wrap {
    padding: 24px 16px;
  }

  .layout-shell {
    padding: 24px 16px;
  }

  .footer-inner {
    padding: 32px 16px 16px;
  }

  .footer-right {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 12px 16px;
  }
}

/* 小屏手机：390px 及以下 */
@media (max-width: 390px) {
  .brand-tag {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .page-title {
    font-size: 22px;
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
