:root {
  --bg: #05070f;
  --bg-soft: #0a0f1e;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef3fb;
  --text-muted: #9aa7bf;
  --cyan: #00e0ff;
  --blue: #4f8cff;
  --violet: #8a63ff;
  --grad: linear-gradient(135deg, #00e0ff 0%, #4f8cff 50%, #8a63ff 100%);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 0 24px rgba(0, 224, 255, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ===== 背景 ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.orb-a { width: 560px; height: 560px; left: -140px; top: -120px; background: radial-gradient(circle, #00e0ff, transparent 70%); animation: drift1 18s ease-in-out infinite; }
.orb-b { width: 640px; height: 640px; right: -180px; top: 20%; background: radial-gradient(circle, #8a63ff, transparent 70%); animation: drift2 22s ease-in-out infinite; }
.orb-c { width: 520px; height: 520px; left: 30%; bottom: -220px; background: radial-gradient(circle, #4f8cff, transparent 70%); animation: drift3 20s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate(-70px, -30px) scale(1.05); } }
@keyframes drift3 { 50% { transform: translate(-40px, 60px) scale(1.1); } }
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .3s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(0,224,255,.55); filter: brightness(1.05); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(0,224,255,.5); background: rgba(0,224,255,.08); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 224, 255, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16px; letter-spacing: 0.5px; font-weight: 700; }
.brand-text small { font-size: 10px; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 500; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  padding: 8px 14px; border-radius: 10px; color: var(--text-muted);
  font-size: 15px; transition: all .25s ease;
}
.main-nav a:hover { color: var(--text); background: var(--panel-strong); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: all .3s ease; }

/* ===== 首屏 ===== */
.hero { padding: 150px 0 60px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.chip {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(0,224,255,.08); border: 1px solid rgba(0,224,255,.25);
  color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.18; font-weight: 800; letter-spacing: .5px; margin-bottom: 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--text-muted); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust span {
  padding: 6px 14px; border-radius: 8px; font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border); background: var(--panel);
}

/* 浏览器视觉 */
.hero-visual { position: relative; }
.browser {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); box-shadow: var(--shadow); backdrop-filter: blur(6px);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--text-muted); }
.browser-body { padding: 22px; }
.mock-hero { height: 96px; border-radius: 10px; background: linear-gradient(135deg, rgba(0,224,255,.25), rgba(138,99,255,.25)); margin-bottom: 16px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-card { height: 70px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.mock-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); margin-bottom: 10px; }
.w80 { width: 80%; }
.w60 { width: 60%; }
.float-card {
  position: absolute; border-radius: 14px; padding: 14px 18px;
  background: rgba(10,15,30,.85); border: 1px solid var(--border);
  box-shadow: var(--shadow); backdrop-filter: blur(10px); display: flex; flex-direction: column;
}
.float-card strong { font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-card span { font-size: 12px; color: var(--text-muted); }
.fc-1 { right: -14px; top: 8%; animation: bob 5s ease-in-out infinite; }
.fc-2 { left: -18px; bottom: 18%; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* 数据 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); }
.stat strong { font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 22px; font-weight: 700; color: var(--cyan); }
.stat p { color: var(--text-muted); font-size: 14px; margin-top: 2px; }

/* ===== 区块通用 ===== */
.section { padding: 96px 0; position: relative; }
.section-alt { background: rgba(255,255,255,.015); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--cyan); font-weight: 700; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ===== 服务 ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  padding: 30px 26px; border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--border); transition: all .35s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0;
  transition: opacity .35s ease; z-index: 0;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(0,224,255,.4); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: .08; }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(0,224,255,.1); border: 1px solid rgba(0,224,255,.25); margin-bottom: 20px;
  position: relative; z-index: 1;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { color: var(--text-muted); font-size: 14px; position: relative; z-index: 1; }
.service-card a { display: inline-block; margin-top: 16px; color: var(--cyan); font-size: 14px; font-weight: 600; position: relative; z-index: 1; }

/* ===== 关于 ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 18px; }
.about-copy p { color: var(--text-muted); margin-bottom: 14px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.about-list { margin: 20px 0 28px; display: grid; gap: 10px; }
.about-list li { position: relative; padding-left: 28px; color: var(--text-muted); }
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px;
  display: grid; place-items: center; font-weight: 700;
}
.about-contact { display: flex; gap: 14px; flex-wrap: wrap; }
.about-visual { position: relative; }
.about-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: rgba(255,255,255,.03); box-shadow: var(--shadow); }
.about-card-head { display: flex; gap: 6px; padding: 14px 18px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.about-card-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.about-card-head .dot:nth-child(2) { background: #febc2e; }
.about-card-head .dot:nth-child(3) { background: #28c840; }
.about-card-body { padding: 24px; }
.code-line { height: 12px; border-radius: 6px; background: rgba(255,255,255,.05); margin-bottom: 14px; }
.code-line i { display: block; height: 100%; border-radius: 6px; background: var(--grad); width: var(--w); opacity: .6; }
.about-tag {
  position: absolute; right: 20px; bottom: -18px; padding: 12px 20px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 700; box-shadow: var(--glow);
}

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card { padding: 30px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); transition: all .35s ease; }
.adv-card:hover { transform: translateY(-6px); border-color: rgba(138,99,255,.45); box-shadow: var(--shadow); }
.adv-num { font-size: 40px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.adv-card h3 { font-size: 18px; margin: 14px 0 8px; }
.adv-card p { color: var(--text-muted); font-size: 14px; }

/* ===== 流程 ===== */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); position: relative; transition: all .35s ease; }
.step:hover { border-color: rgba(0,224,255,.4); transform: translateY(-5px); }
.step-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px;
  box-shadow: var(--glow);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); overflow: hidden; transition: border-color .3s ease; }
.faq-item[open] { border-color: rgba(0,224,255,.4); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--cyan); transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; }

/* ===== 资讯 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--border); transition: all .35s ease;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(0,224,255,.4); box-shadow: var(--shadow); }
.news-date { font-size: 12px; color: var(--cyan); letter-spacing: 1px; margin-bottom: 12px; }
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news-card p { color: var(--text-muted); font-size: 14px; flex: 1; }
.news-card em { font-style: normal; color: var(--cyan); font-size: 14px; margin-top: 14px; }
.empty-hint { text-align: center; color: var(--text-muted); padding: 30px 0; }

/* ===== 文章详情页 ===== */
.article-page { padding: 130px 0 80px; }
.article-shell { max-width: 860px; margin: 0 auto; }
.article-breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.article-breadcrumb a { color: var(--cyan); }
.article-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.35; margin-bottom: 18px; }
.article-meta { display: flex; gap: 18px; color: var(--text-muted); font-size: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.article-content { color: #c6d0e2; font-size: 16px; line-height: 1.9; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-size: 22px; margin: 30px 0 14px; }
.article-content h3 { font-size: 18px; margin: 24px 0 12px; }
.article-back { margin-top: 40px; display: inline-flex; }
.related { margin-top: 64px; }
.related h2 { font-size: 22px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: block; padding: 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); transition: all .3s ease; }
.related-card:hover { border-color: rgba(0,224,255,.4); }
.related-card h3 { font-size: 15px; line-height: 1.5; }
.article-404 { text-align: center; padding: 60px 0; color: var(--text-muted); }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
}
.contact-card svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.7; flex-shrink: 0; margin-top: 3px; }
.contact-card span { display: block; color: var(--text-muted); font-size: 13px; margin-bottom: 3px; }
.contact-card a { font-size: 20px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-card p { color: var(--text); font-size: 15px; }
.contact-cta {
  padding: 36px 30px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, rgba(0,224,255,.1), rgba(138,99,255,.12)); border: 1px solid rgba(0,224,255,.25);
}
.contact-cta h3 { font-size: 24px; margin-bottom: 12px; }
.contact-cta p { color: var(--text-muted); margin-bottom: 24px; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.25); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.icp { color: var(--text-muted); font-size: 13px; }

/* ===== 悬浮按钮 ===== */
.floating-actions { position: fixed; right: 24px; bottom: 24px; z-index: 60; }
.float-phone {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--glow); animation: pulse 2.4s infinite;
}
.float-phone svg { width: 26px; height: 26px; fill: currentColor; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,224,255,.5); }
  70% { box-shadow: 0 0 0 18px rgba(0,224,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,224,255,0); }
}

/* ===== 进场动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .services-grid, .adv-grid, .process-steps, .news-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(5,7,15,.96); backdrop-filter: blur(16px); padding: 14px;
    transform: translateY(-130%); transition: transform .3s ease; border-bottom: 1px solid var(--border);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  .services-grid, .adv-grid, .process-steps, .news-grid, .related-grid, .faq-list { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.3px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .section { padding: 68px 0; }
  .float-card { display: none; }
}

@media (min-width: 1280px) {
  .faq-list { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
