/* ============================================================
   辰光纪元 · 企业官网  |  设计系统 / 全局样式
   深色科技风 · 蓝紫渐变 · 几何线条 · 粒子动效
   ============================================================ */

:root {
  /* 背景层 */
  --bg-0: #06060d;
  --bg-1: #0a0a16;
  --bg-2: #0f0f1f;
  --bg-3: #15152a;

  /* 玻璃表面 */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* 文本 */
  --text: #eef0fb;
  --text-dim: #a3a8c4;
  --text-faint: #6c7193;

  /* 品牌色 */
  --blue: #2dd4ff;
  --blue-deep: #1f9dff;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --accent: #c084fc;

  /* 渐变 */
  --grad: linear-gradient(135deg, #2dd4ff 0%, #7c3aed 100%);
  --grad-soft: linear-gradient(135deg, rgba(45,212,255,0.18), rgba(124,58,237,0.18));
  --grad-text: linear-gradient(120deg, #6ee7ff 0%, #a855f7 55%, #c084fc 100%);

  /* 发光 */
  --glow-blue: 0 0 40px rgba(45, 212, 255, 0.35);
  --glow-purple: 0 0 40px rgba(168, 85, 247, 0.35);

  /* 尺度 */
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== 基础 ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局背景：网格 + 渐变光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(45,212,255,0.14), transparent 60%),
    radial-gradient(900px 600px at 92% 8%, rgba(168,85,247,0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(124,58,237,0.12), transparent 60%),
    var(--bg-0);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  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 120% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 40%, transparent 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: rgba(124,58,237,0.45); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--purple)); border-radius: 10px; }

/* ===================== 布局工具 ===================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; position: relative; }
.section-sm { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--grad);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: 1px; line-height: 1.25;
  margin-bottom: 16px;
}
.section-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-sub { color: var(--text-dim); max-width: 640px; font-size: 16px; }

.text-center { text-align: center; }
.center-sub { margin-left: auto; margin-right: auto; }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .35s var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(124,58,237,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(124,58,237,0.5); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ===================== 导航 ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: all .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,18,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; box-shadow: var(--glow-purple); position: relative;
}
.brand .logo svg { width: 22px; height: 22px; color: #fff; }
.brand .name b { color: #fff; }
.brand .name span { color: var(--text-faint); font-weight: 500; font-size: 12px; display: block; letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; color: var(--text-dim);
  transition: all .3s var(--ease); position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; background: var(--surface-2); }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===================== Hero ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px;
  border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px;
  color: var(--text-dim); background: var(--surface); margin-bottom: 26px;
  animation: fadeUp .8s var(--ease) both;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: var(--glow-blue); animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(36px, 6.2vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: 1px;
  margin-bottom: 22px; animation: fadeUp .9s var(--ease) .05s both;
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-dim); max-width: 620px; margin-bottom: 38px;
  animation: fadeUp .9s var(--ease) .15s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp .9s var(--ease) .25s both; }

.hero-stats {
  display: flex; gap: 44px; margin-top: 64px; flex-wrap: wrap;
  animation: fadeUp .9s var(--ease) .35s both;
}
.hero-stats .stat .num { font-size: 34px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .lbl { font-size: 13px; color: var(--text-faint); letter-spacing: 1px; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--text-faint); font-size: 12px; letter-spacing: 2px; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-hint .mouse::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--blue); border-radius: 2px; animation: wheel 1.6s infinite; }

/* ===================== 卡片 / 玻璃 ===================== */
.glass {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(45,212,255,0.4), transparent 40%, transparent 60%, rgba(168,85,247,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none;
}

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

/* 业务卡片 */
.biz-card { padding: 34px 30px; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.biz-card:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.biz-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad-soft); border: 1px solid var(--border); position: relative;
}
.biz-icon svg { width: 30px; height: 30px; color: var(--blue); }
.biz-card h3 { font-size: 21px; margin-bottom: 12px; font-weight: 700; }
.biz-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.biz-card .more { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.biz-card .more svg { width: 15px; height: 15px; transition: transform .3s; }
.biz-card:hover .more svg { transform: translateX(5px); }

/* 优势亮点 */
.feat-card { padding: 30px 26px; transition: transform .4s var(--ease), background .4s; }
.feat-card:hover { transform: translateY(-6px); background: var(--surface-2); }
.feat-num { font-size: 13px; color: var(--purple); font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { color: var(--text-dim); font-size: 14.5px; }

/* ===================== 关于我们 ===================== */
.about-hero { padding-top: calc(var(--nav-h) + 90px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; font-size: 16px; }
.about-visual {
  aspect-ratio: 1/1; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--grad-soft); position: relative; overflow: hidden; display: grid; place-items: center;
}
.about-visual .orb { width: 60%; height: 60%; border-radius: 50%; background: var(--grad); filter: blur(8px); opacity: .85; animation: float 6s ease-in-out infinite; }
.about-visual .ring { position: absolute; border: 1px solid var(--border-strong); border-radius: 50%; }
.about-visual .ring.r1 { width: 75%; height: 75%; animation: spin 18s linear infinite; }
.about-visual .ring.r2 { width: 90%; height: 90%; animation: spin 26s linear infinite reverse; }

/* 愿景使命 */
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-card { padding: 38px 32px; text-align: center; }
.vm-card .vm-ic { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); }
.vm-card .vm-ic svg { width: 28px; height: 28px; color: var(--accent); }
.vm-card h3 { font-size: 20px; margin-bottom: 12px; }
.vm-card p { color: var(--text-dim); font-size: 15px; }

/* 时间线 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--purple)); }
.tl-item { position: relative; padding: 0 0 42px 34px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-0); border: 3px solid var(--blue); box-shadow: var(--glow-blue); }
.tl-item .year { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
.tl-item h4 { font-size: 18px; margin: 6px 0 8px; }
.tl-item p { color: var(--text-dim); font-size: 15px; }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 30px 20px; }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; background: var(--grad); display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff; box-shadow: var(--glow-purple); }
.team-card h4 { font-size: 17px; margin-bottom: 4px; }
.team-card .role { font-size: 13.5px; color: var(--blue); margin-bottom: 10px; }
.team-card p { font-size: 13.5px; color: var(--text-faint); }

/* ===================== 产品服务 ===================== */
.svc-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.svc-block:last-child { border-bottom: none; }
.svc-block.reverse { direction: rtl; }
.svc-block.reverse > * { direction: ltr; }
.svc-visual { aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--border); background: var(--grad-soft); position: relative; overflow: hidden; display: grid; place-items: center; }
.svc-visual .glyph { font-size: 72px; font-weight: 900; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.svc-visual .deco { position: absolute; border: 1px solid var(--border-strong); }
.svc-visual .deco.d1 { width: 120px; height: 120px; border-radius: 50%; top: 20px; right: 24px; animation: spin 14s linear infinite; }
.svc-visual .deco.d2 { width: 70px; height: 70px; bottom: 24px; left: 28px; border-radius: 14px; animation: float 5s ease-in-out infinite; }
.svc-block h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 16px; }
.svc-block .svc-desc { color: var(--text-dim); font-size: 16px; margin-bottom: 24px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.svc-tags span { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }
.svc-sub { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: 1px; margin-bottom: 12px; text-transform: uppercase; }
.svc-list { display: grid; gap: 14px; margin-bottom: 26px; }
.svc-list li { display: flex; gap: 12px; color: var(--text-dim); font-size: 15px; }
.svc-list li svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }

/* ===================== 联系我们 ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .info-card { padding: 26px 28px; margin-bottom: 18px; display: flex; gap: 18px; align-items: flex-start; }
.info-ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); }
.info-ic svg { width: 22px; height: 22px; color: var(--blue); }
.info-card .k { font-size: 13px; color: var(--text-faint); letter-spacing: 1px; }
.info-card .v { font-size: 18px; font-weight: 700; color: #fff; }
.info-card .v small { display: block; font-size: 13px; color: var(--text-dim); font-weight: 400; margin-top: 3px; }

.form-card { padding: 38px 36px; }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .hint { color: var(--text-dim); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,212,255,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(45,212,255,0.1); border: 1px solid rgba(45,212,255,0.35); color: var(--blue); font-size: 15px; margin-top: 8px;
}
.form-success.show { display: flex; }

/* ===================== 页脚 ===================== */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { margin-bottom: 18px; }
.footer p.desc { color: var(--text-dim); font-size: 14.5px; max-width: 320px; }
.footer h5 { font-size: 15px; margin-bottom: 18px; color: #fff; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { color: var(--text-dim); font-size: 14.5px; transition: color .3s; }
.footer ul li a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 13.5px; flex-wrap: wrap; gap: 10px; }

/* ===================== 动画 ===================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wheel { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 18px; } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ===================== 响应式 ===================== */
@media (max-width: 980px) {
  .grid-3, .grid-4, .vm-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .svc-block, .svc-block.reverse, .contact-grid { grid-template-columns: 1fr; direction: ltr; }
  .svc-block { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 74px 0; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 24px 26px; background: rgba(8,8,18,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .4s var(--ease); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2, .vm-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================== 文章模块 ===================== */
.container-narrow { max-width: 860px; }

/* 文章卡片 */
.post-card { display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.post-card:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.post-cover { aspect-ratio: 16/9; overflow: hidden; position: relative; border-bottom: 1px solid var(--border); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-cover-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(45,212,255,0.22), rgba(124,58,237,0.28));
}
.post-cover-ph svg { width: 46px; height: 46px; color: rgba(255,255,255,0.82); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue); background: rgba(45,212,255,0.1); border: 1px solid rgba(45,212,255,0.25);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.post-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: #fff; transition: color .3s; }
.post-card:hover .post-title { color: var(--blue); }
.post-summary { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-faint); border-top: 1px solid var(--border); padding-top: 14px; }

/* 列表工具条 */
.insights-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.insights-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); transition: all .3s var(--ease);
}
.tab:hover { color: #fff; border-color: var(--border-strong); }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 20px rgba(124,58,237,0.3); }
.insights-search { position: relative; display: flex; align-items: center; }
.insights-search svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--text-faint); }
.insights-search input {
  padding: 11px 16px 11px 40px; border-radius: 999px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font-size: 14px; width: 240px; font-family: inherit; transition: border-color .3s;
}
.insights-search input:focus { outline: none; border-color: var(--blue); }
.insights-search input::placeholder { color: var(--text-faint); }
.insights-result { font-size: 13px; color: var(--text-faint); margin-bottom: 28px; }
.insights-result span { color: var(--blue); font-weight: 700; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--text-faint); font-size: 15px; }

/* 面包屑 */
.breadcrumb { font-size: 13.5px; color: var(--text-faint); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text-faint); }
.breadcrumb > span:last-child { color: var(--text); }

/* 文章详情 */
.article-title { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.3; margin: 16px 0 18px; color: #fff; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-dim); }
.article-meta .dot { color: var(--text-faint); }
.article-meta .tag { color: var(--blue); font-size: 12.5px; }
.article-content { font-size: 16px; line-height: 1.9; }
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 { scroll-margin-top: 100px; }
.article-content a { word-break: break-word; }
.article-head { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-foot { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }

@media (max-width: 680px) {
  .insights-bar { flex-direction: column; align-items: stretch; }
  .insights-search input { width: 100%; }
  .article-foot .btn { flex: 1; justify-content: center; }
}
