@charset "UTF-8";
/* ============================================================================
   国力信息技术官网（guolix.cn） - 设计系统
   文件路径：assets/css/style.css

   设计基线
   ---------
   基底：深色 #0A0A0A，卡片 #141414，描边 #1F1F1F（沿用原站基因）
   交互色：#4C6EF5 —— 对 #0A0A0A 背景的对比度为 4.57:1，小字亦可读。
           原 --primary #1E3A8A 对背景仅 1.91:1（几乎融进背景），
           故退居品牌深色块与渐变起点使用。
   时序语言：所有「序列」类信息统一用 .timeline（横向）与 .vt（纵向）两套组件，
           节点 = 圆点 + 等宽序号 + 时间戳，全站一致。
   刻度感：序号、年份、金额、百分比一律使用等宽字体 + tabular-nums，保证纵向对齐。
   ========================================================================== */

/* ---------------------------------------------------------------- 设计令牌 */
:root {
  --bg:          #0A0A0A;
  --bg-soft:     #111111;
  --bg-card:     #141414;
  --bg-elev:     #1A1A1A;

  --border:      #1F1F1F;
  --border-lit:  #2E2E2E;

  --brand:       #1E3A8A;
  --brand-deep:  #16296B;
  --accent:      #4C6EF5;
  --accent-hi:   #6B8AFD;
  --accent-dim:  #3B5BDB;
  --accent-soft: rgba(76, 110, 245, 0.12);

  --text:        #FFFFFF;
  --muted:       #B0B0B0;
  --dim:         #6E6E6E;
  --dim-2:       #4A4A4A;

  --ok:          #4ADE80;
  --err:         #F87171;
  --warn:        #FBBF24;

  --r-sm:        8px;
  --r-md:        12px;
  --r-lg:        16px;
  --r-pill:      999px;

  --t-fast:      .2s ease;
  --t-slow:      .6s cubic-bezier(.22, .61, .36, 1);

  --wrap:        1200px;
  --wrap-narrow: 720px;

  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto',
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Monaco', 'Consolas', monospace;
}

/* -------------------------------------------------------------------- 基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* hidden 属性必须真的生效。
   浏览器默认样式里的 [hidden]{display:none} 优先级低于类选择器，
   会被 .btn{display:inline-flex} 之类覆盖 —— 分步向导的「提交需求」按钮
   因此在第 1、2 步就露出来了。这条规则是整个向导显隐逻辑的前提。 */
[hidden] { display: none !important; }

/* 等宽 + 等宽数字：让序号/年份/金额纵向对齐，形成「刻度感」 */
.mono, .tl-num, .step-no, .price-amount, .code-value, .week-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ 布局 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: var(--wrap-narrow); }

/* 网格底纹：首屏用，延续原站质感 */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head.left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(76, 110, 245, .3);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.section-sub { color: var(--muted); font-size: 15px; line-height: 1.8; }

/* 滚动入场 */
.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.fade-section.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-section { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 10, .9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img { height: 32px; width: auto; }
.nav-brand .brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, .06); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover { background: var(--accent-hi); box-shadow: 0 8px 24px rgba(76, 110, 245, .3); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-lit);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  padding: 13px 11px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.nav-toggle:hover { background: rgba(255, 255, 255, .1); border-color: var(--dim); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hi);
  box-shadow: 0 10px 30px rgba(76, 110, 245, .32);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .2);
  color: var(--text);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--border-lit);
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); border-color: var(--dim); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------------ 卡片 */
.card {
  /* 与 .work-card 同一套做法：抬高亮度 + 可见描边 + 朝下投影。
     原来 --bg-card(#141414) 落在 section-alt(#111111) 上只差 3 个色阶，等于没有分界。 */
  background: linear-gradient(180deg, #1E1E1E 0%, #181818 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .85);
}
.card-hover { transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); }
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 110, 245, .55);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .92),
              0 0 0 1px rgba(76, 110, 245, .18),
              0 14px 38px rgba(76, 110, 245, .18);
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-lit);
  color: var(--muted);
}

/* ------------------------------------------------------------------ 首屏 */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 820px; text-align: center; }

/* 首屏的品牌行：把「国力信息技术」与域名 guolix.cn 作为可见文字放在 H1 之上。
   搜索引擎判断「品牌名 ↔ 域名」的绑定关系主要看正文文字，只靠 logo 图片
   和 alt 是不够的，所以这里必须是真实的文字，不能是图片。 */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text);
}
.hero-brand .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  letter-spacing: 0;
}
.hero-brand .domain {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  color: var(--muted);
}

.hero-logo {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 46px;
}

/* 光环：logo 背后一片柔和的蓝色辉光。
   深蓝的 logo 直接放在纯黑底上对比度很低（只有 1.9:1），
   加一层辉光把它「托」起来，图形才立得住。
   只动 opacity 与 transform，不触发重绘。 */
.hero-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  max-width: 155vw;
  max-height: 155vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
      rgba(120, 150, 255, .26) 0%,
      rgba(76, 110, 245, .16) 34%,
      rgba(76, 110, 245, .06) 54%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroHalo 6.5s ease-in-out infinite;
}

@keyframes heroHalo {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.09); }
}

.logo-glow {
  position: relative;
  z-index: 1;
  display: inline-block;
  /* 三层光晕：贴边白色轮廓光 + 中程淡蓝辉光 + 外扩的大面积柔光 */
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .5))
          drop-shadow(0 0 38px rgba(130, 160, 255, .55))
          drop-shadow(0 0 92px rgba(76, 110, 245, .45));
  transition: filter var(--t-fast);
}
.logo-glow:hover {
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .7))
          drop-shadow(0 0 46px rgba(130, 160, 255, .72))
          drop-shadow(0 0 118px rgba(76, 110, 245, .6));
}
.logo-glow img {
  display: block;
  width: auto;
  height: 230px;
}
.logo-glow.sm {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .3))
          drop-shadow(0 0 24px rgba(130, 160, 255, .28));
}
.logo-glow.sm img { height: 34px; }

@media (prefers-reduced-motion: reduce) {
  .hero-logo::before { animation: none; }
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero-title em { font-style: normal; color: var(--accent-hi); }

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 520px;
}

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

.hero-meta {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 13px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ------------------------------------------------------- 能力 / 理念 卡片 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-title { font-size: 28px; font-weight: 700; line-height: 1.35; margin-bottom: 18px; }
.split-title em { font-style: normal; color: var(--accent-hi); }
.split-text { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin-bottom: 24px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-row.center { justify-content: center; }

.tag {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  color: var(--muted);
  display: inline-block;
}

.stack { display: flex; flex-direction: column; gap: 18px; }

.idea-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
}
.idea-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}
.idea-icon { font-size: 24px; display: block; margin-bottom: 8px; }
.idea-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.idea-desc { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ------------------------------------------------------------------ 作品 */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-grid.two { grid-template-columns: repeat(2, 1fr); }

.work-card {
  position: relative;
  /* 暗色界面里，「面」之间靠亮度差是分不出来的（#141414 与 #111111 只差 3 个色阶）。
     真正的层次感来自三件事：可见的描边、朝下的投影、以及顶部一道极细的高光。
     这里三样都用上。 */
  background: linear-gradient(180deg, #212121 0%, #1A1A1A 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  text-align: center;
  height: 100%;
  box-shadow: 0 22px 46px -24px rgba(0, 0, 0, .95),
              0 2px 6px rgba(0, 0, 0, .4);
}

/* 顶部高光：模拟光从上方打下来，暗色卡片靠这一道才能显出「厚度」 */
.work-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .30), transparent);
  pointer-events: none;
}
.work-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.work-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.work-title { font-size: 18px; font-weight: 600; }
.work-arrow { color: var(--dim); flex-shrink: 0; }
.work-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
  /* 简介最多显示 3 行：卡片高度一致，手机上也不会被长文案吃掉半屏 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.work-meta {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.tech-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tech-tag {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--dim);
  display: inline-block;
}

/* 没有上传封面图时的占位块：取作品名首字，避免作品网格里出现「空格子」 */
.work-logo-ph {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--accent-soft), var(--bg-soft));
  border: 1px solid var(--border-lit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-hi);
  user-select: none;
}

/* ------------------------------------- 首页作品位：两列大图卡 */
/* 卡片只保留「图 + 网站名 + 类别标签」，所以两列排布，图片看得清 */
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  /* 略深于卡片，像一块内嵌的屏幕；用内阴影描边比 border 更干净，避免「双重边框」 */
  background: #0E0E0E;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .055);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.work-thumb .work-logo-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  font-size: 54px;
}
.work-grid.two .work-card { padding: 16px 16px 20px; }
/* 首页卡片只有图片和名称，标题行下面不再有内容，去掉多余的底边距 */
.work-grid.two .work-head { margin-bottom: 0; }

/* 首页作品卡上的「交付案例 / 自研组件」角标已整块删除。
   试过 45° 斜带、方角贴片、玻璃胶囊、标题下方四种形态，结论是**在首页它就是多余的**：
   首页没有类别筛选，标签只提供装饰，却占着很显眼的位置，还把卡片撑高。
   类别区分只在 /works.php 有意义（那里有类别筛选），那边用轻量的 .tag 就够了。
   所以首页卡片现在只保留「图片 + 网站名称」。 */

/* ------------------------------------------- 作品详情：大图 + 点击放大 */
/* 图片宽度按手机宽度（约 420px）给足，网站截图在这个尺寸下最好看 */
.work-shot { margin-bottom: 26px; }
.work-shot img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: zoom-in;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.work-shot img:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.work-shot .shot-tip {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 10px;
}

/* 点击放大遮罩 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .7);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .2); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-chip {
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--muted);
  text-decoration: none;
  transition: all var(--t-fast);
}
.filter-chip:hover { border-color: var(--accent-dim); color: var(--text); }
.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --------------------------------------------- 横向时间轴（合作流程） */
.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  position: relative;
  margin-top: 10px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.tl-fill {
  position: absolute;
  top: 34px;
  left: 10%;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  z-index: 1;
  transition: width .9s cubic-bezier(.22, .61, .36, 1);
}
.timeline.lit .tl-fill { width: 80%; }

.tl-step {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 14px;
}
.tl-node {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-lit);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all .45s ease;
}
.tl-num { font-size: 19px; font-weight: 700; color: var(--dim); transition: color .45s ease; }
.tl-title { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.tl-desc { color: var(--dim); font-size: 13px; line-height: 1.6; }

/* 点亮态：由 IntersectionObserver 逐节点添加 */
.tl-step.lit .tl-node {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 26px rgba(76, 110, 245, .32);
}
.tl-step.lit .tl-num { color: var(--accent-hi); }

/* --------------------------------------------- 纵向时间轴（进度/里程碑） */
.vt { position: relative; padding-left: 30px; }
.vt::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.vt-item { position: relative; padding-bottom: 28px; }
.vt-item:last-child { padding-bottom: 0; }

.vt-dot {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-lit);
  transition: all var(--t-fast);
}
.vt-item.done .vt-dot { background: var(--accent); border-color: var(--accent); }
.vt-item.current .vt-dot {
  background: var(--accent);
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 5px rgba(76, 110, 245, .18);
}
.vt-item.paused .vt-dot { background: var(--warn); border-color: var(--warn); }

.vt-date {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 3px;
}
.vt-item.current .vt-date { color: var(--accent-hi); }
.vt-title { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.vt-desc { color: var(--muted); font-size: 14px; line-height: 1.7; }
.vt-item.todo .vt-title { color: var(--dim); }
.vt-item.todo .vt-desc { color: var(--dim-2); }

/* ------------------------------------------------------------- 进度条 */
.progress {
  height: 6px;
  background: var(--bg-elev);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  border-radius: var(--r-pill);
  transition: width .6s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  gap: 4px;
}
.ps-item {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.4;
}
.ps-item.done { color: var(--muted); }
.ps-item.current { color: var(--accent-hi); font-weight: 600; }
.ps-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-lit);
  margin: 0 auto 7px;
}
.ps-item.done .ps-dot { background: var(--accent); border-color: var(--accent); }
.ps-item.current .ps-dot { background: var(--accent); border-color: var(--accent-hi); box-shadow: 0 0 0 4px rgba(76, 110, 245, .18); }

/* ------------------------------------------------------------------ 报价 */
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(76, 110, 245, .45);
  background: linear-gradient(160deg, rgba(76, 110, 245, .09), var(--bg-card) 55%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
}
.price-label { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.price-amount {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.price-amount .unit { font-size: 17px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-note { font-size: 13px; color: var(--dim); margin-bottom: 26px; }

.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.price-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.extra-list { display: flex; flex-direction: column; gap: 16px; }
.extra-item { display: flex; gap: 14px; align-items: baseline; }
.extra-name { font-size: 15px; font-weight: 600; flex-shrink: 0; min-width: 130px; }
.extra-desc { color: var(--dim); font-size: 13.5px; line-height: 1.6; }

/* ------------------------------------------------------------------ 表单 */
.form-stack { display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 14px; font-weight: 500; color: #CCCCCC; }
.label .req { color: var(--accent-hi); margin-left: 3px; }

.input, .textarea, .select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #555; }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76, 110, 245, .2);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}
.select option { background: var(--bg-card); color: var(--text); }

.hint { font-size: 12.5px; color: var(--dim); line-height: 1.6; }
.field-err { font-size: 12.5px; color: var(--err); display: none; }
.field.invalid .input,
.field.invalid .textarea,
.field.invalid .select { border-color: var(--err); }
.field.invalid .field-err { display: block; }

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 14.5px;
  color: var(--muted);
  transition: all var(--t-fast);
}
.radio-card:hover { border-color: var(--border-lit); color: var(--text); }
.radio-card input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.radio-card input:checked ~ span { color: var(--text); }
.radio-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
}
.check-row input { accent-color: var(--accent); width: 16px; height: 16px; }

.hp-field { display: none !important; }

/* ------------------------------------------------------------ 分步向导 */
.wizard { position: relative; }
.wizard-top { margin-bottom: 32px; }
.wizard-count {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.wizard-count .now {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--accent-hi);
  letter-spacing: .06em;
}
.wizard-count .total { font-size: 13px; color: var(--dim); }

.wizard-title { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.wizard-tip { font-size: 13.5px; color: var(--dim); margin-bottom: 26px; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: panelIn .35s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wizard-nav {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.wizard-nav .btn { flex: 1; }

/* ------------------------------------------------------------------ 提示 */
.alert {
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid var(--border-lit);
  background: var(--bg-soft);
  color: var(--muted);
}
.alert-ok    { border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .08); color: #BBF7D0; }
.alert-err   { border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .08); color: #FECACA; }
.alert-warn  { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #FDE68A; }
.alert-info  { border-color: rgba(76, 110, 245, .35); background: var(--accent-soft); color: #C7D2FE; }

/* ------------------------------------------------------------- 查询码框 */
.code-box {
  background: linear-gradient(180deg, #1A1A1A 0%, #151515 100%);
  border: 1px dashed rgba(76, 110, 245, .5);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .85);
}
.code-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--accent-hi);
  margin: 10px 0 14px;
  word-break: break-all;
}

/* ---------------------------------------- 提交成功页：引导关注服务号 */
/* 这是提交成功后的主行动区，视觉上要压过页面里其它所有东西 */
.wx-invite {
  margin-top: 22px;
  padding: 30px 24px;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px solid rgba(76, 110, 245, .45);
  background: linear-gradient(165deg, rgba(76, 110, 245, .14) 0%, var(--bg-card) 62%);
  box-shadow: 0 24px 54px -26px rgba(0, 0, 0, .95),
              0 0 0 1px rgba(76, 110, 245, .08);
}
.wx-invite h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.wx-invite .wx-qr {
  display: block;
  width: 180px;
  height: 180px;
  margin: 20px auto;
  padding: 8px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--border-lit);
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .9);
}
.wx-invite .wx-id {
  display: inline-block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-hi);
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  background: rgba(76, 110, 245, .14);
  border: 1px dashed rgba(76, 110, 245, .5);
  user-select: all;
}

/* 长得像链接的按钮（用于把次要动作降级，不跟主行动抢注意力） */
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-hi);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--accent); }

/* ------------------------------------------------------------- 键值列表 */
.kv { display: flex; flex-direction: column; }
.kv-row {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.kv-row:last-child { border-bottom: none; }
.kv-k { color: var(--dim); min-width: 92px; flex-shrink: 0; }
.kv-v { color: var(--text); flex: 1; word-break: break-word; }
.kv-v.pre { white-space: pre-wrap; line-height: 1.75; }
.kv-v a { color: var(--accent-hi); text-decoration: none; }
.kv-v a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- 空状态 */
.empty {
  text-align: center;
  color: var(--dim);
  padding: 72px 20px;
  font-size: 14.5px;
}
.empty-icon { font-size: 34px; display: block; margin-bottom: 14px; opacity: .5; }

/* ------------------------------------------------------------- 文章正文 */
.prose { color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.prose p { margin-bottom: 18px; }
.prose h2 { color: var(--text); font-size: 21px; font-weight: 600; margin: 34px 0 14px; }
.prose h3 { color: var(--text); font-size: 17px; font-weight: 600; margin: 26px 0 10px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-hi); }
.prose img { border-radius: var(--r-md); margin: 18px 0; border: 1px solid var(--border); }
.prose code {
  font-family: var(--mono);
  font-size: 13.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  color: var(--dim);
  margin: 18px 0;
}

/* -------------------------------------------------------------- 页面头部 */
.page-head {
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.page-head h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.page-head p { color: var(--muted); font-size: 16px; max-width: 620px; }

.crumb {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 18px;
}
.crumb a { color: var(--dim); text-decoration: none; }
.crumb a:hover { color: var(--accent-hi); }
.crumb span { margin: 0 8px; }

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 52px 0 34px;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-brand .name { color: var(--muted); font-size: 14px; }
.footer-brand .name a { color: inherit; text-decoration: none; }
.footer-brand .name a:hover { color: var(--text); }

/* 页脚的域名文本链接。必须是可见文字，不能只放在图片 alt 里：
   搜索引擎靠正文把「国力信息技术」和 guolix.cn 关联起来。 */
.footer-brand .site-domain {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border-lit);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer-brand .site-domain:hover { color: var(--accent-hi); border-color: var(--accent); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0 18px;
}
.footer-links a {
  color: var(--dim);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--text); }

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.footer-qr img {
  width: 112px;
  height: 112px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-lit);
  background: #fff;
  padding: 5px;
}
.footer-qr .qr-tip { font-size: 12.5px; color: var(--dim); }

/* 备案信息 —— 合规要求，始终展示 */
.beian {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}
.beian a {
  color: var(--dim);
  font-size: 12.5px;
  text-decoration: none;
}
.beian a:hover { color: var(--muted); }
.copyright { color: var(--dim-2); font-size: 12.5px; margin-top: 6px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .work-grid, .work-grid.two { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .page-head h1 { font-size: 30px; }
  .section-title { font-size: 26px; }

  /* 合作流程：横向轴转 2 列网格 */
  .timeline {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    gap: 36px 0;
  }
  .timeline::before, .tl-fill { display: none; }
  .tl-node { width: 58px; height: 58px; margin-bottom: 14px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  /* 页头在移动端始终有一条可见分隔线，否则整条头会「融」进深色背景里 */
  .site-header { border-bottom-color: var(--border); }

  /* 关键：把整个 <nav> 移出 flex 流。
     原先 <nav> 也是 .nav-inner 的 flex 子项，但宽度接近 0，
     justify-content:space-between 便把汉堡按钮推到了页面中间，看起来像不见了。 */
  .nav-main {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0F0F0F;
    border-bottom: 1px solid var(--border-lit);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .65);
    padding: 6px 0 14px;
    display: none;
  }
  .nav-links.open { display: flex; }

  /* 移动端菜单项：整行可点、字号加大、逐行分隔 */
  .nav-link {
    padding: 15px 24px;
    font-size: 16px;
    color: var(--text);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-link:hover, .nav-link.active { background: var(--accent-soft); color: var(--accent-hi); }

  .nav-cta {
    display: block;
    margin: 14px 20px 2px;
    padding: 14px 20px;
    text-align: center;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 56px 0 44px; }
  .hero-title { font-size: 29px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 14px; font-size: 12.5px; }

  /* 作品列表页：手机上单列（卡片带简介，单列才好读） */
  .work-grid { grid-template-columns: 1fr; }

  /* 首页作品位：手机上【保持两列】。
     首页卡片只有「图 + 网站名 + 角标」，两列排布最紧凑，也最像一个作品墙。
     ⚠️ 这里不要写成 .work-grid.two { 1fr }，否则两列会被压回一列。 */
  .work-grid.two {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .work-grid.two .work-card { padding: 10px 10px 14px; }
  .work-grid.two .work-title { font-size: 13.5px; }
  .work-grid.two .work-head { gap: 5px; }
  .work-grid.two .work-arrow { width: 13px; height: 13px; }
  .work-grid.two .work-thumb { margin-bottom: 10px; }
  .work-grid.two .work-logo-ph { font-size: 32px; }
  .radio-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 30px 0; }
  .tl-step { text-align: left; padding: 0 0 0 78px; position: relative; }
  .tl-node { position: absolute; left: 0; top: 0; margin: 0; }
  .tl-desc { text-align: left; }

  .section-title { font-size: 23px; }
  .split-title { font-size: 23px; }
  .page-head { padding: 52px 0 34px; }
  .page-head h1 { font-size: 26px; }
  .page-head p { font-size: 15px; }

  .card { padding: 20px; }
  .price-card { padding: 26px 22px; }
  .price-amount { font-size: 36px; }
  .extra-item { flex-direction: column; gap: 4px; }
  .extra-name { min-width: 0; }

  /* 筛选标签改成「横向滑动的一条」。
     作品一多，技术标签可以有二十几个，折行会把手机首屏整个吃掉。 */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: 16px;
    padding: 0 18px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }

  /* 作品卡上的标签在手机上更紧凑，少占高度 */
  .tech-row { gap: 5px; }
  .tech-tag { font-size: 10.5px; padding: 2px 7px; }

  /* 两列时缩略图只有约 163px 宽，兜底高度跟着收小，避免把卡片撑高 */
  .work-thumb { min-height: 96px; }

  /* 首屏 logo：手机上单列，尺寸收紧但仍保持存在感 */
  .hero-logo { margin-bottom: 30px; }
  .logo-glow img { height: 168px; }
  .hero-logo::before { width: 430px; height: 430px; }

  .wizard-nav { flex-direction: column-reverse; }
  .kv-row { flex-direction: column; gap: 4px; }
  .kv-k { min-width: 0; }
  .code-value { font-size: 24px; }
}
