/* ===== 一票通TMS 官网样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #0b63f8;
  --blue-deep: #0a2f8f;
  --blue-light: #eaf1ff;
  --orange: #ff7a1a;
  --ink: #15233f;
  --text: #4d5d78;
  --line: #e3eaf6;
  --bg: #f5f8ff;
  --white: #fff;
  --grad: linear-gradient(120deg, #0a4fcb, #0b63f8);
  --grad-o: linear-gradient(120deg, #ff6a00, #ff8f3c);
  --shadow: 0 16px 40px rgba(11, 99, 248, .12);
  --r: 14px;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { scroll-margin-top: 84px; }
.muted { color: var(--text); }

/* 滚动显现动画 */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ===== 顶栏 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21, 35, 63, .06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(21, 35, 63, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(11, 99, 248, .35);
}
.logo-txt b { display: block; font-size: 19px; line-height: 1.2; letter-spacing: .5px; }
.logo-txt b i { font-style: normal; color: var(--blue); }
.logo-txt small { font-size: 11px; color: var(--text); letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  padding: 8px 15px; border-radius: 8px; color: var(--ink);
  font-weight: 500; transition: .2s;
}
.nav > a:hover, .nav > a.active { color: var(--blue); background: var(--blue-light); }
.header-tel {
  display: flex; align-items: center; gap: 8px; margin-left: 14px;
  font-weight: 700; color: var(--blue); font-size: 16px; white-space: nowrap;
}
.header-tel svg { flex: none; }
.nav-toggle { display: none; }

/* ===== 底部 ===== */
.footer { background: #0c1530; color: #a9b7d4; padding: 64px 0 0; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-brand .logo-icon { background: var(--grad-o); box-shadow: 0 6px 14px rgba(255, 122, 26, .3); }
.footer-brand p { margin: 16px 0 20px; font-size: 13.5px; line-height: 2; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; transition: .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.footer-contact li b { color: #fff; font-weight: 600; }
.icp-line { border-top: 1px solid rgba(255, 255, 255, .08); }
.icp-line .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 16px 0; font-size: 13px; color: #7d8bb0;
}
.icp-line a:hover { color: #fff; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: 40px; font-weight: 600; font-size: 15px;
  transition: .25s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(11, 99, 248, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(11, 99, 248, .4); }
.btn-orange { background: var(--grad-o); color: #fff; box-shadow: 0 10px 22px rgba(255, 122, 26, .3); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(255, 122, 26, .38); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--blue-deep); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ===== 首页 Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(20, 140, 255, .45), transparent 60%),
    radial-gradient(700px 420px at -8% 108%, rgba(255, 150, 40, .18), transparent 60%),
    linear-gradient(135deg, #0a2a72 0%, #0a3aa0 55%, #0b63f8 130%);
  padding: 168px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.6), transparent 65%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 40px;
  font-size: 13px; letter-spacing: 1px; background: rgba(255,255,255,.08);
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.16; font-weight: 800; margin: 26px 0 6px; letter-spacing: 2px; }
.hero h1 i { font-style: normal; background: linear-gradient(90deg, #ffd5a3, #ffa14a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); color: #e4eefe; margin-bottom: 18px; max-width: 620px; }
.hero .sub { color: #bcd1f5; max-width: 600px; font-size: 15.5px; }
.hero-actions { display: flex; gap: 16px; margin: 34px 0 28px; flex-wrap: wrap; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  padding: 6px 14px; border-radius: 6px; font-size: 13px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
}
.hero-qr {
  justify-self: center; background: #fff; color: var(--ink);
  border-radius: 20px; padding: 26px 24px 22px; text-align: center;
  box-shadow: 0 30px 60px rgba(4, 18, 60, .35); width: min(320px, 100%);
}
.hero-qr h3 { font-size: 17px; margin-bottom: 2px; }
.hero-qr p { font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
.qr-img { width: 188px; height: 188px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; }
.hero-qr .download-pc {
  display: block; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  color: var(--blue); font-weight: 600; font-size: 14px; transition: .2s;
}
.hero-qr .download-pc:hover { color: var(--orange); }

/* ===== 通用节 ===== */
.section { padding: 96px 0; }
.section.bg { background: var(--bg); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 58px; }
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--blue);
  font-size: 14px; font-weight: 700; letter-spacing: 3px; margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.3; }
.sec-head h2 em { font-style: normal; color: var(--blue); }
.sec-head p { margin-top: 14px; color: var(--text); font-size: 16px; }

/* 节卡片 */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; transition: .3s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--grad); opacity: 0; transition: .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text); font-size: 14.5px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* 应用场景 */
.scene .card { text-align: center; padding: 36px 24px; }
.scene .card::before { width: 100%; height: 3px; top: 0; }
.scene .card .ic { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 50%; }
.scene .card h3 { font-size: 19px; }
.scene .card .step-tag {
  position: absolute; top: 14px; right: 18px; font-size: 40px; font-weight: 800;
  color: #eef3fd; line-height: 1;
}

/* 优势列表 */
.advantage-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: .3s; }
.advantage-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.advantage-item .no {
  flex: none; width: 46px; height: 46px; border-radius: 50%; color: #fff;
  background: var(--grad-o); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(255,122,26,.3);
}
.advantage-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.advantage-item p { color: var(--text); font-size: 14px; }

/* App 区块 */
.app-section {
  background:
    radial-gradient(800px 380px at 92% 0%, rgba(255, 160, 60, .2), transparent 60%),
    linear-gradient(135deg, #081c4d 0%, #0a3aa0 100%);
  color: #fff;
}
.app-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.app-wrap h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.app-wrap h2 em { font-style: normal; color: #ffb25e; }
.app-wrap .lead { margin: 18px 0 24px; color: #cdddfa; }
.app-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.app-list li {
  display: flex; gap: 10px; align-items: center; font-size: 14.5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: 10px 14px; border-radius: 10px;
}
.app-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffb25e; flex: none; }
.app-qr { justify-self: center; }
.qr-big {
  background: #fff; border-radius: 22px; padding: 30px; text-align: center; color: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35); width: min(320px, 100%);
}
.qr-big .qr-img { width: 176px; height: 176px; }
.qr-big h4 { font-size: 18px; }
.qr-big p { font-size: 13px; color: var(--text); margin-top: 2px; }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.about-grid .lead { color: var(--text); margin-bottom: 14px; }
.about-grid .list-check li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--text); }
.about-grid .list-check li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 9px; }
.contact-card {
  background: var(--grad); color: #fff; border-radius: 18px; padding: 34px 30px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 21px; margin-bottom: 20px; }
.contact-card li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; font-size: 15px; }
.contact-card li svg { flex: none; margin-top: 3px; }
.contact-card .tel { font-size: 30px; font-weight: 800; letter-spacing: 1px; }

/* ===== 下载中心页 ===== */
.dl-hero {
  background:
    radial-gradient(700px 360px at 92% -10%, rgba(20, 140, 255, .4), transparent 60%),
    linear-gradient(135deg, #0a2a72 0%, #0a3aa0 60%, #0b63f8 130%);
  color: #fff; padding: 150px 0 64px; text-align: center; position: relative; overflow: hidden;
}
.dl-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.dl-hero p { color: #cdddfa; font-size: 16px; }
.dl-tip {
  background: #fff7ec; border: 1px solid #ffe0b8; color: #8a5a12;
  border-radius: 12px; padding: 16px 20px; font-size: 14px; margin: 36px 0 8px;
  display: flex; gap: 12px;
}
.dl-tip svg { flex: none; margin-top: 2px; }
.dl-tip b { color: #6b4308; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.dl-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; gap: 20px; align-items: center; transition: .3s;
}
.dl-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.dl-ic {
  flex: none; width: 64px; height: 64px; border-radius: 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.dl-meta { flex: 1; min-width: 0; }
.dl-meta h3 { font-size: 16.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-meta h3 .must {
  font-size: 11px; font-weight: 600; color: var(--orange); background: #fff2e6;
  border: 1px solid #ffd9b8; padding: 1px 8px; border-radius: 20px;
}
.dl-meta p { color: var(--text); font-size: 13.5px; margin-top: 4px; }
.dl-btn {
  flex: none; padding: 10px 26px; border-radius: 40px; background: var(--grad); color: #fff;
  font-weight: 600; border: 0; cursor: pointer; transition: .25s; font-size: 14px;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(11,99,248,.3); }
.dl-btn:active { transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .app-wrap, .about-grid { grid-template-columns: 1fr; }
  .hero-qr, .app-qr { justify-self: center; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .nav-toggle {
    display: flex; width: 42px; height: 42px; align-items: center; justify-content: center;
    flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; margin-left: auto;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 5%; gap: 2px;
    box-shadow: 0 24px 40px rgba(21,35,63,.12); transform: translateY(-130%);
    transition: .3s; z-index: 998; border-bottom: 1px solid var(--line);
  }
  .nav.open { transform: none; }
  .nav > a { padding: 13px 10px; border-bottom: 1px solid #f0f4fc; }
  .header-tel { margin-left: auto; margin-right: 8px; }
  .header-tel span.txt { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 64px; }
  .footer .container { grid-template-columns: 1fr; gap: 28px; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-item { flex-wrap: wrap; }
  .dl-btn { width: 100%; }
  .app-list { grid-template-columns: 1fr; }
  .contact-card .tel { font-size: 24px; }
  .icp-line .container { justify-content: center; text-align: center; }
}
