/* ============================================================
   PlainCore · 朴心一方 工作室介绍站 — 方案 A 典藏版样式
   版本：1.0
   设计原则：瑞士国际主义 + 极简 + 克制
   红线：无渐变、无阴影、8pt 网格、留白充足、强调色 ≤10%
   主色：#1B5FCF  背景：#FBF9F4  文字：#111111  边框：#E2DDD6
   ============================================================ */

:root {
  /* 1. 色彩系统（方案 A 权威值） */
  --pc-primary: #1B5FCF;
  --pc-primary-hover: #154FAF;
  --pc-primary-active: #0F3F8F;
  --pc-primary-soft: #E8F0FF;

  --pc-gold: #C8A96E;          /* 工艺金，仅作规则/强调点缀 */
  --pc-success: #16A34A;
  --pc-warning: #E8830C;
  --pc-danger: #E23B3B;

  --pc-bg: #FBF9F4;            /* 暖米白 */
  --pc-surface: #F3F1EB;       /* 石色，卡片/表面 */
  --pc-card: #FFFFFF;
  --pc-text: #111111;
  --pc-text-muted: #6B7280;
  --pc-border: #E2DDD6;
  --pc-rule: #E2DDD6;

  --pc-shadow: none;           /* 红线：无阴影 */

  /* 2. 排版 */
  --pc-font: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --pc-font-mono: "Space Mono", "SFMono-Regular", Consolas, monospace;
  --pc-text-display: clamp(2.6rem, 6vw, 5rem);
  --pc-text-title: 2rem;
  --pc-text-body: 15px;
  --pc-text-small: 13px;
  --pc-text-tiny: 12px;

  /* 3. 尺寸（8pt 网格 / 触控友好 ≥44px） */
  --pc-tap: 44px;
  --pc-radius-sm: 8px;
  --pc-radius-md: 12px;
  --pc-radius-lg: 16px;
  --pc-container-w: 1080px;
  --pc-gutter: 48px;
}

/* ——— 全局重置 ——— */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--pc-font);
  background: var(--pc-bg);
  color: var(--pc-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ——— 容器 ——— */
.pc-wrap { max-width: var(--pc-container-w); margin: 0 auto; padding: 0 var(--pc-gutter); }
@media (max-width: 600px) { .pc-wrap { padding: 0 20px; } }

/* ——— 顶栏（锚点导航） ——— */
.pc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--pc-rule);
}
.pc-topbar .pc-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.pc-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.pc-brand .pc-mark { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; border: 1px solid var(--pc-rule); }
.pc-brand .pc-accent { color: var(--pc-primary); }
.pc-nav { display: flex; gap: 28px; }
.pc-nav a { font-size: var(--pc-text-small); color: var(--pc-text-muted); font-weight: 500; transition: color .2s; }
.pc-nav a:hover { color: var(--pc-primary); }
@media (max-width: 600px) {
  .pc-topbar .pc-wrap { height: 52px; }
  .pc-nav { gap: 16px; }
  .pc-nav a { font-size: 12px; }
}

/* ——— 通用区块 ——— */
.pc-section { padding: 84px 0; border-top: 1px solid var(--pc-rule); }
@media (max-width: 600px) { .pc-section { padding: 56px 0; } }
.pc-label {
  font-family: var(--pc-font-mono);
  font-size: var(--pc-text-tiny);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-text-muted);
}
.pc-label--accent { color: var(--pc-primary); }
.pc-label--gold { color: var(--pc-gold); }
.pc-h2 {
  font-size: var(--pc-text-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pc-primary);
  margin: 14px 0 8px;
  line-height: 1.2;
}
.pc-lead { color: var(--pc-text-muted); max-width: 640px; font-size: 1.02rem; }

/* ——— Hero ——— */
.pc-hero { padding: 96px 0 80px; }
.pc-hero .pc-tags { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.pc-hero h1 {
  font-size: var(--pc-text-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--pc-text);
}
.pc-hero h1 .pc-slash { color: var(--pc-primary); }
.pc-hero h1 .pc-blue { color: var(--pc-primary); }
.pc-hero p { margin-top: 24px; max-width: 640px; font-size: 1.15rem; color: var(--pc-text-muted); }
.pc-hero .pc-meta { margin-top: 44px; display: flex; gap: 40px; flex-wrap: wrap; }
.pc-hero .pc-meta .pc-meta-item { display: flex; flex-direction: column; gap: 4px; }
.pc-hero .pc-meta .pc-meta-item .pc-divider { width: 1px; height: 40px; background: var(--pc-rule); }
@media (max-width: 600px) { .pc-hero { padding: 64px 0 48px; } .pc-hero .pc-meta { gap: 24px; } }

/* ——— 品牌灵魂网格 ——— */
.pc-soul-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.pc-soul-item .pc-rule-line { width: 32px; height: 2px; background: var(--pc-primary); margin-bottom: 14px; }
.pc-soul-item:nth-child(2) .pc-rule-line { background: var(--pc-gold); }
.pc-soul-item:nth-child(3) .pc-rule-line { background: var(--pc-text); }
.pc-soul-item:nth-child(4) .pc-rule-line { background: var(--pc-text-muted); }
.pc-soul-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.pc-soul-item p { font-size: 0.9rem; color: var(--pc-text-muted); line-height: 1.8; }
@media (max-width: 768px) { .pc-soul-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pc-soul-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ——— 重点产品专区 ——— */
.pc-product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--pc-rule); }
.pc-product:first-of-type { border-top: none; }
.pc-product:nth-child(even) .pc-product-visual { order: 2; }
.pc-product .pc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--pc-text-tiny); font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--pc-rule); color: var(--pc-text-muted);
  font-family: var(--pc-font-mono);
}
.pc-product .pc-badge--live { color: var(--pc-success); border-color: var(--pc-success); }
.pc-product .pc-badge--dev { color: var(--pc-warning); border-color: var(--pc-warning); }
.pc-product h3 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 6px; }
.pc-product .pc-en { font-family: var(--pc-font-mono); font-size: var(--pc-text-small); color: var(--pc-text-muted); margin-bottom: 18px; }
.pc-product p.pc-desc { color: var(--pc-text-muted); font-size: 1rem; margin-bottom: 20px; }
.pc-product ul.pc-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.pc-product ul.pc-feats li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--pc-text); }
.pc-product ul.pc-feats li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--pc-primary); border-radius: 2px; }
.pc-product .pc-feats li .pc-k { color: var(--pc-primary); font-weight: 600; }

/* 产品视觉占位（纯 CSS，无图无阴影） */
.pc-product-visual {
  background: var(--pc-surface);
  border: 1px solid var(--pc-rule);
  border-radius: var(--pc-radius-md);
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
}
.pc-product-visual .pc-vis-mark { font-size: 2.4rem; font-weight: 700; color: var(--pc-primary); letter-spacing: -0.02em; }
.pc-product-visual .pc-vis-sub { font-family: var(--pc-font-mono); font-size: var(--pc-text-tiny); color: var(--pc-text-muted); }
.pc-product-visual .pc-vis-rule { width: 48px; height: 2px; background: var(--pc-gold); }

/* 按钮 */
.pc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--pc-tap); padding: 0 22px;
  border-radius: var(--pc-radius-sm); border: 1.5px solid var(--pc-primary);
  font-size: 0.95rem; font-weight: 600; font-family: inherit;
  background: var(--pc-primary); color: #fff; cursor: pointer;
  transition: background .2s, transform .08s;
}
.pc-btn:hover { background: var(--pc-primary-hover); }
.pc-btn:active { transform: scale(0.98); }
.pc-btn--ghost { background: transparent; color: var(--pc-primary); }
.pc-btn--ghost:hover { background: var(--pc-primary-soft); }
.pc-btn:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 768px) {
  .pc-product { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .pc-product:nth-child(even) .pc-product-visual { order: 0; }
  .pc-product h3 { font-size: 1.5rem; }
}

/* ——— 页脚 ——— */
.pc-footer { border-top: 1px solid var(--pc-rule); padding: 56px 0 64px; }
.pc-footer .pc-foot-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.pc-footer .pc-mail { font-family: var(--pc-font-mono); font-size: 1.05rem; color: var(--pc-primary); }
.pc-footer .pc-foot-rule { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.pc-footer .pc-foot-rule .pc-line { flex: 1; height: 1px; background: var(--pc-rule); }
.pc-footer .pc-foot-rule .pc-label { font-size: 0.6rem; }
.pc-footer .pc-foot-note { margin-top: 20px; font-size: var(--pc-text-tiny); color: var(--pc-text-muted); }

/* ——— 进场动画（克制） ——— */
@keyframes pc-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.pc-fade { animation: pc-fade 0.7s ease both; }
.pc-fade-1 { animation-delay: 0.08s; }
.pc-fade-2 { animation-delay: 0.18s; }
.pc-fade-3 { animation-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) { .pc-fade { animation: none; } }
