/* ===========================================================
   国展高新科学技术研究院 · 官网样式
   品牌色：深蓝 / 科技蓝 / 金 / 象牙白
   风格：科技智库 · 研究院 · 高端可信
   =========================================================== */

:root {
  --navy:       #0a1b3d;
  --navy-2:     #0d2452;
  --navy-3:     #14305f;
  --blue:       #1e5bb8;
  --blue-2:     #2f6fe0;
  --gold:       #c8a24a;
  --gold-2:     #d8b86a;
  --ivory:      #f7f5ef;
  --ivory-2:    #fbfaf6;
  --ink:        #18223a;
  --ink-soft:   #46506a;
  --line:       #e4e1d7;
  --line-blue:  rgba(255,255,255,.14);
  --white:      #ffffff;
  --shadow:     0 18px 50px -28px rgba(10,27,61,.45);
  --shadow-sm:  0 8px 24px -16px rgba(10,27,61,.4);
  --radius:     14px;
  --maxw:       1180px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory-2);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.3; margin: 0; font-weight: 700; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,27,61,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-blue);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .logo-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-2), var(--navy-3));
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold-2); font-weight: 800; font-size: 18px; letter-spacing: .5px;
}
.brand .logo-text { color: #fff; line-height: 1.15; }
.brand .logo-text b { display: block; font-size: 16px; letter-spacing: .5px; font-weight: 700; }
.brand .logo-text span { display: block; font-size: 11px; color: var(--gold-2); letter-spacing: 2px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; flex-wrap: wrap; justify-content: flex-end;
}
.nav-links a {
  color: #d7def0; font-size: 14.5px; padding: 7px 11px; border-radius: 8px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--gold-2); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: var(--navy) !important; font-weight: 700;
  padding: 8px 16px !important;
}
.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-blue); border-radius: 8px;
  width: 42px; height: 38px; cursor: pointer; color: #fff;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 3px auto; transition: .25s; }

/* ---------- 通用区块 ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section.alt { background: var(--ivory); }
.section.navy { background: var(--navy); color: #e9eefb; }
.section.navy h2, .section.navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; font-weight: 700;
  color: var(--blue); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section.navy .eyebrow { color: var(--gold-2); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }
.section.navy .section-head p { color: #b9c5e2; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: .25s var(--ease);
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(200,162,74,.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(47,111,224,.32), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(200,162,74,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0a1730 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(900px 600px at 75% 20%, #000, transparent 75%);
          mask-image: radial-gradient(900px 600px at 75% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  padding: 96px 0 92px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-blue); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; color: var(--gold-2); letter-spacing: 1px;
  background: rgba(255,255,255,.04); margin-bottom: 24px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200,162,74,.25); }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.18; letter-spacing: 1px;
}
.hero h1 .hl { color: var(--gold-2); }
.hero .lead { margin-top: 22px; font-size: 17.5px; color: #c2cee9; max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 46px; display: flex; gap: 38px; flex-wrap: wrap;
  border-top: 1px solid var(--line-blue); padding-top: 26px;
}
.hero-stats .num { font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats .num span { color: var(--gold-2); }
.hero-stats .lbl { font-size: 13px; color: #9fb0d4; letter-spacing: .5px; }

/* hero 右侧卡片 */
.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--line-blue); border-radius: 18px; padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.hero-card .sub { color: #9fb0d4; font-size: 13px; margin-bottom: 18px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-blue);
  border-radius: 11px; padding: 13px 15px; font-size: 14.5px; color: #dbe4f6;
}
.hero-card li i {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; font-style: normal; font-weight: 700;
  background: rgba(47,111,224,.3); color: var(--gold-2); font-size: 14px;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: .28s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: linear-gradient(var(--blue), var(--gold)); transform: scaleY(0);
  transform-origin: top; transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6e0f2; }
.card:hover::before { transform: scaleY(1); }
.card .ic {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef3fc, #e3ecfb); color: var(--blue);
  font-size: 22px; font-weight: 800; margin-bottom: 18px;
}
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* 编号卡片 */
.card .num-badge {
  position: absolute; top: 18px; right: 20px; font-size: 30px; font-weight: 800;
  color: #eef0f6; line-height: 1;
}

/* navy 区块内的卡片 */
.section.navy .card {
  background: rgba(255,255,255,.05); border-color: var(--line-blue);
}
.section.navy .card h3 { color: #fff; }
.section.navy .card p { color: #b9c5e2; }
.section.navy .card .ic { background: rgba(47,111,224,.25); color: var(--gold-2); }

/* ---------- 流程 ---------- */
.flow { display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; margin-top: 10px; }
.flow .step {
  flex: 1 1 150px; min-width: 150px; position: relative; padding: 0 14px; text-align: center;
}
.flow .step .dot {
  counter-increment: step; width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px;
  color: var(--navy); background: linear-gradient(135deg, var(--gold), var(--gold-2));
  position: relative; z-index: 2;
}
.flow .step .dot::before { content: counter(step); }
.flow .step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.flow .step h4 { font-size: 15px; margin-bottom: 4px; color: var(--navy); }
.flow .step p { font-size: 13px; color: var(--ink-soft); }
.section.navy .flow .step h4 { color: #fff; }
.section.navy .flow .step p { color: #aab8da; }

/* ---------- 列表/表格式条目 ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px;
  transition: .2s;
}
.feature-list li:hover { border-color: #cdd9ef; box-shadow: var(--shadow-sm); }
.feature-list .k { font-weight: 700; color: var(--navy); min-width: 130px; }
.feature-list .v { color: var(--ink-soft); font-size: 15px; }
.feature-list .chk {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 7px; margin-top: 2px;
  background: linear-gradient(135deg, #eef3fc, #e3ecfb); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

/* 双列定义表 */
.deftable { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.deftable th, .deftable td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.deftable th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; letter-spacing: .5px; }
.deftable td:first-child { font-weight: 700; color: var(--navy); width: 32%; }
.deftable td { color: var(--ink-soft); font-size: 15px; }
.deftable tr:last-child td { border-bottom: none; }
.deftable tbody tr:hover { background: var(--ivory); }

/* 标签 */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.section.navy .tag { background: rgba(255,255,255,.06); border-color: var(--line-blue); color: #e7edfb; }
.tag.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: transparent; color: var(--navy); }

/* ---------- 内页页头 ---------- */
.page-hero {
  background:
    radial-gradient(900px 460px at 85% -20%, rgba(47,111,224,.3), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
          mask-image: radial-gradient(700px 400px at 80% 10%, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.crumb { font-size: 13px; color: #9fb0d4; margin-bottom: 16px; }
.crumb a:hover { color: var(--gold-2); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.page-hero p { color: #c2cee9; font-size: 17px; margin-top: 16px; max-width: 720px; }

/* ---------- CTA 区 ---------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 15% 120%, rgba(200,162,74,.22), transparent 60%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff; border-radius: 20px; padding: 54px 48px; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #c2cee9; margin: 14px auto 28px; max-width: 600px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 合作申请表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,224,.15);
}
.checks { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.checks input { width: auto; accent-color: var(--blue); }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.form-ok {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 10px;
  background: #ecf7ef; border: 1px solid #bfe3c8; color: #1d6b34; font-size: 14.5px;
}
.form-ok.show { display: block; }

.info-panel {
  background: var(--navy); color: #e7edfb; border-radius: var(--radius); padding: 32px;
  align-self: start; position: sticky; top: 90px;
}
.info-panel h3 { color: #fff; margin-bottom: 18px; }
.info-panel ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 13px; }
.info-panel li { display: flex; gap: 11px; font-size: 14.5px; color: #c2cee9; align-items: flex-start; }
.info-panel li i { color: var(--gold-2); font-style: normal; font-weight: 800; }
.info-panel .pp { border-top: 1px solid var(--line-blue); padding-top: 18px; font-size: 12.5px; color: #93a3c7; line-height: 1.7; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07142e; color: #aebbd6; padding: 60px 0 26px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid var(--line-blue); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: #8fa0c2; max-width: 320px; font-size: 14px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #aebbd6; transition: color .2s; }
.footer-col a:hover { color: var(--gold-2); }
.compliance {
  margin-top: 30px; padding: 20px 22px; background: rgba(255,255,255,.03);
  border: 1px solid var(--line-blue); border-radius: 12px;
  font-size: 12.5px; color: #8fa0c2; line-height: 1.85;
}
.compliance b { color: #c2cee9; }
.footer-bottom { margin-top: 26px; text-align: center; font-size: 12.5px; color: #6f80a3; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy); padding: 14px; border-bottom: 1px solid var(--line-blue);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s;
    padding-top: 0; padding-bottom: 0;
  }
  .nav-links.open { max-height: 560px; padding: 14px; }
  .nav-links a { padding: 12px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .section { padding: 60px 0; }
  .deftable td:first-child { width: 38%; }
  .flow .step { flex: 1 1 100%; margin-bottom: 22px; }
  .flow .step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-stats { gap: 24px; }
}
