/* ==========================================================================
   HiveLabel · 官网基础样式（品牌令牌 / 排版 / 导航 / 页脚 / 通用组件）
   视觉来源：docs/brand（Logo 方案）——深灰 #171717 + 品牌橙 #FFB000→#FF7A00
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 品牌色 */
  --ink: #171717;
  --ink-2: #2b2822;
  --ink-3: #3c372f;
  --muted: #6f695d;
  --muted-2: #948d7e;
  --line: #e8e2d5;
  --line-2: #d9d1bf;
  --bg: #fbf7f0;
  --bg-2: #f5eee1;
  --card: #ffffff;
  --honey: #ffb000;
  --honey-deep: #ff7a00;
  --honey-mid: #ff8f00;
  --honey-soft: #fff6e5;
  --honey-line: #f6e3c2;
  --honey-ink: #8a5a00;
  --ok: #1f9d55;

  /* 形状与阴影 */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, .05);
  --shadow-md: 0 20px 44px -30px rgba(23, 23, 23, .38);
  --shadow-lg: 0 40px 80px -50px rgba(23, 23, 23, .55);

  --max: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .7, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.015em;
  line-height: 1.2;
  color: inherit;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(255, 176, 0, .28); }

:focus-visible {
  outline: 2px solid var(--honey-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace; }
.honey { color: var(--honey); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 六边形工具类 ─────────────────────────────────────────── */
.hex-clip { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }

.hex-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 48px;
  flex: none;
  background: linear-gradient(160deg, var(--honey) 0%, var(--honey-deep) 100%);
  color: #24190a;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 10px 22px -16px rgba(255, 122, 0, .95);
}
.hex-badge--ghost {
  background: none;
  border: 0;
  color: var(--honey);
  box-shadow: none;
  position: relative;
}
.hex-badge--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--honey), var(--honey-deep));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: .14;
}

/* ── 按钮 ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s;
}
.btn svg { flex: none; transition: transform .18s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--honey {
  background: linear-gradient(180deg, #ffb81a 0%, #ff9a00 55%, var(--honey-deep) 100%);
  color: #241a06;
  box-shadow: 0 14px 28px -18px rgba(255, 122, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--honey:hover { box-shadow: 0 18px 34px -18px rgba(255, 122, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .45); }

.btn--ghost { border-color: rgba(255, 255, 255, .26); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .42); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--outline { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.btn--outline:hover { border-color: #bfb49c; box-shadow: var(--shadow-sm); }

.btn--sm { height: 42px; padding: 0 18px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  color: var(--honey-ink);
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--honey-deep); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── 顶部导航 ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(18, 18, 18, .58);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: height .26s var(--ease), background .26s, box-shadow .26s, border-color .26s;
}
.nav.is-solid {
  height: 66px;
  background: rgba(16, 16, 16, .94);
  border-bottom-color: rgba(255, 255, 255, .09);
  box-shadow: 0 18px 40px -34px #000;
}
/* 法务页等浅色首屏：导航常驻实心，避免半透明压在米白底上发灰 */
.nav--dark {
  background: rgba(15, 15, 15, .97);
  border-bottom-color: rgba(255, 255, 255, .09);
}
.nav--dark.is-solid { background: rgba(12, 12, 12, .98); }
.nav__inner { display: flex; align-items: center; gap: 26px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; flex: none; }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 6px 12px rgba(255, 140, 0, .28)); }
.brand__text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand__text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-top: 5px;
}

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .68);
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--honey), var(--honey-deep));
}
.nav__links a.is-hall { color: #fff; font-weight: 600; }
.nav__links a.is-hall .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 3px rgba(255, 176, 0, .18);
}

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 导航右侧的即时联系入口 */
.nav__social { display: flex; align-items: center; gap: 7px; }
.nav__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .16s var(--ease), background .16s, box-shadow .16s;
}
.nav__social a svg { width: 18px; height: 18px; }
.nav__social a.wa {
  color: #25d366;
  background: rgba(37, 211, 102, .13);
  box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .26);
}
.nav__social a.tg {
  color: #4fb3e8;
  background: rgba(34, 158, 217, .15);
  box-shadow: inset 0 0 0 1px rgba(34, 158, 217, .3);
}
.nav__social a:hover { transform: translateY(-1px); }
.nav__social a.wa:hover { background: rgba(37, 211, 102, .24); }
.nav__social a.tg:hover { background: rgba(34, 158, 217, .26); }

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav__burger span { display: block; width: 17px; height: 1.8px; background: #fff; border-radius: 2px; transition: .22s var(--ease); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

.nav.is-open {
  height: 66px;
  background: rgba(16, 16, 16, .98);
}
.nav__panel {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 119;
  background: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 10px 0 18px;
  max-height: calc(100vh - 66px);
  overflow-y: auto;
}
.nav.is-open .nav__panel { display: block; }
.nav__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 28px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__panel a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav__panel .btn { margin: 16px 28px 0; width: calc(100% - 56px); }

/* ── 区块骨架 ────────────────────────────────────────────── */
.sec { padding: 104px 0; position: relative; }
.sec--tight { padding: 76px 0; }
.sec--cream { background: var(--bg); }
.sec--paper { background: #fff; }
.sec--sand { background: var(--bg-2); }
.sec--dark { background: #141414; color: #fff; }
.sec--dark .sec-lead { color: rgba(255, 255, 255, .62); }

.sec-head { max-width: 760px; }
.sec-head--center { margin: 0 auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--honey-ink);
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--honey), var(--honey-deep));
}
.sec--dark .eyebrow { color: var(--honey); }

.sec-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.3vw, 41px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 18px 0 16px;
}
.sec-title em { font-style: normal; color: var(--honey-deep); }
.sec--dark .sec-title em { color: var(--honey); }

.sec-lead { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 680px; }

.sec-foot { display: flex; align-items: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* 卡片基类 */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* ── 状态胶囊（深色底上的 live 提示） ─────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .16);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 220, 132, .18); }
  50% { box-shadow: 0 0 0 6px rgba(61, 220, 132, .04); }
}

/* ── 滚动进场 ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ── 页脚 ────────────────────────────────────────────────── */
.footer {
  position: relative;
  background: #111;
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 26px;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 0, .55), transparent);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .48); max-width: 330px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .34);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .68);
  transition: color .16s;
}
.footer__col a:hover { color: var(--honey); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .34);
}
.footer__bottom a:hover { color: #fff; }

/* ── 响应式 ──────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 8px; font-size: 13px; }
  .brand__text small { display: none; }
}

@media (max-width: 920px) {
  :root { --nav-h: 66px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right .btn--honey { display: none; }
  .sec { padding: 76px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 62px 0; }
  .sec-lead { font-size: 15.5px; }
  .btn { height: 46px; padding: 0 18px; font-size: 14px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
