/* =====================================================
   RESPONSIVE - 响应式适配
   ===================================================== */

/* 大屏 */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .biz-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .culture-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { height: 420px; }
}

/* 平板 */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; order: -1; }
  .hero { padding: 50px 0 40px; min-height: auto; }

  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 380px; margin: 0 auto; }

  .biz-detail-hero .biz-detail-grid { grid-template-columns: 1fr; gap: 40px; }

  .brand-banner { grid-template-columns: 1fr; gap: 30px; padding: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand { grid-column: span 2; }
}

/* 移动端 */
@media (max-width: 768px) {
  body { font-size: 14px; }

  .container { padding: 0 20px; }

  /* 顶栏与导航 */
  .topbar { display: none; }
  .navbar-inner { padding-top: 12px; padding-bottom: 12px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 9px; }
  .brand-mark svg { width: 30px; height: 30px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    transform: translateY(-150%);
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }
  .nav-link::before { display: none; }
  .nav-link.active { background: rgba(0, 229, 255, 0.08); }
  .nav-cta {
    margin: 16px 0 0;
    justify-content: center;
    padding: 14px;
  }

  /* 区块 */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  /* 网格 */
  .biz-grid, .product-grid, .news-grid, .case-grid, .culture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }
  .stat-item:nth-child(2)::after { display: none; }
  .process-list { grid-template-columns: 1fr; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 30px 0 40px;
  }
  .hero-title { font-size: clamp(30px, 9vw, 48px); }
  .hero-desc { font-size: 14px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .hero-meta-item .num { font-size: 22px; }
  .hero-visual { height: 280px; }
  .hero-visual .core { width: 140px; height: 140px; }
  .hero-visual .core svg { width: 90px; height: 90px; }
  .hero-visual .ring.r1 { width: 90%; height: 90%; }
  .hero-visual .ring.r2 { width: 65%; height: 65%; }
  .hero-visual .ring.r3 { width: 45%; height: 45%; }
  @keyframes orbit1 {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
  }
  @keyframes orbit2 {
    from { transform: rotate(0deg) translateX(90px) rotate(0deg); }
    to   { transform: rotate(-360deg) translateX(90px) rotate(360deg); }
  }
  @keyframes orbit3 {
    from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
  }
  .hero-visual .badge-tag { font-size: 10px; padding: 4px 10px; }

  /* 卡片减少内边距 */
  .biz-card { padding: 28px 22px 26px; min-height: auto; }
  .card { padding: 22px; }

  /* 表单 */
  .form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* 业务详情 */
  .biz-tabs { gap: 8px; }
  .biz-tab { padding: 8px 16px; font-size: 13px; }

  /* 时间轴 */
  .timeline { padding-left: 30px; }
  .timeline-item::before { left: -29px; width: 14px; height: 14px; }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* 文章 */
  .article-body { font-size: 15px; }

  /* 分页 */
  .pagination a, .pagination span {
    min-width: 36px; height: 36px;
    font-size: 12px;
    padding: 0 8px;
  }

  /* 品牌大字 */
  .brand-logo-big { font-size: clamp(40px, 12vw, 64px); }

  /* 内页 banner */
  .page-banner { padding: 50px 0 40px; }

  /* 返回顶部 */
  .back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }

  /* 简化扫描线动画频率 */
  .scanline { animation-duration: 12s; }
}

/* 超小屏 */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-meta { gap: 16px; }
  .hero-meta-item .num { font-size: 20px; }
  .form-card { padding: 18px; }
  .brand-banner { padding: 24px; }
}

/* 触摸设备 */
@media (hover: none) {
  .biz-card:hover,
  .card:hover,
  .news-card:hover,
  .case-card:hover,
  .product-card:hover {
    transform: none;
  }
  .btn-primary:hover { transform: none; }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scanline { display: none; }
  .particles-canvas { opacity: 0.3; }
}
