/* ==========================================================================
   深比特 DeepBit · 官网样式
   纯原生 CSS，无外部依赖，所有内容由 /api/site 动态渲染
   ========================================================================== */

:root {
  --bg: #05070e;
  --bg-soft: #080c16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #0b101c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2fb;
  --muted: #98a4bc;
  --brand: #3ee0c4;
  --brand-2: #6d8dff;
  --brand-soft: rgba(62, 224, 196, 0.12);
  --danger: #ff7a8a;
  --grad: linear-gradient(115deg, #3ee0c4 0%, #64c8ff 48%, #8a8cff 100%);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 10% -12%, rgba(62, 224, 196, 0.16), transparent 62%),
    radial-gradient(860px 600px at 92% -4%, rgba(109, 141, 255, 0.18), transparent 62%),
    radial-gradient(760px 520px at 50% 108%, rgba(62, 224, 196, 0.09), transparent 64%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(62, 224, 196, 0.3);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: 96px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #04100d;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 7, 14, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 14, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #04100d;
  background: var(--grad);
  box-shadow: 0 10px 30px -12px rgba(62, 224, 196, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 180px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  height: 46px;
  max-width: 200px;
}

@media (max-width: 720px) {
  .brand-logo {
    height: 34px;
    max-width: 150px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #04100d;
  background: var(--grad);
  box-shadow: 0 16px 34px -18px rgba(62, 224, 196, 0.85);
}

.btn-primary:hover {
  box-shadow: 0 22px 44px -18px rgba(62, 224, 196, 0.95);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(62, 224, 196, 0.5);
  background: rgba(62, 224, 196, 0.08);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 通用排版 ---------- */

.page {
  min-height: 60vh;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13.5px;
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 0;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.hero-copy {
  max-width: 660px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(62, 224, 196, 0.28);
  border-radius: 999px;
  background: rgba(62, 224, 196, 0.07);
  color: #bdf6ec;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(62, 224, 196, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 196, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(62, 224, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 196, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  display: block;
  font-size: 0.62em;
  letter-spacing: -0.01em;
  margin-top: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-highlights li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-visual {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(8, 12, 22, 0.7);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(62, 224, 196, 0.45), transparent 40%, rgba(109, 141, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.visual-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.visual-head strong {
  color: var(--text);
  letter-spacing: 0.02em;
}

.visual-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.12em;
}

.visual-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}

.visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 2px;
}

.visual-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(62, 224, 196, 0.07);
  color: var(--brand);
}

.visual-icon svg {
  width: 19px;
  height: 19px;
}

.visual-row-main {
  flex: 1;
  min-width: 0;
}

.visual-row-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.visual-row-title small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.meter {
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.visual-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.stat {
  padding: 26px 22px;
  background: rgba(7, 10, 18, 0.92);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 页面头部 ---------- */

.page-hero {
  position: relative;
  padding: 84px 0 56px;
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -160px;
  width: 640px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(62, 224, 196, 0.16), transparent 68%);
  pointer-events: none;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- 网格与卡片 ---------- */

.grid {
  display: grid;
  gap: 20px;
}

.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 {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 12, 22, 0.55);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 224, 196, 0.32);
  box-shadow: 0 28px 60px -38px rgba(62, 224, 196, 0.5);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(62, 224, 196, 0.24);
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.card-number {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- 首页 About ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.split-reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.split p {
  color: var(--muted);
}

.about-points {
  display: grid;
  gap: 14px;
  margin: 26px 0 28px;
}

.about-point {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.about-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.about-point span {
  font-size: 13.5px;
  color: var(--muted);
}

.about-point .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- 产品 ---------- */

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.product:last-child {
  border-bottom: 1px solid var(--line);
}

.product:nth-child(even) .product-copy {
  order: 2;
}

.product-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(109, 141, 255, 0.3);
  border-radius: 999px;
  background: rgba(109, 141, 255, 0.1);
  color: #b9c7ff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.product h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 8px;
}

.product .tagline {
  color: var(--brand);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.product p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
}

.feature-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #cfd8ea;
}

.feature-list svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--brand);
}

.product-visual {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 240px at 80% 0%, rgba(109, 141, 255, 0.18), transparent 70%),
    radial-gradient(360px 240px at 0% 100%, rgba(62, 224, 196, 0.14), transparent 70%),
    rgba(8, 12, 22, 0.6);
  overflow: hidden;
}

.product-visual .pv-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(62, 224, 196, 0.3);
  border-radius: 18px;
  background: rgba(62, 224, 196, 0.1);
  color: var(--brand);
}

.pv-bars {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.pv-bar span {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(62, 224, 196, 0.5), rgba(109, 141, 255, 0.35));
}

.pv-bar:nth-child(1) span { width: 88%; }
.pv-bar:nth-child(2) span { width: 64%; }
.pv-bar:nth-child(3) span { width: 76%; }
.pv-bar:nth-child(4) span { width: 46%; }

.pv-code {
  position: absolute;
  right: 22px;
  bottom: 22px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(185, 199, 255, 0.55);
  text-align: right;
}

/* ---------- 解决方案 ---------- */

.solution {
  display: flex;
  flex-direction: column;
}

.solution .card-icon {
  background: rgba(109, 141, 255, 0.09);
  border-color: rgba(109, 141, 255, 0.25);
  color: #aebcff;
}

.solution-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.solution-points span {
  padding: 5px 11px;
  border: 1px solid rgba(62, 224, 196, 0.2);
  border-radius: 999px;
  font-size: 12px;
  color: #9ff0e3;
  background: rgba(62, 224, 196, 0.06);
}

/* ---------- 流程 / 时间线 ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.process-item {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
}

.process-item .step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(62, 224, 196, 0.5), rgba(109, 141, 255, 0.2), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 36px;
  padding: 18px 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 114px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(62, 224, 196, 0.12);
}

.timeline-year {
  text-align: right;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.4;
}

.timeline-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.timeline-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 案例 ---------- */

.case-card {
  display: flex;
  flex-direction: column;
}

.case-industry {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(62, 224, 196, 0.1);
  color: #9ff0e3;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.case-card h3 {
  font-size: 18px;
  line-height: 1.45;
}

.case-metrics {
  display: flex;
  gap: 28px;
  margin-top: auto;
  padding-top: 22px;
}

.case-metrics strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-metrics span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 评价 / 合作伙伴 ---------- */

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote-mark {
  font-size: 42px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(62, 224, 196, 0.5);
}

.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #dbe3f2;
}

.quote-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-meta strong {
  display: block;
  font-size: 14px;
}

.quote-meta span {
  font-size: 12.5px;
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.partner {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  background: rgba(7, 10, 18, 0.92);
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- 新闻 ---------- */

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  color: #04100d;
  border-color: transparent;
  background: var(--grad);
  font-weight: 600;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.news-card:hover {
  border-color: rgba(62, 224, 196, 0.28);
  background: rgba(10, 16, 27, 0.7);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.news-meta .cat {
  color: var(--brand);
  letter-spacing: 0.08em;
}

.news-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.news-card .summary {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 0;
}

.news-body {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #c6d0e2;
  font-size: 15px;
}

.news-body p:last-child {
  margin-bottom: 0;
}

.news-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.news-toggle svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.news-toggle svg {
  transition: transform 0.2s ease;
}

.news-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.news-detail-list {
  display: grid;
  gap: 16px;
}

/* ---------- 招聘 ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.position {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
  overflow: hidden;
}

.position + .position {
  margin-top: 14px;
}

.position summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

.position summary::-webkit-details-marker {
  display: none;
}

.position summary h3 {
  margin: 0;
  font-size: 17px;
}

.position summary .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}

.position summary .meta span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.position summary .chev {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.position[open] summary .chev {
  transform: rotate(180deg);
}

.position-body {
  padding: 0 26px 26px;
  border-top: 1px solid var(--line);
}

.position-body p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.position-body .feature-list {
  margin-top: 16px;
}

.position-body .btn {
  margin-top: 22px;
}

/* ---------- 表单 ---------- */

.form-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(8, 12, 22, 0.72);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  color: #c3cde0;
}

.field label .req {
  color: var(--brand);
  margin-left: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(4, 7, 13, 0.65);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(152, 164, 188, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(62, 224, 196, 0.6);
  box-shadow: 0 0 0 3px rgba(62, 224, 196, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(255, 122, 138, 0.7);
}

.field-error {
  min-height: 18px;
  font-size: 12.5px;
  color: var(--danger);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.form-status {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-status.is-success {
  border: 1px solid rgba(62, 224, 196, 0.35);
  background: rgba(62, 224, 196, 0.08);
  color: #bdf6ec;
}

.form-status.is-error {
  border: 1px solid rgba(255, 122, 138, 0.35);
  background: rgba(255, 122, 138, 0.08);
  color: #ffc3cb;
}

.form-status[hidden] {
  display: none;
}

/* ---------- 联系页 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
}

.contact-card .card-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 11px;
}

.contact-card .card-icon svg {
  width: 18px;
  height: 18px;
}

.contact-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-card a,
.contact-card span.value {
  font-size: 15px;
  color: var(--text);
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--brand);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
}

.location strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.location span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

.location a {
  color: var(--brand);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.5);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 550;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 0 0 96px;
}

.cta-box {
  position: relative;
  padding: 64px 48px;
  border: 1px solid rgba(62, 224, 196, 0.22);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(560px 280px at 50% -20%, rgba(62, 224, 196, 0.2), transparent 70%),
    radial-gradient(600px 300px at 80% 120%, rgba(109, 141, 255, 0.18), transparent 70%),
    rgba(8, 12, 22, 0.8);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 11, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr) 1fr;
  gap: 36px;
  padding: 64px 24px 44px;
}

.footer-brand p {
  margin: 18px 0;
  max-width: 330px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--brand);
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: #b9c4d8;
}

.footer-col a:hover {
  color: var(--brand);
}

.qr-box {
  width: 112px;
  height: 112px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-image:
    linear-gradient(90deg, rgba(62, 224, 196, 0.35) 25%, transparent 25% 50%, rgba(62, 224, 196, 0.35) 50% 75%, transparent 75%),
    linear-gradient(rgba(62, 224, 196, 0.35) 25%, transparent 25% 50%, rgba(62, 224, 196, 0.35) 50% 75%, transparent 75%);
  background-size: 18px 18px;
  opacity: 0.5;
}

.qr-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 24px 30px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.footer-bottom .icp {
  margin-left: auto;
  color: var(--muted);
}

.footer-bottom .icp:hover {
  color: var(--brand);
}

.footer-bottom a:hover {
  color: var(--brand);
}

/* ---------- 加载 / 错误 ---------- */

.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60vh;
  color: var(--muted);
  font-size: 14px;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.load-error {
  max-width: 560px;
  margin: 18vh auto;
  padding: 32px;
  border: 1px solid rgba(255, 122, 138, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 122, 138, 0.06);
  text-align: center;
}

.load-error h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.load-error p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-grid > :nth-child(4),
  .footer-grid > :nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 14, 0.97);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-links a.is-active::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-actions .btn {
    display: none;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product:nth-child(even) .product-copy {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    left: 88px;
  }

  .timeline-item {
    grid-template-columns: 72px 1fr;
    gap: 28px;
  }

  .timeline-item::before {
    left: 84px;
  }

  .timeline-year {
    font-size: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-inner {
    padding-bottom: 36px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px;
  }

  .cta-box {
    padding: 44px 24px;
  }

  .footer-grid {
    padding: 48px 18px 36px;
    gap: 28px;
  }

  .footer-bottom {
    padding: 18px 18px 28px;
  }

  .footer-bottom .icp {
    margin-left: 0;
    width: 100%;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card {
    padding: 22px;
  }

  .position summary {
    padding: 18px 20px;
  }

  .position summary .meta {
    width: 100%;
    margin-left: 0;
  }

  .position-body {
    padding: 0 20px 22px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 30px;
  }

  .timeline-item::before {
    left: 3px;
    top: 26px;
  }

  .timeline-year {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .page-hero {
    padding: 60px 0 40px;
  }
}
