/* ==========================================================
   亚美丰品牌官网 —— 设计系统（Apple 风格）
   ========================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --black: #000000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --gray: #86868b;
  --gray-light: #a1a1a6;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #0b0b0d;
  --line: #d2d2d7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --blue: #0071e3;
  --blue-dark: #0057b8;
  --orange: #ff9500;
  --cyan: #06c;
  --radius: 20px;
  --radius-lg: 28px;
  --nav-h: 48px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.022em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 顶部导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease);
}
.nav.light {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav.light .nav-inner, .nav.light .nav-logo { color: #1d1d1f; }
.nav.light .nav-links a { color: rgba(0, 0, 0, 0.82); }
.nav.light .nav-links a:hover { color: #000; }
.nav.light .nav-cta { background: var(--blue); color: #fff; }

.nav-inner {
  height: var(--nav-h);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #f5f5f7;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5f5f7;
  flex-shrink: 0;
}
.nav-logo .logo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0071e3, #06c 60%, #00c7be);
  position: relative;
  overflow: hidden;
}
.nav-logo .logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-right-color: transparent;
  border-bottom-color: transparent;
}
.nav-logo small {
  font-size: 10px;
  opacity: 0.55;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(245, 245, 247, 0.82);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-links a.active { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta {
  font-size: 12.5px;
  padding: 6px 15px;
  border-radius: 980px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-weight: 500;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}
.nav-cta:hover { transform: scale(1.04); }
.nav-search {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  border: none;
  background: transparent;
}
.nav-search:hover { opacity: 1; background: rgba(127, 127, 127, 0.18); }

.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  border: none; background: transparent;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 11, 13, 0.96);
    backdrop-filter: blur(20px);
    padding: 12px 20px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav.light .nav-links { background: rgba(255, 255, 255, 0.97); }
  .nav.light .nav-links a { color: #1d1d1f; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(127, 127, 127, 0.18); }
  .nav-toggle { display: block; }
  .nav-right .nav-cta { display: none; }
}

/* ============ 首屏 Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: #f5f5f7;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: saturate(0.9);
  z-index: -3;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 20%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.86) 78%);
  z-index: -2;
}
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  width: 100%;
}
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.55);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #fff 10%, #8ec5ff 45%, #00c7be 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.68);
  max-width: 620px;
  margin-top: 24px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s;
}
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 247, 0.45);
  z-index: 2;
}
.hero-scroll .mouse {
  width: 22px; height: 34px;
  border: 1px solid rgba(245, 245, 247, 0.35);
  border-radius: 12px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: rgba(245, 245, 247, 0.7);
  animation: wheel 1.9s var(--ease) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============ 通用区块 ============ */
.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: #f5f5f7; }
.section-head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
}
.section.dark .section-head .eyebrow { color: #6cb6ff; }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.section-head p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
}
.section.dark .section-head p { color: rgba(245, 245, 247, 0.6); }

/* 滚动渐入 */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============ 数据统计条 ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 66px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #1d1d1f 20%, #6e6e73);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section.dark .stat .num { background: linear-gradient(180deg, #fff, #8a8a8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num i { font-style: normal; font-size: 0.5em; margin-left: 3px; font-weight: 600; }
.stat .label { margin-top: 8px; font-size: 14px; color: var(--gray); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; } }

/* ============ 分类卡片 ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 30px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13);
  border-color: transparent;
}
.cat-card .cat-img {
  position: absolute;
  right: -30px; bottom: -40px;
  width: 220px; height: 220px;
  opacity: 0.13;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
  pointer-events: none;
}
.cat-card:hover .cat-img { transform: scale(1.12) translate(-8px, -8px); opacity: 0.2; }
.cat-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.cat-card .tagline { margin-top: 6px; font-size: 14px; color: var(--blue); font-weight: 500; }
.cat-card p { margin-top: 14px; font-size: 14.5px; color: var(--gray); line-height: 1.65; max-width: 92%; }
.cat-card .more {
  margin-top: auto;
  padding-top: 20px;
  font-size: 13.5px;
  color: var(--blue);
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.cat-card .more span { transition: transform 0.3s var(--ease); }
.cat-card:hover .more span { transform: translateX(5px); }

/* ============ 产品卡片 ============ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
  position: relative;
}
.prod-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}
.prod-card .thumb {
  position: relative;
  height: 240px;
  background: linear-gradient(150deg, #f5f5f7, #e8e8ed);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.prod-card .thumb img {
  max-height: 78%;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.1));
}
.prod-card:hover .thumb img { transform: scale(1.07); }
.prod-card .thumb canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.prod-card .badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
}
.prod-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prod-card .model { font-size: 12px; color: var(--gray); letter-spacing: 0.06em; }
.prod-card h3 { font-size: 19px; margin-top: 6px; line-height: 1.3; }
.prod-card .sum {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-card .foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prod-card .price { font-size: 15px; font-weight: 600; color: var(--ink); }
.prod-card .link { font-size: 13px; color: var(--blue); display: flex; gap: 5px; align-items: center; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--gray);
}

/* ============ 粒子产品展示（首页） ============ */
.particle-showcase {
  position: relative;
  background: var(--bg-dark);
  color: #f5f5f7;
  overflow: hidden;
}
.particle-showcase .stage {
  position: relative;
  height: 540px;
}
#showcase-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-copy {
  position: absolute;
  left: 0; right: 0;
  top: 56px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}
.showcase-copy h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.showcase-copy p { margin-top: 16px; color: rgba(245, 245, 247, 0.62); font-size: 16px; }
.showcase-tabs {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
  flex-wrap: wrap;
  padding: 0 20px;
}
.showcase-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.75);
  padding: 9px 20px;
  border-radius: 980px;
  font-size: 13.5px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
}
.showcase-tabs button:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.showcase-tabs button.active {
  background: #f5f5f7;
  color: #1d1d1f;
  border-color: #f5f5f7;
}
@media (max-width: 700px) { .particle-showcase .stage { height: 460px; } }

/* ============ 解决方案 ============ */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sol-grid { grid-template-columns: 1fr; } }
.sol-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  cursor: pointer;
  isolation: isolate;
}
.sol-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: -2;
  transition: transform 0.9s var(--ease), opacity 0.5s;
}
.sol-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.85));
  z-index: -1;
}
.sol-card:hover img { transform: scale(1.08); opacity: 0.65; }
.sol-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  margin-bottom: auto;
}
.sol-card h3 { font-size: 21px; }
.sol-card p { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }
.sol-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 7px; }
.sol-card li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  display: flex; align-items: center; gap: 7px;
}
.sol-card li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #6cb6ff;
  flex-shrink: 0;
}

/* ============ 案例 ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}
.case-card:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(0,0,0,0.12); }
.case-card .pic { position: relative; height: 230px; overflow: hidden; }
.case-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case-card:hover .pic img { transform: scale(1.06); }
.case-card .type {
  position: absolute; top: 14px; left: 14px;
  font-size: 11.5px; padding: 4px 11px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
}
.case-card .body { padding: 22px 24px 26px; }
.case-card h3 { font-size: 18px; line-height: 1.35; }
.case-card .meta { margin-top: 8px; font-size: 12.5px; color: var(--gray); display: flex; gap: 10px; flex-wrap: wrap; }
.case-card .meta i { font-style: normal; color: var(--line); }
.case-card p { margin-top: 12px; font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ============ 新闻 ============ */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row:hover { background: rgba(0, 0, 0, 0.02); }
.news-row .thumb { width: 200px; height: 116px; border-radius: 14px; overflow: hidden; }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-row:hover .thumb img { transform: scale(1.06); }
.news-row .meta { font-size: 12.5px; color: var(--gray); display: flex; gap: 12px; margin-bottom: 8px; }
.news-row .cat { color: var(--blue); }
.news-row h3 { font-size: 18px; line-height: 1.4; }
.news-row p {
  margin-top: 8px; font-size: 13.5px; color: var(--gray); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row .go { color: var(--blue); font-size: 13px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
@media (max-width: 760px) {
  .news-row { grid-template-columns: 1fr; gap: 14px; }
  .news-row .thumb { width: 100%; height: 170px; }
  .news-row .go { display: none; }
}

/* ============ 优势 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.09); }
.adv-card .num-badge {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
  font-weight: 600;
}
.adv-card h3 { font-size: 19px; margin-top: 14px; }
.adv-card p { margin-top: 10px; font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ============ 页脚 ============ */
.footer {
  background: var(--bg-soft);
  padding: 60px 0 34px;
  font-size: 13px;
  color: var(--gray);
  border-top: 1px solid var(--line);
}
.footer .cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .footer .cols { grid-template-columns: repeat(2, 1fr); } }
.footer h4 { font-size: 13px; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer li a:hover { color: var(--ink); text-decoration: underline; }
.footer .brand-blk p { margin-top: 14px; line-height: 1.7; max-width: 320px; }
.footer .contact-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink); font-weight: 500; font-size: 15px; }
.footer .bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ 页面顶部内页头 ============ */
.page-head {
  padding: calc(var(--nav-h) + 90px) 0 54px;
  background: var(--bg-dark);
  color: #f5f5f7;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 50% 0%, rgba(0, 113, 227, 0.22), transparent 70%);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; letter-spacing: -0.03em; }
.page-head p { margin-top: 18px; color: rgba(245,245,247,0.62); font-size: 17px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ============ 筛选条 ============ */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 500;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 16px;
  border-radius: 980px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-inner .search-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 6px 14px;
  background: #fff;
  min-width: 220px;
}
.filter-inner .search-box input {
  border: none; outline: none; background: transparent; flex: 1; font-size: 13.5px;
}

/* ============ 产品详情 ============ */
.pd-hero {
  padding: calc(var(--nav-h) + 70px) 0 40px;
  background: var(--bg-soft);
}
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; gap: 34px; } }
.pd-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #fff, #ececf0);
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 40px;
}
.pd-visual img { max-height: 340px; position: relative; z-index: 2; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12)); }
.pd-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.pd-info h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
.pd-info .model { margin-top: 12px; font-size: 13px; color: var(--gray); letter-spacing: 0.08em; }
.pd-info .sum { margin-top: 20px; font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.pd-info .price-row { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; }
.pd-info .price { font-size: 26px; font-weight: 600; }
.pd-info .unit { font-size: 13px; color: var(--gray); }
.pd-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 15px 4px; font-size: 14.5px; }
.spec-table td:first-child { color: var(--gray); width: 34%; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }

.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .hl-grid { grid-template-columns: 1fr; } }
.hl-item {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: background 0.3s var(--ease);
}
.hl-item:hover { background: #ececf1; }
.hl-item h4 { font-size: 17px; }
.hl-item p { margin-top: 9px; font-size: 14px; color: var(--gray); line-height: 1.65; }

.app-list { display: flex; flex-wrap: wrap; gap: 10px; }
.app-list span {
  padding: 9px 18px;
  border-radius: 980px;
  border: 1px solid var(--line);
  font-size: 14px;
}

/* ============ 关于 ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; gap: 34px; } }
.about-split img { border-radius: var(--radius-lg); width: 100%; height: 420px; object-fit: cover; }
.about-split h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; }
.about-split p { margin-top: 18px; font-size: 16px; color: var(--gray); line-height: 1.8; }

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .year { font-size: 20px; font-weight: 600; color: var(--blue); letter-spacing: -0.01em; }
.tl-item .txt h4 { font-size: 17px; }
.tl-item .txt p { margin-top: 7px; font-size: 14px; color: var(--gray); line-height: 1.65; }
@media (max-width: 620px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }

/* ============ 联系 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.info-row {
  display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.info-row .ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--blue);
}
.info-row .t { font-size: 13px; color: var(--gray); }
.info-row .v { font-size: 16px; font-weight: 500; margin-top: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 14px; line-height: 1.6; }
.form-msg { margin-top: 14px; font-size: 14px; display: none; }
.form-msg.ok { display: block; color: #0a7d3f; }
.form-msg.err { display: block; color: #c0392b; }

/* ============ 新闻详情 ============ */
.article { max-width: 780px; margin: 0 auto; padding: 70px 24px 100px; }
.article .meta { font-size: 13px; color: var(--gray); display: flex; gap: 14px; }
.article h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin-top: 16px; }
.article .cover { margin: 34px 0; border-radius: var(--radius-lg); overflow: hidden; }
.article .cover img { width: 100%; height: 380px; object-fit: cover; }
.article .content p { font-size: 17px; line-height: 1.85; color: var(--ink-2); margin-bottom: 22px; }
.article .content p.lead { font-size: 19px; color: var(--gray); font-weight: 500; }

/* ============ 后台 ============ */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; background: var(--bg-soft); }
.admin-side {
  background: #1d1d1f;
  color: #f5f5f7;
  padding: 26px 0;
}
.admin-side .brand { padding: 0 22px 24px; font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 9px; }
.admin-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  color: rgba(245,245,247,0.66);
  transition: all 0.2s;
  cursor: pointer;
}
.admin-side a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-side a.active { background: rgba(0,113,227,0.22); color: #fff; border-left: 3px solid var(--blue); }
.admin-main { padding: 30px 34px; overflow-x: auto; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.admin-head h2 { font-size: 24px; }
.admin-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 22px;
}
table.admin { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.admin th {
  text-align: left; padding: 12px 10px; color: var(--gray); font-weight: 500; border-bottom: 1px solid var(--line); font-size: 12.5px;
}
table.admin td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin tr:hover td { background: #fafafa; }
table.admin img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.mini-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 5px 11px; font-size: 12.5px; cursor: pointer; margin-right: 6px;
}
.mini-btn:hover { border-color: var(--ink); }
.mini-btn.danger { color: #c0392b; border-color: #f0c8c2; }
.mini-btn.danger:hover { background: #fdf0ee; }
.mini-btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: none; place-items: center; z-index: 1000; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal.open { display: grid; }
.modal .box {
  background: #fff; border-radius: 18px; width: 100%; max-width: 720px;
  max-height: 88vh; overflow-y: auto; padding: 28px;
}
.modal .box h3 { font-size: 19px; margin-bottom: 18px; }
.modal .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.login-box { max-width: 380px; margin: 14vh auto; background: #fff; padding: 40px; border-radius: 20px; border: 1px solid var(--line); text-align: center; }
.login-box input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); margin: 18px 0; text-align: center; outline: none; }
.kv-note { font-size: 12.5px; color: var(--gray); margin-top: 10px; }

/* 空状态 / 加载 */
.empty { text-align: center; padding: 60px 20px; color: var(--gray); font-size: 15px; }
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 12px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
