/* =====================================================
   响应式设计增强 - 全平台优化
   版本: v2.1
   更新日期: 2024-10-17
   
   涵盖设备:
   - 手机 (< 768px)
   - 平板 (768px - 1024px)
   - 笔记本 (1024px - 1440px)
   - 桌面 (> 1440px)
   ===================================================== */

/* ===== 移动端性能优化 ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
    --spacing-3xl: 2rem;
    --spacing-4xl: 2.5rem;
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-right: env(safe-area-inset-right, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-inset-left: env(safe-area-inset-left, 0px);
    /* 减少动画时长，提升响应速度 */
    --transition-fast: 0.1s ease;
    --transition-normal: 0.2s ease;
  }
  
  /* 移动端样式一致性修复 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    max-width: 100%;
  }
  
  .feature-card {
    padding: var(--spacing-lg);
    text-align: center;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    max-width: 100%;
  }
  
  .requirement-card {
    padding: var(--spacing-lg);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
  }
  
  /* 禁用复杂背景效果 - 大幅提升性能 */
  body::before,
  body::after {
    display: none !important;
  }
  
  /* 禁用所有will-change，减少内存占用 */
  .navbar,
  .hero-preview,
  .phone-preview,
  .feature-card,
  .premium-card,
  .service-icon-box,
  .btn {
    will-change: auto;
    transform: none;
    backface-visibility: visible;
  }
  
  .container {
    padding-left: max(16px, var(--safe-area-inset-left));
    padding-right: max(16px, var(--safe-area-inset-right));
  }
  
  /* ===== 导航栏 - 极光紫毛玻璃 ===== */
  .navbar {
    height: var(--nav-height);
    padding-top: var(--safe-area-inset-top, 0px);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  }
  
  .navbar.scrolled {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(139, 92, 246, 0.35) 100%);
    box-shadow: 0 2px 16px rgba(168, 85, 247, 0.2);
    border-bottom-color: rgba(168, 85, 247, 0.45);
  }
}

/* ===== 2. 超小手机 (< 375px) ===== */
@media (max-width: 374px) {
  :root {
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --nav-height: 52px;
    --transition-fast: 0.1s ease;
    --transition-normal: 0.2s ease;
  }
  
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  /* 超小屏导航优化 */
  .navbar {
    height: 52px;
    /* 下载页标准极光紫毛玻璃效果 */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  }
  
  /* 超小屏滚动状态 */
  .navbar.scrolled {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(139, 92, 246, 0.35) 100%);
    box-shadow: 0 2px 16px rgba(168, 85, 247, 0.2);
    border-bottom-color: rgba(168, 85, 247, 0.45);
  }
  
  .nav-container {
    padding-left: var(--spacing-lg) !important;
    padding-right: var(--spacing-lg) !important;
    min-height: 52px !important;
    gap: 0.75rem !important;
  }
  
  .nav-logo {
    font-size: var(--font-size-base) !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  
  .nav-logo-img {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle span {
    width: 20px !important;
    height: 2px !important;
  }
  
  /* 超小屏菜单优化 */
  .mobile-nav nav {
    padding: var(--spacing-2xl) var(--spacing-lg);
    gap: var(--spacing-sm);
  }
  
  .mobile-nav .nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-xl);
    max-width: 100%;
    min-height: 52px;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 12px 20px;
    min-width: 140px;
  }
  
  /* ===== 超小屏Hero区域优化 ===== */
  .hero {
    padding: calc(var(--nav-height) + 2rem) 0 3rem;
    min-height: calc(100vh - var(--nav-height));
  }
  
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-features {
    font-size: 0.875rem;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-img {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .hero-img svg {
    width: 200px;
    height: 200px;
  }
  
  /* ===== 超小屏卡片优化 ===== */
  .premium-card {
    padding: 1.25rem;
    min-height: 140px;
  }
  
  .premium-card-title {
    font-size: 1.125rem;
  }
  
  .premium-card-description {
    font-size: 0.875rem;
  }
  
  /* ===== 超小屏按钮优化 ===== */
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 3. 小手机 (375px - 480px) ===== */
@media (min-width: 375px) and (max-width: 480px) {
  /* Hero区域优化 */
  .hero {
    padding: calc(var(--nav-height) + 2.5rem) 0 3.5rem;
  }
  
  .hero-flex {
    gap: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: 1.125rem;
  }
  
  .hero-features {
    font-size: 0.9rem;
    gap: 0.875rem;
  }
  
  .hero-img svg {
    width: 240px;
    height: 240px;
  }
  
  .btn {
    min-width: 160px;
    padding: 14px 24px;
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .premium-card {
    padding: 1.5rem;
    min-height: 160px;
  }
  
  .premium-card-title {
    font-size: 1.25rem;
  }
  
  .premium-card-description {
    font-size: 0.9rem;
  }
}

/* ===== 4. 大手机 (481px - 640px) ===== */
@media (min-width: 481px) and (max-width: 640px) {
  .hero-text h1 {
    font-size: 2.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .btn {
    min-width: 180px;
    padding: 16px 28px;
  }
  
  .feature-card {
    padding: var(--spacing-xl);
  }
  
  .premium-card {
    padding: 1.75rem;
    min-height: 180px;
  }
  
  .premium-card-title {
    font-size: 1.375rem;
  }
  
  .premium-card-description {
    font-size: 1rem;
  }
  
  /* AI和VIP区域优化 */
  .ai-flex,
  .vip-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .service-icon-box {
    width: 100px;
    height: 100px;
  }
  
  .service-icon-box svg {
    width: 60px;
    height: 60px;
  }
}

/* ===== 5. 小平板竖屏 (641px - 768px) ===== */
@media (min-width: 641px) and (max-width: 768px) {
  /* Hero区域优化 */
  .hero {
    padding: calc(var(--nav-height) + 3.5rem) 0 4.5rem;
  }
  
  .hero-flex {
    gap: 3.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.75rem;
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: 1.375rem;
  }
  
  .hero-features {
    font-size: 1.125rem;
    gap: 1.125rem;
  }
  
  .hero-img svg {
    width: 320px;
    height: 320px;
  }
  
  /* 布局优化 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .premium-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
  
  .nav-container {
    padding: 0 var(--spacing-xl);
  }
  
  .nav-links {
    gap: var(--spacing-md);
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  .btn {
    min-width: 200px;
    padding: 18px 32px;
  }
  
  .feature-card {
    padding: var(--spacing-xl);
  }
  
  .premium-card {
    padding: 2rem;
    min-height: 200px;
  }
  
  .premium-card-title {
    font-size: 1.5rem;
  }
  
  .premium-card-description {
    font-size: 1.125rem;
  }
  
  /* AI和VIP区域优化 */
  .ai-flex,
  .vip-flex {
    flex-direction: row;
    gap: 3rem;
    text-align: left;
  }
  
  .service-icon-box {
    width: 120px;
    height: 120px;
  }
  
  .service-icon-box svg {
    width: 80px;
    height: 80px;
  }
}

/* ===== 6. iPad竖屏 / 标准平板 (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 var(--spacing-lg);
  }
  
  .hero-flex {
    gap: var(--spacing-2xl);
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .nav-container {
    padding: 0 var(--spacing-xl);
  }
  
  .nav-links {
    gap: var(--spacing-md);
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  /* 平板横屏特殊处理 */
  @media (orientation: landscape) {
    .hero-flex {
      flex-direction: row;
      text-align: left;
    }
    
    .features-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

/* ===== 7. 小笔记本 (1024px - 1280px) ===== */
@media (min-width: 1024px) and (max-width: 1280px) {
  .container {
    max-width: 1024px;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
  }
}

/* ===== 8. 标准笔记本/桌面 (1280px - 1440px) ===== */
@media (min-width: 1280px) and (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== 9. 大屏幕 (1440px - 1920px) ===== */
@media (min-width: 1440px) and (max-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
  }
}

/* ===== 10. 超大屏幕 (> 1920px) ===== */
@media (min-width: 1921px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-text h1 {
    font-size: 4.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  .feature-card {
    padding: var(--spacing-2xl);
  }
}

/* ===== 11. 触摸设备优化 ===== */
@media (pointer: coarse) {
  /* 移除所有默认触摸高亮 */
  *,
  *::before,
  *::after {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  /* 移动端滚动优化 */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  
  body {
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* 移动端容器优化 */
  .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    max-width: 100%;
  }
  
  /* 移动端Hero区域优化 */
  .hero {
    padding-top: calc(var(--nav-height) + 1rem);
    padding-bottom: 2rem;
  }
  
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .hero-img {
    order: -1;
    margin-bottom: 1rem;
  }
  
  .hero-img svg {
    max-width: 280px;
    max-height: 280px;
    width: 100%;
    height: auto;
  }
  
  /* 移动端网格优化 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  /* 移动端卡片优化 */
  .premium-card {
    padding: var(--spacing-lg);
    min-height: 160px;
    border-radius: var(--radius-lg);
  }
  
  .premium-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .premium-card-description {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  
  /* 移动端AI/VIP区域优化 */
  .ai-flex,
  .vip-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .ai-text,
  .vip-text {
    order: 2;
  }
  
  .ai-img,
  .vip-img {
    order: 1;
  }
  
  .service-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
  }
  
  .service-icon-box svg {
    width: 48px;
    height: 48px;
  }
  
  /* 移动端按钮优化 */
  .btn-group {
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
    padding: 14px 24px;
  }
  
  /* 移动端文本优化 */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* 移动端列表优化 */
  .hero-features {
    font-size: 0.875rem;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  /* 移动端间距优化 */
  section {
    padding: 3rem 0;
  }
  
  .section-divider {
    height: 1px;
    margin: 2rem 0;
  }
  
  /* 增大触摸目标 */
  .nav-link,
  .btn {
    min-height: 48px;
    min-width: 48px;
    padding: 16px 28px;
    touch-action: manipulation;
  }
  
  .feature-card {
    padding: var(--spacing-xl);
    touch-action: manipulation;
  }
  
  /* 移除hover效果，只保留active */
  .feature-card:hover {
    transform: none;
    box-shadow: initial;
  }
  
  .btn:hover {
    transform: none;
  }
  
  /* 优化的点击反馈 */
  .btn {
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .btn:active {
    transform: scale(0.96);
    opacity: 0.85;
  }
  
  .feature-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .feature-card:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.92);
  }
  
  .mobile-nav .nav-link {
    min-height: 64px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-nav .nav-link:active {
    transform: scale(0.96);
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  /* 优化滚动性能 */
  body,
  .hero,
  section,
  .mobile-nav,
  .container {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* 移动端性能优化 - 减少重绘 */
  .hero,
  .section-bg,
  .feature-card {
    will-change: transform;
    transform: translateZ(0);
  }

  /* 移动端字体渲染优化 */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* 移动端输入框优化 */
  input,
  textarea,
  select {
    font-size: 16px !important; /* 防止 iOS 自动缩放 */
    -webkit-appearance: none;
    appearance: none;
    border-radius: var(--radius-lg);
  }

  /* 移动端表单聚焦优化 */
  input:focus,
  textarea:focus,
  select:focus {
    transform: none; /* 移除桌面端的 transform */
  }
  
  /* 图标和图片的触摸优化 */
  .feature-icon,
  .hero-img,
  img,
  svg {
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
  }
  
  a img,
  button img,
  a svg,
  button svg {
    pointer-events: none;
  }
}

/* ===== 12. 鼠标设备优化 ===== */
@media (pointer: fine) {
  /* 精细的悬停效果 */
  .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
  }
  
  /* 移除背景色，只保留下划线 */
}

/* ===== 移动端键盘弹出优化 ===== */
@media (max-width: 768px) {
  /* 当键盘弹出时保持布局稳定 */
  html.mobile-keyboard-open {
    height: 100%;
    overflow: hidden;
  }

  html.mobile-keyboard-open body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* 输入框聚焦时滚动到可见区域 */
  input:focus,
  textarea:focus {
    scroll-margin-top: calc(var(--nav-height) + var(--spacing-lg));
  }
}

/* ===== 13. 横屏优化 ===== */
@media (orientation: landscape) and (max-height: 600px) {
  /* 横屏且高度有限时优化 */
  :root {
    --nav-height: 48px;
  }
  
  .navbar {
    height: 48px;
    /* 确保背景、颜色、透明度与PC端一致 */
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.65) 0%, 
      rgba(124, 58, 237, 0.55) 50%,
      rgba(109, 40, 217, 0.65) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15) !important;
  }
  
  /* 横屏滚动状态 */
  .navbar.scrolled {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.75) 0%, 
      rgba(124, 58, 237, 0.65) 50%,
      rgba(109, 40, 217, 0.75) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    box-shadow: 0 4px 32px rgba(139, 92, 246, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
  }
  
  .nav-container {
    padding-left: max(var(--spacing-md), var(--safe-area-inset-left, 0px)) !important; /* 与下载页保持一致：16px */
    padding-right: max(var(--spacing-md), var(--safe-area-inset-right, 0px)) !important; /* 与下载页保持一致：16px */
    min-height: 48px !important;
  }
  
  .nav-logo {
    font-size: var(--font-size-base);
    gap: var(--spacing-xs);
  }
  
  .nav-logo-img {
    width: 32px;
    height: 32px;
  }
  
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  
  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
  /* 横屏移动端菜单优化 - 滚动模式 */
  .mobile-nav nav {
    min-height: calc(100vh - 48px);
    padding: var(--spacing-lg) var(--spacing-md);
    gap: var(--spacing-sm);
    justify-content: flex-start;
    padding-top: var(--spacing-xl);
  }
  
  .mobile-nav .nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-lg);
    min-height: 48px;
  }
  
  .hero {
    padding: calc(48px + var(--spacing-lg)) 0 var(--spacing-lg) 0;
    min-height: auto;
  }
  
  .hero-flex {
    gap: var(--spacing-md);
  }
  
  .hero-text h1 {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }
  
  .hero-text p {
    font-size: var(--font-size-sm);
  }
  
  .section-bg {
    padding: var(--spacing-xl) 0;
  }
}

/* ===== 14. 竖屏优化 ===== */
@media (orientation: portrait) and (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-img {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===== 15. 高分屏优化 ===== */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  /* Retina 图片处理 */
  .hero-img svg,
  .feature-icon img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===== 16. 小屏幕专用导航 ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px; /* 与下载页保持一致 */
    --spacing-3xl: 3rem;
    --spacing-4xl: 4rem;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .desktop-nav {
    display: none !important;
  }
  
  /* 导航栏优化 - 紧凑模式 */
  .navbar {
    height: 64px; /* 与下载页保持一致 */
    padding-top: var(--safe-area-inset-top, 0px);
    /* 确保移动端和PC端导航栏背景、颜色、透明度完全一致 */
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.65) 0%, 
      rgba(124, 58, 237, 0.55) 50%,
      rgba(109, 40, 217, 0.65) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15) !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* 移动端导航栏滚动状态 - 与PC端保持一致 */
  .navbar.scrolled {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.75) 0%, 
      rgba(124, 58, 237, 0.65) 50%,
      rgba(109, 40, 217, 0.75) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    box-shadow: 0 4px 32px rgba(139, 92, 246, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
  }
  
  /* 骨架导航栏也保持一致 */
  #navbar-skeleton {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.65) 0%, 
      rgba(124, 58, 237, 0.55) 50%,
      rgba(109, 40, 217, 0.65) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15) !important;
  }
  
  .nav-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: max(var(--spacing-md), var(--safe-area-inset-left, 0px)) !important; /* 与下载页保持一致：16px */
    padding-right: max(var(--spacing-md), var(--safe-area-inset-right, 0px)) !important; /* 与下载页保持一致：16px */
    min-height: 64px !important; /* 与下载页保持一致 */
    height: 64px !important; /* 与下载页保持一致 */
    margin: 0 !important;
    box-sizing: border-box !important;
    gap: 1rem !important;
  }
  
  .nav-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
    font-size: var(--font-size-lg) !important;
    font-weight: 600 !important;
    gap: var(--spacing-sm) !important;
  }
  
  .nav-logo-img {
    width: 44px !important; /* 与下载页保持一致 */
    height: 44px !important; /* 与下载页保持一致 */
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    order: 999 !important;
    position: relative !important;
  }
  
  .mobile-menu-toggle span {
    width: 22px !important;
    height: 2.5px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hero区域移动端优化 */
  .hero {
    padding-top: calc(var(--nav-height) + var(--safe-area-inset-top, 0px) + var(--spacing-4xl));
    padding-bottom: calc(var(--spacing-4xl) + var(--safe-area-inset-bottom, 0px));
    min-height: auto;
    padding-left: var(--safe-area-inset-left, 0px);
    padding-right: var(--safe-area-inset-right, 0px);
  }
  
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-3xl);
    align-items: center;
  }
  
  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-text p {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-features {
    margin: var(--spacing-xl) auto;
    gap: var(--spacing-md);
    max-width: min(85%, 480px);
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features li {
    font-size: var(--font-size-lg);
    padding: var(--spacing-sm) 0;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    padding-left: 0;
  }
  
  .hero-features li::before {
    margin-top: 0;
    flex-shrink: 0;
    margin-right: var(--spacing-md);
    width: 1.2em;
    text-align: center;
  }
  
  .hero-actions {
    gap: var(--spacing-lg);
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-2xl);
    font-size: var(--font-size-lg);
    min-height: 64px;
    border-radius: var(--radius-xl);
    font-weight: 600;
  }
  
  .hero-img {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .hero-img svg {
    width: 100%;
    height: auto;
  }
  
  /* 功能卡片优化 */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-2xl);
  }
  
  .feature-card {
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
  }
  
  .feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .feature-icon img {
    width: 56px;
    height: 56px;
  }
  
  .feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
  }
  
  .feature-card p {
    font-size: var(--font-size-base);
    line-height: 1.8;
  }
  
  /* Section标题优化 */
  section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-2xl);
    font-weight: 700;
  }
  
  /* Section间距优化 */
  .section-bg {
    padding: var(--spacing-4xl) 0;
  }
  
  /* 数据可视化section */
  .data-section {
    padding: var(--spacing-4xl) 0;
  }
  
  .data-visualization {
    padding: var(--spacing-xl);
  }
  
  /* AI服务section */
  .ai-section,
  .vip-section {
    padding: var(--spacing-4xl) 0;
  }
  
  .ai-flex,
  .vip-flex {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-2xl);
  }
  
  .ai-img,
  .vip-img {
    max-width: 200px;
    margin: 0 auto;
  }
  
  .ai-img img,
  .vip-img img {
    width: 100%;
    height: auto;
  }
  
  .ai-text,
  .vip-text {
    max-width: 100%;
    align-items: center;
    width: 100%;
  }
  
  .ai-text h2,
  .vip-text h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    width: 100%;
  }
  
  .ai-text p {
    font-size: var(--font-size-lg);
    line-height: 1.85;
    text-align: center;
    max-width: 100%;
  }
  
  .vip-text ul {
    text-align: left;
    max-width: 100%;
    margin: var(--spacing-md) auto 0 auto;
    padding: 0;
    align-items: center;
    width: 100%;
  }
  
  .vip-text ul li {
    padding: var(--spacing-sm) 0;
    padding-left: 2rem;
    max-width: 400px;
    width: 100%;
  }
  
  .vip-text ul li::before {
    width: 1.5em;
    text-align: center;
  }
  
  /* 技术参数section */
  .tech-specs {
    gap: var(--spacing-lg);
  }
  
  .spec-item {
    padding: var(--spacing-lg);
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .spec-label,
  .spec-value {
    font-size: var(--font-size-lg);
  }
  
  /* 关于section */
  .about-section {
    padding: var(--spacing-4xl) 0;
  }
  
  .about-content {
    gap: var(--spacing-2xl);
  }
  
  .about-card {
    padding: var(--spacing-2xl);
    text-align: center;
  }

  .about-card-icon {
    font-size: 2.5rem;
  }
  
  .about-card h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
  }
  
  .about-card p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
  }
  
  .honors-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .honor-item {
    padding: var(--spacing-lg);
  }
  
  .honor-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
  }
  
  .honor-text {
    font-size: var(--font-size-lg);
  }
  
  /* 容器优化 - 与下载页保持一致 */
  .container {
    padding-left: max(var(--spacing-md), var(--safe-area-inset-left, 0px)) !important; /* 与下载页保持一致：16px */
    padding-right: max(var(--spacing-md), var(--safe-area-inset-right, 0px)) !important; /* 与下载页保持一致：16px */
  }

  /* 移动端底部安全区域 */
  .footer {
    padding-bottom: calc(var(--spacing-lg) + var(--safe-area-inset-bottom, 0px));
  }

  /* 移动端回到顶部按钮安全区域 */
  .back-to-top {
    bottom: calc(20px + var(--safe-area-inset-bottom, 0px));
    right: calc(20px + var(--safe-area-inset-right, 0px));
  }

  /* Toast 通知安全区域 */
  .toast {
    bottom: calc(20px + var(--safe-area-inset-bottom, 0px));
    right: calc(20px + var(--safe-area-inset-right, 0px));
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav {
    display: none !important;
  }
  
  .desktop-nav {
    display: flex !important;
  }
}

/* ===== 17. 间距响应式系统 ===== */
@media (max-width: 480px) {
  :root {
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 18px;
    --spacing-lg: 24px;
    --spacing-xl: 36px;
    --spacing-2xl: 48px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --spacing-xs: 8px;
    --spacing-sm: 14px;
    --spacing-md: 20px;
    --spacing-lg: 28px;
    --spacing-xl: 42px;
    --spacing-2xl: 56px;
  }
}

@media (min-width: 1920px) {
  :root {
    --spacing-xs: 10px;
    --spacing-sm: 18px;
    --spacing-md: 28px;
    --spacing-lg: 38px;
    --spacing-xl: 56px;
    --spacing-2xl: 72px;
  }
}

/* ===== 18. 字体响应式系统 ===== */
html {
  /* 基础字号 - 移动端 */
  font-size: 14px;
}

@media (min-width: 480px) {
  html {
    font-size: 14.5px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }
}

/* ===== 19. Grid自适应优化 ===== */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ===== 20. 容器查询（未来支持）===== */
@supports (container-type: inline-size) {
  .card-container {
    container-type: inline-size;
    container-name: card;
  }
  
  @container card (min-width: 400px) {
    .card {
      display: flex;
      gap: var(--spacing-md);
    }
  }
}

/* ===== 21. 打印优化 ===== */
@media print {
  @page {
    margin: 2cm;
  }
  
  .navbar,
  .mobile-menu-toggle,
  .mobile-nav,
  .back-to-top,
  .scroll-progress {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .btn,
  .download-btn {
    border: 2px solid #333;
    color: #333;
    background: white;
  }
  
  .feature-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ===== 22. 无障碍 - 减少动画 ===== */
@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;
  }
}

/* ===== 23. 暗色模式偏好 ===== */
@media (prefers-color-scheme: light) {
  /* 如果用户偏好浅色模式，可以在这里添加相应样式 */
  /* 当前项目使用深色主题，保持不变 */
}

/* ===== 24. 对比度偏好 ===== */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --primary-color: #a78bfa;
  }
  
  .btn:hover {
    border: 2px solid var(--primary-color);
  }
}

/* ===== 25. 数据节省模式 ===== */
@media (prefers-reduced-data: reduce) {
  /* 减少数据使用 */
  .hero-img svg animate {
    display: none;
  }
  
  body::after {
    background: none;
  }
}

/* ===== 26. 移动端视觉增强 ===== */
@media (max-width: 768px) {
  /* 按钮阴影增强 */
  .btn {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
    border: 2px solid rgba(139, 92, 246, 0.2);
  }
  
  .btn:active {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
  }
  
  /* 卡片阴影和边框增强 */
  .feature-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
  }
  
  .feature-card:active {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  
  /* 导航栏视觉增强 - 确保与PC端一致 */
  .navbar {
    /* 确保移动端导航栏背景、颜色、透明度与PC端完全一致 */
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.65) 0%, 
      rgba(124, 58, 237, 0.55) 50%,
      rgba(109, 40, 217, 0.65) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15) !important;
  }
  
  /* 移动端滚动状态也与PC端一致 */
  .navbar.scrolled {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.75) 0%, 
      rgba(124, 58, 237, 0.65) 50%,
      rgba(109, 40, 217, 0.75) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    box-shadow: 0 4px 32px rgba(139, 92, 246, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
  }
  
  /* 移动端菜单增强 */
  .mobile-menu-toggle {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Section分隔线优化 */
  .section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(139, 92, 246, 0.3) 50%, 
      transparent 100%);
    margin: var(--spacing-xl) 0;
  }
  
  /* AI和VIP section卡片样式 */
  .ai-flex,
  .vip-flex {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  /* 技术参数卡片 */
  .spec-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
  }
  
  /* 荣誉卡片 */
  .honor-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
  }
}

/* ===== 27. 移动端动画优化 ===== */
@media (max-width: 768px) {
  /* 简化动画 */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(10px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* 缩短动画时长 */
  .fade-in,
  .slide-in-right,
  .glow-effect {
    animation-duration: 0.4s !important;
  }
  
  /* 减少动画延迟 */
  .feature-card {
    animation-delay: 0s !important;
  }
}

/* ===== 28. 小手机特殊优化 ===== */
@media (max-width: 480px) {
  :root {
    --spacing-xl: 20px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;
  }
  
  .container,
  .nav-container {
    padding: 0 var(--spacing-xl);
  }
  
  .hero-text h1 {
    font-size: clamp(1.75rem, 7vw, 2rem);
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-text p {
    font-size: var(--font-size-lg);
  }
  
  .hero-features {
    max-width: min(85%, 420px);
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features li {
    font-size: var(--font-size-base);
    padding: var(--spacing-sm) 0;
  }
  
  .hero-actions {
    max-width: 100%;
  }
  
  .hero-actions .btn {
    min-height: 56px;
    font-size: var(--font-size-base);
    padding: var(--spacing-lg) var(--spacing-xl);
  }
  
  .hero-img {
    max-width: 240px;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .feature-icon img {
    width: 48px;
    height: 48px;
  }
  
  .feature-card {
    padding: var(--spacing-xl);
  }
  
  .feature-card h3 {
    font-size: var(--font-size-lg);
  }
  
  .feature-card p {
    font-size: var(--font-size-sm);
  }
  
  section h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
  }
  
  .ai-text h2,
  .vip-text h2 {
    font-size: var(--font-size-xl);
  }
  
  .ai-text p,
  .vip-text ul {
    font-size: var(--font-size-base);
  }
  
  .ai-img,
  .vip-img {
    max-width: 160px;
  }
  
  .about-card {
    padding: var(--spacing-xl);
  }

  .about-card-icon {
    font-size: 2rem;
  }
  
  .about-card h2 {
    font-size: var(--font-size-xl);
  }
  
  .about-card p {
    font-size: var(--font-size-base);
  }
  
  .honor-icon {
    font-size: 2rem;
  }
  
  .honor-text {
    font-size: var(--font-size-base);
  }
}

/* ===== 29. 极小屏幕优化 (< 320px) ===== */
@media (max-width: 320px) {
  :root {
    --nav-height: 48px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
  }
  
  .navbar {
    height: 48px;
    /* 确保背景、颜色、透明度与PC端一致 */
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.65) 0%, 
      rgba(124, 58, 237, 0.55) 50%,
      rgba(109, 40, 217, 0.65) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.15) !important;
  }
  
  /* 极小屏滚动状态 */
  .navbar.scrolled {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.75) 0%, 
      rgba(124, 58, 237, 0.65) 50%,
      rgba(109, 40, 217, 0.75) 100%) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    box-shadow: 0 4px 32px rgba(139, 92, 246, 0.3) !important;
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
  }
  
  .nav-container {
    padding-left: var(--spacing-md) !important;
    padding-right: var(--spacing-md) !important;
    min-height: 48px !important;
    gap: 0.5rem !important;
  }
  
  .nav-logo {
    font-size: 0.875rem !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  
  .nav-logo span {
    display: none !important;
  }
  
  .nav-logo-img {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle span {
    width: 18px !important;
    height: 2px !important;
  }
  
  .mobile-nav .nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-lg);
    min-height: 48px;
  }
}

/* ===== 30. 横屏极小屏优化 ===== */
@media (orientation: landscape) and (max-height: 400px) {
  :root {
    --nav-height: 44px;
  }
  
  .navbar {
    height: 44px;
  }
  
  .nav-container {
    min-height: 44px !important;
    padding-left: var(--spacing-sm) !important;
    padding-right: var(--spacing-sm) !important;
    gap: 0.5rem !important;
  }
  
  .nav-logo {
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
  }
  
  .nav-logo-img {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-menu-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex-shrink: 0 !important;
  }
  
  .mobile-nav nav {
    padding: var(--spacing-md);
    gap: 6px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
  }
  
  .mobile-nav .nav-link {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    min-height: 40px;
    max-width: 48%;
    flex: 0 0 auto;
  }
}

/* ==================== 低端设备优化 - 纯色不透明 ==================== */
.low-end-device {
  /* 禁用所有动画和过渡 */
  --transition-fast: 0s !important;
  --transition-normal: 0s !important;
}

.low-end-device *,
.low-end-device *::before,
.low-end-device *::after {
  animation: none !important;
  transition: none !important;
}

/* 低端设备：纯色不透明导航栏 */
.low-end-device .navbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.low-end-device .navbar.scrolled {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
  box-shadow: 0 2px 12px rgba(109, 40, 217, 0.3) !important;
}

.low-end-device #navbar-skeleton {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
}

/* 低端设备：禁用复杂背景 */
.low-end-device body::before,
.low-end-device body::after,
.low-end-device .hero-section::before {
  display: none !important;
}

/* 低端设备：简化卡片样式 */
.low-end-device .premium-card {
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.low-end-device .service-icon-box {
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== 高性能移动设备 - 与PC一致 ==================== */
.high-end-mobile .navbar {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.high-end-mobile .navbar.scrolled {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.5) 0%, rgba(139, 92, 246, 0.35) 100%);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
}

.high-end-mobile #navbar-skeleton {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(139, 92, 246, 0.25) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ===== 12. 移动端横屏优化 ===== */
@media (max-width: 1024px) and (orientation: landscape) {
  /* 横屏导航栏优化 */
  .navbar {
    height: 56px;
  }
  
  :root {
    --nav-height: 56px;
  }
  
  /* 横屏Hero区域优化 */
  .hero {
    padding: calc(var(--nav-height) + 1rem) 0 2rem;
    min-height: calc(100vh - var(--nav-height));
  }
  
  .hero-flex {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-img {
    flex: 0 0 auto;
    order: 2;
  }
  
  .hero-img svg {
    width: 200px;
    height: 200px;
  }
  
  /* 横屏文本优化 */
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    font-size: 1.125rem;
  }
  
  /* 横屏网格优化 */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .premium-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  /* 横屏AI/VIP区域优化 */
  .ai-flex,
  .vip-flex {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
  }
  
  .ai-img,
  .vip-img {
    flex: 0 0 auto;
  }
  
  .ai-text,
  .vip-text {
    flex: 1;
  }
  
  .service-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 1rem 0 0;
  }
  
  .service-icon-box svg {
    width: 36px;
    height: 36px;
  }
  
  /* 横屏按钮优化 */
  .btn-group {
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }
  
  .btn {
    width: auto;
    min-width: 160px;
  }
  
  /* 横屏间距优化 */
  section {
    padding: 2rem 0;
  }
}

/* ===== 13. 移动端安全区域适配 ===== */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    /* 安全区域适配 */
    .hero {
      padding-top: calc(var(--nav-height) + var(--safe-area-inset-top, 0px) + 2rem);
    }
    
    .navbar {
      padding-top: var(--safe-area-inset-top, 0px);
    }
    
    /* 底部安全区域 */
    .section:last-child {
      padding-bottom: calc(3rem + var(--safe-area-inset-bottom, 0px));
    }
    
    /* 移动端导航菜单适配 */
    .mobile-nav {
      top: calc(50vh + var(--nav-height, 64px) / 2 + var(--safe-area-inset-top, 0px) / 2);
    }
    
    .mobile-nav-overlay {
      top: calc(var(--nav-height, 64px) + var(--safe-area-inset-top, 0px));
      height: calc(100vh - var(--nav-height, 64px) - var(--safe-area-inset-top, 0px));
      min-height: calc(100vh - var(--nav-height, 64px) - var(--safe-area-inset-top, 0px));
      max-height: calc(100vh - var(--nav-height, 64px) - var(--safe-area-inset-top, 0px));
    }
  }
}

/* ===== 结束 ===== */

