/* 全局高级设计系统 CSS */

:root {
  --background: oklch(13% 0.018 155);
  --surface: oklch(17% 0.018 155);
  --surface-soft: oklch(20% 0.014 155 / 0.72);
  --white: oklch(93% 0.018 95);
  --muted: oklch(78% 0.026 112 / 0.72);
  --dim: oklch(71% 0.022 112 / 0.44);
  --line: oklch(94% 0.018 95 / 0.09);
  --line-bright: oklch(94% 0.018 95 / 0.2);
  --glass: oklch(94% 0.018 95 / 0.028);
  --glass-active: oklch(94% 0.018 95 / 0.085);
  --accent-leaf: oklch(70% 0.105 142);
  --accent-moss: oklch(47% 0.07 142);
  --accent-copper: oklch(68% 0.095 62);
  --accent-ink: oklch(22% 0.026 160);
  --nav-height: 72px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "New York", "Iowan Old Style", Georgia, serif;

  /* 动效曲线系统 */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--background);
  color: var(--white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* 极细半透明网格背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  background-image:
    linear-gradient(oklch(94% 0.018 95 / 0.018) 1px, transparent 1px),
    linear-gradient(90deg, oklch(94% 0.018 95 / 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 85%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -9;
  background:
    radial-gradient(circle at 78% 18%, oklch(53% 0.07 142 / 0.16), transparent 34%),
    radial-gradient(circle at 18% 80%, oklch(64% 0.09 62 / 0.11), transparent 30%),
    linear-gradient(180deg, oklch(13% 0.018 155), oklch(10% 0.014 155));
  pointer-events: none;
}

.revival-progress {
  position: fixed;
  left: 18px;
  top: calc(var(--nav-height) + 20px);
  bottom: 24px;
  width: 1px;
  z-index: 120;
  background: oklch(94% 0.018 95 / 0.08);
  pointer-events: none;
}

.revival-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(180deg, var(--accent-leaf), var(--accent-copper));
  box-shadow: 0 0 18px oklch(70% 0.105 142 / 0.28);
}

/* 高级导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: oklch(13% 0.018 155 / 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out-quart), backdrop-filter 0.4s, border-color 0.4s;
}

/* Layer 6：导航栏滚动状态 */
.navbar.scrolled {
  background: oklch(13% 0.018 155 / 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-bright);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 32px);
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--white);
}

.nav-links .nav-project-link {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}

.nav-links .nav-project-link:hover {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-links .nav-btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.nav-links .nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* 极简高档中英文切换器 */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px;
  position: relative;
  cursor: pointer;
  user-select: none;
  align-items: center;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  border: none;
  background: transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--font-display);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  color: oklch(14% 0.018 155) !important;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.15);
}

/* 移动端菜单切换按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 14px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* 移动端抽屉菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100dvh;
  background: oklch(13% 0.018 155 / 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--line);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--white);
}

.mobile-lang-switcher {
  margin-top: 8px;
}

.mobile-lang-switcher .lang-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
}

body.no-scroll {
  overflow: hidden;
}

/* 导航栏激活状态动画 */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 100dvh;
  padding-top: calc(var(--nav-height) + 40px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
  /* Layer 1：Hero 入场编排 */
  animation: heroFadeUp 700ms var(--ease-out-expo) both;
  animation-delay: 0ms;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 28px;
  color: var(--white);
  text-wrap: balance;
  animation: heroFadeUp 700ms var(--ease-out-expo) both;
  animation-delay: 100ms;
}

.hero-subtitle {
  font-size: 22px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 44px;
  font-weight: 400;
  animation: heroFadeUp 700ms var(--ease-out-expo) both;
  animation-delay: 200ms;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: heroFadeUp 700ms var(--ease-out-expo) both;
  animation-delay: 300ms;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: oklch(14% 0.018 155);
}

.btn-primary:hover {
  background: oklch(96% 0.018 95);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px oklch(70% 0.105 142 / 0.13);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-bright);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.glow-sphere {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70% 0.105 142 / 0.22), oklch(68% 0.095 62 / 0.14) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  /* Layer 1 入场 + Layer 3 呼吸脉动 */
  animation: heroScaleIn 900ms var(--ease-out-expo) 600ms both, glowPulse 6s ease-in-out 1.5s infinite;
}

.explore-scroll-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease-out-quart), transform 0.3s var(--ease-out-quart);
  padding: 12px 0;
}

.explore-scroll-btn:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.preview-card-wrapper {
  position: relative;
  z-index: 2;
  width: 235px;
  height: 480px;
}

.hero-static-card {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 25px 55px rgba(0, 0, 0, 0.65));
  /* Layer 1 入场 + Layer 4 微浮动 */
  animation: heroScaleIn 800ms var(--ease-out-expo) 400ms both, gentleFloat 5s ease-in-out 1.2s infinite;
}

.hero-static-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}


/* 概念核心介绍 */
.concept-brief {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-desc {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 680px;
}

.interactive-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.interactive-header .section-desc {
  margin: 0 auto;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.concept-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.3s, transform 0.3s;
}

.concept-item:hover {
  border-color: var(--line-bright);
  transform: translateY(-4px);
}

.concept-icon {
  font-size: 24px;
  color: var(--dim);
  margin-bottom: 20px;
}

.concept-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.concept-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* 3D 翻转交互演示区 */
/* ====================================================
   5. 故事化全屏滚动交互区 (INTERFACE MODES)
   ==================================================== */
.design-story-section {
  position: relative;
  height: 100dvh; /* 多余滚动距离由 ScrollTrigger pin 机制支撑，消除尾部黑色空白 */
  background: linear-gradient(180deg, oklch(11% 0.018 155), oklch(13% 0.02 155));
  border-top: 1px solid var(--line);
}

.design-sticky-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height); /* 预留导航栏高度安全区 */
  box-sizing: border-box;
}

.design-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px; /* 底部呼吸边距 */
  height: 100%;
  position: relative;
}

/* 左侧故事文案排版 */
.design-story-side {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
}

.design-story-header {
  position: absolute;
  top: clamp(28px, 6vh, 64px);
  left: 0;
  width: 100%;
  pointer-events: none;
}

.design-story-header .section-eyebrow {
  margin-bottom: 8px;
}

.design-story-header .section-title {
  font-size: 32px;
  margin-bottom: 0;
  opacity: 0.85;
}

.story-cards-container {
  position: relative;
  width: 100%;
  height: 300px; /* 给文字内容一个固定容器高度，方便绝对定位重叠 */
}

.story-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* 平滑过渡的降级 */
  transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart), visibility 0.8s;
  transform: translateY(30px);
}

.story-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.story-card-bg-num {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  position: absolute;
  top: -70px;
  left: -20px;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.story-card-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.3;
}

.story-card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}

/* 右侧视觉展示 */
.design-visual-side {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* 艺术环境氛围光晕 */
.design-glow-aura {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70% 0.105 142 / 0.08), transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  transition: background 1.2s ease-in-out, filter 1.2s ease-in-out;
  transform: translate3d(0,0,0);
}

/* 3D 卡片与物理容器 */
.device-3d-scene {
  perspective: 1200px;
  z-index: 3;
}

.device-3d-card {
  position: relative;
  width: clamp(280px, 28vw, 420px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: transform 0.1s linear, filter 0.8s ease, box-shadow 0.8s ease, aspect-ratio 0.4s ease; /* 脚本微调旋转，平滑过滤 */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.device-3d-card[data-active-index="3"] {
  aspect-ratio: 67 / 60;
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 36px;
  overflow: hidden;
}

.card-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.face-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.face-back {
  transform: rotateY(180deg);
}

/* 屏幕映射叠层 */
.device-screen-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  z-index: 5;
  background: transparent;
  pointer-events: none;
}

.device-screen-overlay .screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  filter: brightness(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.device-screen-overlay .screen-shot.active {
  opacity: 1;
  transform: scale(1);
}

/* 极简锚点指示器 */
.design-scroll-nav {
  position: absolute;
  right: clamp(-80px, -5vw, -40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.nav-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--dim);
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  transition: color 0.4s;
}

.nav-dot span {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s var(--ease-out-quart), transform 0.4s var(--ease-out-quart);
}

.nav-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-bright);
  transition: background 0.4s, transform 0.4s;
}

.nav-dot:hover::after {
  background: var(--dim);
  transform: scale(1.3);
}

.nav-dot.active {
  color: var(--white);
}

.nav-dot.active span {
  opacity: 1;
  transform: translateX(0);
}

.nav-dot.active::after {
  background: var(--white);
  transform: scale(1.6);
}

/* 移动端降级专属视觉框架 */
.mobile-story-visual {
  display: none;
}

/* 故事化全屏交互区降级 (支持无 GSAP 模式及无障碍模式) */
body.no-gsap .design-story-section {
  height: auto !important;
}

body.no-gsap .design-sticky-wrapper {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
}

body.no-gsap .design-container {
  grid-template-columns: 1fr;
  gap: 60px;
  height: auto !important;
  padding: 80px 24px 40px !important;
}

body.no-gsap .design-story-side {
  height: auto !important;
}

body.no-gsap .design-story-header {
  position: relative !important;
  top: 0 !important;
  margin-bottom: 40px;
}

body.no-gsap .story-cards-container {
  height: auto !important;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

body.no-gsap .story-card {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}

body.no-gsap .story-card-bg-num {
  top: -50px;
}

body.no-gsap .story-card-title {
  font-size: 28px;
}

body.no-gsap .design-visual-side {
  display: none !important; /* 隐藏桌面端 3D 卡片 */
}

body.no-gsap .design-scroll-nav {
  display: none !important; /* 隐藏指示器 */
}

body.no-gsap .mobile-story-visual {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 30px auto 0;
}

/* UI 画廊 Section */
.ui-preview-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.005);
}

.ui-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.ui-tile {
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}

.tile-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.tile-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.tile-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.tile-label span {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* UI Tile Hover 效果 - 仅保留边框和发光，倾斜由 GSAP 顺滑接管 */
.ui-tile:hover .tile-frame {
  border-color: var(--line-bright);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 255, 255, 0.02);
}

/* Environmental revival chapter */
.reuse-section {
  position: relative;
  padding: 150px 0 170px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, oklch(13% 0.018 155 / 0.68), oklch(11% 0.016 155 / 0.9)),
    radial-gradient(circle at 72% 44%, oklch(70% 0.105 142 / 0.1), transparent 34%);
  overflow: hidden;
}

.reuse-section::before {
  content: "";
  position: absolute;
  inset: 28px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(68% 0.095 62 / 0.28), transparent);
}

.reuse-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  grid-template-areas:
    "copy object"
    "principles object";
  gap: 64px 76px;
  align-items: center;
}

.reuse-copy {
  grid-area: copy;
  max-width: 620px;
}

.reuse-copy .section-title {
  max-width: 700px;
  text-wrap: balance;
}

.reuse-copy .section-desc {
  max-width: 620px;
}

.revival-object {
  grid-area: object;
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.revival-object::before {
  content: "";
  position: absolute;
  width: min(460px, 85vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(70% 0.105 142 / 0.22), transparent 68%);
  filter: blur(16px);
  z-index: -1;
}

.revival-object-label {
  position: absolute;
  left: 2%;
  top: 12%;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.revival-object-label.after {
  left: auto;
  right: 0;
  top: auto;
  bottom: 10%;
  color: var(--accent-leaf);
}

.revival-phone-stack {
  position: relative;
  width: min(290px, 58vw);
  height: 560px;
  z-index: 2;
}

.revival-phone {
  position: absolute;
  width: 235px;
  height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 30px 58px rgba(0, 0, 0, 0.62)) brightness(1.08) contrast(1.06);
  will-change: transform, opacity;
}

.revival-phone-back {
  left: -42px;
  top: 34px;
  opacity: 0.42;
  transform: rotate(-11deg) translateY(18px);
}

.revival-phone-front {
  right: -20px;
  top: 0;
  transform: rotate(6deg);
}

.revival-wave {
  position: absolute;
  left: 50%;
  bottom: 120px;
  display: flex;
  align-items: end;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 3;
}

.revival-wave span {
  width: 4px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-leaf), var(--accent-copper));
  opacity: 0.62;
  animation: waveRise 1.8s ease-in-out infinite;
}

.revival-wave span:nth-child(2) {
  height: 54px;
  animation-delay: 120ms;
}

.revival-wave span:nth-child(3) {
  height: 42px;
  animation-delay: 240ms;
}

.revival-wave span:nth-child(4) {
  height: 64px;
  animation-delay: 360ms;
}

.reuse-principles {
  grid-area: principles;
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.reuse-principle {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.reuse-principle:last-child {
  border-bottom: 1px solid var(--line);
}

.reuse-principle span {
  color: var(--accent-copper);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.reuse-principle p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}

/* 高档页脚 */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0;
  background: #020203;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

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

.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.footer-copyright {
  font-size: 13px;
  color: var(--dim);
}

.footer-links {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

/* FAQ 详情框与联系表单 (用于技术支持页) */
.faq-section {
  padding: 120px 0;
  min-height: calc(100dvh - var(--nav-height) - 180px);
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  padding: 20px;
  transition: all 0.3s;
}

details[open] {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.03);
}

summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--dim);
  transition: transform 0.3s;
}

details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.005);
}

.contact-container {
  max-width: 580px;
  margin: 0 auto;
}

.support-contact-links {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.support-contact-line,
.support-email {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.support-contact-line a,
.support-email a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
}

.submit-btn {
  width: 100%;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
}

/* 提示弹窗 (Toast) */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-bright);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  z-index: 200;
  transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.toast.show {
  bottom: 40px;
}

/* 简约合规页面样式 (Privacy & Terms) */
.doc-section {
  padding: 120px 0;
  min-height: calc(100dvh - var(--nav-height) - 180px);
}

.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.doc-container h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
}

.doc-meta {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 40px;
}

.doc-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.doc-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.doc-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.doc-content li {
  margin-bottom: 8px;
}

/* 响应式媒体查询 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 72px;
  }
  .design-container {
    gap: 40px;
  }
  .ui-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .revival-progress {
    display: none;
  }

  /* 移动端导航 */
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 20px);
    text-align: center;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 17px;
    margin: 0 auto 32px;
  }
  .section-title {
    font-size: 36px;
  }
  .section-desc {
    font-size: 16px;
  }
  .hero-ctas {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  .hero-ctas .btn,
  .hero-ctas .explore-scroll-btn {
    white-space: nowrap;
  }
  .hero-visual {
    order: -1;
  }
  .glow-sphere {
    width: 300px;
    height: 300px;
  }
  .preview-card-wrapper {
    width: 160px;
    height: 327px;
  }

  /* Concept */
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 故事化全屏交互区降级 */
  .design-story-section {
    height: auto !important;
  }

  .design-sticky-wrapper {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }

  .design-container {
    grid-template-columns: 1fr;
    gap: 60px;
    height: auto !important;
    padding: 80px 24px 40px !important;
  }

  .design-story-side {
    height: auto !important;
  }

  .design-story-header {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 40px;
  }

  .story-cards-container {
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .story-card {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .story-card-bg-num {
    top: -50px;
  }

  .story-card-title {
    font-size: 28px;
  }

  .design-visual-side {
    display: none !important; /* 隐藏桌面端 3D 卡片 */
  }

  .design-scroll-nav {
    display: none !important; /* 隐藏指示器 */
  }

  /* 显示移动端专属图文卡片 */
  .mobile-story-visual {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 30px auto 0;
  }

  .mobile-device-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    overflow: hidden;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
  }

  .story-card[data-index="3"] .mobile-device-frame {
    aspect-ratio: 67 / 60;
  }

  .mobile-phone-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
    z-index: 2;
  }

  /* UI Gallery */
  .ui-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .reuse-section {
    padding: 100px 0 120px;
  }

  .reuse-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "object"
      "principles";
    gap: 48px;
  }

  .revival-object {
    min-height: 500px;
  }

  .revival-object-label {
    left: 10%;
  }

  .revival-object-label.after {
    right: 8%;
  }

  .reuse-principle {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  /* Docs */
  .doc-container h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 42px;
  }
  .ui-gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ==========================================
   新增扩展板块样式 (Scenarios, Specs, FAQ)
   ========================================== */

/* 日常故事板块 */
.story-section {
  padding: 160px 0;
  border-top: 1px solid var(--line);
}

.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 40px;
}

.story-content {
  max-width: 440px;
}

.story-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.story-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1.2;
}

.story-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-visual .visual-wrapper {
  border: 1px solid var(--line);
  border-radius: 44px;
  overflow: hidden;
  background: #060608;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  max-width: 340px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.6s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}

.story-visual .visual-wrapper img {
  width: 100%;
  display: block;
  transform: scale(1.06);
  transition: transform 0.6s var(--ease-out-expo);
}

.story-visual .visual-wrapper:hover {
  border-color: var(--line-bright);
}

.story-visual .visual-wrapper:hover img {
  transform: scale(1.12);
}

/* 主题展示模块：无背景平铺图标拼贴墙 */
.theme-icons-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 420px;
  padding: 10px;
  align-items: center;
  justify-items: center;
}

.theme-icons-mosaic img {
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  cursor: pointer;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
  opacity: 1;
}

/* 滚动 Stagger 初始前置状态 */
.story-section.js-reveal .theme-icons-mosaic img {
  opacity: 0;
  transform: scale(0.7) translateY(12px);
  transition: transform 0.9s var(--ease-out-expo), opacity 0.9s var(--ease-out-expo), filter 0.3s;
}

/* 激活后按照 transitionDelay 顺序优雅滑入 */
.story-section.active .theme-icons-mosaic img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.theme-icons-mosaic img:hover {
  transform: scale(1.18) translateY(-6px) !important;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.8)) brightness(1.1);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
}

/* 相机滤镜面板 */
.filter-panel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.filter-glass-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.filter-glass-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.filter-glass-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.06;
  transform-origin: top left;
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.filter-glass-item.kodak::before {
  background: radial-gradient(circle at top left, #ffc837, #ff8008);
}

.filter-glass-item.chrome::before {
  background: radial-gradient(circle at top left, #a1c4fd, #c2e9fb);
}

.filter-glass-item.hk::before {
  background: radial-gradient(circle at top left, #00f2fe, #4facfe);
}

.filter-glass-item.pop::before {
  background: radial-gradient(circle at top left, #ff0844, #ffb199);
}

.filter-glass-item:hover {
  border-color: var(--line-bright);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.filter-glass-item:hover::before {
  opacity: 0.22;
  animation: filterGlowMove 7s infinite ease-in-out;
}

@keyframes filterGlowMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, -8%) scale(1.22);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.filter-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}

/* 交错排序 */
@media (min-width: 769px) {
  .story-section.img-left .story-content {
    order: 2;
  }
  .story-section.img-left .story-visual {
    order: 1;
  }
}

/* 技术规格板块 */
.specs-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.005);
}

.specs-header {
  text-align: center;
  margin-bottom: 64px;
}

/* specs Bento 矩阵排版 */
.specs-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 60px;
  perspective: 1200px;
}

@media (max-width: 1024px) {
  .specs-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .specs-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.spec-bento-card {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 35px 25px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.02);
  transition: border-color 0.5s, box-shadow 0.5s;
  min-height: 280px;
  box-sizing: border-box;
  cursor: pointer;
}

.bento-icon-wrapper {
  background: linear-gradient(135deg, rgba(112, 168, 142, 0.08), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(112, 168, 142, 0.15);
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-leaf);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), background-color 0.4s;
  transform-style: preserve-3d;
}

.bento-svg-icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  transition: stroke 0.3s;
}

.bento-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bento-card-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
}

/* Bento Card Hover states */
.spec-bento-card:hover {
  border-color: rgba(112, 168, 142, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 15px rgba(112, 168, 142, 0.05);
}

.spec-bento-card:hover .bento-icon-wrapper {
  transform: translateZ(15px) scale(1.08);
  background: linear-gradient(135deg, rgba(112, 168, 142, 0.18), rgba(255, 255, 255, 0.02));
  border-color: rgba(112, 168, 142, 0.4);
  box-shadow: 0 8px 20px rgba(112, 168, 142, 0.2);
  color: var(--white);
}

/* FAQ 板块 */
.faq-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
  font-family: var(--font-display);
}

.faq-trigger:hover {
  color: rgba(255, 255, 255, 0.85);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--dim);
  transition: transform 0.4s var(--ease-out-quart), color 0.3s;
  margin-left: 20px;
  display: inline-block;
}

/* Layer 6：FAQ 图标旋转过渡 */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon {
  color: var(--white);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-panel-content {
  padding-bottom: 28px;
}

.faq-panel-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

/* ==========================================
   新增板块响应式媒体查询适配
   ========================================== */
@media (max-width: 768px) {
  /* Focus Stories */
  .story-section {
    padding: 100px 0;
  }
  .story-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .story-content {
    max-width: 100%;
  }
  .theme-icons-mosaic {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
  }
  .theme-icons-mosaic img {
    width: 48px;
    height: 48px;
  }
  .filter-glass-deck {
    gap: 16px;
  }

  /* Specs */
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spec-item {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    padding: 20px 0;
  }
  .spec-value {
    text-align: left;
  }
}

/* Privacy link button style */
.specs-cta {
  margin-top: 48px;
  text-align: center;
}

.spec-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.spec-download-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

.btn-arrow {
  transition: transform 0.3s;
}

.spec-download-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================
   首页故事前言板块 (Prologue Sections)
   ========================================== */
.prologue-section {
  padding: 120px 0;
  text-align: left;
}
.prologue-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.prologue-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 28px;
}
.prologue-text {
  font-size: 22px;
  line-height: 1.68;
  color: var(--muted);
  font-weight: 400;
  max-width: 760px;
}

@media (max-width: 768px) {
  .prologue-section {
    padding: 80px 0;
  }
  .prologue-title {
    font-size: 36px;
  }
  .prologue-text {
    font-size: 18px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

/* ==========================================
   滚动 Reveal 过渡动画
   ========================================== */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  will-change: transform, opacity;
}

/* 只有当 JS 确认支持动效并初始化时，才动态添加该类进行初始隐藏 */
.reveal-on-scroll.js-reveal {
  opacity: 0;
  transform: translateY(40px);
}

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

/* Layer 2：子元素交错淡入 */
.reveal-on-scroll.js-reveal .stagger-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-on-scroll.js-reveal.active .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(1) { transition-delay: 0ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(2) { transition-delay: 100ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(3) { transition-delay: 200ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(4) { transition-delay: 300ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(5) { transition-delay: 400ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(6) { transition-delay: 500ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(7) { transition-delay: 600ms; }
.reveal-on-scroll.js-reveal.active .stagger-child:nth-child(8) { transition-delay: 700ms; }

/* ==========================================
   @keyframes 动画关键帧
   ========================================== */

/* Layer 1：Hero 入场 — 淡入 + 上移 */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layer 1：Hero 入场 — 缩放浮现 */
@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Layer 3：Glow 呼吸脉动 */
@keyframes glowPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

/* Layer 4：Hero 卡片微浮动 */
@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Layer 5：探索箭头呼吸引导 */
@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes waveRise {
  0%, 100% {
    transform: scaleY(0.62);
    opacity: 0.42;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.82;
  }
}

.explore-arrow {
  display: inline-block;
  font-size: 16px;
  animation: arrowBounce 2s ease-in-out infinite;
}

/* ==========================================
   无障碍：prefers-reduced-motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================
   GSAP 电影级动效 — 支撑样式
   ========================================== */

/* ① 升级版炸裂开场动效舞台 */
.entrance-stage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000; /* 确保开场是极致纯黑 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
  perspective: 1500px;
}

.entrance-continue {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 64px);
  z-index: 30;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font: 600 12px/1.4 var(--font-display);
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.entrance-continue:hover,
.entrance-continue:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.entrance-continue:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* 阶段一：量子预加载器 */
.entrance-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 20;
  will-change: transform, opacity;
}

.loader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.loader-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.loader-progress {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 2rem;
  font-weight: 200;
  color: #ffffff;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
}

.loader-num {
  font-variant-numeric: tabular-nums;
  font-weight: 300;
}

.loader-percent {
  font-size: 1rem;
  margin-left: 2px;
  opacity: 0.7;
}

.loader-bar-bg {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.5);
  will-change: width;
}

/* ① 升级版炸裂开场动效舞台网格调整 (24个手机壳自适应排布) */
.galaxy-container {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr); /* 6x4 = 24 */
  gap: 15px;
  padding: 30px;
  pointer-events: none;
  transform-style: preserve-3d;
  z-index: 10;
}

@media (max-width: 1024px) {
  .galaxy-container {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr); /* 4x6 = 24 */
    gap: 12px;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .galaxy-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(8, 1fr); /* 3x8 = 24 */
    gap: 8px;
    padding: 15px;
  }
}

.galaxy-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.galaxy-item img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 阶段三：极光能量波纹 */
.aurora-ripple {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.05) 60%, transparent 80%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* ====================================================
   官网动效全面升级阶段二：场景与首屏融入样式
   ==================================================== */

/* 首屏 DIY 漂浮配件容器（包裹在 .hero-visual 内部，环绕大手机） */
.hero-floating-container {
  position: absolute;
  top: -120px;
  bottom: -120px;
  left: -200px;
  right: -200px;
  pointer-events: none;
  z-index: 1; /* 挂在主手机后面层，避免挡住文字交互 */
}

.floating-case {
  position: absolute;
  width: 95px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6) translate3d(0, 0, 0);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.35));
  will-change: transform, opacity;
}

.floating-case img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 首屏底部毛玻璃跑马灯 (Bento Ticker) */
.hero-ticker-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 20px 0;
  margin-top: 60px;
  z-index: 5;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-ticker {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  gap: 50px;
  animation: tickerScroll 32s linear infinite;
  padding-right: 50px;
}

.ticker-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ticker-track img:hover {
  transform: scale(1.15) translateY(-8px);
  cursor: pointer;
}

@keyframes tickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* 场景 1：3D 交互全息投影 */
.holo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.holo-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}



/* 场景 3：SVG 轨迹绘制与脉冲圆圈 */
.revival-phone-front-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.sports-track-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.track-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  will-change: stroke-dashoffset;
}

.pulse-wave-ring {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 90, 0.85);
  background: radial-gradient(circle, rgba(0, 255, 90, 0.2) 0%, transparent 75%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity;
}

/* 场景 4：科幻侧翼工具箱舱门 */
.tools-showcase-section {
  padding: 120px 0;
  background: #000000;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.tools-3d-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
  transform-style: preserve-3d;
  perspective: 1200px;
  margin-top: 60px;
}

.cabin-core {
  width: 250px;
  z-index: 10;
  transform-style: preserve-3d;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.65));
}

.cabin-core img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.cabin-wing {
  position: absolute;
  width: 175px;
  height: 380px; /* 撑高容器以提供 3D 位移空间 */
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.wing-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wing-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
}

.wing-left {
  left: calc(50% - 280px);
  z-index: 5;
}

.wing-right {
  right: calc(50% - 280px);
  z-index: 5;
}

.wing-tag {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%) translate3d(0,0,10px);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  white-space: nowrap;
  opacity: 0; /* 初始隐藏，滑出时渐显 */
  transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
  pointer-events: none;
}

/* 滑出活跃状态显示标签 */
.wing-card.is-active .wing-tag {
  opacity: 1;
}

@media (max-width: 768px) {
  .tools-showcase-section {
    padding: 96px 0;
  }

  .tools-3d-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    height: auto;
    margin-top: 40px;
    perspective: none;
  }

  .cabin-core {
    order: 1;
    width: min(220px, 64vw);
    margin: 0 auto 8px;
    transform: none !important;
    filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.58));
  }

  .cabin-wing {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .wing-left,
  .wing-right {
    left: auto;
    right: auto;
    z-index: auto;
  }

  .wing-left {
    order: 2;
  }

  .wing-right {
    order: 3;
  }

  .wing-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 250px;
    padding: 14px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.018);
    opacity: 1 !important;
    transform: none !important;
  }

  .wing-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
  }

  .wing-tag,
  .wing-card.is-active .wing-tag {
    position: static;
    margin-top: 10px;
    padding: 4px 8px;
    opacity: 1;
    transform: none;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .cabin-wing {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 场景 5：3D 电子书与翻页效果 */
.book-3d-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 0;
  transform-style: preserve-3d;
  perspective: 1500px;
  margin-bottom: 40px;
}

.book-3d-container {
  position: relative;
  width: 580px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  transform-style: preserve-3d;
}

@media (max-width: 768px) {
  .book-3d-container {
    flex-direction: column;
    height: auto;
    gap: 30px;
  }
}

.book-3d-cover {
  width: 215px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.book-3d-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55));
}

.book-3d-pages {
  width: 235px;
  height: 330px;
  position: relative;
  transform-style: preserve-3d;
  background: #151515;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
}

.reader-page-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-flip-curl {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.15) 85%, rgba(255, 255, 255, 0.4) 96%, transparent 100%);
  transform-origin: right top;
  transform: scaleX(0);
  will-change: transform;
}

/* ② 导航逐字落入 — 初始隐藏由 GSAP 控制，此处仅做 will-change 优化 */
.nav-links a,
.nav-links .nav-btn,
.lang-switcher {
  will-change: transform, opacity;
}

/* ④⑤ 词语拆分容器（Word Split） */
.word-split {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em; /* 防止 descender 裁切 */
}

.word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* ⑤ Prologue 词语拆分 — 隐藏等待 GSAP 接管 */
.prologue-title.gsap-split .word-split {
  overflow: hidden;
}

/* ⑦ Icon mosaic — GSAP 接管后禁用 CSS 过渡冲突 */
.gsap-icon-ready .theme-icons-mosaic img {
  transition: none !important;
  /* hover 效果由 GSAP 外层控制，恢复独立 hover */
}

.gsap-icon-ready .theme-icons-mosaic img:hover {
  transform: scale(1.18) translateY(-6px) !important;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.8)) brightness(1.1) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s !important;
}

/* ③ 画廊图片 scrub scale — 初始状态由 GSAP 设置 */
.ui-gallery-grid .tile-frame img {
  will-change: transform;
}

/* ⑨ Camera 滤镜卡 — 初始隐藏由 GSAP 控制 */
.filter-glass-item {
  will-change: transform, opacity;
}

/* ⑩ Footer — GSAP 控制入场 */
.footer-brand,
.footer-copyright,
.footer-links a {
  will-change: transform, opacity;
}

/* GSAP 动效过渡中禁止子元素闪烁 */
.gsap-animating * {
  pointer-events: none;
}

/* Prologue 章节号颜色修正 */
.prologue-eyebrow {
  color: var(--dim);
}

/* Story num 颜色修正（原用了未定义的 --accent 变量） */
.story-num {
  color: var(--dim);
}

/* ==========================================================================
   Pricing Section Styles - Premium Redesign
   ========================================================================== */

.pricing-section {
  position: relative;
  background: var(--background);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.pricing-subtitle {
  font-family: var(--font-sans);
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 15px;
  line-height: 1.5;
}

.pricing-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

/* 定价卡片网格 - 居中对称三列 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.pricing-card {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px; /* 强制拉平最小物理高度，实现完美对齐 */
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo), border-color 0.6s var(--ease-out-expo);
  will-change: transform, box-shadow;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.02);
}

.card-header {
  margin-bottom: 25px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 15px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}

.price-currency {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--accent-leaf);
  font-weight: 600;
  margin-right: 2px;
}

.price-value {
  font-family: var(--font-sans);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.price-period {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 10px;
  font-weight: 500;
}

.tier-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
}

/* 特权列表 */
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tier-features li {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--white);
  padding-left: 24px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), color 0.3s;
}

.tier-features li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: var(--accent-leaf);
  font-size: 1.2rem;
  line-height: 1;
  top: -2px;
}

.tier-features li:hover {
  transform: translateX(5px);
  color: var(--accent-leaf);
}

/* 按钮样式 */
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px; /* 强制像素高度完全统一对称 */
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.secondary-btn {
  background: var(--glass);
  border: 1px solid var(--line-bright);
  color: var(--white);
}

.secondary-btn:hover {
  background: var(--glass-active);
}

.primary-btn {
  background: var(--accent-leaf);
  border: 1px solid var(--accent-leaf);
  color: var(--accent-ink);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(112, 168, 142, 0.3);
}

/* 终极卡片独特样式 */
.card-ultimate {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* 终极版流光溢彩霓虹边框动画 */
.card-ultimate::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 26px;
  background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
  background-size: 400% 400%;
  z-index: -1;
  animation: rainbow-glow 8s linear infinite;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.card-ultimate:hover::after {
  opacity: 0.8;
}

@keyframes rainbow-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ultimate-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7f00ff, #ff007f);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
  letter-spacing: 1px;
  white-space: nowrap;
}

.glow-btn {
  background: linear-gradient(135deg, #7f00ff, #ff007f);
  color: #fff;
  border: none;
  box-shadow: 0 10px 20px rgba(255, 0, 127, 0.2);
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 0, 127, 0.4);
}


/* Interactive theme browser */
.theme-showcase-section {
  padding: 120px 0 140px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.008);
}

.theme-showcase-header {
  margin-bottom: 52px;
}

.theme-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 30px;
  background: var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.theme-browser-preview,
.theme-browser-controls {
  background: var(--background);
}

.theme-browser-preview {
  position: relative;
  min-height: 560px;
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  isolation: isolate;
}

.theme-browser-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 50% 56%, oklch(70% 0.105 142 / 0.09), transparent 54%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
  opacity: 0.72;
}

.theme-browser-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.theme-browser-current span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.theme-browser-current strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}

.theme-browser-icons {
  width: min(100%, 540px);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
}

.theme-browser-icon-cell {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.theme-browser-icon-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--theme-icon-scale, 1));
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.34));
  transition: transform 0.3s var(--ease-out-expo);
}

.theme-browser-icon-cell:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: var(--line-bright);
}

.theme-browser-preview.theme-switching .theme-browser-icon-cell {
  animation: themeIconIn 0.42s var(--ease-out-expo) both;
}

.theme-browser-preview.theme-switching .theme-browser-icon-cell:nth-child(2) { animation-delay: 35ms; }
.theme-browser-preview.theme-switching .theme-browser-icon-cell:nth-child(3) { animation-delay: 70ms; }
.theme-browser-preview.theme-switching .theme-browser-icon-cell:nth-child(4) { animation-delay: 105ms; }
.theme-browser-preview.theme-switching .theme-browser-icon-cell:nth-child(5) { animation-delay: 140ms; }
.theme-browser-preview.theme-switching .theme-browser-icon-cell:nth-child(6) { animation-delay: 175ms; }

@keyframes themeIconIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.theme-browser-controls {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theme-browser-controls h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.theme-browser-controls > p:not(.theme-browser-note) {
  max-width: 48ch;
  margin-bottom: 34px;
  color: var(--muted);
  line-height: 1.7;
}

.theme-browser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.theme-browser-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.25s, color 0.25s, border-color 0.25s;
}

.theme-browser-chip:hover {
  transform: translateY(-2px);
  border-color: var(--line-bright);
  color: var(--white);
}

.theme-browser-chip:active {
  transform: translateY(0) scale(0.98);
}

.theme-browser-chip.active {
  border-color: var(--white);
  background: var(--white);
  color: var(--background);
}

.theme-browser-chip:focus-visible {
  outline: 2px solid var(--accent-leaf);
  outline-offset: 3px;
}

.theme-browser-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .theme-browser {
    grid-template-columns: 1fr;
  }

  .theme-browser-preview {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .theme-showcase-section {
    padding: 88px 0 104px;
  }

  .theme-showcase-header {
    margin-bottom: 34px;
  }

  .theme-browser {
    border-radius: 22px;
  }

  .theme-browser-preview,
  .theme-browser-controls {
    padding: 24px;
  }

  .theme-browser-icons {
    gap: 12px;
  }

  .theme-browser-icon-cell {
    border-radius: 18px;
  }

  .theme-browser-controls h3 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-browser-preview.theme-switching .theme-browser-icon-cell {
    animation: none;
  }
}

/* Lenis inertial scrolling (web-src/smooth-scroll.js); inactive on touch and reduced motion. */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
