/* 聚票通官网 P0 · 共享样式
   品牌色取自聚票通 logo（红）。视觉与 home.jupiaotong.cn 保持一致：红色品牌 + 深蓝科技 hero + 合作伙伴墙。
   资源前缀用 /assets/，不占用旧 H5 的 /static/（避免冲突 + robots 误挡）。*/

:root {
  --brand: #c8202c;          /* 聚票通品牌红（取自 logo） */
  --brand-dark: #a3171f;
  --brand-soft: #fdeceD;
  --hero-1: #0f2747;         /* 深蓝科技 hero（对齐 home） */
  --hero-2: #15366a;
  --ink: #1b2733;
  --ink-soft: #51606e;
  --line: #e6e9ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --ok: #1a8a5a;
  --radius: 12px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 17px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.center { text-align: center; }

/* 顶栏 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.nav .links { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav .links a { color: var(--ink-soft); font-size: .98rem; }
.nav .links a:hover { color: var(--brand); text-decoration: none; }
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; border: 1px solid var(--brand); }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.on-dark { box-shadow: 0 6px 20px rgba(200,32,44,.35); }

/* 区块 */
section { padding: 60px 0; }
section.alt { background: var(--bg-alt); }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: 1px; font-size: .9rem; margin-bottom: 10px; }

/* Hero（深蓝科技） */
.hero { background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); }
.hero h1 { color: #fff; max-width: 18em; }
.hero .lead { color: #d7e0ee; max-width: 40em; }
.hero .answer { background: rgba(255,255,255,.08); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-size: 1.06rem; color: #eef3fa; max-width: 52em; }
.hero .eyebrow { color: #ff8a93; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* 数据条（信任） */
.stats { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stats .s { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stats .s:last-child { border-right: 0; }
.stats .s .num { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stats .s .lbl { color: var(--ink-soft); font-size: .96rem; margin-top: 6px; }

/* 卡片网格 */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.card .tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; margin-bottom: 10px; }

/* 步骤 */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step .body { padding-top: 4px; }
.step .body b { display: block; }

/* 列表 */
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; color: var(--ok); font-weight: 700; position: absolute; left: 0; }
.crosses li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.crosses li::before { content: "—"; color: var(--ink-soft); position: absolute; left: 0; }

/* 合作伙伴墙 */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos .lg { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; height: 76px; display: grid; place-items: center; color: var(--ink-soft); font-weight: 600; font-size: 1.02rem; text-align: center; padding: 0 10px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { color: var(--ink-soft); margin: 0 0 14px; }

/* 提示条 */
.note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; color: var(--ink-soft); font-size: .96rem; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: .94rem; background: var(--bg-alt); }
.site-footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.site-footer .legal { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); font-size: .86rem; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .s:nth-child(2) { border-right: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  /* 移动端导航:换行成第二排 + 横向可滚动(不再整排消失) */
  .nav { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .nav .links { width: 100%; margin-left: 0; gap: 14px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nav .links a { white-space: nowrap; font-size: .92rem; }
  .nav .links .btn { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
