/* 一起数商 官网 - 全局样式 */

:root {
  --brand: #0a3b2f;
  --brand-2: #12604c;
  --brand-3: #1f7a62;
  --gold: #c8a45c;
  --gold-soft: #f3e9d2;
  --ink: #16211d;
  --text: #33403c;
  --muted: #6b7a75;
  --line: #e4e8e6;
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --bg-deep: #08251d;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(10, 59, 47, 0.08);
  --shadow-lg: 0 18px 50px rgba(10, 59, 47, 0.14);
  --maxw: 1200px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(10, 59, 47, .06); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 38px; height: 38px; border-radius: 10px; display: block;
  box-shadow: 0 4px 12px rgba(10, 59, 47, .22);
}
.footer .logo-img { width: 34px; height: 34px; border-radius: 9px; box-shadow: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 18px; color: var(--brand); letter-spacing: 1px; }
.logo-txt span { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink);
  transition: color .2s, background .2s;
}
.menu a:hover { color: var(--brand-2); background: var(--bg-soft); }
.menu a.active { color: var(--brand); font-weight: 600; }
.menu a.active::after {
  content: ""; display: block; height: 2px; width: 18px; margin: 3px auto 0;
  background: var(--gold); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(10, 59, 47, .24); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #3a2c10; font-weight: 600; }
.btn-gold:hover { background: #d8b672; transform: translateY(-2px); }
.btn-line { border-color: var(--brand); color: var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 14px 34px; font-size: 16px; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.burger i { display: block; width: 22px; height: 2px; background: var(--brand); margin: 5px auto; transition: .3s; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; padding: calc(var(--nav-h) + 92px) 0 96px;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(200,164,92,.18), transparent 62%),
    radial-gradient(760px 480px at 12% 88%, rgba(31,122,98,.16), transparent 60%),
    linear-gradient(180deg, #f7f9f7 0%, #ffffff 68%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,59,47,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,59,47,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1000px 620px at 60% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 620px at 60% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: #8a6a24; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(200,164,92,.35);
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero h1 {
  margin: 22px 0 18px;
  font-size: 46px; line-height: 1.28; font-weight: 700; color: var(--brand);
  letter-spacing: -.5px;
}
.hero h1 em { font-style: normal; color: var(--gold); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: rgba(200,164,92,.28); z-index: -1; border-radius: 3px;
}
.hero p.lead { font-size: 17px; color: var(--text); max-width: 560px; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { margin-top: 46px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 26px; color: var(--brand); font-weight: 700; }
.hero-stats div span { font-size: 13px; color: var(--muted); }

/* 首屏右侧：数字资产卡 */
.hero-card {
  position: relative; background: #fff; border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-card h4 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.token { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--bg-soft); margin-bottom: 12px; transition: .25s; }
.token:hover { background: #eef4f1; transform: translateX(4px); }
.token .ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 44px; }
.token.bean .ic { background: #e6f2ec; }
.token.ling .ic { background: var(--gold-soft); }
.token b { display: block; font-size: 16px; color: var(--brand); }
.token span { font-size: 13px; color: var(--muted); }
.flow { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.flow .row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding: 7px 0; color: var(--ink); }
.flow .row span:last-child { color: var(--brand-2); font-weight: 600; }
.badge-compliance {
  margin-top: 16px; font-size: 12px; color: var(--muted); background: #fbfaf7;
  border: 1px solid rgba(200,164,92,.3); border-radius: 10px; padding: 10px 12px; line-height: 1.6;
}

/* ---------- 通用区块 ---------- */
section { padding: 92px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-deep { background: var(--bg-deep); color: #dfe8e5; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head .tag { margin-bottom: 16px; }
.sec-head h2 { font-size: 34px; color: var(--brand); font-weight: 700; line-height: 1.35; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.sec-deep .sec-head h2 { color: #fff; }
.sec-deep .sec-head p { color: #9fb2ac; }

/* ---------- 业务板块卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: .3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(31,122,98,.3); }
.card .num { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 2px; }
.card h3 { margin: 12px 0 12px; font-size: 21px; color: var(--brand); font-weight: 650; }
.card p { font-size: 15px; color: var(--text); }
.card ul { margin-top: 18px; }
.card ul li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--brand-3); transform: rotate(45deg);
}

.card-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, #e6f2ec, #f3e9d2);
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { text-align: center; position: relative; }
.step .dot {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-3); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
  position: relative; z-index: 2;
}
.step h4 { font-size: 16px; color: var(--brand); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 60%; right: -40%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  z-index: 1;
}

/* ---------- 合作伙伴 / Logo墙 ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.partner {
  min-width: 200px; padding: 18px 24px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  text-align: center; transition: .25s;
}
.partner:hover { background: rgba(255,255,255,.1); border-color: rgba(200,164,92,.5); }
.partner b { display: block; color: #fff; font-size: 16px; }
.partner span { font-size: 12px; color: #8fa39d; }

/* ---------- 合规条 ---------- */
.compliance {
  border-left: 4px solid var(--gold); background: #fdfaf4;
  padding: 22px 26px; border-radius: 0 12px 12px 0; font-size: 15px; color: #5c5140;
}
.compliance b { color: #8a6a24; }

/* ---------- 新闻列表 ---------- */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: flex; align-items: center; gap: 24px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: .25s;
}
.news-item:hover { border-color: rgba(31,122,98,.35); transform: translateX(5px); box-shadow: var(--shadow); }
.news-date { flex: 0 0 92px; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-date b { display: block; font-size: 22px; color: var(--brand); line-height: 1.1; }
.news-date span { font-size: 12px; color: var(--muted); }
.news-body h4 { font-size: 17px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.news-body p { font-size: 14px; color: var(--muted); }
.news-item .arrow { margin-left: auto; color: var(--gold); font-size: 20px; }

/* ---------- 页脚 ---------- */
.footer { background: #061c16; color: #9fb2ac; padding: 64px 0 28px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold); }
.footer .logo-txt b { color: #fff; }
.footer .logo-txt span { color: #7e918c; }
.footer p.f-desc { margin-top: 16px; max-width: 320px; line-height: 1.8; }
.contact-line { display: flex; gap: 10px; margin-bottom: 12px; }
.contact-line i { color: var(--gold); font-style: normal; flex: 0 0 18px; }
.footer .bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6d817b;
}

/* ---------- 页面内页头 ---------- */
.page-head {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  background: linear-gradient(135deg, #0a3b2f, #12604c);
  color: #fff; text-align: center;
}
.page-head h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.page-head p { color: #b9cbc5; max-width: 640px; margin: 0 auto; }
.crumb { font-size: 13px; color: #9fb2ac; margin-bottom: 14px; }
.crumb a:hover { color: var(--gold); }

/* ---------- 内容排版 ---------- */
.prose { max-width: 900px; }
.prose h3 { font-size: 22px; color: var(--brand); margin: 34px 0 14px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul.plain li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.prose ul.plain li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
}

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 15px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); color: var(--brand); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- 表单 ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand-3); box-shadow: 0 0 0 3px rgba(31,122,98,.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .err { display: none; color: #c0392b; font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .err { display: block; }
.form-ok { display: none; background: #eef7f2; border: 1px solid #bcdfd0; color: var(--brand-2); padding: 14px 18px; border-radius: 10px; font-size: 15px; }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .step:not(:last-child)::after { display: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .menu {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 18px;
    box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu a.active::after { display: none; }
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  section { padding: 64px 0; }
  .hero { padding: calc(var(--nav-h) + 52px) 0 64px; }
  .hero h1 { font-size: 30px; }
  .sec-head h2 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; gap: 14px; }
  .news-date { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 10px; text-align: left; flex: 1 1 100%; }
  .page-head h1 { font-size: 27px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s ease; display: flex; flex-direction: column; }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(31,122,98,.3); }
a.cert-shot { display: block; background: #f1f4f2; padding: 16px; }
.cert-shot img { width: 100%; height: 320px; object-fit: contain; background: #fff; border-radius: 8px; }
.cert-meta { padding: 18px 20px 22px; }
.cert-meta h3 { font-size: 17px; color: var(--brand); margin-bottom: 8px; font-weight: 650; }
.cert-meta p { font-size: 13px; color: var(--muted); }
.cert-meta .no { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #8a6a24; margin-bottom: 4px; }
@media (max-width: 1000px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cert-grid { grid-template-columns: 1fr; } .cert-shot img { height: 260px; } }

/* ---------- 证书横幅（首页央企合作/品牌背书） ---------- */
.cert-banner {
  display: flex; align-items: center; gap: 26px; margin-top: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; transition: .3s ease;
}
.cert-banner:hover { box-shadow: var(--shadow-lg); border-color: rgba(31, 122, 98, .3); transform: translateY(-3px); }
.cert-banner img {
  width: 176px; height: 124px; object-fit: contain; flex: 0 0 176px;
  background: #f1f4f2; border-radius: 8px;
}
.cert-banner-txt b { display: block; font-size: 17px; color: var(--brand); margin-bottom: 6px; }
.cert-banner-txt span { font-size: 13px; color: var(--muted); line-height: 1.7; }
.cert-banner .arrow { margin-left: auto; color: var(--brand-3); font-size: 18px; }
@media (max-width: 720px) {
  .cert-banner { flex-direction: column; text-align: center; gap: 16px; }
  .cert-banner img { width: 100%; height: auto; flex: none; }
  .cert-banner .arrow { display: none; }
}

/* ---------- 数商令币（素材图） ---------- */
.ic-img img { width: 30px; height: 30px; object-fit: contain; }
.card-ico-img { background: linear-gradient(135deg, #f2f5f6, #e7edef); }
.card-ico-img img { width: 40px; height: 40px; object-fit: contain; }

.coin-figure {
  margin: 40px auto 0; max-width: 480px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; box-shadow: var(--shadow);
}
.coin-figure img { width: 170px; height: 170px; object-fit: contain; margin: 0 auto 18px; }
.coin-figure figcaption { font-size: 13px; color: var(--muted); line-height: 1.75; }
.coin-figure figcaption b { display: block; font-size: 15px; color: var(--brand); margin-bottom: 4px; }
.coin-figure figcaption em { font-style: normal; color: var(--gold); font-family: ui-monospace, Consolas, monospace; letter-spacing: 1px; font-size: 12px; }

/* 数商令说明条 */
.ling-band {
  display: flex; align-items: center; gap: 30px; margin: 36px auto 0; max-width: 860px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 32px; box-shadow: var(--shadow);
}
.ling-band img { width: 136px; height: 136px; object-fit: contain; flex: 0 0 136px; }
.ling-band .txt b { display: block; font-size: 19px; color: var(--brand); margin-bottom: 8px; }
.ling-band .txt p { font-size: 15px; color: var(--text); }
.ling-band .txt ul { margin-top: 12px; }
.ling-band .txt li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.ling-band .txt li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 720px) { .ling-band { flex-direction: column; text-align: center; gap: 18px; } .ling-band .txt li { text-align: left; } }
