/* ============================================================
   TORV Speakers - 红黑高级感主题
   ============================================================ */

:root {
  /* —— 基础色调 —— */
  --color-bg:        #0a0a0a;          /* 主背景（近黑） */
  --color-bg-deep:   #050505;          /* 深色背景（footer / hero） */
  --color-surface:   #121212;          /* 卡片底 */
  --color-surface-2: #1a1a1a;          /* 高亮卡片底 */
  --color-surface-3: #202020;          /* 输入框底 */
  --color-border:    #262626;          /* 默认边框 */
  --color-border-strong: #3a3a3a;      /* hover/强调边框 */

  /* —— 文字 —— */
  --color-text:        #f5f5f5;
  --color-text-muted:  #a8a8a8;
  --color-text-dim:    #6e6e6e;

  /* —— 主红（高级感深红） */
  --color-primary:        #e10600;       /* 主红 */
  --color-primary-hover:  #ff1f1f;
  --color-primary-deep:   #b30500;
  --color-primary-glow:   rgba(225, 6, 0, 0.45);

  /* —— 强调辅色 —— */
  --color-accent:        #ffb800;       /* 强调金 */

  /* —— 字体 —— */
  --font-heading: 'Montserrat', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body:    'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* —— 尺寸/阴影 —— */
  --container-width: 1320px;
  --radius:    4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow:        0 10px 40px rgba(0,0,0,0.5);
  --shadow-red:    0 10px 40px rgba(225,6,0,0.25);
  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* —— 渐变背景 —— */
  --grad-hero: linear-gradient(135deg, #050505 0%, #1a0808 50%, #050505 100%);
  --grad-red:  linear-gradient(135deg, #e10600 0%, #b30500 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-red);
  opacity: 0.9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg);
  line-height: 0;
}
.logo img {
  height: 34px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: brightness(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.logo:hover img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.main-nav {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 8px 0;
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a.active { color: var(--color-text); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lang-switch:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.menu-toggle { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-red);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(225,6,0,0.35);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(225,6,0,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--color-text);
}

.btn-sm { padding: 10px 18px; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ============================================================
   HERO (首页)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--color-border);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(225,6,0,0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(225,6,0,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--color-primary); }

.hero-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-media::before {
  content: '';
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,6,0,0.18) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero-media img {
  position: relative;
  max-height: 480px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(225,6,0,0.3));
  z-index: 1;
}

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: 100px 0; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-header h2 .accent { color: var(--color-primary); }
.section-header p {
  color: var(--color-text-muted);
  margin: 8px 0 0;
  max-width: 540px;
}

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent 0%, var(--color-primary) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.category-card:hover::before { opacity: 1; }

.category-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-deep);
  position: relative;
}
.category-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.85) 100%);
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.category-card:hover .category-image img { transform: scale(1.06); }

.category-info {
  padding: 24px;
  position: relative;
}
.category-info h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.category-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
}
.category-info .arrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.category-card:hover .arrow { gap: 10px; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

/* —— 精选产品：分组轮播（响应式：桌面3张 / 平板2张 / 手机1张） —— */
.featured-carousel {
  position: relative;
  width: 100%;
  padding: 8px max(24px, calc((100vw - var(--container-max, 1200px)) / 2 + 24px)) 24px;
}
.featured-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.featured-track {
  display: flex;
  width: 100%;
  transition: transform 700ms cubic-bezier(.4,.0,.2,1);
  will-change: transform;
}
.featured-track .product-card {
  flex: 0 0 calc(100% / var(--per-page, 3));
  width: calc(100% / var(--per-page, 3));
  padding: 0 12px;
  box-sizing: border-box;
}

/* 左右切换箭头 */
.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 15, 18, 0.78);
  border: 1px solid rgba(220, 38, 38, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
  backdrop-filter: blur(6px);
}
.featured-arrow:hover {
  background: rgba(220, 38, 38, 0.85);
  border-color: rgba(220, 38, 38, 1);
  transform: translateY(-50%) scale(1.08);
}
.featured-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.featured-arrow-prev { left: max(8px, calc((100vw - var(--container-max, 1200px)) / 2 + 4px)); }
.featured-arrow-next { right: max(8px, calc((100vw - var(--container-max, 1200px)) / 2 + 4px)); }

/* 分页圆点 */
.featured-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease, width 200ms ease;
}
.featured-dot:hover { background: rgba(220, 38, 38, 0.55); }
.featured-dot.active {
  background: #dc2626;
  width: 22px;
  border-radius: 4px;
}
@media (max-width: 1023px) {
  .featured-track .product-card {
    flex: 0 0 50%;
    width: 50%;
  }
}
@media (max-width: 575px) {
  .featured-track .product-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .featured-carousel { padding-left: 16px; padding-right: 16px; }
  .featured-arrow { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-track { transition: none; }
}

.product-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow);
}
.product-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.product-card:hover::before { transform: scaleX(1); }

.product-image {
  display: block;
  aspect-ratio: 1/1;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(225,6,0,0.06) 0%, transparent 60%);
}
.product-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.4s;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-body { padding: 20px; }

.product-cat-tag {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-model {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.product-name {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0 0 14px;
}

.product-specs-mini {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
}
.product-specs-mini li {
  flex: 1;
  text-align: center;
}
.product-specs-mini span {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.product-specs-mini strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-cta::after { content: '→'; transition: transform 0.2s; }
.product-card:hover .product-cta::after { transform: translateX(4px); }

/* ============================================================
   PRODUCT DETAIL PAGE (B&C 风格)
   ============================================================ */
.product-detail { padding: 60px 0 100px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--color-primary); }
.bc-sep { color: var(--color-text-dim); }
.bc-current { color: var(--color-text); font-weight: 600; }

.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

/* 左侧：图片 */
.pd-image {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-image-main {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pd-image-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(225,6,0,0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(225,6,0,0.04) 0%, transparent 50%);
}
.pd-image-main img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.pd-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 80px;
  height: 80px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-thumb:hover { border-color: var(--color-border-strong); }
.pd-thumb.active { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 右侧：信息 */
.pd-info { padding: 12px 0; }

.pd-cat {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.pd-model {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #f5f5f5 0%, #c8c8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pd-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin: 0 0 28px;
}

/* 阻抗切换 */
.pd-imp-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}
.pd-imp-label {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.pd-imp-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-imp-tab {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: var(--radius);
  min-width: 84px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pd-imp-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pd-imp-tab.active {
  background: var(--grad-red);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225,6,0,0.4);
}

/* 关键参数卡 */
.pd-keyspecs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.pd-key {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.pd-key::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: var(--transition);
}
.pd-key:hover::before { opacity: 1; }
.pd-key-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-weight: 600;
}
.pd-key-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

/* CTA 按钮 */
.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-btn-inquiry { flex: 1; min-width: 200px; }
.pd-btn-datasheet { flex: 1; min-width: 200px; }

/* ============================================================
   PRODUCT SECTIONS (Features / Specifications / Parameters)
   ============================================================ */
.pd-sections {
  display: grid;
  gap: 60px;
}
.pd-section {}
.pd-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.pd-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.pd-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.pd-feat-bullet {
  flex: 0 0 auto;
  width: 6px; height: 6px;
  background: var(--color-primary);
  margin-top: 8px;
  border-radius: 1px;
}

.pd-specs {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
}
.pd-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}
.pd-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.pd-val {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.pd-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* —— 频响曲线模块 —— */
.pd-section-curve {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
}
.pd-curve {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-curve-chart {
  width: 100%;
  aspect-ratio: 760 / 280;
  max-height: 320px;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 12px;
}
.pd-curve-chart svg { width: 100%; height: 100%; display: block; }
.pd-curve-chart .grid-x,
.pd-curve-chart .grid-y {
  stroke: rgba(0,0,0,0.08);
  stroke-width: 0.5;
}
.pd-curve-chart .grid-x.minor,
.pd-curve-chart .grid-y.minor {
  stroke: rgba(0,0,0,0.04);
}
.pd-curve-chart .axis {
  stroke: rgba(0,0,0,0.45);
  stroke-width: 1;
}
.pd-curve-chart .grid-label,
.pd-curve-chart .axis-title {
  font-size: 11px;
  font-family: var(--font-heading);
  fill: rgba(0,0,0,0.55);
}
.pd-curve-chart .curve {
  fill: none;
  stroke: url(#curveGrad);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px rgba(225,6,0,0.25));
}
.pd-curve-chart .range-band {
  fill: rgba(225,6,0,0.05);
  stroke: rgba(225,6,0,0.18);
  stroke-width: 1;
  stroke-dasharray: 4 3;
}
.pd-curve-chart .sens-line {
  stroke: rgba(225,6,0,0.5);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.pd-curve-chart .sens-dot {
  fill: var(--color-primary);
  stroke: #fff;
  stroke-width: 1.5;
}
.pd-curve-chart .sens-text {
  font-size: 11px;
  font-family: var(--font-heading);
  fill: var(--color-primary);
  font-weight: 700;
}
.pd-curve-empty {
  color: rgba(0,0,0,0.4);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.pd-curve-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-align: right;
}
.pd-resource {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.pd-resource:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.pd-res-ic {
  width: 48px;
  height: 48px;
  background: var(--color-surface-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.pd-res-meta { display: flex; flex-direction: column; }
.pd-res-meta strong {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.pd-res-meta em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 相关产品 */
.related-section {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.related-section h2 {
  font-family: var(--font-heading);
  margin-bottom: 40px;
  text-transform: uppercase;
  font-size: 1.5rem;
}

/* ============================================================
   PRODUCTS LIST PAGE
   ============================================================ */
.page-hero {
  background: var(--grad-hero);
  padding: 100px 0 70px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(225,6,0,0.12) 0%, transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.page-hero p {
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.products-layout .container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.filters {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.filters h3 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 16px 0 6px;
  font-weight: 700;
}
.filter-item {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.filter-item:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-left-color: var(--color-border-strong);
}
.filter-item.active {
  background: var(--color-surface-2);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 700;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.results { color: var(--color-text-muted); margin: 0; font-size: 0.9rem; }
.results strong { color: var(--color-primary); font-weight: 700; }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-page-grid h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
}
.about-page-grid p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.about-media img { border-radius: var(--radius-lg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card,
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3,
.contact-form h3 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.contact-info-card p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.15);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(1.05);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 0 14px rgba(225,6,0,0.45));
}
.footer-brand p {
  color: var(--color-text-muted);
  margin: 0 0 8px;
  font-size: 0.9rem;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  color: var(--color-primary);
}
.footer-links a {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--color-primary); transform: translateX(2px); }
.footer-contact p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   404
   ============================================================ */
.not-found {
  text-align: center;
  padding: 140px 20px;
}
.not-found h1 {
  font-family: var(--font-heading);
  font-size: 7rem;
  margin: 0;
  color: var(--color-primary);
  font-weight: 900;
}
.not-found p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.text-center { text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner,
  .about-page-grid,
  .contact-grid,
  .pd-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media img { max-height: 380px; }
  .products-layout .container {
    grid-template-columns: 1fr;
  }
  .filters { position: static; }
  .pd-keyspecs { grid-template-columns: repeat(2, 1fr); }
  .pd-features { grid-template-columns: 1fr; }
  .pd-resources { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
  }
  .section { padding: 60px 0; }
  .pd-row { grid-template-columns: 1fr; gap: 4px; }
  .pd-keyspecs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* —— 开场动画在移动端缩短 —— */
  .opening-tagline { font-size: 11px; letter-spacing: 2px; }
  .opening-core { width: 200px; height: 70px; }
  .opening-logo { height: 56px; }
}

/* ============================================================
   开场动画：Logo + 声波扩散
   ============================================================ */
body[data-opening="on"] .site-header .logo {
  visibility: hidden;
}

.opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #14090a 0%, #050505 65%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.opening-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.opening-core {
  position: relative;
  width: 260px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.opening-logo {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(225, 6, 0, 0.45));
  transform-origin: center center;
  animation: openingLogoIntro 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* 中央声波圆心：正圆形细环，保持与主扩散波一致的圆形 */
.opening-core::before,
.opening-core::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(225, 6, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  animation: openingCorePulse 1.4s ease-in-out infinite;
}
.opening-core::after {
  animation-delay: 0.5s;
  border-color: rgba(225, 6, 0, 0.22);
}

@keyframes openingCorePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
  50%      { transform: translate(-50%, -50%) scale(1.06); opacity: 0.95; }
}

@media (max-width: 576px) {
  .opening-core::before,
  .opening-core::after {
    width: 160px;
    height: 160px;
  }
}

.opening-waves {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}

.opening-wave {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  will-change: transform, opacity;
}

/* 低频：粗、慢、覆盖广 */
.opening-wave--lf {
  border-width: 3px;
  border-color: rgba(225, 6, 0, 0.55);
  animation: openingWaveLF 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s infinite;
}
/* 中频：中等 */
.opening-wave--mf {
  border-width: 2px;
  border-color: rgba(225, 6, 0, 0.7);
  animation: openingWaveMF 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s infinite;
}
/* 高频：细、快 */
.opening-wave--hf {
  border-width: 1px;
  border-color: rgba(225, 6, 0, 0.9);
  animation: openingWaveHF 1.0s cubic-bezier(0.22, 0.61, 0.36, 1) 0.75s infinite;
}
/* 错相叠波，让节奏不刻板 */
.opening-wave--lag {
  animation-delay: 1.2s !important;
}
.opening-wave--hf.opening-wave--lag {
  animation-delay: 1.55s !important;
}

@keyframes openingWaveLF {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0;   }
  15%  { opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(8);    opacity: 0;   }
}
@keyframes openingWaveMF {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0;   }
  20%  { opacity: 0.85; }
  100% { transform: translate(-50%, -50%) scale(6);    opacity: 0;   }
}
@keyframes openingWaveHF {
  0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0;   }
  25%  { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(4.5);  opacity: 0;   }
}

/* Logo 入场：从 0.78 弹到 1.0 */
@keyframes openingLogoIntro {
  0%   { transform: scale(0.78); opacity: 0; filter: drop-shadow(0 0 0 rgba(225,6,0,0)); }
  60%  { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 22px rgba(225,6,0,0.55)); }
  100% { transform: scale(1);    opacity: 1; filter: drop-shadow(0 0 16px rgba(225,6,0,0.45)); }
}

.opening-tagline {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0;
  z-index: 2;
  opacity: 0;
  animation: openingTaglineIn 0.6s ease 0.35s forwards;
}

@keyframes openingTaglineIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 0.9; transform: translateY(0); }
}

/* —— 第二阶段：声波淡出，Logo 飞向导航栏 —— */
body.opening-leaving .opening-waves,
body.opening-leaving .opening-core::before,
body.opening-leaving .opening-core::after {
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.opening-leaving .opening-wave {
  animation-play-state: paused !important;
  opacity: 0 !important;
}

body.opening-leaving .opening-tagline {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.opening-flying .opening-overlay {
  background: transparent;
  transition: background 0.45s ease;
}

.opening-logo.is-flying {
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.45s ease 0.55s;
}

body.opening-flying .opening-logo.is-flying {
  transform: translateY(-46vh) scale(0.5);
}

.opening-logo.is-flying.is-arrived {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .opening-overlay { display: none; }
  .opening-wave,
  .opening-core::before,
  .opening-core::after { animation: none !important; }
}

/* ============================================================
   页面切换体验：顶部进度条 + body 淡入
   ============================================================ */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.page-progress > span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, #ff7a30 50%, #ffba30 100%);
  box-shadow: 0 0 12px rgba(225, 6, 0, 0.6);
  transition: width 0.25s ease;
}
body.is-navigating .page-progress {
  opacity: 1;
}
body.is-navigating .page-progress > span {
  width: 88%;
  transition: width 4s cubic-bezier(0.1, 0.4, 0.2, 1);
}

body.page-loading main {
  opacity: 0;
  transform: translateY(6px);
}
body main {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
body.is-ready main {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.page-loading main { opacity: 1; transform: none; }
  body main { transition: none; }
  body.is-navigating .page-progress > span { transition: none; }
}