/* ============================================================
   产品展示网站 - 主样式表
   结构：
     1. CSS 变量 & 重置
     2. 通用工具类
     3. 导航栏
     4. Hero 区域
     5. 产品卡片 & 网格
     6. 产品详情区
     7. 技术参数
     8. 项目总览
     9. 页脚
    10. 动画关键帧
    11. 响应式
   ============================================================ */

/* ──────────────────────── 1. CSS 变量 & 重置 ──────────────────────── */
:root {
  /* 主色 */
  --c-primary: #38bdf8;
  --c-primary-dark: #0284c7;
  --c-accent: #a5b4fc;
  --c-accent-glow: rgba(165, 180, 252, 0.32);

  /* 中性色 */
  --c-bg: #060912;
  --c-bg-card: rgba(255, 255, 255, 0.04);
  --c-bg-card-hover: rgba(255, 255, 255, 0.08);
  --c-surface: #0c1425;
  --c-surface-light: #111d33;
  --c-text: #e2e8f0;
  --c-text-muted: #94a3b8;
  --c-border: rgba(148, 163, 184, 0.12);

  /* 间距 */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 32px;
  --sp-xl: 64px;
  --sp-2xl: 96px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* 字体 */
  --font-sans: "Inter", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* 过渡 */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.5s;
  --duration-slow: 0.8s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol { list-style: none; }

/* ──────────────────────── 2. 通用工具类 ──────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.section {
  padding: var(--sp-2xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(165, 180, 252, 0.1);
  border: 1px solid rgba(165, 180, 252, 0.22);
  margin-bottom: var(--sp-md);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
}

.section-desc {
  font-size: 18px;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.75;
}

.gradient-text {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 滚动显现动画基础类 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ──────────────────────── 3. 导航栏 ──────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--duration-normal), padding var(--duration-normal), box-shadow var(--duration-normal);
}
.navbar.scrolled {
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--c-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 0 20px var(--c-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.nav-brand-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-contact-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}
.nav-contact-btn::after { display: none !important; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ──────────────────────── 4. Hero 区域 ──────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* 粒子 / 光晕背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero-glow--1 {
  width: 600px; height: 600px;
  top: -150px; right: -100px;
  background: var(--c-primary);
}
.hero-glow--2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -80px;
  background: var(--c-accent);
  animation-delay: 3s;
}
.hero-glow--3 {
  width: 300px; height: 300px;
  top: 50%; left: 40%;
  background: #8b5cf6;
  animation-delay: 1.5s;
  opacity: 0.2;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  background: rgba(165, 180, 252, 0.08);
  border: 1px solid rgba(165, 180, 252, 0.18);
  margin-bottom: var(--sp-lg);
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-lg);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.15s both;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--c-text-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.45s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  color: var(--c-text);
  background: transparent;
  border: 1px solid var(--c-border);
}
.btn-outline:hover {
  background: var(--c-bg-card);
  border-color: var(--c-text-muted);
}

.hero-stats {
  display: flex;
  gap: var(--sp-xl);
  margin-top: var(--sp-xl);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-stat-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-top: 6px;
}

/* 右侧浮动卡片 */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s var(--ease-out-expo) 0.3s both;
}

.hero-card-stack {
  position: relative;
  width: 480px;
  height: 520px;
}

.hero-float-card {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.6s var(--ease-out-expo);
  cursor: pointer;
}
.hero-float-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 30px 70px rgba(14,165,233,0.2);
}

.hero-float-card--1 {
  width: 380px; height: 450px;
  top: 0; left: 50px;
  z-index: 3;
  animation: floatCard1 8s ease-in-out infinite;
}
.hero-float-card--2 {
  width: 200px; height: 260px;
  top: 30px; left: -20px;
  z-index: 2;
  animation: floatCard2 7s ease-in-out infinite;
}
.hero-float-card--3 {
  width: 200px; height: 200px;
  bottom: 20px; right: 0;
  z-index: 2;
  animation: floatCard3 9s ease-in-out infinite;
}

.hero-float-card .card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--c-text-muted);
  position: relative;
  overflow: hidden;
}
.hero-float-card .card-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(165,180,252,0.1));
}

.hero-float-card .card-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.hero-float-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ──────────────────────── 5. 产品卡片 & 网格 ──────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.product-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-normal);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(14, 165, 233, 0.3);
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card-image .placeholder {
  width: 100%;
  height: 100%;
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  color: var(--c-text-muted);
  font-size: 13px;
  position: relative;
}
.product-card-image .placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(165,180,252,0.08));
}
.product-card-image .placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
  position: relative;
}
.product-card-image .placeholder span {
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 20, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.product-card-badge {
  position: absolute;
  top: var(--sp-md);
  left: var(--sp-md);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 165, 233, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.product-card-body {
  padding: var(--sp-lg);
}

.product-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
}

.product-card-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.product-card-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.product-card-arrow {
  position: absolute;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.product-card:hover .product-card-arrow {
  background: var(--c-primary);
  border-color: var(--c-primary);
  transform: translate(4px, -4px);
}
.product-card-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--c-text-muted);
  transition: color 0.3s;
}
.product-card:hover .product-card-arrow svg {
  color: #fff;
}

/* ──────────────────────── 6. 产品详情区 ──────────────────────── */
.product-detail {
  padding: var(--sp-2xl) 0;
  position: relative;
}
.product-detail:nth-child(even) {
  background: var(--c-surface);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
.detail-layout.reverse {
  direction: rtl;
}
.detail-layout.reverse > * {
  direction: ltr;
}

.detail-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.detail-visual .placeholder-lg {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--c-surface-light);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  color: var(--c-text-muted);
  position: relative;
  overflow: hidden;
}
.detail-visual .placeholder-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.05), rgba(165,180,252,0.05));
}
.detail-visual .placeholder-lg svg {
  width: 56px;
  height: 56px;
  opacity: 0.3;
  position: relative;
}
.detail-visual .placeholder-lg .placeholder-text {
  font-size: 14px;
  position: relative;
}
.detail-visual .placeholder-lg .placeholder-hint {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.5);
  position: relative;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}

/* 悬浮装饰 */
.detail-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: 0.1;
  filter: blur(60px);
  bottom: -40px;
  right: -40px;
  pointer-events: none;
}

.detail-info .section-label { margin-bottom: var(--sp-md); }
.detail-info .section-title { margin-bottom: var(--sp-md); }
.detail-info .section-desc { margin-bottom: var(--sp-lg); }

.detail-features {
  display: grid;
  gap: var(--sp-md);
}

.detail-feature {
  display: flex;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-md);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  transition: border-color 0.3s, background 0.3s;
}
.detail-feature:hover {
  border-color: rgba(14, 165, 233, 0.3);
  background: var(--c-bg-card-hover);
}

.detail-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(165,180,252,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-accent);
}

.detail-feature-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.detail-feature-text span {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ──────────────────────── 7. 技术参数 ──────────────────────── */
.tech-specs {
  background: var(--c-surface);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}

.spec-card {
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
}
.spec-card:hover::before { opacity: 1; }

.spec-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-sm);
  font-family: var(--font-mono);
}

.spec-label {
  font-size: 14px;
  color: var(--c-text-muted);
}

/* ──────────────────────── 8. 项目总览 ──────────────────────── */
.all-projects {
  background: var(--c-bg);
}

.projects-scroll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.mini-card {
  padding: var(--sp-lg);
  border-radius: var(--r-md);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.25);
  background: var(--c-bg-card-hover);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
}

.mini-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(165,180,252,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  overflow: hidden;
  flex-shrink: 0;
}
.mini-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--c-primary);
}

.mini-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.mini-card-code {
  font-size: 12px;
  color: var(--c-text-muted);
  font-family: var(--font-mono);
}

/* ──────────────────────── 9. 页脚 ──────────────────────── */
.site-footer {
  padding: var(--sp-xl) 0 var(--sp-lg);
  border-top: 1px solid var(--c-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-md);
}

.footer-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  max-width: 320px;
  line-height: 1.7;
}

.footer-links-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}
.footer-links-group a {
  display: block;
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
  transition: color 0.2s;
}
.footer-links-group a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ──────────────────────── 10. 动画关键帧 ──────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0% { opacity: 0.25; transform: scale(1); }
  100% { opacity: 0.45; transform: scale(1.15); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(0deg); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes floatCard3 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* 光标追踪光效 */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.3s ease-out, top 0.3s ease-out;
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  z-index: 1001;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* 数字计数动画 */
.count-up {
  display: inline-block;
}

/* 磁吸按钮效果 */
.magnetic-area {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}

/* ──────────────────────── 11. 产品详情页（独立页面） ──────────────────────── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 var(--sp-xl);
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
}
.page-hero-breadcrumb a { transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb .sep { opacity: 0.4; }

.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
  animation: fadeInUp 0.7s var(--ease-out-expo) both;
}

.page-hero-subtitle {
  font-size: 18px;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: 1.75;
  animation: fadeInUp 0.7s var(--ease-out-expo) 0.15s both;
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
  animation: fadeInUp 0.7s var(--ease-out-expo) 0.3s both;
}
.page-hero-tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

/* 产品页图片画廊 */
.product-gallery {
  padding: var(--sp-2xl) 0;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

/* 主图 */
.gallery-main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a12;
  transition: opacity 0.3s ease;
}

/* 缩略图行 */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 4px 0;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.gallery-thumb:hover {
  opacity: 0.9;
  border-color: rgba(255,255,255,0.3);
}
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--c-primary);
  box-shadow: 0 0 12px rgba(14,165,233,0.3);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 保留旧类名兼容 */
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
}
.gallery-item--main { grid-row: 1 / -1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  color: var(--c-text-muted);
  font-size: 13px;
  background: linear-gradient(135deg, rgba(56,189,248,0.04), rgba(165,180,252,0.04));
}
.gallery-placeholder svg { width: 40px; height: 40px; opacity: 0.25; }

/* 产品页功能特性 */
.product-features {
  padding: var(--sp-2xl) 0;
  background: var(--c-surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}
.feature-block {
  padding: var(--sp-lg);
  border-radius: var(--r-lg);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.feature-block:hover { transform: translateY(-4px); border-color: rgba(14,165,233,0.3); }
.feature-block:hover::before { transform: scaleX(1); }

.feature-block-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(165,180,252,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
}
.feature-block-icon svg { width: 26px; height: 26px; color: var(--c-accent); }

.feature-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}
.feature-block p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* 产品页技术参数 */
.product-specs {
  padding: var(--sp-2xl) 0;
}
.product-specs-table {
  width: 100%;
  margin-top: var(--sp-xl);
  border-collapse: collapse;
}
.product-specs-table tr {
  border-bottom: 1px solid var(--c-border);
  transition: background 0.2s;
}
.product-specs-table tr:hover { background: rgba(255,255,255,0.02); }
.product-specs-table td {
  padding: var(--sp-md) var(--sp-lg);
  font-size: 15px;
}
.product-specs-table td:first-child {
  color: var(--c-text-muted);
  width: 240px;
  font-weight: 500;
}

/* 产品页 CTA */
.product-cta {
  padding: var(--sp-2xl) 0;
  background: var(--c-surface);
  text-align: center;
}
.product-cta .section-title { margin-bottom: var(--sp-md); }
.product-cta .section-desc { margin: 0 auto var(--sp-lg); }
.product-cta .btn { margin: 0 var(--sp-sm); }

/* 返回链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--c-accent); }
.back-link svg { width: 16px; height: 16px; }

/* ──────────────────────── 12. 关于我 / 个人特色区域 ──────────────────────── */
.about-section {
  padding: var(--sp-2xl) 0;
  position: relative;
  overflow: hidden;
}
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
.about-avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(var(--c-bg), var(--c-bg)) padding-box,
              linear-gradient(135deg, var(--c-primary), var(--c-accent)) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--c-text-muted);
  position: relative;
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(165,180,252,0.08));
}
.about-avatar-placeholder svg { width: 80px; height: 80px; opacity: 0.35; }
.about-avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(14,165,233,0.25);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-info { max-width: 680px; }
.about-name {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}
.about-role {
  font-size: 16px;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-role::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: 2px;
}
.about-bio {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}
.about-motto {
  font-size: 14px;
  font-style: italic;
  color: var(--c-text-muted);
  padding: var(--sp-md) var(--sp-lg);
  border-left: 3px solid var(--c-accent);
  background: rgba(14,165,233,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-bottom: var(--sp-lg);
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-tag {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  transition: all 0.3s var(--ease-out-expo);
}
.skill-tag:hover {
  border-color: var(--c-accent);
  background: rgba(14,165,233,0.08);
  transform: translateY(-2px);
}
.skill-tag--highlight {
  border-color: rgba(14,165,233,0.4);
  background: rgba(14,165,233,0.08);
}

.about-stats-row {
  display: flex;
  gap: var(--sp-xl);
  margin-top: var(--sp-lg);
}
.about-stat { text-align: center; }
.about-stat-num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat-label {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ──────────────────────── 13. LightMesh 灯联网项目展示页 ──────────────────────── */
.yinghuo-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(56,189,248,0.18), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(165,180,252,0.2), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 42%, #f7f9fc 100%);
  color: #0f172a;
}

.yinghuo-page .navbar {
  color: #0f172a;
}

.yinghuo-page .navbar.scrolled {
  background: rgba(248, 251, 255, 0.78);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.yinghuo-page .nav-links a,
.yinghuo-page .page-hero-breadcrumb,
.yinghuo-page .section-desc {
  color: #64748b;
}

.yinghuo-page .nav-toggle span {
  background: #0f172a;
}

.yinghuo-hero {
  position: relative;
  min-height: 860px;
  padding: 150px 0 90px;
  overflow: hidden;
}

.yinghuo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 82%);
  pointer-events: none;
}

.yinghuo-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.yinghuo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(56,189,248,0.28);
  background: rgba(255,255,255,0.72);
  color: #0369a1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 60px rgba(15,23,42,0.08);
}

.yinghuo-title {
  margin: 24px 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 900;
  color: #0f172a;
}

.yinghuo-title .soft {
  display: block;
  color: #475569;
  font-size: 0.42em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.yinghuo-lead {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.9;
  color: #475569;
}

.yinghuo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.yinghuo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
}

.yinghuo-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb 58%, #7c3aed);
  box-shadow: 0 22px 55px rgba(37,99,235,0.28);
}

.yinghuo-btn--ghost {
  color: #0f172a;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.1);
}

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

.yinghuo-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.yinghuo-kpi,
.yinghuo-card {
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 70px rgba(15,23,42,0.08);
}

.yinghuo-kpi {
  border-radius: 24px;
  padding: 18px;
}

.yinghuo-kpi strong {
  display: block;
  font-size: 24px;
  color: #0f172a;
}

.yinghuo-kpi span {
  font-size: 12px;
  color: #64748b;
}

.phone-stage {
  position: relative;
  min-height: 670px;
}

.phone-shell {
  position: absolute;
  right: 20px;
  top: 0;
  width: 315px;
  min-height: 640px;
  padding: 18px;
  border-radius: 42px;
  background: linear-gradient(145deg, #fdfefe, #e9eff8);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow:
    0 40px 90px rgba(15,23,42,0.22),
    inset 0 0 0 8px rgba(15,23,42,0.035);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 604px;
  border-radius: 32px;
  padding: 28px 18px;
  background: #f3f5fb;
  overflow: hidden;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #111827;
}

.phone-title {
  margin: 24px 0 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #111827;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.device-tile {
  min-height: 150px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 32px rgba(15,23,42,0.06);
}

.device-tile img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 18px;
  margin-bottom: 18px;
}

.device-tile strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  color: #111827;
}

.device-tile span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 13px;
}

.device-tile.offline {
  opacity: 0.54;
}

.device-detail-card {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 305px;
  padding: 22px;
  border-radius: 34px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 35px 80px rgba(15,23,42,0.16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.device-detail-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 18px 24px rgba(15,23,42,0.16));
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(15,23,42,0.08);
  font-size: 14px;
}

.detail-row span {
  color: #64748b;
}

.detail-row strong {
  color: #0f172a;
  text-align: right;
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 18px 50px rgba(15,23,42,0.12);
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.floating-chip--ota { top: 84px; left: 12px; }
.floating-chip--mesh { right: 0; bottom: 120px; }

.yinghuo-section {
  padding: 96px 0;
}

.yinghuo-section .section-title,
.yinghuo-section h3 {
  color: #0f172a;
}

.yinghuo-card {
  border-radius: 30px;
  padding: 28px;
}

.architecture-grid,
.feature-grid-4 {
  display: grid;
  gap: 18px;
}

.architecture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.feature-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.arch-card h3,
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.arch-card p,
.feature-card p,
.download-card p {
  color: #64748b;
  line-height: 1.75;
}

.arch-index {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.protocol-panel {
  margin-top: 32px;
  padding: 26px;
  border-radius: 28px;
  color: #dbeafe;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,41,59,0.94)),
    radial-gradient(circle at 20% 10%, rgba(56,189,248,0.22), transparent 28%);
  box-shadow: 0 28px 80px rgba(15,23,42,0.22);
}

.protocol-panel code {
  display: block;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  color: #bfdbfe;
  background: rgba(15,23,42,0.72);
  overflow-x: auto;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.download-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.yinghuo-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.yinghuo-card-link .placeholder img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(56,189,248,0.14));
}

.yinghuo-card-link .product-card-image .placeholder {
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.2), transparent 30%),
    linear-gradient(135deg, rgba(56,189,248,0.12), rgba(165,180,252,0.16));
}

.yinghuo-note {
  max-width: 680px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 18px;
  color: #64748b;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(15,23,42,0.08);
  font-size: 13px;
  line-height: 1.7;
}

.yinghuo-section--intro {
  padding-top: 40px;
}

.yinghuo-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 44px;
}

.intro-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.intro-checklist span {
  padding: 12px 14px;
  border-radius: 16px;
  color: #0f172a;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.08);
  font-weight: 700;
  font-size: 13px;
}

.product-snapshot {
  min-height: 360px;
  background:
    radial-gradient(circle at 80% 0%, rgba(56,189,248,0.22), transparent 34%),
    rgba(255,255,255,0.76);
}

.snapshot-title {
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 22px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.snapshot-grid div {
  min-height: 105px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(248,250,252,0.82);
  border: 1px solid rgba(15,23,42,0.08);
}

.snapshot-grid strong,
.roadmap-card strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
}

.snapshot-grid span,
.roadmap-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.snapshot-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.snapshot-flow span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #1e3a8a;
  background: rgba(219,234,254,0.86);
  font-size: 12px;
  font-weight: 900;
}

.snapshot-flow i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
}

.yinghuo-section--dark {
  color: #dbeafe;
  background:
    radial-gradient(circle at 18% 16%, rgba(56,189,248,0.18), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(124,58,237,0.18), transparent 28%),
    linear-gradient(180deg, #07111f, #0f172a);
}

.yinghuo-section--dark .section-title,
.yinghuo-section--dark h3 {
  color: #f8fafc;
}

.yinghuo-section--dark .section-desc {
  color: #94a3b8;
}

.tutorial-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

.tutorial-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(148,163,184,0.16);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.step-no {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  box-shadow: 0 18px 38px rgba(56,189,248,0.22);
}

.tutorial-step h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.tutorial-step p {
  color: #cbd5e1;
  line-height: 1.85;
}

.tutorial-step pre,
.code-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  color: #bfdbfe;
  background: rgba(2,6,23,0.58);
  border: 1px solid rgba(148,163,184,0.16);
  overflow-x: auto;
}

.tutorial-step code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.debug-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.debug-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.debug-card p {
  color: #64748b;
  line-height: 1.75;
}

.yinghuo-section--doorbell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(56,189,248,0.18), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(129,140,248,0.16), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 52%, #f8fbff 100%);
}

.doorbell-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 42px;
  align-items: center;
}

.doorbell-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.doorbell-point,
.doorbell-hardware-card {
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.doorbell-point {
  padding: 18px 20px;
  border-radius: 22px;
}

.doorbell-point strong,
.doorbell-hardware-card strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  margin-bottom: 7px;
}

.doorbell-point span,
.doorbell-hardware-card span {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.doorbell-hardware-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
}

.doorbell-hardware-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(239,246,255,0.94), rgba(255,255,255,0.78));
  filter: drop-shadow(0 18px 26px rgba(37,99,235,0.14));
}

.doorbell-gallery {
  display: grid;
  grid-template-columns: minmax(210px, 0.88fr) minmax(260px, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.doorbell-shot {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 34px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 32px 90px rgba(15,23,42,0.14);
}

.doorbell-shot--device {
  padding: 24px 20px;
}

.shot-status,
.shot-title-row,
.live-head,
.live-toggle,
.device-preview-row {
  display: flex;
  align-items: center;
}

.shot-status {
  justify-content: space-between;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 26px;
}

.shot-status strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.shot-title-row {
  justify-content: space-between;
  margin-bottom: 28px;
}

.shot-title-row strong {
  color: #020617;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.shot-back,
.shot-gear {
  color: #0b84ff;
  font-size: 34px;
  line-height: 1;
}

.shot-gear {
  font-size: 24px;
}

.shot-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
}

.shot-list-card i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #1485ff;
  font-style: normal;
  font-weight: 900;
}

.shot-list-card--ok i {
  background: #22c55e;
}

.shot-list-card strong,
.device-preview-card strong {
  display: block;
  color: #020617;
  font-size: 18px;
  line-height: 1.25;
}

.shot-list-card span,
.device-preview-card span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
  font-size: 13px;
}

.shot-bell {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 34px auto 28px;
  border-radius: 50%;
  color: #1485ff;
  font-size: 54px;
  background: #f1f3f8;
}

.shot-primary-btn {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-radius: 20px;
  color: #fff;
  background: #0b84ff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(11,132,255,0.22);
}

.doorbell-shot--live {
  grid-row: span 2;
  padding: 26px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 10%, rgba(37,99,235,0.24), transparent 32%),
    #020617;
}

.live-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.live-head strong {
  color: #fff;
  font-size: 28px;
}

.live-head span {
  padding: 7px 13px;
  border-radius: 999px;
  background: #ef4444;
  font-weight: 900;
}

.live-head i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #020617;
  background: #fff;
  font-style: normal;
  font-size: 28px;
  font-weight: 900;
}

.live-toggle {
  padding: 5px;
  border-radius: 18px;
  background: #27272a;
  margin-bottom: 34px;
}

.live-toggle span,
.live-toggle strong {
  flex: 1;
  padding: 13px 10px;
  border-radius: 14px;
  text-align: center;
  font-size: 16px;
}

.live-toggle span {
  color: rgba(255,255,255,0.86);
}

.live-toggle strong {
  color: #fff;
  background: #0b84ff;
  box-shadow: 0 12px 26px rgba(11,132,255,0.32);
}

.live-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0 -22px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(169,117,122,0.78), rgba(235,242,244,0.94) 72%),
    #111827;
}

.live-frame::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 160px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  filter: blur(8px);
  transform: rotate(-12deg);
}

.live-frame img {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.3;
  filter: grayscale(1) brightness(1.4);
}

.live-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.snapshot-btn {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #fff;
}

.snapshot-btn span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8b8d95;
  font-size: 30px;
}

.snapshot-btn strong {
  font-size: 16px;
  font-weight: 800;
}

.doorbell-shot--list {
  min-height: 300px;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,0.9), transparent 28%),
    linear-gradient(135deg, #f8fbff, #f3f6fb);
}

.shot-status--right {
  justify-content: flex-end;
}

.shot-status--right strong {
  font-size: 30px;
}

.device-preview-row {
  gap: 14px;
  margin-top: 28px;
  overflow: hidden;
}

.device-preview-card {
  flex: 0 0 176px;
  min-height: 210px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}

.device-preview-card img,
.preview-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  margin-bottom: 46px;
  object-fit: contain;
  background: #eef2f7;
  font-size: 34px;
}

.device-preview-card.muted {
  opacity: 0.55;
}

.doorbell-shot--list p {
  margin-top: 20px;
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.yinghuo-section--roadmap {
  background: linear-gradient(180deg, rgba(241,245,249,0.3), rgba(248,251,255,0.76));
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ──────────────────────── 14. 响应式 ──────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .detail-layout.reverse { direction: ltr; }
  .hero-card-stack { width: 360px; height: 420px; }
  .hero-float-card--1 { width: 300px; height: 370px; }
  .hero .container { flex-direction: column; text-align: center; align-items: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: var(--sp-xl); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { min-height: auto; }
  .gallery-main { max-width: 100%; }
  .gallery-thumb { width: 60px; height: 60px; }
  .about-layout { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .about-role { justify-content: center; }
  .about-skills { justify-content: center; }
  .about-stats-row { justify-content: center; }
  .yinghuo-two-col { grid-template-columns: 1fr; }
  .doorbell-layout { grid-template-columns: 1fr; }
  .debug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--sp-lg);
    gap: var(--sp-md);
    border-bottom: 1px solid var(--c-border);
  }
  .nav-toggle { display: flex; }

  .products-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .hero-card-stack { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-direction: column; gap: var(--sp-lg); align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .product-specs-table td:first-child { width: 140px; }
  .page-hero { min-height: 45vh; }
  .about-avatar { width: 180px; height: 180px; }
  .about-motto { font-size: 13px; }
  .yinghuo-layout,
  .download-card { grid-template-columns: 1fr; }
  .phone-stage { min-height: 700px; }
  .architecture-grid,
  .feature-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tutorial-step { grid-template-columns: 1fr; }
  .doorbell-gallery { grid-template-columns: 1fr; }
  .doorbell-shot--live { grid-row: auto; }

  .footer-top { flex-direction: column; gap: var(--sp-lg); }
  .footer-bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }
}

@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
  .projects-scroll-grid { grid-template-columns: 1fr; }
  .product-specs-table td { padding: var(--sp-sm); font-size: 13px; }
  .product-specs-table td:first-child { width: 110px; }
  .yinghuo-hero { padding-top: 120px; }
  .yinghuo-kpis,
  .architecture-grid,
  .feature-grid-4,
  .intro-checklist,
  .snapshot-grid,
  .debug-grid { grid-template-columns: 1fr; }
  .phone-shell,
  .device-detail-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }
  .phone-stage { min-height: auto; display: grid; gap: 18px; }
  .floating-chip { display: none; }
  .doorbell-gallery { gap: 14px; }
  .doorbell-shot { min-height: auto; border-radius: 26px; }
  .doorbell-shot--device,
  .doorbell-shot--live,
  .doorbell-shot--list { padding: 20px 16px; }
  .live-frame { margin-left: -16px; margin-right: -16px; }
  .doorbell-hardware-card { align-items: flex-start; }
}

/* LightMesh 可视化门铃详情页 */
.yinghuo-section--doorbell-teaser {
  padding-top: 8px;
}

.doorbell-teaser-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 42px;
  align-items: center;
  padding: 42px 48px;
  border-radius: 36px;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 100% 0%, rgba(56,189,248,0.12), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,247,255,0.92));
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow: 0 24px 70px rgba(15,23,42,0.09);
}

.doorbell-feature-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.doorbell-link-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b84ff;
  background: rgba(219,234,254,0.72);
  font-weight: 900;
}

.doorbell-teaser-copy .section-title {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.doorbell-teaser-copy .section-title span {
  display: block;
}

.doorbell-teaser-copy .section-desc {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.9;
}

.doorbell-teaser-visual {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.doorbell-teaser-phone {
  width: min(100%, 120px);
  margin: 0;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 27px;
  background: linear-gradient(145deg, #0f172a, #334155 50%, #111827);
  box-shadow:
    0 30px 64px rgba(15,23,42,0.19),
    inset 0 1px 1px rgba(255,255,255,0.2);
}

.doorbell-teaser-visual .doorbell-teaser-phone img {
  width: 100%;
  border-radius: 21px;
  background: #fff;
}

.doorbell-teaser-visual strong {
  color: #0f172a;
  font-size: 18px;
}

.doorbell-teaser-visual span {
  color: #64748b;
  font-size: 13px;
}

.doorbell-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 144px 0 104px;
  background:
    radial-gradient(circle at 14% 18%, rgba(14,165,233,0.13), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(99,102,241,0.12), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f1f6fc 58%, #f8fbff 100%);
}

.doorbell-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(51,65,85,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51,65,85,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.doorbell-detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.doorbell-detail-layout > * {
  min-width: 0;
}

.doorbell-page {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

.doorbell-page .yinghuo-title {
  max-width: 760px;
  margin: 28px 0 24px;
  font-size: clamp(50px, 6.2vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.doorbell-page .yinghuo-title .soft {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #475569;
  text-transform: none;
}

.doorbell-page .yinghuo-lead {
  max-width: 650px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: #526071;
}

.doorbell-capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.doorbell-capability-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(100,116,139,0.14);
  border-radius: 999px;
  color: #334155;
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.doorbell-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.doorbell-visual-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 590px;
  overflow: visible;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: 48px;
  background:
    linear-gradient(rgba(51,65,85,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51,65,85,0.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 26%, rgba(186,230,253,0.62), transparent 42%),
    radial-gradient(circle at 24% 78%, rgba(224,231,255,0.72), transparent 38%),
    rgba(255,255,255,0.28);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  box-shadow:
    0 38px 100px rgba(37,99,235,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.doorbell-phone-frame {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: 48px;
  width: 220px;
  margin: 0;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 42px;
  background: linear-gradient(145deg, #0f172a, #334155 48%, #111827);
  box-shadow:
    0 38px 78px rgba(15,23,42,0.24),
    0 10px 26px rgba(37,99,235,0.10),
    inset 0 1px 1px rgba(255,255,255,0.22);
  transform: rotate(1.25deg);
}

.doorbell-phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 50%;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15,23,42,0.34);
  transform: translateX(-50%);
}

.doorbell-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 33px;
  background: #fff;
}

.doorbell-float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 999px;
  color: #334155;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 800;
}

.doorbell-float-chip--online {
  top: 104px;
  left: -18px;
  color: #166534;
}

.doorbell-float-chip--online i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.12);
}

.doorbell-float-chip--relay {
  right: -10px;
  bottom: 30px;
  color: #1d4ed8;
}

.doorbell-float-panel {
  position: absolute;
  z-index: 3;
  left: 6px;
  bottom: 54px;
  width: 232px;
  padding: 22px;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 32px;
  background: rgba(255,255,255,0.94);
  box-shadow:
    0 34px 78px rgba(15,23,42,0.16),
    inset 0 1px 0 rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.doorbell-float-panel__label {
  display: block;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.doorbell-float-panel > strong {
  display: block;
  margin-bottom: 20px;
  color: #0f172a;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.doorbell-float-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(148,163,184,0.18);
  font-size: 12px;
}

.doorbell-float-panel > div span {
  color: #64748b;
}

.doorbell-float-panel > div b {
  color: #0f172a;
  font-weight: 800;
}

.doorbell-section-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.doorbell-section-heading .section-label {
  margin-bottom: 18px;
  color: #2563eb;
  letter-spacing: 0.16em;
}

.doorbell-section-heading .section-title {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.doorbell-section-heading .section-title span {
  display: block;
}

.doorbell-section-heading .section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.doorbell-experience-section,
.doorbell-reliability-section {
  position: relative;
  background: rgba(248,250,252,0.72);
}

.doorbell-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.doorbell-feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 22px 60px rgba(15,23,42,0.07);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.doorbell-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 76px rgba(15,23,42,0.11);
}

.doorbell-feature-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border-radius: 14px;
  color: #1d4ed8;
  background: linear-gradient(145deg, #eff6ff, #e0e7ff);
  font-size: 12px;
  font-weight: 850;
}

.doorbell-feature-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.doorbell-feature-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.85;
}

.doorbell-product-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
}

.doorbell-product-summary div {
  min-width: 180px;
  text-align: center;
}

.doorbell-product-summary span,
.doorbell-product-summary strong {
  display: block;
}

.doorbell-product-summary span {
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.doorbell-product-summary strong {
  color: #0f172a;
  font-size: 15px;
}

.doorbell-product-summary i {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
}

.doorbell-page .tutorial-timeline {
  max-width: 980px;
  margin: 48px auto 0;
}

.doorbell-page .tutorial-step {
  padding: 30px 34px;
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
  box-shadow: 0 22px 62px rgba(0,0,0,0.14);
}

.doorbell-page .tutorial-step h3 {
  letter-spacing: -0.02em;
}

.doorbell-page .tutorial-step p {
  max-width: 760px;
  line-height: 1.85;
}

.doorbell-page .code-card {
  margin-top: 16px;
  border-radius: 14px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.doorbell-reliability-section .debug-grid {
  margin-top: 48px;
}

.doorbell-reliability-section .debug-card {
  min-height: 210px;
  border: 1px solid rgba(148,163,184,0.16);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 20px 56px rgba(15,23,42,0.06);
}

.doorbell-reliability-section .debug-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.doorbell-reliability-section .debug-card p {
  font-size: 14px;
  line-height: 1.85;
}

.doorbell-page .yinghuo-section {
  padding: 112px 0;
}

.doorbell-page .yinghuo-section--dark .doorbell-section-heading .section-label {
  color: #7dd3fc;
}

.doorbell-page .yinghuo-section--dark .doorbell-section-heading .section-desc {
  color: #aab8cb;
}

.doorbell-page .footer-desc {
  max-width: 500px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .doorbell-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 44px;
  }

  .doorbell-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .doorbell-detail-layout,
  .doorbell-teaser-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .doorbell-detail-layout {
    gap: 56px;
  }

  .doorbell-teaser-card {
    padding: 36px;
    text-align: center;
  }

  .doorbell-teaser-copy .section-desc {
    margin-inline: auto;
  }

  .doorbell-detail-layout > div:first-child {
    text-align: center;
  }

  .doorbell-page .yinghuo-lead {
    margin-inline: auto;
  }

  .doorbell-capability-list,
  .doorbell-page .yinghuo-actions {
    justify-content: center;
  }

  .doorbell-visual-stage {
    width: min(100%, 470px);
    min-height: 570px;
  }

  .doorbell-product-summary {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .doorbell-detail-hero {
    padding: 116px 0 76px;
  }

  .doorbell-page .yinghuo-title {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -0.055em;
  }

  .doorbell-teaser-card {
    gap: 34px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .doorbell-teaser-copy .section-title {
    font-size: 34px;
  }

  .doorbell-teaser-copy .section-desc {
    font-size: 15px;
  }

  .doorbell-teaser-phone {
    width: min(100%, 108px);
  }

  .doorbell-page .yinghuo-title .soft {
    font-size: 21px;
  }

  .doorbell-page .yinghuo-lead {
    font-size: 16px;
    line-height: 1.82;
  }

  .doorbell-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .doorbell-capability-list span {
    justify-content: center;
  }

  .doorbell-page .yinghuo-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }

  .doorbell-page .yinghuo-actions .yinghuo-btn {
    width: 100%;
  }

  .doorbell-visual-stage {
    width: 100%;
    min-height: 470px;
    padding: 0;
    border-radius: 34px;
  }

  .doorbell-phone-frame {
    top: 22px;
    right: 18px;
    width: 166px;
    padding: 7px;
    border-radius: 34px;
  }

  .doorbell-phone-frame img {
    border-radius: 27px;
  }

  .doorbell-phone-frame::before {
    top: 13px;
    width: 42px;
  }

  .doorbell-float-panel {
    left: 8px;
    bottom: 30px;
    width: 190px;
    padding: 17px;
    border-radius: 27px;
  }

  .doorbell-float-panel > strong {
    margin-bottom: 13px;
    font-size: 15px;
  }

  .doorbell-float-panel > div {
    padding: 8px 0;
    font-size: 10px;
  }

  .doorbell-float-chip {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .doorbell-float-chip--online {
    top: 86px;
    left: -4px;
  }

  .doorbell-float-chip--relay {
    top: 282px;
    right: -4px;
    bottom: auto;
  }

  .doorbell-page .yinghuo-section {
    padding: 84px 0;
  }

  .doorbell-section-heading .section-title {
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: -0.05em;
  }

  .doorbell-section-heading .section-desc {
    font-size: 15px;
    line-height: 1.85;
  }

  .doorbell-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }

  .doorbell-feature-card {
    min-height: auto;
    padding: 24px;
  }

  .doorbell-feature-index {
    margin-bottom: 26px;
  }

  .doorbell-product-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .doorbell-product-summary div {
    min-width: 0;
  }

  .doorbell-product-summary i {
    width: 1px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, #38bdf8, #818cf8);
  }

  .doorbell-page .tutorial-step {
    padding: 24px;
  }

  .doorbell-reliability-section .debug-grid {
    grid-template-columns: 1fr;
  }
}
