/* ============================================================
   JUNFIELD INFO · 均斐信息 官网样式
   数据来源：00_Spec/jfspec.py v1.3（色彩 / 字体 / 比例）
   ============================================================ */

:root {
  --pine: #123D35;
  --pine-ink: #0B2722;
  --mint: #65C99A;
  --mint-ink: #257453;
  --paper: #F4F5EF;
  --warm: #FBFAF5;
  --slate: #55716A;
  --mist: #C5D7D0;
  --mist-dim: #8FB3A9;
  --mist-faint: #9FB5AE;
  --line: rgba(197, 215, 208, 0.35);
  --line-soft: rgba(197, 215, 208, 0.16);

  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas,
    "Courier New", monospace;

  --pad-x: clamp(24px, 8.3vw, 120px);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--pine);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- 通用字型 ---------- */
.overline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: var(--mint-ink);
  text-transform: uppercase;
}
.on-dark .overline { color: var(--mint); }

.h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 720px;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.94; }
.btn-mint { background: var(--mint); color: var(--pine-ink); }
.btn-ghost-dark {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
  font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
}
.site-header .bar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text .cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.brand-text .en {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--slate);
}
.main-nav { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--pine); }
.header-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--pine);
  color: var(--paper);
  padding: 11px 20px;
  border-radius: var(--radius);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--pine);
  color: var(--paper);
  padding: 76px 0 72px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.hero-meta .left { color: var(--mint); font-weight: 500; }
.hero-meta .right { color: #7E9A92; }
.hero-main {
  margin-top: 60px;
  display: flex;
  gap: 72px;
  align-items: flex-start;
}
.hero-copy { flex: 1 1 auto; min-width: 0; }
.hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.hero-copy h1 .accent { color: var(--mint); display: block; }
.hero-sub {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--mist);
  max-width: 620px;
}
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #7E9A92;
}

/* 交付规格卡 */
.spec-panel {
  flex: 0 0 372px;
  background: var(--pine-ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
}
.spec-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.spec-head .t { color: var(--mint); font-weight: 500; }
.spec-head .v { color: #7E9A92; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(197, 215, 208, 0.12);
}
.spec-row:first-of-type { margin-top: 14px; }
.spec-row .label { font-size: 13px; color: var(--mist-faint); }
.spec-row .value {
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.spec-row .value.mint { color: var(--mint); }
.bars { display: flex; gap: 6px; margin-top: 20px; }
.bars i { display: block; height: 4px; background: var(--mint); }
.bars i:nth-child(1) { width: 74px; }
.bars i:nth-child(2) { width: 52px; opacity: 0.55; }
.bars i:nth-child(3) { width: 74px; opacity: 0.25; }

/* ---------- Section 通用 ---------- */
section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.section-head .overline { display: block; margin-bottom: 14px; }
.section-head .desc { font-size: 14px; line-height: 1.9; color: var(--slate); max-width: 400px; }
.section-head .desc.on-dark { color: var(--mist); }

/* ---------- 能力 ---------- */
.cap-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cap-card {
  background: var(--warm);
  border: 1px solid var(--mist);
  border-radius: 2px;
  padding: 24px 22px;
}
.cap-card.dark { background: var(--pine); border-color: var(--pine); }
.cap-top { display: flex; justify-content: space-between; align-items: center; }
.cap-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--mint-ink);
  font-weight: 500;
}
.cap-card h3 { margin-top: 14px; font-size: 19px; letter-spacing: 0.03em; }
.cap-card p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--slate); }
.cap-spec {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #7E9A92;
}
.cap-card.dark h3 { color: var(--paper); }
.cap-card.dark p { color: var(--mist); }
.cap-card.dark .cap-idx { color: var(--mint); }
.cap-card.dark .cap-spec { color: var(--mist-dim); }

/* ---------- 方法 ---------- */
.method { background: var(--warm); padding: 88px 0 96px; }
.step-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step .rule { height: 2px; background: var(--pine); }
.step:nth-child(2) .rule { opacity: 0.6; }
.step:nth-child(3) .rule { opacity: 0.35; }
.step:nth-child(4) .rule { opacity: 0.15; }
.step .no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--mint-ink);
}
.step h3 { font-size: 24px; letter-spacing: 0.04em; }
.step p { font-size: 13px; line-height: 1.85; color: var(--slate); }
.step .out {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #7E9A92;
}

/* ---------- 数字与信任 ---------- */
.trust { background: var(--pine); color: var(--paper); padding: 80px 0 84px; }
.trust .h2 { max-width: 660px; }
.stat-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 1px solid rgba(101, 201, 154, 0.5); padding-top: 12px; }
.stat .value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.stat:first-child .value { color: var(--mint); }
.stat .label { margin-top: 6px; font-size: 13px; color: var(--mist); }
.quote {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  background: rgba(197, 215, 208, 0.06);
  border-radius: 2px;
}
.quote .qbar { width: 3px; height: 40px; background: var(--mint); flex: 0 0 auto; }
.quote p { flex: 1; font-size: 16px; line-height: 1.75; }
.quote .attr {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--mist-dim);
  white-space: nowrap;
}

/* ---------- 场景与联系 ---------- */
.case-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--warm);
  border: 1px solid var(--mist);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.case-top { background: var(--pine); padding: 22px; flex: 1; }
.case-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--mint);
}
.case-result { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--paper); }
.case-body { padding: 20px 22px 22px; }
.case-body h3 { font-size: 18px; letter-spacing: 0.03em; }
.case-body p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--slate); }
.case-meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #7E9A92;
}

.contact-block {
  margin-top: 44px;
  background: var(--pine);
  border-radius: 2px;
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  color: var(--paper);
}
.contact-left { max-width: 580px; }
.contact-left .overline { display: block; margin-bottom: 14px; }
.contact-left h2 { font-size: 28px; line-height: 1.45; letter-spacing: 0.03em; }
.contact-left p { margin-top: 12px; font-size: 13px; line-height: 1.85; color: var(--mist); max-width: 460px; }
.contact-right { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-right .mail { font-family: var(--font-mono); font-size: 20px; font-weight: 500; }
.contact-right .tel { font-family: var(--font-mono); font-size: 20px; color: var(--mist); }
.contact-right .addr { font-size: 12px; color: var(--mist-dim); }
.contact-right .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-ink); color: var(--paper); padding: 60px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; }
.footer-brand { max-width: 340px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .tagline { font-size: 12px; line-height: 1.8; color: var(--mist-dim); }
.footer-brand .legal-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #5E7C74;
  line-height: 1.7;
}
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--mint);
  margin-bottom: 10px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--mist-faint); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 44px;
  border-top: 1px solid #2C4C45;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #5E7C74;
}
.footer-bottom .mono { font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero-main { flex-direction: column; }
  .spec-panel { flex: 1 1 auto; width: 100%; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .case-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cap-grid, .step-grid, .stat-grid { grid-template-columns: 1fr; }
  .contact-block { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { flex-wrap: wrap; gap: 32px; }
  .hero-meta .right { display: none; }
}
