/* ============================================================
   rgtheme_v2 — EyouCMS 1.8 PC 模板
   风格来源：enterprise-site 深色科技风
   主色：#ff6200 橙 | 辅色：#3974cc 蓝 | 底：#101014
   ============================================================ */

:root {
  /* 背景层级 */
  --bg: #101014;
  --bg-soft: #15151a;
  --bg-card: #18181b;
  --bg-elevated: #1f1f25;
  --bg-code: #0a0a0c;

  /* 边框 */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* 品牌色 */
  --accent: #ff6200;        /* 橙色主强调 */
  --accent-soft: #f76945;
  --accent-glow: rgba(255, 98, 0, 0.35);
  --blue: #3974cc;          /* 蓝色次强调 */
  --blue-strong: #0054e1;
  --blue-glow: rgba(57, 116, 204, 0.35);

  /* 文字 */
  --text: #ffffff;
  --text-2: #c5c5c5;
  --text-3: #8a8a90;
  --text-4: #5e5e5e;

  /* 字体 */
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  /* 圆角 */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* 间距 */
  --section-gap: 96px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ 顶部导航（兼容 enterprise-site 与 EyouCMS） ============ */
.nav,
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(16, 16, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner,
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.nav-logo .logo-mark,
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: grid; place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.nav-menu,
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu a,
.desktop-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 15px;
  transition: color .2s, background .2s;
}
.nav-menu a:hover,
.desktop-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-menu a.active,
.desktop-nav a.active { color: var(--text); background: rgba(255,255,255,0.08); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.nav-search:hover { border-color: rgba(255,255,255,0.3); }
.nav-search kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--text-4);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(16, 16, 20, 0.96);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-2);
  padding: 10px 20px;
  border-radius: var(--r-md);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.mobile-nav .close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--text); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }

/* ============ Hero 主视觉 ============ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(57,116,204,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(255,98,0,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
  font-family: var(--mono);
}
.hero-badge .dot,
.chip::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.hero h1 {
  font-family: var(--mono);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .blue { color: var(--blue); }
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
}
.hero-cta,
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 40px;
}
.hero-meta .num,
.hero-meta-item strong {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
}
.hero-meta .label,
.hero-meta-item span { font-size: 13px; color: var(--text-3); }
.hero-meta-item { text-align: left; }

/* 像素球装饰 */
.hero-visual { position: relative; min-height: 360px; }
.orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(57,116,204,0.95), transparent 46%),
    radial-gradient(circle at 70% 72%, rgba(255,98,0,0.9), transparent 52%),
    linear-gradient(140deg, #1a2a4a, #24160f);
  box-shadow:
    0 0 80px var(--blue-glow),
    0 0 120px var(--accent-glow),
    inset -20px -20px 60px rgba(0,0,0,0.5);
}
.code-float {
  position: absolute;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text-3);
  user-select: none;
  animation: float 6s ease-in-out infinite;
}
.code-float.c1 { top: 8%; left: 6%; animation-delay: 0s; }
.code-float.c2 { top: 18%; right: 4%; animation-delay: 1.2s; }
.code-float.c3 { bottom: 22%; left: 2%; animation-delay: 2.4s; }
.code-float.c4 { bottom: 6%; right: 12%; animation-delay: 3.6s; }
.code-float.c5 { top: 46%; left: -4%; animation-delay: 4.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ 通用 Section ============ */
section { padding: var(--section-gap) 0; position: relative; }
.section { padding: var(--section-gap) 0; }
.section-head,
.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center,
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .kicker,
.section-header .kicker {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2,
.section-header h2 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}
.section-head p,
.section-header p { margin-top: 16px; color: var(--text-2); font-size: 17px; }

/* 卡片网格 */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,98,0,0.15), rgba(57,116,204,0.15));
  border: 1px solid var(--border);
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); }

/* ============ 列表页 ============ */
.page-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}
.page-hero .crumb,
.breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--mono);
}
.page-hero .crumb a:hover,
.breadcrumb a:hover { color: var(--text); }
.page-hero .desc { margin-top: 12px; color: var(--text-2); font-size: 17px; }

/* 文章列表 */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.post-item:hover { border-color: var(--border-strong); transform: translateX(4px); }
.post-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  font-family: var(--mono);
  padding: 8px 0;
  border-radius: var(--r-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.post-date .d { font-size: 24px; font-weight: 700; line-height: 1; }
.post-date .m { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.post-body { flex: 1; }
.post-body .tag {
  display: inline-block;
  font-size: 12px;
  font-family: var(--mono);
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255,98,0,0.12);
  border: 1px solid rgba(255,98,0,0.25);
  margin-bottom: 8px;
}
.post-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.post-body h3 a:hover { color: var(--accent); }
.post-body p { color: var(--text-2); font-size: 15px; }
.post-arrow { flex-shrink: 0; color: var(--text-4); font-size: 20px; margin-top: 6px; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}
.pagination li { list-style: none; margin: 0; padding: 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--mono);
  color: var(--text-2);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled { opacity: 0.35; cursor: not-allowed; }

/* ============ 内容页 ============ */
.article {
  padding: 140px 0 80px;
}
.article-inner { max-width: 780px; margin: 0 auto; }
.article h1,
.article-hero h1 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
}
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--text-3);
}
.article-meta .tag {
  font-size: 12px;
  font-family: var(--mono);
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(57,116,204,0.12);
  border: 1px solid rgba(57,116,204,0.3);
}
.article-body { font-size: 17px; color: var(--text-2); }
.article-body h2 {
  font-family: var(--mono);
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.article-body h3 { color: var(--text); font-size: 20px; margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--accent-soft);
}
.article-body pre {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
}
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--blue);
  background: var(--bg-elevated);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-2);
  font-style: italic;
}
.article-body img { border-radius: var(--r-lg); margin: 24px 0; }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-nav a {
  flex: 1;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s;
}
.article-nav a:hover { border-color: var(--accent); }
.article-nav .dir,
.article-nav .label { font-size: 12px; color: var(--text-4); font-family: var(--mono); margin-bottom: 6px; }
.article-nav .t,
.article-nav .title { font-size: 15px; font-weight: 600; }
.article-nav .next { text-align: right; }

/* 文章详情页 hero 居中 */
.article-hero {
  padding: 150px 0 60px;
  text-align: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.article-hero .article-meta {
  justify-content: center;
  border-bottom: none;
  margin-bottom: 18px;
}
.article-hero h1 { max-width: 820px; margin: 0 auto; }
.article-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 32px 100px;
}
.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.article-tags a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
  transition: all .2s;
}
.article-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ============ 单页 ============ */
.single-hero {
  padding: 150px 0 80px;
  text-align: center;
}
.single-hero .kicker {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.single-hero h1 {
  font-family: var(--mono);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
}
.single-hero p {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--text-2);
  font-size: 18px;
}

/* 时间线 */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--blue));
  opacity: 0.4;
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.timeline-item .year {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { color: var(--text-2); font-size: 15px; }

/* CTA 区 */
.cta-band {
  margin-top: 40px;
  padding: 64px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255,98,0,0.15), transparent 60%),
    radial-gradient(ellipse 50% 100% at 100% 100%, rgba(57,116,204,0.15), transparent 60%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { font-family: var(--mono); font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: var(--text-2); margin-bottom: 32px; }

/* ============ Footer ============ */
.footer,
.site-footer {
  margin-top: var(--section-gap);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4,
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer ul,
.footer-col { list-style: none; }
.footer ul li,
.footer-col a,
.footer-col span { margin-bottom: 10px; }
.footer ul a,
.footer-col a { color: var(--text-3); font-size: 14px; transition: color .2s; }
.footer ul a:hover,
.footer-col a:hover { color: var(--accent); }
.footer .brand-desc,
.footer-brand p { color: var(--text-3); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-4);
}
.footer-bottom a { color: var(--text-4); }
.footer-bottom a:hover { color: var(--text-2); }

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

/* ============ 首页老版本丰富内容补充 ============ */

/* chip / badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--mono);
}
.chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 服务卡片（老版精致样式） */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  opacity: 0.5;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 116, 204, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: rgba(255, 98, 0, 0.08);
  border: 1px solid rgba(255, 98, 0, 0.15);
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.service-card h3 {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card .link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .link:hover { text-decoration: underline; }

/* 预览卡片（案例/动态） */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.preview-card {
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: block;
}
.preview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 116, 204, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.preview-cover {
  height: 180px;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.12), rgba(57, 116, 204, 0.12));
  display: grid;
  place-items: center;
}
.preview-cover svg { width: 56px; height: 56px; stroke: var(--accent); opacity: 0.85; }
.preview-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.preview-body { padding: 26px; }
.preview-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 10px;
  font-family: var(--mono);
}
.preview-meta .tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 98, 0, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 98, 0, 0.15);
}
.preview-body h3 {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.preview-body p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

/* 关于我们 */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 18px 0 20px;
}
.about-text p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 18px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.stat-box {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.stat-box strong {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.stat-box span { color: var(--text-3); font-size: 14px; }
.about-visual {
  position: relative;
  border-radius: 28px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.08), rgba(57, 116, 204, 0.08));
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.about-visual svg { width: 70%; height: 70%; opacity: 0.9; }

/* 章节通用 */
.section-header .kicker {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

/* ============ 列表页老版本内容补充 ============ */

/* 页面 hero 增强 */
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero .chip {
  margin-bottom: 20px;
}

/* 头条精选（企业动态等栏目可用） */
.featured-news {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.featured-news .news-cover {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255,98,0,0.12), rgba(57,116,204,0.12));
  display: grid;
  place-items: center;
}
.featured-news .news-cover svg { width: 80px; height: 80px; stroke: var(--accent); opacity: 0.9; }
.featured-news .news-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.featured-news .news-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--mono);
}
.featured-news .tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 98, 0, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 98, 0, 0.15);
}
.featured-news h2 {
  font-family: var(--mono);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.featured-news p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 24px;
}

/* 新闻列表（老版结构 + 新版配色） */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
  color: inherit;
  text-decoration: none;
}
.news-item:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
}
.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding-right: 28px;
}
.news-date .day {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.news-date .month {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 6px;
}
.news-content .news-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
}
.news-content .tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(57, 116, 204, 0.08);
  color: var(--blue);
  border: 1px solid rgba(57, 116, 204, 0.15);
}
.news-content h3 {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-content p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

/* 列表页底部 CTA */
.list-cta {
  margin-top: 80px;
}

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu, .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 80px; }
  .post-item { flex-direction: column; gap: 12px; }
  .post-date { width: auto; text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
  .article-nav .next { text-align: left; }
  .cta-band { padding: 40px 24px; }
  .nav-search { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-visual { aspect-ratio: auto; min-height: 260px; }
}

/* rlx-preflight-fix: 对抗 cnb tailwind preflight 的列表符号丢失 */
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

/* ===== 联系我们区块（2026-09-05 补，变量已适配 v2） ===== */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 18px; color: var(--text); }
.contact-info p { color: var(--text-3); margin-bottom: 24px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--text-2); }
.contact-item svg { width: 22px; height: 22px; stroke: var(--accent); flex-shrink: 0; }
.contact-form { padding: 36px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-3); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
@media (max-width: 1024px) { .contact-section { grid-template-columns: 1fr; } }
