/* ============================================
   product-design.css — 产品页面设计语言
   从 cnproduct.html 提取，类名调整避免冲突
   加载顺序：在 style.css 之后加载
   ============================================ */

/* --- 变量（叠加在 style.css 的 :root 之上） --- */
:root {
  --navy-deep: #0b2540;
  --navy: #0f3459;
  --blue-brand: #1c5fa8;
  --blue-bright: #2f7bd1;
  --brass: #c69a3e;
  --brass-light: #e2bd6c;
  --steel-100: #f3f5f7;
  --steel-200: #e7ebef;
  --steel-300: #cfd6dd;
  --ink-soft: #4a5866;
  --radius-s: 4px;
  --radius-m: 10px;
  --shadow-card: 0 10px 30px -12px rgba(11,37,64,0.18);
}

/* --- 产品页排版覆盖 --- */
.product-page h1,
.product-page h2,
.product-page h3,
.product-page h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
}

.product-page .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-brand);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.product-page .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brass);
  display: inline-block;
  border-radius: 0;
}

.product-page .eyebrow:before {
  content: "" !important;
  width: 22px !important;
  height: 2px !important;
  background: var(--brass) !important;
  display: inline-block !important;
  border-radius: 0 !important;
}

/* --- 焦点样式 --- */
:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

/* --- 滚动动画 --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ================= HERO ================= */
.product-hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}

.product-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 40px;
  opacity: 0.6;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,37,64,0.15) 0%, rgba(11,37,64,0.35) 45%, rgba(9,25,45,0.92) 100%),
    linear-gradient(90deg, rgba(9,25,45,0.88) 0%, rgba(9,25,45,0.15) 48%, rgba(9,25,45,0.05) 100%);
}

.product-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
  padding-top: 160px;
}

.brand-mark {
  position: absolute;
  top: 28px; left: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  font-size: 19px;
  font-weight: 600;
}

.brand-mark .infinity {
  width: 26px; height: 16px;
  border: 2.5px solid var(--brass-light);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
}

.hero-tag {
  color: var(--brass-light);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 760px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

.product-hero h1 span {
  color: var(--brass-light);
}

.hero-sub {
  color: #cfe0f2;
  font-size: 17px;
  max-width: 520px;
  margin-top: 18px;
  font-weight: 400;
}

.hero-underline {
  width: 64px;
  height: 4px;
  background: var(--brass);
  margin: 26px 0 0 0;
}

/* --- 铭牌 --- */
.nameplate {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  width: min(420px, 90%);
  background: linear-gradient(155deg, #e9edf1 0%, #c7ced6 45%, #dfe4e9 100%);
  border-radius: 3px;
  padding: 18px 22px 16px;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.4);
}

.nameplate::before, .nameplate::after,
.nameplate .rivet-tr, .nameplate .rivet-br {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fafcfd, #98a2ab 65%, #6c7580);
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.nameplate::before { top: 8px; left: 8px; }
.nameplate::after  { bottom: 8px; left: 8px; }
.nameplate .rivet-tr { top: 8px; right: 8px; }
.nameplate .rivet-br { bottom: 8px; right: 8px; }

.nameplate-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px solid rgba(11,37,64,0.35);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.nameplate-head span:first-child {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--navy-deep);
}

.nameplate-head span:last-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-brand);
  letter-spacing: 0.04em;
}

.nameplate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 14px;
}

.nameplate-grid div {
  border-left: 1px solid rgba(11,37,64,0.18);
  padding-left: 12px;
}

.nameplate-grid div:first-child {
  border-left: none;
  padding-left: 0;
}

.nameplate-grid .n-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6672;
  margin-bottom: 3px;
}

.nameplate-grid .n-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-deep);
}

.nameplate-grid .n-value small {
  font-size: 10px;
  font-weight: 500;
  color: #5b6672;
}

/* ================= SECTION 外壳 ================= */
.product-page section {
  padding: 88px 0;
}

.section-steel {
  background: var(--steel-100);
}

.product-page .section-head {
  max-width: 640px;
  margin-bottom: 48px;
  display: block;
  grid-template-columns: none;
  gap: 0;
  align-items: normal;
}

.product-page .section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 12px;
  font-family: 'Oswald', sans-serif;
}

.product-page .section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 15.5px;
}

/* ================= INTRO ================= */
.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.intro p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.intro-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intro-fig {
  background: var(--navy-deep);
  border-radius: var(--radius-s);
  padding: 20px 18px;
  color: var(--white);
}

.intro-fig .fig-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: var(--brass-light);
}

.intro-fig .fig-unit {
  font-size: 12px;
  color: #9fb4cb;
  font-family: 'IBM Plex Mono', monospace;
}

.intro-fig .fig-label {
  margin-top: 10px;
  font-size: 13px;
  color: #cfe0f2;
  line-height: 1.4;
}

/* ================= 特性网格 ================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--steel-300);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.feature-card {
  background: var(--white);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--blue-brand);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-brand);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--navy-deep);
  font-family: 'Oswald', sans-serif;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ================= 分割区域（应用/实验） ================= */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.split-img {
  position: relative;
  min-height: 420px;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--navy-deep);
}

.split-body {
  background: var(--navy-deep);
  color: var(--white);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-body .eyebrow {
  color: var(--brass-light);
}

.split-body .eyebrow::before {
  background: var(--brass-light);
}

.split-body h2 {
  color: var(--white);
  margin-top: 12px;
  font-size: 30px;
  font-family: 'Oswald', sans-serif;
}

.app-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.app-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #dbe7f2;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.app-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brass-light);
  flex-shrink: 0;
}

/* ================= 规格表 ================= */
.spec-wrap {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--steel-300);
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', monospace;
}

.spec-table thead th {
  background: var(--navy-deep);
  color: var(--white);
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 13px;
  text-transform: uppercase;
  padding: 16px 28px;
}

.spec-table thead th:last-child {
  text-align: right;
}

.spec-table tbody td {
  padding: 15px 28px;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--steel-200);
}

.spec-table tbody tr:nth-child(even) {
  background: var(--steel-100);
}

.spec-table tbody td:first-child {
  color: var(--ink-soft);
  font-family: 'IBM Plex Sans', sans-serif;
}

.spec-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy-deep);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* ================= 画廊 ================= */
.product-page .gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.product-page .gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: none;
  background: none;
}

.product-page .gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: auto;
  cursor: pointer;
  transition: transform .3s ease;
}

.product-page .gallery figure img:hover {
  transform: scale(1.03);
}

.product-page .gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(9,25,45,0.85), transparent);
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-top: none;
}

/* ================= 附件 ================= */
.accessories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.accessories ul {
  list-style: none;
  padding-left: 0;
}

.accessories li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--steel-300);
  font-size: 15px;
  color: var(--ink);
}

.accessories li:last-child {
  border-bottom: 1px solid var(--steel-300);
}

.accessories .chk {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-brand);
  color: var(--white);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.accessories-plate {
  background: var(--steel-100);
  border: 1px solid var(--steel-300);
  border-radius: var(--radius-m);
  padding: 40px;
}

.accessories-plate h3 {
  font-size: 16px;
  margin-bottom: 16px;
  font-family: 'Oswald', sans-serif;
}

.accessories-plate p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ================= CTA ================= */
.cta-section {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #14406e 100%);
  color: var(--white);
  padding: 76px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 36px);
  font-family: 'Oswald', sans-serif;
}

.cta-section p {
  color: #cfe0f2;
  margin: 14px auto 30px;
  max-width: 520px;
  font-size: 15.5px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 2px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brass);
  color: var(--navy-deep);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px -8px rgba(198,154,62,0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

/* ================= 响应式 ================= */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-page .gallery { grid-template-columns: 1fr; }
  .accessories { grid-template-columns: 1fr; }
  .app-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .product-page section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .nameplate-grid { grid-template-columns: 1fr 1fr; }
  .nameplate-grid div:nth-child(3) {
    border-left: none;
    padding-left: 0;
    grid-column: 1 / -1;
    border-top: 1px solid rgba(11,37,64,0.18);
    padding-top: 10px;
    margin-top: 4px;
  }
  .split-body { padding: 40px 26px; }
  .spec-table thead th,
  .spec-table tbody td { padding: 12px 16px; }
}