/* ===== CSS 变量 & 全局重置 ===== */
:root {
  --primary: #00d4ff;
  --accent: #7b2fff;
  --accent2: #ff6b35;
  --bg-dark: #020b18;
  --bg-card: #041525;
  --bg-card2: #061e35;
  --border-glow: rgba(0, 212, 255, 0.3);
  --text-main: #e0f4ff;
  --text-muted: #7ab8d4;
  --text-dim: #4a7a99;
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-purple: 0 0 20px rgba(123, 47, 255, 0.4);
  --glow-green: 0 0 20px rgba(0, 220, 130, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景网格 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(2, 11, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  text-decoration: none;
}

.navbar-logo span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  display: block;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-top: -3px;
}

.navbar-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.navbar-nav a:hover {
  color: var(--primary);
}

.navbar-nav a:hover::after {
  width: 100%;
}

/* 固件下载链接高亮 */
.navbar-nav .nav-firmware {
  color: var(--accent2);
}

.navbar-nav .nav-firmware:hover {
  color: #ffaa77;
}

.navbar-nav .nav-firmware::after {
  background: var(--accent2);
}

/* 汉堡菜单（手机端） */
.navbar-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--primary);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.navbar-toggle:hover {
  background: rgba(0, 212, 255, 0.1);
}

/* 移动端菜单展开 */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(2, 11, 24, 0.98);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  z-index: 98;
  padding: 16px 24px;
  flex-direction: column;
  gap: 0;
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: var(--transition);
}

.navbar-mobile a:last-child {
  border-bottom: none;
}

.navbar-mobile a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.navbar-mobile a.nav-firmware-mobile {
  color: var(--accent2);
}

.navbar-mobile a.nav-firmware-mobile:hover {
  color: #ffaa77;
}

/* ===== 主体容器 ===== */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 区块标题 ===== */
.section-header {
  text-align: center;
  margin: 48px 0 28px;
}

.section-header .label {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-main);
}

.section-header .divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.section-header .divider::before,
.section-header .divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-header .divider::after {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-header .divider span {
  width: 6px;
  height: 6px;
  background: var(--primary);
  transform: rotate(45deg);
  box-shadow: var(--glow-blue);
}

/* ===== 轮播图 ===== */
.carousel-section {
  margin-top: 24px;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
  aspect-ratio: 2 / 1;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(2, 11, 24, 0.55) 100%);
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(2, 11, 24, 0.7);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  width: 38px;
  height: 38px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: var(--glow-blue);
}

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

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

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
}

/* ===== 下载区域 ===== */
.download-section {
  margin: 28px 0 0;
}

/* APP下载按钮 + 二维码 三列布局 */
.download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* 二维码卡片 */
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 12px 14px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.qr-card:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-blue), 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.qr-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.qr-card-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 中间下载按钮组 */
.download-btns-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* 安卓主下载按钮 */
.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 16px 36px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
  background: rgba(0, 212, 255, 0.06);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
  white-space: nowrap;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.app-download-btn::before,
.app-download-btn::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--primary);
  border-style: solid;
  transition: var(--transition);
}

.app-download-btn::before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}

.app-download-btn::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

.app-download-btn:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: var(--glow-blue), 0 0 40px rgba(0, 212, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.app-download-btn i {
  font-size: 20px;
}

/* iOS / 鸿蒙 次级下载按钮行 */
.download-sub-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.app-sub-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 5px;
  transition: var(--transition);
  background: rgba(0, 212, 255, 0.04);
  white-space: nowrap;
}

.app-sub-btn i {
  font-size: 15px;
}

.app-sub-btn.ios:hover {
  background: rgba(180, 180, 255, 0.1);
  border-color: #a0a0ff;
  color: #c8c8ff;
  box-shadow: 0 0 16px rgba(150, 150, 255, 0.25);
  transform: translateY(-2px);
}

.app-sub-btn.harmonyos {
  border-color: rgba(0, 212, 100, 0.25);
  color: #7ab8d4;
}

.app-sub-btn.harmonyos:hover {
  background: rgba(0, 220, 130, 0.08);
  border-color: rgba(0, 220, 130, 0.6);
  color: #00e09a;
  box-shadow: var(--glow-green);
  transform: translateY(-2px);
}

/* ===== 固件设置地址 ===== */
.firmware-links-section {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.firmware-links-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

.firmware-links-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 固件分组横排 */
.firmware-groups-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.firmware-group {
  flex: 1;
  min-width: 160px;
}

.firmware-group-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.firmware-group-name::before {
  content: '';
  width: 3px;
  height: 13px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.firmware-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.firmware-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 3px;
  background: rgba(0, 212, 255, 0.05);
  transition: var(--transition);
}

.firmware-link:hover {
  background: rgba(0, 212, 255, 0.14);
  border-color: var(--primary);
  box-shadow: var(--glow-blue);
  color: #fff;
}

.firmware-link i {
  font-size: 12px;
  flex-shrink: 0;
}

.fl-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fl-label {
  font-size: 13px;
  line-height: 1.3;
}

.fl-url {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.firmware-link:hover .fl-url {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 爆款商品 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.product-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-info {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.product-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
  transition: var(--transition);
  white-space: nowrap;
}

.product-link:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--glow-blue);
}

/* ===== 线刷工具区 ===== */
.tools-section {
  margin-bottom: 56px;
}

.tools-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.tools-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

.tools-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.tools-single {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

.tools-col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tools-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-glow), transparent);
}

.zip-download-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card2);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  cursor: pointer;
}

.zip-download-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-blue);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
}

.zip-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.zip-info {
  flex: 1;
  min-width: 0;
}

.zip-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.zip-meta {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.8;
}

.zip-meta span {
  color: var(--text-muted);
}

.zip-btn {
  flex-shrink: 0;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--primary);
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.zip-contents {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 4px;
}

.zip-contents-title {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.zip-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.zip-file-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 2px;
  padding: 3px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.zip-file-tag i {
  font-size: 10px;
  color: var(--primary);
}

/* 推荐徽章 */
.zip-recommend-badge {
  display: inline-block;
  font-size: 10px;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--bg-dark);
  background: var(--primary);
  border-radius: 2px;
  padding: 1px 7px;
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
  top: -1px;
}

/* 单文件下载列表 */
.single-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.03);
  border: 1px solid rgba(0, 212, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.single-file-row:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateX(3px);
}

.sfr-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sfr-icon {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sfr-icon--exe {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--primary);
}

.sfr-icon--doc {
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.25);
  color: var(--accent);
}

.sfr-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sfr-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sfr-ext {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.sfr-dl {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}

.single-file-row:hover .sfr-dl {
  background: rgba(0, 212, 255, 0.18);
  border-color: var(--primary);
  box-shadow: var(--glow-blue);
}

/* 手机端单文件行适配 */
@media (max-width: 600px) {
  .sfr-name {
    font-size: 12px;
  }

  .sfr-ext {
    font-size: 10px;
  }

  .sfr-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .single-file-row {
    padding: 8px 10px;
  }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.7s ease both;
}

.fade-in-d1 {
  animation-delay: 0.1s;
}

.fade-in-d2 {
  animation-delay: 0.2s;
}

.fade-in-d3 {
  animation-delay: 0.3s;
}

.fade-in-d4 {
  animation-delay: 0.4s;
}

/* ===== 响应式断点 ===== */

/* 平板 ≤ 900px */
@media (max-width: 900px) {
  .navbar {
    padding: 0 16px;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .main-wrapper {
    padding: 0 16px;
  }



  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .firmware-groups-row {
    gap: 14px;
  }

  .tools-inner {
    padding: 24px 20px;
  }
}

/* 手机 ≤ 600px */
@media (max-width: 600px) {
  .navbar {
    height: 52px;
  }

  .navbar-logo {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .navbar-mobile {
    top: 52px;
  }

  .main-wrapper {
    padding: 0 12px;
  }

  /* 轮播图：手机竖版比例 */
  .carousel-container {
    height: auto;
    aspect-ratio: 9 / 14;
    max-height: 72vw;
  }

  /* 下载行：手机端垂直排列 */
  .download-row {
    flex-direction: column;
    gap: 16px;
  }

  /* 二维码横排 */
  .download-row-qr {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
  }

  .download-btns-center {
    width: 100%;
  }

  .qr-card {
    padding: 10px 12px;
  }

  .qr-card img {
    width: 90px;
    height: 90px;
  }

  .app-download-btn {
    font-size: 15px;
    padding: 14px 20px;
    letter-spacing: 1px;
    width: 100%;
    justify-content: center;
  }

  .app-sub-btn {
    font-size: 12px;
    padding: 9px 10px;
  }

  .firmware-links-section {
    padding: 18px 14px;
  }

  .firmware-groups-row {
    flex-direction: column;
    gap: 16px;
  }

  .firmware-link-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .section-header {
    margin: 36px 0 20px;
  }

  .section-header h2 {
    font-size: 18px;
  }

  .tools-inner {
    padding: 20px 14px;
  }

  .zip-download-btn {
    flex-wrap: wrap;
    gap: 12px;
  }

  .zip-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 超小屏 ≤ 380px */
@media (max-width: 380px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .app-download-btn {
    font-size: 14px;
  }

  .qr-card img {
    width: 76px;
    height: 76px;
  }

  .download-sub-row {
    flex-direction: column;
  }
}