/* =========================================================
   深圳吉链时代科技有限公司 · 官网样式
   风格：暗绿质感（Emerald + Gold）
   ========================================================= */

:root {
  /* 色板 */
  --bg-0: #06120e;          /* 最深底 */
  --bg-1: #0a1a14;          /* 主背景 */
  --bg-2: #0f241b;          /* 卡片/分区 */
  --bg-3: #13302411;        /* 透明层 */
  --line: rgba(102, 190, 150, 0.14);
  --emerald: #2fbf85;
  --emerald-bright: #49e0a6;
  --gold: #d4af6a;
  --gold-soft: #e7cc99;
  --text: #e8f3ec;
  --text-dim: #9fb6aa;
  --text-mut: #6f8a7e;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-1);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全局质感：细噪点 + 顶部光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(47, 191, 133, 0.12), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(212, 175, 106, 0.08), transparent 55%);
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary {
  color: #04140d;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
  box-shadow: 0 12px 30px -10px rgba(47, 191, 133, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(47, 191, 133, 0.7); }
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald-bright); }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 20, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 18px; letter-spacing: 1px; }
.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
}
.nav { display: flex; gap: 34px; }
.nav a {
  font-size: 15px;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-bright), var(--gold));
  transition: width 0.3s var(--ease);
}
.nav a:hover,
.nav a.active { color: var(--text); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-layer {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.glow-a { width: 520px; height: 520px; left: -120px; top: 10%; background: radial-gradient(circle, rgba(47,191,133,0.5), transparent 65%); }
.glow-b { width: 480px; height: 480px; right: -100px; bottom: 0; background: radial-gradient(circle, rgba(212,175,106,0.32), transparent 65%); }

.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 0 24px;
}
.hero-title {
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.15;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: 1px;
}
.hero-title .hl {
  background: linear-gradient(120deg, var(--emerald-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  list-style: none;
  display: flex;
  gap: 48px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  background: linear-gradient(120deg, var(--emerald-bright), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--text-mut); letter-spacing: 1px; }

/* ---------- 分区通用 ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-0), var(--bg-1)); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--emerald-bright);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.section-desc { color: var(--text-dim); margin-top: 16px; }
.lead { font-size: 17px; color: var(--text-dim); }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-title { margin: 14px 0 24px; }
.corp-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 32px 0 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}
.corp-facts div { display: flex; flex-direction: column; gap: 2px; }
.corp-facts dt { font-size: 12px; color: var(--text-mut); letter-spacing: 1px; }
.corp-facts dd { margin: 0; font-size: 15px; color: var(--text); font-weight: 600; }
[data-placeholder] { color: var(--text-mut) !important; font-weight: 500 !important; font-style: italic; }

/* 关于我们 - 轨道视觉 */
.about-visual { display: grid; place-items: center; }
.orbit-card {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 14px var(--emerald-bright);
}
.ring2 { inset: 24%; animation-duration: 18s; animation-direction: reverse; }
.ring2::before { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.orbit-core {
  width: 110px; height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 800;
  color: #04140d;
  background: linear-gradient(135deg, var(--emerald-bright), var(--gold));
  box-shadow: 0 0 50px -6px rgba(47, 191, 133, 0.6);
}
.orbit-card .node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 12px var(--gold);
}
.node.n1 { top: 6%; left: 50%; }
.node.n2 { top: 50%; right: 6%; }
.node.n3 { bottom: 6%; left: 50%; }
.node.n4 { top: 50%; left: 6%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 核心业务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px 120px at 50% 0%, rgba(47,191,133,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(47,191,133,0.4); }
.card:hover::after { opacity: 1; }
.card-ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 26px;
  border-radius: 14px;
  background: rgba(47,191,133,0.1);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ---------- 核心优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.adv:hover { transform: translateY(-6px); background: rgba(47,191,133,0.05); }
.adv-no {
  font-size: 30px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: 14px;
}
.adv h3 { margin: 0 0 8px; font-size: 17px; }
.adv p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-text .section-title { margin: 14px 0 20px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(47,191,133,0.1);
  border: 1px solid var(--line);
  font-size: 20px;
}
.contact-list b { display: block; font-size: 15px; }
.contact-list p { margin: 2px 0 0; color: var(--text-dim); font-size: 14px; }

.contact-form {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(47,191,133,0.15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mut); }
.form-note { margin: 14px 0 0; font-size: 14px; min-height: 20px; color: var(--emerald-bright); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 50px;
  padding-bottom: 30px;
}
.footer-brand strong { font-size: 18px; }
.footer-brand p { margin: 6px 0 0; color: var(--text-mut); font-size: 14px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 14px; transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--emerald-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.copyright { margin: 0; color: var(--text-mut); font-size: 13px; }
.icp { margin: 0; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.icp a {
  color: var(--text-mut);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
}
.icp a:hover { color: var(--text-dim); }
.icp-sep { color: var(--line); }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards,
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 72px;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 20, 15, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .cards,
  .adv-grid { grid-template-columns: 1fr; }
  .corp-facts { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
