/* ============================================================
   LAYERQUESTAR — GLOBAL STYLESHEET
   Design system: Chapter 20 tokens
   Revised: 2026-08-11
   ============================================================ */

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  /* Brand */
  --brand:        #D71920;
  --brand-dark:   #B51218;
  --brand-mid:    #EF3B42;
  --brand-tint:   #FCE8EA;
  --brand-subtle: #FFF3F4;

  /* Machine Black → White neutrals */
  --black:        #0B0D10;
  --graphite:     #171A1F;
  --charcoal:     #24272E;
  --white:        #FFFFFF;
  --off-white:    #FAFAFA;
  --gray-50:      #F4F5F7;
  --gray-100:     #E6E8EC;
  --gray-200:     #D8DADF;
  --gray-400:     #9BA1AA;
  --gray-600:     #5B626D;
  --gray-800:     #23262B;

  /* Semantic */
  --green-fg:     #166534;
  --green-bg:     #DCFCE7;
  --amber-fg:     #92400E;
  --amber-bg:     #FEF3C7;

  /* Spacing */
  --sp-1:  8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 56px;
  --sp-7: 72px;
  --sp-8: 96px;

  /* Type scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  42px;
  --text-4xl:  54px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.09);
  --shadow-lift: 0 4px 8px rgba(0,0,0,.10), 0 12px 32px rgba(0,0,0,.16);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   BASE
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--gray-800);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'DM Mono', monospace;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11,13,16,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-5);
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: visible;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.nav-logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-logo-text em {
  font-style: normal;
  color: rgba(255,255,255,0.40);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0 var(--sp-2);
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}

.nav-item > a:hover,
.nav-item > span:hover,
.nav-item:hover > a,
.nav-item:hover > span {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-item > a:focus-visible,
.nav-item > span:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-chevron {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--charcoal);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40), 0 2px 8px rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--brand); 
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);          /* ← 去掉向上偏移动画 */
  transition: opacity 0.18s ease, visibility 0.18s;  /* ← 只保留淡入，去掉位移动画 */
  z-index: 1000;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: rgba(215,25,32,0.12);
  color: #fff;
}

.nav-dropdown a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 5px 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 18px !important;
  border-radius: var(--r-md);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(215,25,32,0.35);
}

.nav-cta-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: var(--sp-8) var(--sp-5) 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  /* Ken Burns 呼吸循环效果 */
  animation: hero-zoom 14s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes hero-zoom {
  from { transform: scale(1.00); }
  to   { transform: scale(1.08); }
}

/* 无障碍：尊重用户的减少动画偏好设置 */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    animation: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(215,25,32,.18), transparent 32%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,.04), transparent 34%),
    linear-gradient(135deg, rgba(11,13,16,0.72) 0%, rgba(23,26,31,0.65) 55%, rgba(36,39,46,0.60) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(215,25,32,0.35);
  background: rgba(215,25,32,0.08);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: var(--sp-3);
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 840px;
  margin: 0 auto var(--sp-2);
  text-wrap: pretty;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.38);
}

.hero-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto var(--sp-5);
  line-height: 1.7;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-lg);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(215,25,32,0.40);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.50);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: scale(0.98);
}

/* btn-brand 与 btn-primary 相同，保留别名以兼容现有模板 */
.btn-brand {
  background: var(--brand);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(215,25,32,0.35);
}

.btn-white {
  background: #fff;
  color: var(--gray-800);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--graphite);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 var(--sp-5);
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.trust-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  text-align: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand);
}

.trust-badge-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.40);
  font-weight: 500;
  line-height: 1.4;
  max-width: 320px;
}

/* ============================================================
   SECTION BASE
   ============================================================ */

.section {
  padding: var(--sp-7) var(--sp-5);
}

.section-header {
  margin-bottom: var(--sp-5);
}

.section-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-1);
}

.section-h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  text-wrap: pretty;
}

.section-h2 em {
  font-style: normal;
  color: var(--brand);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.7;
}

/* ============================================================
   SECTION BACKGROUND VARIANTS
   ============================================================ */

.section-light {
  background: var(--off-white);
  color: var(--gray-800);
}

.section-dark {
  background: var(--black);
  color: #fff;
}

/* Dark section — override heading/desc colors */
.section-dark .section-title {
  color: rgba(215,25,32,0.85);
}

.section-dark .section-h2 {
  color: #fff;
}

.section-dark .section-h2 em {
  color: rgba(255,255,255,0.35);
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.55);
}

/* Hero section background (no image — gradient placeholder) */
.section-hero {
  background:
    radial-gradient(circle at 20% 15%, rgba(215,25,32,.15), transparent 32%),
    linear-gradient(135deg, #171A1F 0%, #23262B 50%, #0B0D10 100%);
  color: #fff;
}

.section-hero .section-h2 {
  color: #fff;
}

.section-hero .section-desc {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CHAIN FLOW
   ============================================================ */

.chain-section {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
}

.chain-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-5);
}

.chain-step {
  padding: var(--sp-4) var(--sp-3);
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.chain-step:last-child {
  border-right: none;
}

.chain-step:hover {
  background: var(--brand-subtle);
  border-color: rgba(215,25,32,0.15);
}

.chain-step-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-1);
}

.chain-step-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.chain-step-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.chain-name {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.3;
}

.chain-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: var(--sp-2);
}

.chain-tag {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.5px;
  font-family: 'DM Mono', monospace;
}

.chain-promise {
  text-align: center;
  margin-top: var(--sp-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-600);
}

.chain-promise strong {
  color: var(--brand);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */

.products-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-3);
}

.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand);
}

.product-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.product-card-header {
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background:
    radial-gradient(circle at 90% 20%, rgba(215,25,32,.22), transparent 32%),
    linear-gradient(135deg, #0B0D10, #171A1F);
  position: relative;
}

.product-card-header.bag {
  background:
    radial-gradient(circle at 85% 15%, rgba(16,76,42,.30), transparent 38%),
    linear-gradient(135deg, #0D1F14, #172B1E);
}

.product-card-header.flexo {
  background:
    radial-gradient(circle at 85% 15%, rgba(92,51,8,.35), transparent 38%),
    linear-gradient(135deg, #130D04, #211508);
}

.product-card-header.recycle {
  background:
    radial-gradient(circle at 85% 15%, rgba(26,58,92,.35), transparent 38%),
    linear-gradient(135deg, #0A1220, #111E2E);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(215,25,32,0.18);
  color: rgba(255,255,255,0.90);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(215,25,32,0.30);
}

.product-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.product-card-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.product-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-card-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.50);
}

.product-card-img {
  margin-top: var(--sp-2);
  border-radius: var(--r-md);
  overflow: visible;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 120%;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card-body {
  padding: var(--sp-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-stat-row {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.product-stat {
  flex: 1;
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 10px 12px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

.product-stat-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 3px;
  font-family: 'DM Mono', monospace;
}

.product-stat-key {
  font-size: var(--text-xs);
  color: var(--gray-400);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-features {
  list-style: none;
  margin-bottom: var(--sp-3);
  flex: 1;
}

.product-features li {
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-50);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.product-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  margin-top: 6px;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-subtle);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: auto;
  border: 1px solid var(--brand-tint);
}

.product-link:hover {
  background: var(--brand);
  color: #fff;
}

.product-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ============================================================
   LAYER TABLE
   ============================================================ */

.layer-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(215,25,32,.18), transparent 30%),
    linear-gradient(135deg, #0B0D10 0%, #171A1F 100%);
  padding: var(--sp-7) var(--sp-5);
}

.layer-h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  text-wrap: pretty;
}

.layer-h2 em {
  font-style: normal;
  color: rgba(255,255,255,0.35);
}

.layer-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.50);
  max-width: 560px;
  margin-bottom: var(--sp-5);
  line-height: 1.7;
}

.layer-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.layer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: rgba(255,255,255,0.03);
}

.layer-table thead tr {
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.layer-table th {
  padding: 13px 18px;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}

.layer-table td {
  padding: 14px 18px;
  color: rgba(255,255,255,0.70);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
  line-height: 1.45;
}

.layer-table tr:last-child td {
  border-bottom: none;
}

.layer-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.layer-table tr.highlight td {
  background: rgba(215,25,32,0.07);
}

.layer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
  font-family: 'DM Mono', monospace;
}

.layer-num.gold {
  background: var(--brand);
}

.layer-num.platinum {
  background: var(--brand-dark);
}

.cost-bar {
  display: flex;
  gap: 3px;
  align-items: center;
}

.cost-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.cost-dot.active {
  background: var(--brand-mid);
}

.layer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-4);
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.layer-cta-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.layer-cta-text strong {
  color: rgba(255,255,255,0.80);
}

/* ============================================================
   SOLUTIONS
   ============================================================ */

.solutions-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-3);
}

.solution-card-img {
  width: calc(100% + var(--sp-4) * 2);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  margin-top: calc(var(--sp-4) * -1);
  margin-left: calc(var(--sp-4) * -1);
  margin-right: calc(var(--sp-4) * -1);
  margin-bottom: var(--sp-3);
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-img img {
  transform: scale(1.04);
}

.solution-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  display: block;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand);
}

.solution-card:focus-visible {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
  outline-offset: 2px;
}

.solution-card.featured {
  background:
    radial-gradient(circle at 85% 0%, rgba(215,25,32,.08), transparent 38%),
    var(--white);
  border-color: rgba(215,25,32,0.20);
}

.solution-card.featured:hover {
  border-color: var(--brand);
}

.solution-card-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.solution-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.solution-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.3;
}

.solution-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solution-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}

.solution-tag.hot {
  background: var(--amber-bg);
  color: var(--amber-fg);
}

.solution-tag.new {
  background: var(--green-bg);
  color: var(--green-fg);
}

/* Solution Card — 深色区域变体 */
.section-dark .solution-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}

.section-dark .solution-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(215,25,32,0.35);
  box-shadow: none;
}

.section-dark .solution-card.featured {
  background: rgba(215,25,32,0.08);
  border-color: rgba(215,25,32,0.25);
}

.section-dark .solution-title {
  color: #fff;
}

.section-dark .solution-desc {
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   WHY CARDS
   ============================================================ */

.why-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
}

.why-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-3);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(215,25,32,0.20);
}

.why-card-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}

.why-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.why-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--sp-1);
}

.why-highlight {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-fg);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-sm);
}

/* Why Card — 深色区域变体 */
.section-dark .why-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}

.section-dark .why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(215,25,32,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

.section-dark .why-card-icon {
  background: rgba(215,25,32,0.15);
}

.section-dark .why-title {
  color: #fff;
}

.section-dark .why-desc {
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   PERFORMANCE TABLE
   ============================================================ */

.perf-section {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.perf-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  background: var(--white);
}

.perf-table thead tr {
  background: var(--charcoal);
}

.perf-table th {
  padding: 14px 20px;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

.perf-table th:first-child {
  text-align: left;
}

.perf-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-50);
  text-align: center;
  color: var(--gray-600);
}

.perf-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--gray-800);
}

.perf-table tr:hover td {
  background: var(--brand-subtle);
}

.perf-table tr:last-child td {
  border-bottom: none;
}

.cx-col {
  background: var(--brand-subtle);
  font-weight: 700;
  color: var(--brand);
}

.cx-col-head {
  background: rgba(215,25,32,0.18) !important;
  color: #fff !important;
}

.badge-good {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-fg);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

.badge-warn {
  display: inline-block;
  background: var(--amber-bg);
  color: var(--amber-fg);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-sm);
}

/* ============================================================
   FACTORY
   ============================================================ */

.factory-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.factory-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s ease;
}

.cred-item:hover {
  border-color: rgba(215,25,32,0.20);
}

.cred-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.cred-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 3px;
}

.cred-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.55;
}

.factory-visual {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  background: #0B0D10;
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.factory-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;

  /* 呼吸式缓慢放大循环 */
  animation: factory-zoom 16s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes factory-zoom {
  from { transform: scale(1.00); }
  to   { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .factory-visual img {
    animation: none;
  }
}

.factory-visual svg.blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.10;
}

.factory-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--sp-4);
}

.factory-visual-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: var(--sp-3);
}

.factory-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.factory-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: var(--sp-2);
  text-align: center;
}

.factory-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'DM Mono', monospace;
}

.factory-stat-key {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ============================================================
   AFTER-SALES
   ============================================================ */

.aftersales-section {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-section {
  background:
    radial-gradient(circle at 20% 30%, rgba(215,25,32,.20), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(215,25,32,.10), transparent 30%),
    linear-gradient(135deg, #0B0D10 0%, #171A1F 55%, #24272E 100%);
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.018) 79px, rgba(255,255,255,0.018) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.018) 79px, rgba(255,255,255,0.018) 80px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  border: 1px solid rgba(215,25,32,0.30);
  background: rgba(215,25,32,0.08);
  color: rgba(255,255,255,0.65);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: var(--sp-3);
}

.cta-h2 {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-2);
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-wrap: pretty;
}

.cta-h2 em {
  font-style: normal;
  color: rgba(255,255,255,0.35);
}

.cta-sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.50);
  max-width: 520px;
  margin: 0 auto var(--sp-5);
  line-height: 1.7;
}

/* CTA Form — 重构后 */
.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  max-width: 600px;
  margin: 0 auto var(--sp-3);
}

.cta-form-row {
  display: flex;
  gap: var(--sp-2);
  width: 100%;
}

.cta-input {
  flex: 1;
  padding: 13px var(--sp-2);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-input::placeholder {
  color: rgba(255,255,255,0.38);
}

.cta-input:focus {
  border-color: var(--brand);
  background: rgba(255,255,255,0.12);
}

.cta-input--full {
  width: 100%;
  flex: none;
}

.cta-submit-btn {
  font-size: var(--text-md);
  padding: 15px var(--sp-6);
}

.cta-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 提交反馈消息 */
.cta-form-msg {
  font-size: var(--text-sm);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  width: 100%;
  text-align: center;
}

.cta-form-msg--success {
  background: rgba(22,163,74,0.20);
  color: #86efac;
  border: 1px solid rgba(22,163,74,0.35);
}

.cta-form-msg--error {
  background: rgba(215,25,32,0.18);
  color: #fca5a5;
  border: 1px solid rgba(215,25,32,0.35);
}

/* 响应式 */
@media (max-width: 600px) {
  .cta-form-row {
    flex-direction: column;
  }
}

/* ============================================================
   PDF LEAD GATE MODAL
   全局共享 — 所有产品页 PDF 下载表单 Modal 复用此样式
   触发方式：JS 添加 .is-open → 过渡显示
   ============================================================ */

/* ── 遮罩层容器 ── */
.bfm-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}

.bfm-modal[hidden] {
  display: none;
}

/* ── 半透明背景遮罩 ── */
.bfm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bfm-modal.is-open .bfm-modal__backdrop {
  opacity: 1;
}

/* ── 面板主体 ── */
.bfm-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--sp-5);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.bfm-modal.is-open .bfm-modal__panel {
  transform: translateY(0);
  opacity: 1;
}

/* ── 关闭按钮 ── */
.bfm-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: var(--r-md);
  color: var(--gray-600);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.bfm-modal__close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.bfm-modal__close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── 头部：图标 + 标题 ── */
.bfm-modal__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding-right: var(--sp-4); /* 避免被关闭按钮遮挡 */
}

.bfm-modal__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  color: var(--brand);
}

.bfm-modal__header h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--gray-800);
  margin: 0 0 4px;
  line-height: 1.3;
}

.bfm-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

/* ── 表单 ── */
.bfm-modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.bfm-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bfm-modal__field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-800);
}

.bfm-modal__field label span[aria-hidden] {
  color: var(--brand);
  margin-left: 2px;
}

.bfm-modal__optional {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--gray-400);
  margin-left: var(--sp-1);
}

.bfm-modal__field input,
.bfm-modal__field select {
  width: 100%;
  padding: 11px var(--sp-2);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-base);
  color: var(--gray-800);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.bfm-modal__field input::placeholder {
  color: var(--gray-400);
}

.bfm-modal__field input:focus,
.bfm-modal__field select:focus {
  border-color: var(--brand);
  background: #fff;
}

.bfm-modal__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239BA1AA' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

/* ── 状态消息 ── */
.bfm-modal__msg {
  font-size: var(--text-sm);
  padding: var(--sp-2) var(--sp-2);
  border-radius: var(--r-md);
  line-height: 1.5;
}

.bfm-modal__msg--error {
  background: rgba(215, 25, 32, 0.08);
  color: var(--brand-dark);
  border: 1px solid rgba(215, 25, 32, 0.20);
}

.bfm-modal__msg--success {
  background: var(--green-bg);
  color: var(--green-fg);
  border: 1px solid rgba(22, 101, 52, 0.20);
}

/* ── 提交按钮 ── */
.bfm-modal__submit {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
}

.bfm-modal__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── Loading 旋转动画 ── */
@keyframes bfm-spin {
  to { transform: rotate(360deg); }
}

.bfm-spinner-svg {
  animation: bfm-spin 0.8s linear infinite;
}

/* ── 隐私声明 ── */
.bfm-modal__privacy {
  font-size: var(--text-xs);
  color: var(--gray-400);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* ── 成功状态 ── */
.bfm-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
  padding: var(--sp-3) 0;
}

/* ── hidden 属性保护：防止 display:flex 覆盖 HTML hidden 属性 ── */
.bfm-modal__success[hidden],
.bfm-modal__form[hidden],
.bfm-modal__msg[hidden],
.bfm-modal__submit-spinner[hidden] {
  display: none;
}

.bfm-modal__success-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-bg);
  border-radius: 50%;
  color: var(--green-fg);
  margin-bottom: var(--sp-1);
}

.bfm-modal__success h4 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-800);
  margin: 0;
}

.bfm-modal__success p {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin: 0;
}

.bfm-modal__success-note {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

/* ── 移动端：从底部滑入 ── */
@media (max-width: 600px) {
  .bfm-modal {
    align-items: flex-end;
    padding: 0;
  }

  .bfm-modal__panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 100%;
    max-height: 92vh;
    transform: translateY(100%);
    opacity: 1;
  }

  .bfm-modal.is-open .bfm-modal__panel {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bfm-modal__panel,
  .bfm-modal__backdrop {
    transition: none;
  }

  .bfm-spinner-svg {
    animation: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--black);
  padding: var(--sp-7) var(--sp-5) var(--sp-4);
}

/* ── 5列网格：品牌列 2fr + 4个产品/公司列各 1.1fr ── */
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr 1.1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-name {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-2);
  display: block;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.footer-contact {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.30);
  line-height: 2;
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

/* ── 认证徽章行（品牌列底部） ── */
.footer-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-3);
}

.footer-cert-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-sm);
  padding: 3px 9px;
  white-space: nowrap;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: var(--sp-2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.90);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── Hub 链接：比普通子链接更亮，起导航锚点作用 ── */
.footer-links__hub a {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

.footer-links__hub a:hover {
  color: #fff;
}

/* ── 列内分割线 ── */
.footer-links__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: var(--sp-2) 0 var(--sp-1);
  list-style: none;
}

/* ── 列内小标签（"By Material" / "Solutions" / "Service" 等） ── */
.footer-links__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.20);
  padding: 0;
  list-style: none;
  margin-bottom: 4px;
}

.footer-bottom {
  max-width: 1160px;
  margin: var(--sp-4) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.3px;
}

/* ── 底栏法律链接 ── */
.footer-legal-links {
  display: flex;
  gap: var(--sp-3);
}

.footer-legal-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: rgba(255,255,255,0.60);
}

.footer-legal-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .nav-item > a,
  .nav-item > span {
    font-size: 11px;
    padding: 8px 9px;
  }

  /* footer: 品牌列略窄，4个内容列均分 */
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: var(--sp-4);
  }
}

@media (max-width: 960px) {
  .navbar        { padding: 0 var(--sp-3); }
  .nav-links     { display: none; }
  .nav-cta-btn   { display: none; }
  .hero          { padding: 64px var(--sp-3) 64px; }
  .section       { padding: 56px var(--sp-3); }
  .layer-section { padding: 56px var(--sp-3); }
  .cta-section   { padding: 64px var(--sp-3); }
  .chain-flow    { grid-template-columns: 1fr 1fr; }
  .factory-grid  { grid-template-columns: 1fr; }
  .trust-bar     { padding: 0 var(--sp-3); }

  /* footer: 品牌列横跨全宽，其余 2×2 */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .chain-flow          { grid-template-columns: 1fr; }
  .trust-item          { padding: 16px 20px; }
  .trust-num           { font-size: 22px; }
  .product-grid        { grid-template-columns: 1fr; }
  .hero-btns           { flex-direction: column; align-items: center; }
  .factory-stats       { grid-template-columns: 1fr 1fr; }

  /* footer: 全部单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .footer-col--brand {
    grid-column: auto;
  }

  .footer-cert-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   MEGA MENU — Our Products 4-column horizontal dropdown
   仅 .nav-item--mega 触发，不影响其他 nav-dropdown 行为
   ============================================================ */

.nav-item--mega {
  position: static;
}

.nav-mega {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.20s ease, transform 0.20s ease, visibility 0.20s;
  transition-delay: 80ms;
  pointer-events: none;
}

.nav-item--mega:hover .nav-mega,
.nav-item--mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-item--mega > span::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 10px;
  background: transparent;
}

/* 透明热区桥：Service / About / Blog 普通下拉菜单 */
.nav-item > span {
  position: relative;
}

.nav-item > span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -12px;
  right: -12px;
  height: 10px;
  background: transparent;
  pointer-events: auto;
}

.nav-mega__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.50), 0 4px 12px rgba(0,0,0,0.25);
  overflow: hidden;
}

.nav-mega__col {
  padding: var(--sp-4) var(--sp-3);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.nav-mega__col:last-child {
  border-right: none;
}

.nav-mega__col-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s ease;
}

.nav-mega__col-title:hover {
  color: var(--brand-mid);
}

.nav-mega__col-title:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.nav-mega__list {
  list-style: none;
  margin: 0 0 var(--sp-2);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mega__list li {
  margin: 0;
}

.nav-mega__list a {
  display: block;
  padding: 7px var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}

.nav-mega__list a:hover {
  background: rgba(215,25,32,0.12);
  color: #fff;
}

.nav-mega__list a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--r-md);
}

.nav-mega__link--soon {
  opacity: 0.40 !important;
  cursor: default !important;
  pointer-events: none !important;
}

.nav-mega__section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: var(--sp-2) var(--sp-2) var(--sp-1);
  margin-top: var(--sp-1);
}

.nav-mega__divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: var(--sp-2) 0;
}

.nav-mega__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-mid);
  text-decoration: none;
  padding: 6px var(--sp-2);
  border-radius: var(--r-md);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-mega__cta-link:hover {
  color: #fff;
  background: rgba(215,25,32,0.12);
}

.nav-mega__cta-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.nav-mega__col--recycling {
  background: rgba(255,255,255,0.02);
}

/* ============================================================
   MOBILE TOGGLE BUTTON
   960px 以下显示，桌面隐藏
   ============================================================ */

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  color: rgba(255,255,255,0.80);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.nav-mobile-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.30);
}

.nav-mobile-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-mega {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-mega__inner {
    max-width: 100%;
    border-radius: 0;
  }

  .nav-mega__col {
    padding: var(--sp-3) var(--sp-2);
  }

  .nav-mega__list a {
    font-size: var(--text-xs);
    white-space: normal;
  }
}

/* ============================================================
   MEGA MENU — 图标支持
   为 .nav-mega__list a 启用 flex 布局以容纳图标
   ============================================================ */

/* 让链接变成 flex 容器，图标和文字横向对齐 */
/* 原 display: block 改为 display: flex，其余属性不变 */
.nav-mega__list a {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 图标容器 — 灰色背景 + 红色图标，与 .nav-solutions__item-icon 完全一致 */
.nav-mega__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--r-md);
  color: var(--brand-mid);
  transition: background 0.15s ease, color 0.15s ease;
}

/* hover 时背景变红，与 .nav-solutions__item:hover .nav-solutions__item-icon 完全一致 */
.nav-mega__list a:hover .nav-mega__item-icon {
  background: rgba(215, 25, 32, 0.18);
  color: var(--brand-mid);
}


/* ============================================================
   SOLUTIONS MEGA PANEL
   .nav-item--solutions 专属，不影响其他 nav-item 行为
   ============================================================ */

.nav-item--solutions {
  position: static;
}

.nav-solutions {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.20s ease, transform 0.20s ease, visibility 0.20s;
  transition-delay: 80ms;
  pointer-events: none;
}

.nav-item--solutions:hover .nav-solutions,
.nav-item--solutions:focus-within .nav-solutions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-item--solutions > span::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 12px;
  background: transparent;
}

.nav-solutions__inner {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.50), 0 4px 12px rgba(0,0,0,0.25);
  overflow: hidden;
  padding-top: var(--sp-3);
}

.nav-solutions__col {
  padding: 0 var(--sp-4) var(--sp-3);
}

.nav-solutions__col:first-child {
  border-right: 1px solid rgba(255,255,255,0.07);
}

.nav-solutions__divider {
  display: none;
}

.nav-solutions__col-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 0 0 var(--sp-2);
  margin-bottom: var(--sp-1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-solutions__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-2);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.15s ease;
  margin-bottom: 2px;
}

.nav-solutions__item:hover {
  background: rgba(215,25,32,0.10);
}

.nav-solutions__item:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: var(--r-md);
}

.nav-solutions__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  color: var(--brand-mid);
  margin-top: 1px;
  transition: background 0.15s ease;
}

.nav-solutions__item:hover .nav-solutions__item-icon {
  background: rgba(215,25,32,0.18);
}

.nav-solutions__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-solutions__item-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
  transition: color 0.15s ease;
}

.nav-solutions__item:hover .nav-solutions__item-title {
  color: #fff;
}

.nav-solutions__item-sub {
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  line-height: 1.45;
}

.nav-solutions__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-4);
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: var(--sp-3);
}

.nav-solutions__footer-text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}

.nav-solutions__footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-mid);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px var(--sp-2);
  border-radius: var(--r-md);
  transition: color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.nav-solutions__footer-cta:hover {
  color: #fff;
  background: rgba(215,25,32,0.12);
}

.nav-solutions__footer-cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

@media (max-width: 960px) {
  .nav-solutions {
    display: none;
  }
}

/* ============================================================
   INDEX / HOME PAGE — PERFORMANCE TABLE NOTE
   ============================================================ */

.perf-table-note {
  font-size: var(--text-xs);
  color: var(--gray-400);
  line-height: 1.6;
  margin-top: var(--sp-2);
  padding: 0 var(--sp-2);
  border-left: 2px solid var(--gray-100);
}