/* ============================================================
   济南尚盈网络科技有限公司 — 官网 V1（复刻参考站风格）
   设计代币：暗色 void-black + lime 霓虹强调色
   字体：Archivo（标题） + IBM Plex Mono（等宽标注） + 系统中文
   ============================================================ */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Archivo Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/archivo-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  --void: #0b0c10;        /* 页面底色 */
  --coal: #12141a;        /* 次级底色（评价带 / 页脚） */
  --panel: #0e1013;       /* 卡片底色 */
  --lime: #c6f432;        /* 强调色 */
  --lime-deep: #a8d226;
  --ink: #edeef0;         /* 主文字 */
  --muted: #8b909c;       /* 次级文字 */
  --hairline: #262a33;    /* 细边框 */
  --font-display: "Archivo Variable", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Archivo Variable", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "PingFang SC", "Microsoft YaHei", monospace;
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 992px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 792px; }

.mono { font-family: var(--font-mono); }
.dim { color: var(--muted); }
.center { text-align: center; }

::selection { background: var(--lime); color: var(--void); }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand-dot {
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-mail {
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ============ 首屏 ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--void);
  padding: 120px 0 104px;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero-eyebrow { margin-bottom: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9.5vw, 118px);
  font-weight: 800;
  text-transform: none;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-title .word { display: inline-block; }
.hero-title .accent {
  color: var(--lime);
  font-style: italic;
  padding-right: 0.06em; /* 斜体末字不被裁切 */
}

.hero-sub {
  max-width: 560px;
  margin-top: 30px;
  font-size: 16.5px;
  color: rgba(237, 238, 240, 0.86);
}

/* 首屏加载动效（逐词上浮 / 依次淡入） */
.hero .word,
.hero-eyebrow,
.hero-sub,
.join-form,
.hero-note {
  opacity: 0;
  transform: translateY(24px);
}
html.loaded .hero .word,
html.loaded .hero-eyebrow,
html.loaded .hero-sub,
html.loaded .join-form,
html.loaded .hero-note {
  animation: rise-in 0.65s var(--ease-io) forwards;
}
html.loaded .hero-eyebrow { animation-delay: 0.05s; }
html.loaded .hero .word:nth-of-type(1) { animation-delay: 0.15s; }
html.loaded .hero .word:nth-of-type(2) { animation-delay: 0.23s; }
html.loaded .hero .word:nth-of-type(3) { animation-delay: 0.31s; }
html.loaded .hero-sub { animation-delay: 0.55s; }
html.loaded .join-form { animation-delay: 0.72s; }
html.loaded .hero-note { animation-delay: 0.9s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 表单 ============ */
.join-form { margin-top: 34px; width: 100%; max-width: 560px; }
.join-row { display: flex; gap: 12px; }
.join-input {
  flex: 1;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.join-input::placeholder { color: rgba(139, 144, 156, 0.7); }
.join-input:focus {
  border-color: rgba(198, 244, 50, 0.6);
  box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.14);
}
.join-form.shake .join-row { animation: shake 0.4s var(--ease-out); }
@keyframes shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}
.form-error {
  margin-top: 10px;
  font-size: 13.5px;
  color: #ffb08a;
  text-align: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), filter 0.2s, box-shadow 0.2s,
    background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-lime {
  background: var(--lime);
  color: var(--void);
  white-space: nowrap;
}
.btn-lime:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(198, 244, 50, 0.28);
}
.btn-lime:active { transform: translateY(0); box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: rgba(198, 244, 50, 0.55); color: var(--lime); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }

.hero-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.hero-note.dim { color: rgba(139, 144, 156, 0.62); letter-spacing: 0.05em; margin-top: 10px; }

/* ============ 队列卡片（提交后） ============ */
.queue-card {
  width: 100%;
  max-width: 560px;
  margin-top: 34px;
  text-align: left;
  background: var(--panel);
  border: 1px solid rgba(198, 244, 50, 0.55);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(198, 244, 50, 0.08);
  animation: card-in 0.55s var(--ease-io);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.queue-card .eyebrow { margin-bottom: 14px; }
.queue-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.queue-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.queue-card .hairline {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 20px 0;
}
.ref-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 12px 0 16px;
}
.ref-link {
  flex: 1;
  min-width: 0;
  display: block;
  background: var(--void);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.queue-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(237, 238, 240, 0.8);
}
.leave-btn {
  margin-top: 14px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.leave-btn:hover { color: var(--ink); }

/* ============ 区块通用 ============ */
.section { padding: 96px 0; scroll-margin-top: 84px; }
.h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 14px;
  color: var(--ink);
}

/* ============ 业务范围卡片 ============ */
.card-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 26px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(198, 244, 50, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(198, 244, 50, 0.08);
  border: 1px solid rgba(198, 244, 50, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ============ 评价带 + 数据 ============ */
.band {
  background: var(--coal);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 96px 0;
  text-align: center;
}
.band blockquote {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 700;
  line-height: 1.5;
}
.quote-author {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.stats-row {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 56px;
}
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.band .center { margin-top: 26px; font-size: 12px; }

/* ============ 常见问题 ============ */
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(198, 244, 50, 0.45); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}
.faq-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--muted);
  transition: transform 0.35s var(--ease-io), background 0.3s;
}
.faq-plus::before { width: 16px; height: 2px; }
.faq-plus::after { width: 2px; height: 16px; }
.faq-item.open .faq-plus::after { transform: rotate(90deg); }
.faq-item.open .faq-plus::before { background: var(--lime); }
.faq-item.open .faq-plus::after { background: var(--lime); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-io);
}
.faq-a > p {
  overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  transition: padding 0.45s var(--ease-io);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 22px; }

/* ============ 滚动显现 ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-io), transform 0.6s var(--ease-io);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--coal);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-desc { margin-top: 12px; color: rgba(237, 238, 240, 0.8); font-size: 14.5px; }
.footer-contact { margin-top: 10px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.footer-right { text-align: right; }
.footer-mail {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.footer-mail:hover { color: var(--lime); }
.footer-terms { margin-top: 10px; font-size: 12px; color: var(--muted); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

/* ============ 关于页 ============ */
.about-hero { padding: 110px 0 90px; }
.about-copy { margin-top: 26px; }
.about-copy p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(237, 238, 240, 0.86);
}
.about-copy strong { color: var(--lime); font-weight: 700; }
.about-points {
  margin-top: 30px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: rgba(237, 238, 240, 0.86);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--lime);
}
.contact-box {
  margin-top: 34px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
  width: 76px;
}
.contact-value { font-size: 16.5px; font-weight: 700; color: var(--ink); }
a.contact-value { text-decoration: none; }
a.contact-value:hover { color: var(--lime); }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .join-row { flex-direction: column; }
  .site-nav { gap: 18px; }
  .footer-right { text-align: left; }
  .section { padding: 72px 0; }
}

/* ============ 动效减弱 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
