/* ==========================================================================
   DeepSeek 苗银锻造风说明书视觉系统
   设计隐喻：银匠锤打银片，"DeepSeek下载"为银砧，功能为锤纹，骨架为放射锤点肌理，银白配炭黑
   ========================================================================== */

:root {
  /* 银白与锻打金属基底 */
  --silver-bg: #f8fafc;
  --silver-surface: #ffffff;
  --silver-subtle: #f1f5f9;
  --silver-border: #cbd5e1;
  --silver-slate: #475569;
  --silver-deep: #0f172a;
  
  /* 炭黑主色与银砧重色 */
  --charcoal-black: #18181b;
  --charcoal-hover: #27272a;
  --charcoal-light: #f4f4f5;
  --charcoal-anvil: #09090b;

  /* 苗银高光与锤点流光 */
  --silver-gleam: #e2e8f0;
  --silver-accent: #64748b;
  --silver-bright: #0284c7;
  --silver-bright-light: #e0f2fe;
  --silver-glow: rgba(148, 163, 184, 0.2);
  
  /* 锤点肌理与卡片圆角阴影 */
  --shadow-sm: 0 2px 6px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 24, 27, 0.08);
  --shadow-lg: 0 16px 36px rgba(9, 9, 11, 0.14);
  --radius-hammer: 18px 8px 18px 8px;
  --radius-smooth: 12px;
  --radius-pill: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: "SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--silver-bg);
  color: var(--silver-slate);
}

body {
  font-family: var(--font-sans);
  line-height: 1.68;
  background: 
    radial-gradient(circle at 12% 18%, rgba(100, 116, 139, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(24, 24, 27, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--silver-slate);
  overflow-x: hidden;
  min-height: 100vh;
}

/* 放射锤点肌理背景 */
.miao-silver-pattern {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(100, 116, 139, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 0% 0%, rgba(24, 24, 27, 0.02) 1.5px, transparent 1.5px);
  background-size: 32px 32px, 64px 64px;
}

/* 居中版心：1100px 左右留白 */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 顶栏 Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--silver-border);
  box-shadow: 0 1px 6px rgba(24, 24, 27, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--silver-border);
  background: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--silver-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-link {
  color: var(--silver-slate);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 6px 10px;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--charcoal-anvil);
  background-color: var(--silver-subtle);
}

.nav-btn {
  background: var(--charcoal-black);
  color: #ffffff !important;
  font-weight: 600;
  padding: 8px 18px !important;
  border-radius: var(--radius-smooth) !important;
  box-shadow: 0 2px 10px rgba(24, 24, 27, 0.2);
}

.nav-btn:hover {
  background: var(--charcoal-hover) !important;
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.3);
}

/* 说明白卡片通用风格 */
.white-card {
  background: var(--silver-surface);
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-hammer);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.white-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--charcoal-black);
}

/* 银砧高光饰条 */
.white-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
  opacity: 0.6;
}

/* Hero 左右栏 */
.hero-section {
  padding: 56px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid var(--silver-border);
  color: var(--charcoal-anvil);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pill-date {
  font-size: 0.82rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--charcoal-anvil);
  letter-spacing: -0.03em;
}

.hero-h1 .h1-sub {
  display: block;
  font-size: 1.25rem;
  color: var(--silver-accent);
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0;
}

.hero-intro {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--charcoal-black);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-smooth);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 14px rgba(24, 24, 27, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--charcoal-hover);
  box-shadow: 0 6px 18px rgba(24, 24, 27, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--silver-slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: var(--radius-smooth);
  border: 1px solid var(--silver-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--charcoal-black);
  color: var(--charcoal-anvil);
  background: var(--silver-subtle);
}

/* Hero 右侧拟真展示区（假界面/假对话/银砧锤纹展示） */
.hero-visual {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-hammer);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--silver-border);
  margin-bottom: 14px;
}

.dot-group {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.dot.active {
  background: var(--charcoal-black);
}

.visual-title {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #64748b;
}

.mock-dialog {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.dialog-user {
  align-self: flex-end;
  background: #f1f5f9;
  border: 1px solid var(--silver-border);
  color: var(--charcoal-anvil);
  max-width: 88%;
}

.dialog-ai {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  color: var(--silver-slate);
  max-width: 95%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.ai-silver-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal-black);
  margin-bottom: 4px;
}

.visual-img-wrap {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--silver-border);
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 章节通用标题规范 */
.section-wrap {
  padding: 48px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--charcoal-anvil);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.98rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
}

/* 3. 特色区块：H2 + 横条 + 补充卡 */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-bar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-smooth);
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: border-color 0.2s ease;
}

.feature-bar:hover {
  border-color: var(--charcoal-black);
}

.bar-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--charcoal-anvil);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--silver-border);
}

.bar-h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
}

.bar-desc {
  font-size: 0.93rem;
  color: #475569;
  line-height: 1.6;
}

.feature-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}

.extra-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-img-holder {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--silver-border);
  background: #f1f5f9;
}

.card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. 步骤区块：4步序号卡片 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 26px 20px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--charcoal-black);
  line-height: 1;
}

.step-h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
}

.step-desc {
  font-size: 0.88rem;
  color: #556975;
  line-height: 1.6;
}

/* 5. 对照清单：深色大卡（炭黑银砧大卡） */
.dark-checklist-card {
  background: linear-gradient(145deg, #18181b 0%, #09090b 100%);
  border: 1px solid #27272a;
  border-radius: var(--radius-hammer);
  padding: 38px 34px;
  color: #d4d4d8;
  box-shadow: var(--shadow-lg);
  margin-top: 10px;
}

.checklist-h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.check-column h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-column.wrong h4 {
  color: #f87171;
}

.check-column.correct h4 {
  color: #e2e8f0;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  font-size: 0.92rem;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-item::before {
  content: "•";
  font-weight: bold;
}

.wrong .check-item::before {
  color: #f87171;
}

.correct .check-item::before {
  color: #38bdf8;
}

/* 6. 场景：4个具体岗位气泡卡 */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.persona-card {
  padding: 22px 18px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-hammer);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal-black);
  background: #f1f5f9;
  border: 1px solid var(--silver-border);
  padding: 3px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

.persona-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
}

.persona-quote {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  font-style: normal;
  background: #f8fafc;
  padding: 10px 12px;
  border-left: 3px solid var(--charcoal-black);
  border-radius: 0 6px 6px 0;
}

.persona-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver-slate);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--silver-border);
}

/* 7. 小技巧：3列短卡 */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-smooth);
}

.tip-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tip-card p {
  font-size: 0.9rem;
  color: #556975;
  line-height: 1.65;
}

/* 8. 卡点笔记：失败现象 + 处理顺序 */
.trouble-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trouble-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-smooth);
  box-shadow: var(--shadow-sm);
}

.trouble-issue {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.trouble-issue-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #991b1b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trouble-issue-desc {
  font-size: 0.85rem;
  color: #7f1d1d;
  margin-top: 4px;
}

.trouble-steps-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
  margin-bottom: 8px;
}

.trouble-steps-list {
  padding-left: 20px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.trouble-steps-list li {
  margin-bottom: 4px;
}

/* 9. FAQ：8条手风琴 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-smooth);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--charcoal-black);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 16px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--charcoal-anvil);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal-black);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  border-top: 1px dashed var(--silver-subtle);
  padding-top: 14px;
}

/* 10. 资讯：8条带日期标题 + 底部新鲜度 */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.news-item {
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--silver-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-item:hover {
  border-color: var(--charcoal-black);
  background: #f1f5f9;
  transform: translateX(3px);
}

.news-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-anvil);
}

.news-date {
  font-size: 0.8rem;
  color: #64748b;
  font-family: var(--font-mono);
  white-space: nowrap;
  margin-left: 12px;
}

.news-footer-time {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* 11. 收尾 CTA */
.cta-wrap {
  padding: 40px 0;
}

.cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--silver-border);
  border-radius: var(--radius-hammer);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--charcoal-anvil);
}

.cta-p {
  font-size: 1rem;
  color: #556975;
  max-width: 600px;
}

/* 12. Footer */
.site-footer {
  background: #09090b;
  color: #a1a1aa;
  padding: 56px 0 32px;
  border-top: 1px solid #27272a;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  color: #a1a1aa;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #18181b;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #71717a;
  flex-wrap: wrap;
  gap: 12px;
}

/* 响应式断点规范 */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .feature-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feature-cards-row {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .personas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .trouble-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-h1 {
    font-size: 1.8rem;
  }
  .hero-h1 .h1-sub {
    font-size: 1.1rem;
  }
  .section-h2 {
    font-size: 1.5rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* PERF-PATCH-20260928 */
img { max-width: 100%; }
@media (max-width: 900px) {
  header, .header, .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
    animation-duration: 0.6s !important;
  }
}
main section:not(#hero):not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
