/* ============================================
   responsive.less - 响应式断点
   仿DJI深色科技风主题 - 响应式适配
   ============================================ */
/* ---------- 超大屏幕 (>1440px) ---------- */
@media screen and (min-width: 1440px) {
  .container-lg {
    padding-left: 48px;
    padding-right: 48px;
  }
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
/* ---------- 大屏幕 (<1200px) ---------- */
@media screen and (max-width: 1200px) {
  .hero-slide-title {
    font-size: 48px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-dealer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav-mega-menu {
    width: 95%;
  }
}
/* ---------- 平板 (<992px) ---------- */
@media screen and (max-width: 992px) {
  /* Hero */
  .hero-slide-title {
    font-size: 36px;
  }
  .hero-slide-desc {
    font-size: 18px;
  }
  .hero-slide-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hero-arrow {
    display: none;
  }
  /* 导航 */
  .nav-menu {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile-menu {
    display: block;
  }
  .nav-cta-btn {
    display: none;
  }
  /* 产品 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-detail {
    flex-direction: column;
  }
  .product-highlights {
    grid-template-columns: 1fr;
  }
  /* 对比 */
  .compare-selector {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  /* 文章 */
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-card-horizontal {
    flex-direction: column;
  }
  .article-card-horizontal .article-card-image {
    width: 100%;
  }
  .layout-sidebar {
    flex-direction: column;
  }
  .layout-sidebar-aside {
    width: 100%;
  }
  /* 下载 */
  .download-software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 支持 */
  .support-quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-category-grid {
    grid-template-columns: 1fr;
  }
  .support-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-repair-steps {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .support-repair-step + .support-repair-step::before {
    top: -32px;
    right: 50%;
    left: auto;
    width: 1px;
    height: 32px;
    transform: translateX(-50%);
  }
  /* 关于 */
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 购买渠道 */
  .store-online-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-list {
    grid-template-columns: 1fr;
  }
  .store-dealer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal {
    flex-wrap: wrap;
    gap: 16px;
  }
}
/* ---------- 手机大屏 (<768px) ---------- */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: 24px;
  }
  /* Hero */
  .hero {
    min-height: 100vh;
    height: auto;
  }
  .hero-slide-title {
    font-size: 30px;
  }
  .hero-slide-desc {
    font-size: 16px;
  }
  .hero-slide-btn-primary,
  .hero-slide-btn-secondary {
    height: 42px;
    padding: 0 32px;
    font-size: 14px;
  }
  .hero-indicator {
    width: 24px;
  }
  /* 产品 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-card-body {
    padding: 16px;
  }
  .product-card-name {
    font-size: 16px;
  }
  .product-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-info-name {
    font-size: 24px;
  }
  .product-info-price {
    font-size: 24px;
  }
  .product-buy-actions {
    flex-direction: column;
  }
  /* 对比 */
  .compare-table-wrapper {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .compare-summary {
    grid-template-columns: 1fr;
  }
  /* 文章 */
  .article-list {
    grid-template-columns: 1fr;
  }
  .article-detail-title {
    font-size: 24px;
  }
  .article-nav {
    flex-direction: column;
  }
  /* 下载 */
  .download-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .download-item-icon {
    margin-right: 0;
    margin-bottom: 16px;
  }
  .download-item-action {
    margin-left: 0;
    margin-top: 16px;
  }
  .download-software-grid {
    grid-template-columns: 1fr;
  }
  /* 支持 */
  .support-quick-links {
    grid-template-columns: 1fr;
  }
  .support-contact-grid {
    grid-template-columns: 1fr;
  }
  /* 关于 */
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-global-stats {
    flex-wrap: wrap;
    gap: 32px;
  }
  /* 购买渠道 */
  .store-online-grid {
    grid-template-columns: 1fr;
  }
  .store-dealer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 搜索 */
  .search-result-item {
    flex-direction: column;
  }
  .search-result-thumb {
    width: 100%;
    height: 160px;
  }
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-subscribe {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-subscribe-form {
    max-width: none;
  }
  /* 组件 */
  .modal {
    width: 95%;
    max-height: 85vh;
  }
  .toast-container {
    left: 16px;
    right: 16px;
  }
  .toast {
    min-width: auto;
    max-width: none;
  }
  /* 页面 */
  .page-title {
    font-size: 24px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  /* 间距调整 */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-main {
    padding-top: 64px;
  }
}
/* ---------- 手机小屏 (<576px) ---------- */
@media screen and (max-width: 576px) {
  .hero-slide-title {
    font-size: 24px;
  }
  .hero-slide-tag {
    font-size: 10px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card-image {
    padding-top: 56.25%;
  }
  .about-team-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  .store-dealer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-filters {
    gap: 8px;
  }
  .search-pagination {
    flex-wrap: wrap;
  }
}
/* ---------- 打印样式 ---------- */
@media print {
  .nav,
  .footer,
  .back-to-top,
  .hero-arrow,
  .hero-indicators,
  .hero-scroll-hint {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #333;
  }
  a {
    color: #333;
    text-decoration: underline;
  }
  .page-main {
    padding-top: 0;
  }
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
/* ---------- 深色模式（系统检测增强） ---------- */
@media (prefers-color-scheme: dark) {
  /* 确保深色模式下对比度足够 */
  .text-primary {
    color: #f0f0f8;
  }
  .text-secondary {
    color: #9898b0;
  }
}
/* ---------- 减弱动画（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .hero-slide-bg {
    transition: none;
  }
  .hero-slide {
    transition: none;
  }
}
/* ---------- 触摸设备优化 ---------- */
@media (hover: none) and (pointer: coarse) {
  .hero-arrow {
    display: flex;
    opacity: 0.6;
  }
  .product-card:hover {
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
  /* 增大触摸目标 */
  .nav-menu-link,
  .nav-dropdown-item,
  .nav-action-btn,
  .nav-search-btn {
    min-height: 44px;
    min-width: 44px;
  }
  .hero-indicator {
    width: 36px;
    height: 4px;
  }
}
/* ---------- 高分辨率屏幕 ---------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-logo img {
    -webkit-font-smoothing: antialiased;
  }
  .border-top-fine {
    border-top-width: 0.5px;
  }
}
