/* ============================================
   Responsive - 响应式补充调整
   ============================================ */

/* ===== 大屏桌面 (>= 1536px) ===== */
@media (min-width: 1536px) {
  :root {
    --container-max: 1400px;
  }
}

/* ===== 标准桌面 (1280px - 1535px) ===== */
@media (min-width: 1280px) and (max-width: 1535px) {
  /* 保持默认 */
}

/* ===== 平板横屏/小桌面 (1024px - 1279px) ===== */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

/* ===== 平板竖屏 (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .page-banner__title {
    font-size: var(--text-4xl);
  }
}

/* ===== 大型手机 (480px - 767px) ===== */
@media (min-width: 480px) and (max-width: 767px) {
  .hero__title {
    font-size: var(--text-4xl);
  }
}

/* ===== 小型手机 (< 480px) ===== */
@media (max-width: 479px) {
  :root {
    --container-padding: 1rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .page-banner {
    padding: calc(var(--nav-height-mobile) + var(--space-16)) 0 var(--space-12);
  }

  .page-banner__title {
    font-size: var(--text-3xl);
  }

  .page-banner__subtitle {
    font-size: var(--text-sm);
  }

  .cta-section__title {
    font-size: var(--text-2xl);
  }

  .cta-section__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .cta-section__buttons .btn {
    width: 100%;
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .feature-card {
    padding: var(--space-5);
  }

  .feature-card__title {
    font-size: var(--text-lg);
  }

  .footer__top {
    gap: var(--space-6);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
}

/* ===== 触摸设备优化 ===== */
@media (hover: none) and (pointer: coarse) {
  .hover-card:hover,
  .feature-card:hover,
  .case-card:hover,
  .cert-card:hover,
  .culture-card:hover {
    transform: none;
  }

  .nav__link:hover::after {
    width: 0;
  }
}

/* ===== 打印样式 ===== */
@media print {
  .nav,
  .nav__overlay,
  .scroll-indicator,
  .hero__canvas,
  .cta-section__buttons,
  .footer__social {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section,
  .hero,
  .page-banner,
  .cta-section {
    background: white !important;
    padding: 20px 0;
  }

  .section-title,
  .hero__title,
  .page-banner__title,
  .cta-section__title,
  .text-gradient {
    -webkit-text-fill-color: black !important;
    color: black !important;
  }
}

/* ===== 降低动效偏好 ===== */
@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .logo-wall__track {
    animation: none !important;
  }
}
