@charset "utf-8";
/* ============ AI 军火库 · 基础层（Awwwards 级设计系统 v2） ============ */

:root {
  --ink: #17314a;
  --ink-2: #294b62;
  --accent: #ff8c32;
  --accent-2: #ffb05f;
  --accent-deep: #e8701a;
  --accent-ink: #8a4a17;
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #405468;
  --muted: #718594;
  --line: #e4ebef;
  --dark: #102333;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
img { max-width: 100%; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
input, select, textarea { min-width: 0; }
table { border-collapse: collapse; }

a {
  color: #31566f;
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--accent); }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] { display: none !important; }
.visually-hidden, .skip-link:not(:focus) {
  clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap;
}
.skip-link:focus { display: block; padding: 12px 16px; background: #fff; z-index: 100; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
#content { min-height: 70vh; }

/* ============ Header ============ */
#header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(135deg, #1d3d58 0%, #152a3e 100%);
  transition: box-shadow .3s var(--ease);
}
#header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,140,50,.55), transparent);
}
#header.is-scrolled { box-shadow: 0 10px 30px rgba(16,35,51,.18); }
#topbox {
  display: flex; align-items: center; gap: 28px;
  max-width: 1200px; margin: 0 auto; min-height: 84px; padding: 0 20px;
  transition: min-height .35s var(--ease);
}
#header.is-scrolled #topbox { min-height: 64px; }

.brand {
  display: flex; gap: 12px; align-items: center; flex: 0 0 auto;
  color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2;
}
.brand:hover { color: #fff; }
.brand-mark {
  display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 13px; overflow: hidden; background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: transform .3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-caption { display: block; font-size: 11px; font-weight: 400; margin-top: 4px; color: #9fb6c6; letter-spacing: .06em; }

#sobox { flex: 1; min-width: 0; }
.sofrm { display: flex; position: relative; width: 100%; }
.sipt {
  background: rgba(255,255,255,.96); border: 0; border-radius: 12px 0 0 12px;
  color: #34495e; flex: 1; min-width: 0; height: 46px; padding: 0 16px 0 42px; outline: none;
  transition: box-shadow .25s var(--ease), background .25s;
}
.sipt::placeholder { color: #8fa3b1; }
.sipt:focus { background: #fff; box-shadow: 0 0 0 4px rgba(255,140,50,.28); }
.sofrm::before {
  content: "⌕"; position: absolute; left: 14px; top: 50%; transform: translateY(-52%);
  color: #8fa3b1; font-size: 18px; pointer-events: none;
}
.sbtn {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  border: 0; border-radius: 0 12px 12px 0; color: #fff; font-weight: 700;
  height: 46px; padding: 0 26px; letter-spacing: .04em;
  transition: filter .25s var(--ease), transform .2s var(--ease);
}
.sbtn:hover { filter: brightness(1.08); }
.sbtn:active { transform: scale(.97); }

.nav-toplink { font-size: 14px; font-weight: 650; color: #fff; opacity: .9; white-space: nowrap; position: relative; }
.nav-toplink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-toplink:hover { opacity: 1; }
.nav-toplink:hover::after { transform: scaleX(1); }

.submit-link {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  border-radius: 999px; color: #fff; flex: 0 0 auto; font-weight: 700; font-size: 14px;
  padding: 10px 20px; white-space: nowrap; letter-spacing: .03em;
  box-shadow: 0 4px 14px rgba(255,124,32,.3);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.submit-link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,124,32,.42); }
.submit-link:active { transform: scale(.97); }

/* ============ Nav ============ */
#navbox { background: #fff; box-shadow: 0 1px 0 var(--line); }
.navbar { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
.navbar li { flex: 1 0 auto; text-align: center; min-width: 0; }
.navbar li a {
  position: relative; display: block; padding: 15px 4px 12px;
  color: #486274; font-size: 13px; font-weight: 550; white-space: nowrap;
}
.navbar li a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px;
  border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.navbar li a:hover { color: var(--ink); }
.navbar li a:hover::after, .navbar li.cur a::after { transform: scaleX(1); }
.navbar li.cur a { color: var(--ink); font-weight: 700; }
.nav-toggle, .nav-toggle + label { display: none; }

/* ============ Footer ============ */
#footer {
  background: linear-gradient(180deg, #16334c 0%, var(--dark) 100%);
  color: #dcebf4; margin-top: 72px; padding: 56px 0 40px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px;
}
.footer-brand strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.footer-brand p { font-size: 13px; margin-top: 10px; color: #9fb6c6; letter-spacing: .02em; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 6px; }
.footer-inner nav a {
  color: #c4d5e2; font-size: 13px; position: relative; padding-bottom: 3px;
}
.footer-inner nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .28s var(--ease); }
.footer-inner nav a:hover { color: #fff; }
.footer-inner nav a:hover::after { right: 0; }
.footer-note { flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.14); margin-top: 8px; padding-top: 20px; font-size: 12px; color: #93a9bb; line-height: 2; letter-spacing: .02em; }
.footer-note a { color: #b8c9d5; }
.footer-note a:hover { color: var(--accent-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============ 移动端 Header/Nav ============ */
@media (max-width: 768px) {
  #topbox { flex-wrap: wrap; gap: 12px; min-height: 0; padding: 12px 16px 14px; }
  #header.is-scrolled #topbox { min-height: 0; }
  .brand { font-size: 20px; }
  .brand-mark { flex-basis: 42px; width: 42px; height: 42px; }
  .nav-toplink, .submit-link { font-size: 13px; padding: 8px 14px; }
  #sobox { flex-basis: 100%; order: 3; }
  .sipt { height: 42px; padding-left: 38px; }
  .sbtn { height: 42px; padding: 0 18px; }
  #navbox { position: relative; }
  .nav-toggle { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
  .nav-toggle + label { background: #fff; color: var(--ink-2); cursor: pointer; display: block; font-size: 14px; font-weight: 600; line-height: 44px; padding: 0 16px; letter-spacing: .04em; }
  .nav-toggle + label::before { content: "☰ "; font-size: 16px; }
  .navbar { display: none; flex-wrap: wrap; padding: 0 10px 10px; box-shadow: 0 4px 10px rgba(16,35,51,.06); }
  .nav-toggle:checked ~ .navbar { display: flex; }
  .navbar li { flex: 0 0 50%; text-align: left; }
  .navbar li a { padding: 11px 10px 9px; }
  .navbar li a::after { left: 10px; right: auto; width: 28px; }
  #footer { margin-top: 48px; padding: 40px 0 32px; }
  .footer-inner { display: block; }
  .footer-inner nav { margin: 20px 0 0; padding-top: 0; }
}
