/* 
 * OrbitM Official Website Design System (Advanced Version)
 * Inspired by Apple Design Guidelines (Clean, restrained color palette, high tactile contrast)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- 全局设计变量 --- */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  
  /* Apple Titanium Obsidian Black Theme (苹果高端钛金属太空黑) */
  --bg: #000000;
  --bg-gradient: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03), transparent 45%),
                 radial-gradient(circle at 80% 70%, rgba(142, 142, 147, 0.02), transparent 45%);
  --surface: rgba(22, 22, 23, 0.6);
  --surface-opaque: #161617;
  --text-main: #F5F5F7;
  --text-muted: #86868B;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(255, 255, 255, 0.22);
  --accent: #E5E5EA; /* 苹果高端钛金属银色 */
  --accent-hover: #FFFFFF;
  --accent-glow: rgba(255, 255, 255, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --glass-blur: blur(24px) saturate(180%);
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.7);
}

/* --- 基础重置 --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 全局背景 3D 视差发光球 */
.bg-glow-orb {
  position: fixed;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.25;
  will-change: transform;
}
.bg-glow-orb-1 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  top: -10vw;
  left: -10vw;
}
.bg-glow-orb-2 {
  background: radial-gradient(circle, rgba(142, 142, 147, 0.04) 0%, transparent 70%);
  bottom: -10vw;
  right: -10vw;
}

/* 苹果风滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(134, 134, 139, 0.3);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(134, 134, 139, 0.5);
}

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

/* --- 极简悬浮导航栏 --- */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid transparent;
  position: sticky;
  top: 16px;
  z-index: 1000;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  margin: 16px auto;
  width: calc(100% - 32px);
  max-width: 1200px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-float:hover {
  transform: rotate(15deg) scale(1.1);
}

.site-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-main) 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-feature i {
  font-size: 14px;
}

.nav-feature:hover {
  color: var(--text-main);
  background: rgba(134, 134, 139, 0.1);
}

/* Tooltip 悬浮提示 */
.nav-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  width: 220px;
  background: var(--surface-opaque);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

.nav-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--border);
}

.nav-feature:hover .nav-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* --- Banner 警示横幅 --- */
.banner {
  max-width: 600px;
  margin: 16px auto 0;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #EF4444;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.05);
}

body.dark .banner {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.25);
}

.banner a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* --- Hero 区域 --- */
.page-header {
  padding: 80px 24px 40px;
  text-align: center;
  position: relative;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--text-main) 60%, rgba(134, 134, 139, 0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-description {
  font-size: clamp(16px, 2.5vw, 19px);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.version-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.version-tag {
  background: rgba(134, 134, 139, 0.1);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.release-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* QQ 群等社交链接药丸 */
.intro-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 24px auto 0;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px; /* Tighter padding for maximum elegance */
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05); /* Extremely subtle metallic border */
  color: var(--text-muted); /* Sophisticated titanium-gray text by default */
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.social-pill i {
  color: rgba(255, 255, 255, 0.35); /* Clutter-free neutral icon, blending completely with the dark canvas */
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-pill:hover {
  transform: translateY(-1px); /* Gentle Apple-style lift */
  color: var(--text-main); /* Elevates to brilliant silver-white on hover */
  border-color: rgba(255, 255, 255, 0.15); /* Sleek highlight */
  background: rgba(255, 255, 255, 0.04); /* Soft active glow background */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-pill:hover i {
  color: var(--text-main); /* Hover defaults to silver-white */
}

.social-pill:active {
  transform: translateY(0);
}

.social-pill.qq:hover i {
  color: #12b7f5; /* Elegant soft QQ cyan only on hover */
  text-shadow: 0 0 10px rgba(18, 183, 245, 0.4);
}

/* QQ 群状态徽章 */
.group-status {
  font-size: 10px;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.02); /* Extremely subtle overlay */
  border: 1px solid rgba(255, 255, 255, 0.04); /* Fine hairline border */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45); /* High-end neutral gray text for ALL states */
  transition: all 0.3s ease;
}

.status-dot {
  font-size: 7px;
  line-height: 1;
}

.status-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.group-status.free .status-dot {
  color: #30D158; /* Apple Standard Green */
  text-shadow: 0 0 6px rgba(48, 209, 88, 0.8);
}

.group-status.normal .status-dot {
  color: #FF9F0A; /* Apple Standard Amber/Orange */
  text-shadow: 0 0 6px rgba(255, 159, 10, 0.8);
}

.group-status.full .status-dot {
  color: #FF453A; /* Apple Standard Red */
  text-shadow: 0 0 6px rgba(255, 69, 58, 0.8);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 10px rgba(255, 69, 58, 1); }
  100% { transform: scale(1); opacity: 0.8; }
}

/* --- SVG 呼吸发光主图 --- */
.svg-anim-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- GSAP 蓝牙传输安装特效区 --- */
.showcase-section {
  margin: 60px 0;
  display: flex;
  justify-content: center;
}

.showcase-card {
  width: 100%;
  max-width: 1100px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
}

.showcase-text {
  max-width: 440px;
}

.showcase-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.showcase-anim {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 280px;
}

/* 拟物设备微动画 */
.splash-container {
  position: relative;
  width: 320px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.anim-box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 手机模拟器模型 */
.source-phone {
  width: 76px;
  height: 148px;
  position: relative;
  perspective: 600px;
}

.phone-body {
  fill: var(--surface-opaque);
  stroke: var(--border);
  stroke-width: 1.5px;
}

.phone-screen {
  fill: #000;
}

.phone-notch {
  fill: #1A1A1D;
}

.rpk-icon-group {
  transition: transform 0.4s ease;
}

.rpk-box {
  fill: var(--accent);
  rx: 4px;
}

.rpk-label {
  fill: #FFF;
  font-size: 5px;
  font-weight: 800;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
}

/* 发射能量通道 */
.projectile-container-x {
  position: absolute;
  left: 65px;
  top: 50%;
  width: 160px;
  height: 30px;
  transform: translateY(-50%);
  pointer-events: none;
}

.energy-packet {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 9px;
  box-shadow: 0 0 16px var(--accent), 0 0 4px var(--accent);
}

.energy-trail {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: 0.6;
}

/* 手表模拟器模型 */
.watch-device {
  width: 78px;
  height: 140px;
  position: relative;
}

.watch-band {
  fill: rgba(134, 134, 139, 0.15);
}

body.dark .watch-band {
  fill: rgba(255, 255, 255, 0.08);
}

.watch-body {
  fill: var(--surface-opaque);
  stroke: var(--border);
  stroke-width: 1.5px;
}

.watch-screen {
  fill: #000;
}

.watch-crown {
  fill: rgba(134, 134, 139, 0.4);
}

.progress-ring-circle {
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

/* 通知气泡 */
#notificationBanner {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#notificationBanner.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- 跨端画廊展示区 --- */
.screenshots-section {
  margin: 80px 0;
  text-align: center;
}

.gallery-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 99px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.gallery-tab {
  padding: 8px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tab.active {
  background: var(--surface-opaque);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.screenshot-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.gallery-container {
  display: none;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  transform-style: preserve-3d;
}

.gallery-container.active {
  display: flex;
}

/* 拟物设备模型包裹 */
/* 手机端外壳 */
.device-mobile-frame {
  width: 200px;
  height: 410px;
  border-radius: 36px;
  background: #000;
  border: 8px solid #1c1c1e;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.device-mobile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 电脑端外壳 (极简金属质感 MacBook) */
.device-pc-frame {
  width: 680px;
  height: 411px;
  position: relative;
  perspective: 1000px;
}

.pc-screen-shell {
  width: 100%;
  height: 389px;
  background: #000;
  border-radius: 20px 20px 0 0;
  border: 12px solid #1c1c1e;
  border-bottom-width: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pc-screen-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.pc-base-shell {
  width: calc(100% + 80px);
  height: 12px;
  background: #D2D2D7;
  position: absolute;
  bottom: 10px;
  left: -40px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

body.dark .pc-base-shell {
  background: #424245;
}

.pc-notch-shell {
  width: 80px;
  height: 8px;
  background: #A1A1A6;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px 4px 0 0;
}

body.dark .pc-notch-shell {
  background: #1c1c1e;
}

/* --- 新增：极简三步交互式工作流流程 --- */
.steps-section {
  margin: 100px 0;
}

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

.step-card {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* --- 新增：核心深度技术支撑展示板块 (Tech Specs) --- */
.tech-section {
  margin: 100px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.tech-card {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.tech-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(134, 134, 139, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tech-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tech-content p {
  color: var(--text-muted);
  font-size: 14.1px;
  line-height: 1.65;
}

/* --- 新增：常见问题手风琴板块 (FAQ Accordion) --- */
.faq-section {
  margin: 100px auto;
  max-width: 800px;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid transparent;
}

.faq-item.open .faq-answer-content {
  border-top-color: var(--border);
}

/* --- Bento Box 模块化功能网格 --- */
.bento-section {
  margin: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 40px;
}

.bento-item {
  position: relative;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* 鼠标跟随聚光灯发光层 */
.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(255, 255, 255, 0.15), transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), var(--accent-glow), transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-item:hover::before,
.bento-item:hover::after {
  opacity: 1;
}

.bento-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.bento-content {
  position: relative;
  z-index: 3;
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(134, 134, 139, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover .bento-icon {
  transform: scale(1.1) rotate(6deg);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.bento-visual {
  position: absolute;
  bottom: -20px;
  right: -20px;
  opacity: 0.1;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover .bento-visual {
  transform: rotate(-5deg) scale(1.05);
  opacity: 0.16;
}

/* Bento Grid 不对称跨列定义 (全部采用单行高度，消除垂直冗余空白) */
.bento-item.span-3 {
  grid-column: span 3;
  grid-row: span 1;
}

.bento-item.span-1 {
  grid-column: span 1;
  grid-row: span 1;
}

/* --- 新增：底端大横幅唤醒下载与 QR 扫码区 --- */
.bottom-cta-section {
  margin: 100px auto 40px;
  max-width: 1100px;
}

.cta-banner {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.cta-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-left h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-left p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  gap: 12px;
}

.qr-wrapper {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: inline-flex;
}

.qr-code {
  width: 140px;
  height: 140px;
  display: block;
}

.qr-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- 跨端下载区 --- */
.platforms-section {
  margin: 100px 0;
  text-align: center;
}

.platform-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; /* Wider gap for a premium breathing layout */
  margin-top: 40px;
  margin-bottom: 44px;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px; /* Enlarge width */
  height: 145px; /* Enlarge height */
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04); /* Subtle glass edge */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.platform-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glow);
}

.platform-item.selected {
  background: var(--surface-opaque);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.platform-icon {
  font-size: 36px; /* Larger icon size */
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-item:hover .platform-icon {
  transform: scale(1.12);
}

.platform-name {
  font-size: 14.5px; /* Larger font size */
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.platform-item.selected .platform-name {
  color: var(--text-main);
}

/* 下载区块动画面板 */
.download-info {
  display: none;
  max-width: 820px; /* Expanded maximum width for high-fidelity space */
  margin: 0 auto;
  padding: 44px 48px; /* Taller and wider padding */
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Premium metallic border */
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-info.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.download-title {
  font-family: var(--font-display);
  font-size: 24px; /* Expanded font size */
  font-weight: 800;
  margin-bottom: 12px;
}

.download-subtitle {
  font-size: 15.5px; /* Expanded font size */
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 44px; /* Larger, more tap/click-friendly button */
  border-radius: 99px;
  background: var(--text-main);
  color: var(--bg);
  border: none;
  font-size: 15px; /* Larger font size */
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark .download-btn:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.download-btn:active {
  transform: translateY(0);
}

/* --- 数据兼容性表 --- */
.section-container {
  margin: 80px auto;
  max-width: 1000px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: 30px;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 14px;
}

.modern-table th {
  text-align: left;
  padding: 16px 24px;
  background: rgba(134, 134, 139, 0.05);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.modern-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.device-name {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-name i {
  color: var(--accent);
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.status-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}

.status-pill.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
}

.status-pill.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

/* --- 全宽页脚 --- */
.site-footer {
  margin-top: 120px;
  padding: 60px 0 30px;
  background: rgba(134, 134, 139, 0.04);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

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

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

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

/* 免责声明折叠 */
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 30px;
}

.footer-disclaimer summary {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-disclaimer summary::-webkit-details-marker {
  display: none;
}

.footer-disclaimer summary::after {
  content: '↓';
  font-size: 10px;
  transition: transform 0.25s ease;
}

.footer-disclaimer details[open] summary::after {
  transform: rotate(180deg);
}

.footer-disclaimer .disclaimer-content {
  margin-top: 12px;
  animation: slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-disclaimer p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 6px;
}

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

.footer-note {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-outline {
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--border);
  padding: 1px 8px;
  border-radius: 4px;
}

.free-text {
  font-weight: 600;
  color: var(--text-main);
}

/* --- Toast 弹窗反馈 --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--surface-opaque);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.hiding {
  animation: toast-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(12px) scale(0.95); }
}

.toast.success i { color: #10B981; }
.toast.info i { color: #A2AAAD; }
.toast.warning i { color: #F59E0B; }
.toast.error i { color: #EF4444; }

/* --- 媒体查询（深度响应式自适应布局） --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .bento-item.span-3 {
    grid-column: span 2;
  }
  .bento-item.span-1 {
    grid-column: span 1;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* 针对 PC MacBook 拟物模拟器的分级等比缩放，防止大长屏/小屏及移动端下被截断或溢出 */
@media (max-width: 820px) {
  .device-pc-frame {
    transform: scale(0.9);
    transform-origin: center center;
    margin-top: -21px;
    margin-bottom: -21px;
  }
}
@media (max-width: 768px) {
  .device-pc-frame {
    transform: scale(0.8);
    transform-origin: center center;
    margin-top: -43px;
    margin-bottom: -43px;
  }
}
@media (max-width: 600px) {
  .device-pc-frame {
    transform: scale(0.65);
    transform-origin: center center;
    margin-top: -75px;
    margin-bottom: -75px;
  }
}
@media (max-width: 480px) {
  .device-pc-frame {
    transform: scale(0.48);
    transform-origin: center center;
    margin-top: -111px;
    margin-bottom: -111px;
  }
}
@media (max-width: 375px) {
  .device-pc-frame {
    transform: scale(0.42);
    transform-origin: center center;
    margin-top: -124px;
    margin-bottom: -124px;
  }
}

@media (max-width: 768px) {
  /* 全局间距移动端紧凑化 */
  .bento-section,
  .steps-section,
  .tech-section,
  .platforms-section,
  .section-container,
  .faq-section,
  .bottom-cta-section {
    margin: 60px 0 !important;
  }

  .nav-bar {
    top: 8px;
    padding: 8px 18px;
  }
  .nav-links {
    display: none; /* 移动端隐藏冗余链接，保持界面绝对清爽 */
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .showcase-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .showcase-anim {
    height: 200px;
  }
  .splash-container {
    width: 280px;
  }
  /* QQ 群社交药丸移动端极致优化，支持多列流式并排 */
  .social-pill {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
    gap: 6px !important;
  }
  .social-pill i {
    font-size: 12px !important;
  }
  .group-status {
    padding: 2px 5px !important;
    gap: 0 !important;
    margin-left: 4px !important;
  }
  .group-status .status-text {
    display: none !important; /* 隐藏状态文字，仅保留呼吸灯圆点，极度简约美观且节省空间 */
  }
  .intro-socials {
    gap: 8px !important;
  }
  /* PC 选项卡 Dock 改造成移动端单行横滑胶囊 */
  .pc-dock {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    justify-content: flex-start !important;
    padding: 6px 12px !important;
    border-radius: 99px;
    scrollbar-width: none; /* 隐藏 Firefox 滚动条 */
  }
  .pc-dock::-webkit-scrollbar {
    display: none; /* 隐藏 Chrome/Safari 滚动条 */
  }
  .dock-item {
    flex: 0 0 auto;
    padding: 6px 16px;
  }

  .screenshot-wrapper {
    min-height: 350px;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    overflow: hidden;
  }
  
  /* 手机配套端截图改造成 App Store 级横滑及吸附组件 */
  .gallery-container {
    display: none;
    width: 100% !important;
    gap: 14px !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    transform-style: flat !important;
    justify-content: flex-start !important; /* Ensure start alignment for proper scrollable overflow */
  }
  .gallery-container.active {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 24px 20px !important;
    scrollbar-width: none !important;
  }
  .gallery-container::-webkit-scrollbar {
    display: none !important;
  }
  
  .device-mobile-frame {
    flex: 0 0 170px;
    width: 170px !important;
    height: 348px;
    border-radius: 24px;
    border-width: 6px;
    scroll-snap-align: center;
    transform: none !important; /* 清除任何 GSAP 3D 位移影响 */
    opacity: 1 !important; /* 强制可见 */
  }
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-item.span-3,
  .bento-item.span-1 {
    grid-column: span 1;
    grid-row: span 1;
  }
  .platform-grid {
    gap: 8px;
  }
  .platform-item {
    width: 100px;
    height: 90px;
  }
  .platform-icon {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .platform-name {
    font-size: 11px;
  }
  .download-info {
    padding: 20px;
  }
}

/* --- 苹果风不对称创意排版设计 (仅在桌面端生效，防止小屏自适应排版穿帮) --- */
@media (min-width: 769px) {
  /* 步骤卡片对角线下沉落差 */
  .steps-grid {
    align-items: flex-start;
    padding-bottom: 80px;
  }
  .step-card:nth-child(2) {
    margin-top: 35px;
  }
  .step-card:nth-child(3) {
    margin-top: 70px;
  }

  /* 技术卡片双列高度错位 */
  .tech-grid {
    align-items: flex-start;
    padding-bottom: 60px;
  }
  .tech-card:nth-child(even) {
    margin-top: 50px;
  }
}
