:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;

  --text-leading: 1.65;
  --text-leading-tight: 1.25;
  --text-paragraph-gap: 1rem;
  --text-block-gap: 1.25rem;

  /* 深色默认主题（原始夜间模式） */
  --body-bg: #030304;
  --surface-bg: #111111;
  --text-color: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.75);
  --topbar-bg: rgba(3, 3, 4, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --ghost-border: rgba(255, 255, 255, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.15);
  --card-bg: rgba(255, 255, 255, 0.02);
  --footer-bg: #050505;
  --band-bg: rgba(255, 255, 255, 0.05);
  --gradient-soft: radial-gradient(circle at top right, #153859, #050912);
  --gradient-commerce: radial-gradient(circle at top left, #2c0c2c, #09030f);
  --gradient-film: radial-gradient(circle at bottom right, #0f3322, #030607);
  --orbital-border: rgba(255, 255, 255, 0.1);
  --orbit-line: rgba(255, 255, 255, 0.08);
  --core-bg: radial-gradient(circle, #0f172a, #020617);
  --core-border: rgba(255, 255, 255, 0.1);

  /* 深色下的轻微拟态基色（供 neo-btn 等使用） */
  --neo-bg: #111111;
  --neo-light: #1b1b1b;
  --neo-dark: #000000;
}

:root[data-theme='light'] {
  color-scheme: light;

  /* 浅色拟态硅胶基础配色（灰度背景 + 高光/阴影） */
  --neo-bg: #e6ebf4;
  --neo-light: #ffffff;
  --neo-dark: #b0b6c3;

  /* 让页面背景略深、卡片略浅，拉开层次 */
  --body-bg: #dde3ef;
  --surface-bg: #edf1fa;
  --text-color: #333333;
  --text-muted: rgba(0, 0, 0, 0.6);
  --topbar-bg: rgba(224, 229, 236, 0.9);
  --border-color: rgba(0, 0, 0, 0.06);
  --ghost-border: rgba(0, 0, 0, 0.23);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.8);
  --card-border: rgba(0, 0, 0, 0.04);
  --card-bg: rgba(255, 255, 255, 0.3);
  --footer-bg: #dde3f0;
  --band-bg: rgba(255, 255, 255, 0.6);
  --gradient-soft: radial-gradient(circle at top right, #f3f6fb, #e0e5ec);
  --gradient-commerce: radial-gradient(circle at top left, #f8f0fa, #e0e5ec);
  --gradient-film: radial-gradient(circle at bottom right, #edf7f1, #e0e5ec);
  --orbital-border: rgba(0, 0, 0, 0.08);
  --orbit-line: rgba(0, 0, 0, 0.08);
  --core-bg: radial-gradient(circle, #ffffff, #dbe0ec);
  --core-border: rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  background-color: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  scroll-behavior: smooth;
  line-height: var(--text-leading);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-break: strict;
}

body.intro-active {
  overflow: hidden;
}

p,
ul,
ol,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: var(--text-leading-tight);
}

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

/* 首屏点击进入 · Intro 过场 */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: radial-gradient(circle at top, #141414 0%, #030304 55%, #000000 100%);
  color: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

body.intro-active .intro-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-inner {
  max-width: 520px;
  text-align: center;
  display: grid;
  gap: 1.2rem;
  transform: translateY(10px);
  opacity: 0.96;
  transition:
    transform 0.7s ease-out,
    opacity 0.7s ease-out;
}

body.intro-active .intro-inner {
  transform: translateY(0);
  opacity: 1;
}

.intro-logo-button {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  color: inherit;
  perspective: 900px;
}

.intro-logo-mark {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.intro-logo-image {
  width: 118px;
  height: auto;
  display: block;
}

.intro-kicker {
  margin: 0.6rem 0 0;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.8;
}

.intro-subline {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 245, 247, 0.7);
}

.intro-hint {
  margin: 0.8rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: none;
  opacity: 0.6;
}

.intro-overlay.is-fading {
  opacity: 0;
  visibility: hidden;
}

.intro-overlay.is-hidden,
.intro-overlay.is-hidden-no-anim {
  display: none;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #64a7ff, #b3f5ff);
  display: inline-block;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  opacity: 0.8;
  position: relative;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  color: #ffffff;
}

.cta {
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    filter 0.2s ease;
}

.cta.primary {
  background: linear-gradient(120deg, #1f7cff, #6cffd3);
  color: #030304;
  box-shadow: 0 10px 26px rgba(32, 124, 255, 0.38);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ghost-border);
  background: transparent;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

:root[data-theme='light'] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.theme-toggle__icon {
  font-size: 1rem;
}

.cta.ghost {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--ghost-border);
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

/* 主题化：按钮的拟态和层次感 */
:root[data-theme='light'] .cta.primary,
:root[data-theme='light'] .product-consult {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 235, 244, 1));
  color: #111827;
  box-shadow:
    10px 10px 24px rgba(176, 182, 195, 0.85),
    -10px -10px 24px rgba(255, 255, 255, 1);
}

:root[data-theme='light'] .cta.ghost {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    6px 6px 16px rgba(176, 182, 195, 0.55),
    -6px -6px 14px rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

:root[data-theme='light'] .cta.primary:hover,
:root[data-theme='light'] .product-consult:hover,
:root[data-theme='light'] .cta.ghost:hover {
  transform: translateY(-1px);
  box-shadow:
    14px 14px 28px rgba(176, 182, 195, 0.9),
    -12px -12px 26px rgba(255, 255, 255, 1);
}

/* 深色主题下保持略带浮起的按钮质感 */
:root:not([data-theme='light']) .cta.primary,
:root:not([data-theme='light']) .product-consult {
  box-shadow: 0 12px 32px rgba(32, 124, 255, 0.45);
}

:root:not([data-theme='light']) .cta.ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 3rem;
  padding: 4rem 5vw 2rem;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0.5rem 0;
}

.hero-subtitle {
  max-width: 460px;
  color: var(--text-muted);
}

.hero-text p + p {
  margin-top: var(--text-paragraph-gap);
}

.hero-english {
  margin: 0.5rem 0 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-color);
  opacity: 0.8;
}

.slogan-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: #0b0b0c;
  background: linear-gradient(120deg, #d4ff3b, #7bff0f);
  box-shadow: 0 12px 30px rgba(123, 255, 15, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.slogan-link span {
  position: relative;
  z-index: 1;
}

.slogan-link svg {
  width: 24px;
  height: 24px;
}

.slogan-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slogan-link:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 16px 34px rgba(123, 255, 15, 0.45);
}

.slogan-link:hover::after {
  opacity: 1;
}

.slogan-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(123, 255, 15, 0.4);
}

/* 浅色主题下，“探索我们的实践”采用硅胶 + 玻璃混合效果 */
:root[data-theme='light'] .slogan-link {
  color: #111827;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 238, 248, 1));
  border-radius: 999px;
  padding-inline: 1.1rem;
  box-shadow:
    10px 10px 26px rgba(176, 182, 195, 0.9),
    -10px -10px 26px rgba(255, 255, 255, 1);
  backdrop-filter: blur(18px) saturate(145%);
}

:root[data-theme='light'] .slogan-link:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    14px 14px 30px rgba(176, 182, 195, 0.95),
    -14px -14px 30px rgba(255, 255, 255, 1);
}

:root[data-theme='light'] .slogan-link:focus-visible {
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.6),
    8px 8px 20px rgba(176, 182, 195, 0.8),
    -8px -8px 20px rgba(255, 255, 255, 1);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.orbital {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed var(--orbital-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--orbit-line);
}

.orbit-soft {
  width: 65%;
  height: 65%;
  animation: pulse 8s linear infinite;
}

.orbit-commerce {
  width: 85%;
  height: 85%;
  animation: pulse 10s linear infinite reverse;
}

.orbit-film {
  width: 100%;
  height: 100%;
  animation: pulse 14s linear infinite;
}

.core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--core-bg);
  border: 1px solid var(--core-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero-caption {
  opacity: 0.7;
  font-size: 0.9rem;
}

.panel {
  padding: 4rem 5vw;
  border-radius: 32px;
  margin: 2rem 5vw;
  background: var(--surface-bg);
  position: relative;
  box-shadow:
    10px 10px 24px rgba(0, 0, 0, 0.08),
    -8px -8px 20px rgba(255, 255, 255, 0.7);
}

.panel + .panel {
  margin-top: 0;
}

/* 浅色主题下：加强卡片与背景的拟态层次感 */
:root[data-theme='light'] .panel,
:root[data-theme='light'] .product-card,
:root[data-theme='light'] .glass,
:root[data-theme='light'] .screen,
:root[data-theme='light'] .cta-band,
:root[data-theme='light'] .consult-modal__card,
:root[data-theme='light'] .video-modal__content {
  box-shadow:
    14px 14px 30px rgba(176, 182, 195, 0.75),
    -12px -12px 28px rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.9);
}

.gradient.soft {
  background: var(--gradient-soft);
}

.gradient.commerce {
  background: var(--gradient-commerce);
}

.gradient.film {
  background: var(--gradient-film);
}

.panel-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.panel-kicker {
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.panel-content p + p {
  margin-top: var(--text-paragraph-gap);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.feature-list li::before {
  content: '•';
  color: #6cffd3;
  margin-right: 0.5rem;
}

.panel-media {
  display: flex;
  justify-content: center;
}

.panel-linkable {
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.panel-linkable::after {
  content: '';
  position: absolute;
  inset: 0;
}

.panel-linkable:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.glass {
  width: 260px;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--neo-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.8);
}

.code-lines {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: 'SFMono-Regular', Consolas, monospace;
  opacity: 0.8;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #41f1b6;
  margin-top: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--neo-bg);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    10px 10px 26px rgba(0, 0, 0, 0.26),
    -8px -8px 20px rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.9);
}

.product-consult {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(120deg, #1f7cff, #6cffd3);
  color: #030304;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-consult:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(32, 124, 255, 0.25);
}

.screen-wall {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.screen {
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--neo-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.65),
    transparent 55%,
    rgba(255, 255, 255, 0.18)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.screen:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    10px 16px 30px rgba(0, 0, 0, 0.4),
    -6px -6px 16px rgba(255, 255, 255, 0.85);
}

.screen:hover::after {
  opacity: 1;
}

.statement {
  text-align: center;
  padding: 4rem 5vw;
  max-width: 760px;
  margin: 0 auto;
}

.statement-kicker {
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.6;
}

.statement-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.story-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 5vw;
  text-align: left;
  line-height: var(--text-leading);
}

.story-block h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.story-block p + p {
  margin-top: 1rem;
}

.consult-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.consult-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.consult-modal__card {
  width: min(420px, 90vw);
  background: var(--neo-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  box-shadow:
    10px 10px 24px rgba(0, 0, 0, 0.1),
    -8px -8px 20px rgba(255, 255, 255, 0.75);
}

.consult-modal__card h2 {
  margin-top: 0;
}

.consult-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.consult-description {
  color: var(--text-muted);
}

.consult-body {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.consult-qr {
  text-align: center;
  display: grid;
  gap: 0.6rem;
}

.consult-qr img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.consult-form .cta {
  width: 100%;
  justify-content: center;
}

.consult-product {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.video-modal.is-active {
  opacity: 1;
  pointer-events: all;
}

.video-modal__content {
  position: relative;
  width: min(960px, 90vw);
  background: var(--neo-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    10px 10px 24px rgba(0, 0, 0, 0.1),
    -8px -8px 20px rgba(255, 255, 255, 0.75);
}

.video-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.video-modal video {
  width: 100%;
  display: block;
}

.video-note {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.video-preview {
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.video-preview:hover {
  transform: scale(1.02);
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e, #16213e); /* 默认背景色，当没有封面图片时显示 */
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.video-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
}

.play-button {
  font-size: 4rem;
  color: #fff;
  opacity: 0.8;
  z-index: 1;
  transition: opacity 0.2s ease;
}

.video-preview:hover .play-button {
  opacity: 1;
}

.video-preview p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
}

.cta-band {
  margin: 4rem 5vw;
  padding: 2rem 3rem;
  border-radius: 28px;
  background: var(--neo-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.08),
    -6px -6px 16px rgba(255, 255, 255, 0.75);
}

.narrative-cta {
  background: var(--neo-bg);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* 浅色主题：卡片与玻璃层的拟态 + 毛玻璃效果 */
:root[data-theme='light'] .glass,
:root[data-theme='light'] .cta-band,
:root[data-theme='light'] .consult-modal__card,
:root[data-theme='light'] .video-modal__content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(237, 241, 250, 0.95));
  backdrop-filter: blur(22px) saturate(150%);
}

:root[data-theme='light'] .product-card,
:root[data-theme='light'] .screen {
  background: radial-gradient(circle at top left, #ffffff, rgba(237, 241, 250, 0.98));
}

.narrative-actions {
  flex-direction: column;
  align-items: stretch;
}

.subscribe-form {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.subscribe-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.subscribe-form input[type='email'] {
  border-radius: 999px;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--text-color);
}

.subscribe-form button {
  width: 100%;
  justify-content: center;
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.subscribe-message {
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.subscribe-message.show {
  display: block !important;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 凸起的硅胶拟态按钮（仅用于需要极强硅胶感的场景） */
.neo-btn {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  background-image: linear-gradient(145deg, var(--neo-light), var(--neo-dark));
  box-shadow:
    6px 6px 12px var(--neo-dark),
    -6px -6px 12px var(--neo-light);
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background-image 0.15s ease-out;
}

/* 浅色主题下按钮层次更强一点 */
:root[data-theme='light'] .neo-btn {
  box-shadow:
    10px 10px 24px rgba(176, 182, 195, 0.8),
    -10px -10px 24px rgba(255, 255, 255, 1);
}

.neo-btn:active {
  transform: translateY(1px);
  box-shadow:
    3px 3px 6px var(--neo-dark),
    -3px -3px 6px var(--neo-light);
}

footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 5vw;
  background: var(--footer-bg);
  position: relative;
  overflow: hidden;
}

.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.footer-particles canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(0.3px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

footer h5 {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer a {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-meta {
  margin-top: 2rem;
  opacity: 0.5;
  font-size: 0.85rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

/* 入口 / 滚动渐入动画 */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero.reveal-on-scroll {
  transform: translateY(30px);
}

/* 轻微视差动画：轨道与核心在滚动中产生位移 */
@media (prefers-reduced-motion: no-preference) {
  .orbital {
    will-change: transform;
    transition: transform 0.7s ease-out;
  }
}

/* 光标跟随微光点 */
.cursor-orbit {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 252, 255, 0.9), rgba(0, 0, 0, 0));
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  filter: blur(1px);
  transition: opacity 0.3s ease;
  z-index: 999;
}

@media (hover: hover) and (pointer: fine) {
  body.is-pointer-active .cursor-orbit {
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cursor-orbit {
    display: none;
  }
}

/* 页面转场（旧页 -> 新页） */
body.has-page-transitions [data-mishi-app] {
  will-change: transform, opacity, filter;
  transition:
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 360ms ease-out,
    filter 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

body.is-page-navigating [data-mishi-app] {
  pointer-events: none;
}

body.is-page-leaving [data-mishi-app] {
  opacity: 0.35;
  transform: translate3d(0, 8px, 0) scale(0.996);
  filter: blur(4px);
}

.mishi-page-transition {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease-out;
}

body.is-page-navigating .mishi-page-transition {
  opacity: 1;
  pointer-events: all;
}

.mishi-page-transition .mpt__layer {
  position: absolute;
  inset: -10vh -8vw;
  transform: translate3d(-106%, 0, 0);
  transition: transform 440ms cubic-bezier(0.19, 1, 0.22, 1);
  background: radial-gradient(circle at 30% 20%, rgba(108, 255, 211, 0.1), rgba(3, 3, 4, 0.96) 60%);
}

.mishi-page-transition .mpt__layer--two {
  transition-duration: 480ms;
  transition-delay: 40ms;
  background: radial-gradient(circle at 70% 60%, rgba(31, 124, 255, 0.16), rgba(3, 3, 4, 0.96) 62%);
}

.mishi-page-transition .mpt__loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(7, 9, 14, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 220ms ease-out, transform 320ms cubic-bezier(0.19, 1, 0.22, 1);
}

.mishi-page-transition .mpt__ring-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mishi-page-transition .mpt__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(108, 255, 211, 0.3);
  border-top-color: rgba(108, 255, 211, 0.95);
  animation: mpt-spin 1100ms linear infinite;
}

.mishi-page-transition .mpt__ring--inner {
  inset: 6px;
  border-color: rgba(31, 124, 255, 0.22);
  border-bottom-color: rgba(31, 124, 255, 0.96);
  animation-duration: 860ms;
  animation-direction: reverse;
}

.mishi-page-transition .mpt__core {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #030304;
  background: linear-gradient(135deg, #6cffd3, #1f7cff);
  box-shadow: 0 0 16px rgba(108, 255, 211, 0.45);
  animation: mpt-core-pulse 1000ms ease-in-out infinite;
}

.mishi-page-transition .mpt__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mishi-page-transition .mpt__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(245, 245, 247, 0.92);
}

.mishi-page-transition .mpt__loading-text {
  font-size: 11px;
  color: rgba(245, 245, 247, 0.7);
}

.mishi-page-transition .mpt__dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mishi-page-transition .mpt__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6cffd3, #1f7cff);
  box-shadow: 0 0 18px rgba(108, 255, 211, 0.35);
  animation: mpt-bounce 900ms ease-in-out infinite;
}

.mishi-page-transition .mpt__dot:nth-child(2) {
  animation-delay: 110ms;
}

.mishi-page-transition .mpt__dot:nth-child(3) {
  animation-delay: 220ms;
}

body.is-page-leaving .mishi-page-transition .mpt__layer {
  transform: translate3d(0, 0, 0);
}

body.is-page-entering .mishi-page-transition .mpt__layer {
  transform: translate3d(106%, 0, 0);
}

body.is-page-navigating .mishi-page-transition .mpt__loader {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes mpt-bounce {
  0%,
  100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-8px) scale(1.08);
    opacity: 1;
  }
}

@keyframes mpt-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mpt-core-pulse {
  0%,
  100% {
    transform: scale(0.9);
    filter: brightness(0.95);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.1);
  }
}

/* 下滑自动衔接：长页拼接（stitch） */
.mishi-stitch-page {
  position: relative;
}

.mishi-stitch-marker {
  position: absolute;
  top: 20vh;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

.mishi-stitch-seam {
  position: relative;
  height: clamp(96px, 12vh, 160px);
  pointer-events: none;
  overflow: hidden;
}

.mishi-stitch-seam::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 10%, rgba(108, 255, 211, 0.14), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(31, 124, 255, 0.18), transparent 60%),
    linear-gradient(to bottom, rgba(3, 3, 4, 0), rgba(3, 3, 4, 0.92) 55%, rgba(3, 3, 4, 0));
  opacity: 0;
  transform: translateY(10px) scaleY(0.92);
  filter: blur(0px);
  transition:
    opacity 520ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 520ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

:root[data-theme='light'] .mishi-stitch-seam::before {
  background:
    radial-gradient(circle at 30% 10%, rgba(108, 255, 211, 0.22), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(31, 124, 255, 0.22), transparent 60%),
    linear-gradient(to bottom, rgba(221, 227, 239, 0), rgba(221, 227, 239, 0.95) 55%, rgba(221, 227, 239, 0));
}

.mishi-stitch-seam.is-revealed::before {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  filter: blur(1px);
}

body.is-stitch-loading .mishi-stitch-seam::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.has-page-transitions [data-mishi-app] {
    transition: none !important;
  }

  .mishi-page-transition {
    display: none !important;
  }

  .mishi-stitch-seam::before {
    transition: none !important;
  }

  .mishi-page-transition .mpt__dot {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel {
    margin: 2rem 0;
    border-radius: 0;
  }

  .cta-band {
    margin-inline: 0;
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero {
    padding-top: 3rem;
  }

  .footer-grid {
    gap: 1.25rem;
  }
}


