:root {
  color-scheme: light;
  --bg-surface: #fff7ed;
  --bg-surface-alt: #ffedd5;
  --bg-elevated: #ffedd5;
  --border-subtle: rgba(217, 119, 6, 0.22);
  --ink: #7c2d12;
  --muted: #92400e;
  --soft: #b45309;
  --primary: #f97316;
  --primary-soft: #ea580c;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 18px 55px rgba(249, 115, 22, 0.15);
  --shadow-soft-sm: 0 12px 30px rgba(249, 115, 22, 0.1);
}

/* 移除目标元素的焦点轮廓，避免显示边框 */
#focus-target-element:focus {
  outline: none;
  box-shadow: none;
}

body {
  background: radial-gradient(circle at top, #fff7ed 0, #fff7ed 36%, #ffedd5 100%);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}

.bg-surface { background-color: var(--bg-surface); }
.bg-surface-alt { background-color: var(--bg-surface-alt); }
.bg-elevated { background-color: var(--bg-elevated); }
.bg-radial-soft {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 55%),
    radial-gradient(circle at top right, rgba(234, 88, 12, 0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(180, 83, 9, 0.16), transparent 55%),
    linear-gradient(to bottom, #fff7ed, #fff7ed 50%, #fff7ed);
}

.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-primary { color: var(--primary); }

.bg-primary { background-color: var(--primary); }
.bg-primary-soft { background-color: var(--primary-soft); }
.border-border { border-color: var(--border-subtle); }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-soft-sm { box-shadow: var(--shadow-soft-sm); }

.nav-link {
  position: relative;
  padding-bottom: 0.15rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.4), rgba(234, 88, 12, 0.4));
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  opacity: 0;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background-color: transparent;
  transition: all 0.3s ease;
}
.platform-pill .icon-14 {
  width: 14px;
  height: 14px;
  transition: color 0.3s ease;
}
/* 默认状态 */
.platform-pill {
  border: 1px solid rgba(249, 115, 22, 0.2);
}
/* 激活状态 */
.platform-pill.active {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border-color: #f97316;
}
/* 悬停状态 */
.platform-pill:not(.active):hover {
  background-color: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.3);
}
/* 激活状态悬停 */
.platform-pill.active:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(249, 115, 22, 0.2);
}
/* 点击状态 */
.platform-pill:active {
  transform: translateY(0);
  box-shadow: none;
}
/* 激活状态点击 */
.platform-pill.active:active {
  background: linear-gradient(135deg, #3730a3, #312e81);
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
}
.cta-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.25);
}
.cta-primary * {
  color: white !important;
}
.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.85);
}
.cta-secondary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  border: 1px solid rgba(249, 115, 22, 0.5);
}
.cta-secondary * {
  color: white !important;
}
.cta-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(249, 115, 22, 0.3);
  border-color: rgba(249, 115, 22, 0.9);
}

.icon-10 {
  width: 10px;
  height: 10px;
}
.icon-12 {
  width: 12px;
  height: 12px;
}
.icon-14 {
  width: 14px;
  height: 14px;
}
.icon-16 {
  width: 16px;
  height: 16px;
}

.avatar-pill {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.3);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.15);
}
.bg-avatar-1 {
  background: radial-gradient(circle at top, #f97316, #7c2d12);
}
.bg-avatar-2 {
  background: radial-gradient(circle at top, #fb923c, #92400e);
}
.bg-avatar-3 {
  background: radial-gradient(circle at top, #fdba74, #b45309);
}

.phone-shell {
  position: relative;
  border-radius: 2.3rem;
  padding: 6px;
  background:
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.8), rgba(255, 247, 237, 0.9) 45%),
    radial-gradient(circle at 100% 100%, rgba(234, 88, 12, 0.75), rgba(255, 247, 237, 0.9) 45%);
  box-shadow: 0 26px 80px rgba(249, 115, 22, 0.2);
  width: 480px;
  height: 780px;
  z-index: 10; /* 确保位于图片之上 */
}
.phone-screen {
  position: relative;
  border-radius: 1.9rem;
  padding: 0.5rem 0 0.6rem;
  width: 100%;
  background: radial-gradient(circle at top, #fff7ed, #fff7ed 55%, #ffedd5);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--ink);
  min-height: 710px; /* 调整最小高度以适应新的phone-shell尺寸 */
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  z-index: 11; /* 确保在phone-shell内部最高 */
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px; /* 调整宽度以适应新的屏幕尺寸 */
  height: 18px;
  border-radius: 0 0 999px 999px;
  background: radial-gradient(circle at top, #fff7ed, #fff7ed);
  z-index: 12; /* 确保在最上层 */
}
.phone-shadow {
  position: absolute;
  inset: 16px 20px auto;
  filter: blur(26px);
  opacity: 0.5;
}

/* 轮播组件样式 */
.carousel-container {
  position: relative;
  width: 100%;
  height: 75%;
  overflow: hidden;
  border-radius: 8px;
  margin: 0.5rem;
  /* 移除固定宽高比，允许容器适应图片 */
  /* aspect-ratio: 9/16; */
  /* 添加阴影效果，提升层次感 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* 添加触摸支持 */
  touch-action: pan-y;
  user-select: none;
  /* 确保容器足够大以显示完整图片 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  /* 支持触摸滑动 */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* 增强过渡效果，添加缩放 */
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
  transform: scale(1.05);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 确保图片完整显示 */
  max-width: 100%;
  max-height: 100%;
  /* 优化图片渲染性能 */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  /* 确保图片平滑过渡 */
  transition: transform 0.3s ease;
  /* 添加加载动画 */
  animation: fadeIn 0.8s ease;
}

/* 图片加载动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 轮播图片悬停效果 */
.carousel-slide:hover .carousel-image {
  transform: scale(1.02);
}

/* 为轮播图片添加占位符样式 */
.carousel-image::before {
  content: '';
}

/* 新的产品展示组件样式 */
.modern-product-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .modern-product-showcase {
    flex-direction: row;
    gap: 3rem;
  }
}

.product-preview-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.device-frame {
  position: relative;
  border-radius: 2.3rem;
  padding: 6px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.8), rgba(255, 247, 237, 0.9)),
              linear-gradient(135deg, #fff7ed, rgba(234, 88, 12, 0.75));
  box-shadow: 0 26px 80px rgba(249, 115, 22, 0.2);
  width: 360px;
  height: 680px;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 90px rgba(249, 115, 22, 0.3);
}

.device-screen {
  position: relative;
  border-radius: 1.9rem;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(249, 115, 22, 0.45);
  overflow: hidden;
  z-index: 11;
}

/* 设备状态栏已移除 */

.app-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
  transform: scale(1.05);
  z-index: 1;
}

.app-preview.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.app-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease;
}

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

/* 已移除的元素相关样式 */
/* .preview-indicators, .indicator-btn, .product-info 等相关样式已移除 */

/* 平台选择相关样式 */
.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background-color: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.platform-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(249, 115, 22, 0.05);
}

.platform-tab.active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: white;
}

.platform-tab .icon-14 {
  width: 14px;
  height: 14px;
}

.platform-content {
  position: relative;
  min-height: 200px;
}

.platform-item {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.platform-item.active {
  display: block;
}

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

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-icon .icon-24 {
  width: 24px;
  height: 24px;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.qr-inner {
  width: 120px;
  height: 120px;
  background-image: linear-gradient(45deg, #f97316 25%, transparent 25%),
                    linear-gradient(-45deg, #f97316 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, #f97316 75%),
                    linear-gradient(-45deg, transparent 75%, #f97316 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.2;
  border-radius: 8px;
}

/* 微信浏览器引导提示样式 */
.wechat-guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-guide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.wechat-guide-content {
  position: relative;
  background-color: white;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wechat-guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 0;
}

.wechat-guide-header svg {
  color: #07C160;
  width: 32px;
  height: 32px;
}

.wechat-guide-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.wechat-guide-body {
  padding: 20px 24px;
}

.wechat-guide-body p {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
}

.wechat-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}

.step-text strong {
  color: var(--primary);
  font-weight: 600;
}

.wechat-guide-footer {
  padding: 0 24px 24px;
}

.wechat-guide-close-btn {
  width: 100%;
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wechat-guide-close-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* 响应式设计调整 */
@media (max-width: 480px) {
  .wechat-guide-content {
    width: 95%;
    border-radius: 12px;
  }
  
  .wechat-guide-header {
    padding: 20px 20px 0;
  }
  
  .wechat-guide-body {
    padding: 16px 20px;
  }
  
  .wechat-guide-footer {
    padding: 0 20px 20px;
  }
  
  /* 平台选择响应式样式 */
  .platform-tabs {
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .platform-tab {
    padding: 6px 10px;
    font-size: 10px;
    gap: 4px;
  }
  
  .platform-tab .icon-14 {
    width: 12px;
    height: 12px;
  }
  
  .qr-placeholder {
    width: 120px;
    height: 120px;
  }
  
  .qr-inner {
    width: 100px;
    height: 100px;
    background-size: 16px 16px;
  }
  
  .platform-icon {
    width: 50px;
    height: 50px;
  }
  
  .platform-icon .icon-24 {
    width: 20px;
    height: 20px;
  }
}

  /* 响应式设计 */
@media (max-width: 767px) {
  .device-frame {
    width: 280px;
    height: 540px;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .product-description {
    font-size: 1rem;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .device-frame {
    width: 240px;
    height: 480px;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .preview-indicators {
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
  }
  
  .indicator-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
}
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 25%, #e0e0e0 25%, #e0e0e0 50%, #f5f5f5 50%, #f5f5f5 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  animation: loading 1s linear infinite;
  z-index: -1;
}

/* 加载动画定义 */
@keyframes loading {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
  .carousel-container {
    height: 75%;
    margin: 0.3rem;
    /* 为平板和中等屏幕优化 */
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 70%;
    margin: 0.2rem;
    /* 为移动设备优化 */
    min-height: 320px;
  }
  
  /* 移动设备上优化图片显示 */
  .carousel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 1024px) {
  .carousel-container {
    height: 80%;
    /* 为桌面设备设置合适的最小高度 */
    min-height: 480px;
  }
}

/* 横屏设备适配 */
@media screen and (orientation: landscape) {
  .carousel-container {
    height: 85%;
    min-height: 300px;
  }
}

/* 轮播控制按钮 */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
  z-index: 3;
}

.carousel-control:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* 轮播描述 */
.carousel-description {
  padding: 0.8rem 1rem;
  text-align: center;
  background-color: #fff;
}

.carousel-description h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.carousel-description p {
  font-size: 12px;
  color: var(--soft);
  margin: 0;
}

.card-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 0.6rem 0.8rem;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.3), rgba(255, 247, 237, 0.95));
  border: 1px solid rgba(249, 115, 22, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
}

.feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249, 115, 22, 0.26);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), rgba(255, 247, 237, 0.96));
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 14px 40px rgba(249, 115, 22, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.9);
  box-shadow: 0 18px 60px rgba(249, 115, 22, 0.25);
}
.feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.6), rgba(234, 88, 12, 0.35));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--soft);
}

.gradient-orbit {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.45), transparent 55%),
    radial-gradient(circle at 100% 10%, rgba(234, 88, 12, 0.45), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(251, 146, 60, 0.38), transparent 55%);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.qr-placeholder {
  width: 148px;
  height: 148px;
  border-radius: 1.4rem;
  border: 1px solid rgba(249, 115, 22, 0.55);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), rgba(255, 247, 237, 0.98)),
    repeating-linear-gradient(45deg, rgba(255, 247, 237, 1), rgba(255, 247, 237, 1) 4px, rgba(249, 115, 22, 0.2) 4px, rgba(249, 115, 22, 0.2) 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.15);
}
.qr-inner {
  width: 112px;
  height: 112px;
  border-radius: 1rem;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 1) 0, rgba(15, 23, 42, 1) 50%, rgba(15, 23, 42, 0.8) 100%),
    radial-gradient(circle at center, rgba(148, 163, 184, 0.1), transparent 65%);
  position: relative;
  overflow: hidden;
}
.qr-inner::before,
.qr-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.7) 0, rgba(148, 163, 184, 0.7) 1px, transparent 1px, transparent 4px);
  opacity: 0.2;
}
.qr-inner::after {
  transform: rotate(90deg);
  opacity: 0.16;
}

.faq-item {
  border-radius: 1.1rem;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), rgba(255, 247, 237, 0.96));
  padding: 0.75rem 1rem;
  box-shadow: 0 14px 40px rgba(249, 115, 22, 0.1);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item[open] summary i {
  transform: rotate(180deg);
}
.faq-item summary i {
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq-body {
  margin-top: 0.55rem;
  font-size: 12px;
  line-height: 1.7;
  color: var(--soft);
}

.markdown-body p + p {
  margin-top: 0.45rem;
}
.markdown-body strong {
  color: var(--ink);
}
.markdown-body ul {
  margin-top: 0.45rem;
  padding-left: 1.2rem;
}
.markdown-body li {
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .phone-shell {
    transform: scale(0.75);
    margin: -30px auto;
  }
}

@media (max-width: 640px) {
  .phone-shell {
    transform: scale(0.65);
    margin: -50px auto;
  }
}

@media (max-width: 480px) {
  .phone-shell {
    transform: scale(0.55);
    margin: -80px auto;
  }
}

/* 确保容器在各种情况下都能正确显示 */
.relative.mx-auto.flex.max-w-sm.items-center.justify-center {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 780px; /* 确保至少有手机高度的空间 */
}
