/* ============================================
   企业数字化报修平台 - 官网门户样式
   主题色沿用用户端 base.css
   ============================================ */

:root {
  --primary-color: #4ecdc4;
  --primary-dark: #3dbdb5;
  --primary-light: #6ed7d0;
  --accent-blue: #4a90e2;
  --accent-orange: #f7a23b;
  --secondary-color: #ff6b6b;
  --text-primary: #1f2933;
  --text-secondary: #5b6b7a;
  --text-light: #90a0ae;
  --bg-page: #ffffff;
  --bg-soft: #f5f9fa;
  --bg-dark: #0f2027;
  --border-color: #e5eaee;
  --shadow-sm: 0 2px 10px rgba(15, 32, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 32, 39, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 32, 39, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --header-h: 60px;
  --max-w: 1120px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; border: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.section-title {
  font-size: clamp(23px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.35;
}
.section-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.34);
}
.btn-ghost {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(78, 205, 196, 0.44); }
  .btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary-color); color: var(--primary-dark); }
  .btn-dark:hover { background: rgba(255, 255, 255, 0.2); }
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.brand-logo {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--primary-dark); background: rgba(78, 205, 196, 0.1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.nav-drawer {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 6px 20px 14px;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}
.nav-drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--border-color);
}
.nav-drawer a:last-child { border-bottom: 0; }
/* 抽屉内的下载项做主色强调 */
.nav-drawer a[download] { color: var(--primary-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 56px) 0 68px;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(78, 205, 196, 0.2), transparent 62%),
    radial-gradient(700px 380px at 4% 8%, rgba(74, 144, 226, 0.12), transparent 60%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(78, 205, 196, 0.36);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  margin-top: 18px;
  font-size: clamp(29px, 4.4vw, 47px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.2px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary-color), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
}
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 460px;
}
.hero-stat-num {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}
.hero-stat-num i { font-style: normal; font-size: 15px; }
.hero-stat-label { font-size: 13px; color: var(--text-light); }

/* 手机模拟 */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 288px;
  border-radius: 40px;
  padding: 11px;
  background: linear-gradient(160deg, #1f3b42, #0f2027);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 17.5;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 19px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 19px;
  border-radius: 999px;
  background: #0f2027;
  z-index: 2;
}
.ps-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  padding: 32px 14px 16px;
}
.ps-user { display: flex; align-items: center; gap: 9px; }
.ps-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ps-hello { font-size: 12px; font-weight: 600; }
.ps-sub { font-size: 10px; opacity: 0.86; }
.ps-search {
  margin-top: 11px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  display: flex; align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
}
.ps-body { flex: 1; padding: 11px; background: var(--bg-soft); overflow: hidden; }
.ps-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ps-card { background: #fff; border-radius: 11px; padding: 10px; box-shadow: var(--shadow-sm); }
.ps-card i {
  width: 22px; height: 22px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: #fff;
  background: var(--primary-color);
  margin-bottom: 5px;
}
.ps-card.b i { background: var(--accent-blue); }
.ps-card-t { font-size: 11px; font-weight: 700; }
.ps-card-d { font-size: 9px; color: var(--text-light); }
.ps-list { margin-top: 9px; background: #fff; border-radius: 11px; padding: 10px; box-shadow: var(--shadow-sm); }
.ps-list-h { font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.ps-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 10px; color: var(--text-secondary); }
.ps-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-color); flex-shrink: 0; }
.ps-dot.o { background: var(--accent-orange); }
.ps-dot.r { background: var(--secondary-color); }
.ps-nav {
  display: flex;
  justify-content: space-around;
  padding: 7px 0 11px;
  background: #fff;
  border-top: 1px solid var(--border-color);
  font-size: 9px;
  color: var(--text-light);
}
.ps-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-nav span i { font-size: 13px; }
.ps-nav span.on { color: var(--primary-dark); }

/* ---------- 系统入口 ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.entry-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.entry-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 6px 16px rgba(78, 205, 196, 0.3);
}
.entry-icon.blue { background: linear-gradient(135deg, #6fb1f7, var(--accent-blue)); box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3); }
.entry-icon.dark { background: linear-gradient(135deg, #4c5a66, #22313a); box-shadow: 0 6px 16px rgba(34, 49, 58, 0.26); }
.entry-body { flex: 1; min-width: 0; }
.entry-title { font-size: 17px; font-weight: 700; }
.entry-desc { margin-top: 4px; font-size: 13.5px; color: var(--text-secondary); }
.entry-arrow { color: var(--text-light); font-size: 14px; flex-shrink: 0; transition: transform var(--transition), color var(--transition); }

@media (hover: hover) {
  .entry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(78, 205, 196, 0.5);
  }
  .entry-card:hover .entry-arrow { transform: translateX(4px); color: var(--primary-dark); }
}
.entry-card:active { transform: scale(0.985); }

/* ---------- 功能特性 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--primary-dark);
  background: rgba(78, 205, 196, 0.13);
}
.feature-icon.c2 { color: var(--accent-blue); background: rgba(74, 144, 226, 0.13); }
.feature-icon.c3 { color: var(--accent-orange); background: rgba(247, 162, 59, 0.15); }
.feature-icon.c4 { color: var(--secondary-color); background: rgba(255, 107, 107, 0.13); }
.feature-title { font-size: 16.5px; font-weight: 700; }
.feature-desc { margin-top: 5px; font-size: 13.5px; color: var(--text-secondary); }

@media (hover: hover) {
  .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}

/* ---------- App 下载 ---------- */
.download {
  background:
    radial-gradient(700px 380px at 82% 4%, rgba(78, 205, 196, 0.2), transparent 62%),
    linear-gradient(150deg, #10262d 0%, #0f2027 60%, #16323a 100%);
  color: #fff;
  padding: 66px 0;
}
.download-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.download-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-light);
  background: rgba(78, 205, 196, 0.16);
  border: 1px solid rgba(78, 205, 196, 0.32);
  border-radius: 999px;
  padding: 4px 13px;
}
.download-title {
  margin-top: 16px;
  font-size: clamp(24px, 3.4vw, 35px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
}
.download-desc {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.dl-btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--bg-dark);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dl-btn > i { font-size: 26px; }
.dl-btn .dl-tip { display: block; font-size: 11px; color: var(--text-light); line-height: 1.4; }
.dl-btn .dl-main { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.dl-btn.is-soon {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  cursor: default;
}
.dl-btn.is-soon .dl-tip { color: rgba(255, 255, 255, 0.55); }
@media (hover: hover) {
  .dl-btn:not(.is-soon):hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}

.qr-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.qr-box {
  width: 176px; height: 176px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box img, .qr-box canvas { width: 100% !important; height: 100% !important; }
.qr-title { margin-top: 16px; font-size: 15.5px; font-weight: 700; }
.qr-desc { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.62); }
.qr-links { margin-top: 16px; display: flex; gap: 10px; justify-content: center; }

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}
.contact-card > i { font-size: 19px; color: var(--primary-dark); }
.contact-label { margin-top: 10px; font-size: 12.5px; color: var(--text-light); }
.contact-value { margin-top: 3px; font-size: 14.5px; font-weight: 600; word-break: break-all; }
@media (hover: hover) {
  a.contact-card:hover { transform: translateY(-3px); border-color: var(--primary-color); }
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.62);
  padding: 34px 0 26px;
  font-size: 13.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}
.footer-bottom > span { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(22px + var(--safe-b));
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 安装包缺失时的按钮禁用态 */
.is-disabled { opacity: 0.5; pointer-events: none; }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================
   响应式
   ============================================ */

/* 平板 */
@media (max-width: 1024px) {
  .hero-grid { gap: 30px; }
  .entry-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; gap: 34px; }
  .download-desc { max-width: none; }
}

/* ============ 移动端 ============ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    border-color: transparent;
    background: rgba(15, 32, 39, 0.05);
  }
  .nav-toggle:active { background: rgba(15, 32, 39, 0.1); }

  /* 抽屉：圆角卡片 + 逐项淡入 */
  .nav-drawer {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 8px 18px 16px;
    box-shadow: 0 20px 40px rgba(15, 32, 39, 0.14);
  }
  .nav-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6px;
    font-size: 16px;
    font-weight: 500;
    border-bottom-color: rgba(15, 32, 39, 0.06);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .nav-drawer a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--text-light);
  }
  .nav-drawer a[download]::after { content: "\f019"; color: var(--primary-dark); }
  .nav-drawer.is-open a { opacity: 1; transform: none; }
  .nav-drawer.is-open a:nth-child(1) { transition-delay: 0.04s; }
  .nav-drawer.is-open a:nth-child(2) { transition-delay: 0.08s; }
  .nav-drawer.is-open a:nth-child(3) { transition-delay: 0.12s; }
  .nav-drawer.is-open a:nth-child(4) { transition-delay: 0.16s; }
  .nav-drawer.is-open a:nth-child(5) { transition-delay: 0.2s; }

  /* Hero */
  .hero {
    padding: calc(var(--header-h) + 26px) 0 40px;
    text-align: center;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { order: -1; }
  .hero-desc { max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone { width: 240px; }

  /* 统计数字改为玻璃卡片 */
  .hero-stats {
    max-width: none;
    margin: 30px auto 0;
    gap: 10px;
  }
  .hero-stats > div {
    padding: 14px 8px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(15, 32, 39, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .feature-grid { grid-template-columns: 1fr; }
}

/* ============ 小屏手机 ============ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .section-title { letter-spacing: -0.6px; }
  .section-desc { font-size: 14.5px; margin-top: 8px; }

  /* 首屏文字节奏收紧 */
  .hero-badge { font-size: 12px; height: 28px; padding: 0 12px; }
  .hero-title { margin-top: 14px; line-height: 1.22; letter-spacing: -1px; }
  .hero-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn-primary { width: 100%; height: 48px; }
  .hero-actions .btn-ghost { flex: 1; min-width: 0; padding: 0 10px; font-size: 14px; }

  .hero-stats { margin-top: 26px; gap: 8px; }
  .hero-stats > div { padding: 12px 6px; }
  .hero-stat-num { font-size: 20px; }
  .hero-stat-num i { font-size: 12px; }
  .hero-stat-label { font-size: 11.5px; line-height: 1.5; }

  /* 入口卡：淡渐变底 + 更强的可点感 */
  .entry-card {
    padding: 16px;
    gap: 13px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfeff 100%);
  }
  .entry-icon { width: 44px; height: 44px; font-size: 17px; border-radius: 13px; }
  .entry-title { font-size: 16px; }
  .entry-desc { margin-top: 2px; font-size: 12.5px; line-height: 1.55; }
  .entry-arrow { font-size: 13px; }

  .feature-card { padding: 16px; gap: 13px; border-radius: 18px; }
  .feature-icon { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
  .feature-title { font-size: 15.5px; }
  .feature-desc { font-size: 12.5px; line-height: 1.55; }

  /* 下载区 */
  .download { padding: 48px 0; }
  .download-title { margin-top: 14px; letter-spacing: -0.6px; }
  .download-desc { font-size: 14px; }
  .dl-btns { flex-direction: column; margin-top: 20px; }
  .dl-btn { width: 100%; min-width: 0; justify-content: center; padding: 12px 18px; }
  .qr-panel { padding: 24px 18px; border-radius: 20px; }
  .qr-box { width: 152px; height: 152px; }

  /* 联系方式：双列紧凑卡 */
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .contact-card { padding: 18px 12px; border-radius: 16px; }
  .contact-card > i { font-size: 17px; }
  .contact-label { margin-top: 8px; font-size: 11.5px; }
  .contact-value { font-size: 13px; line-height: 1.5; }
  /* 地址内容较长，独占整行 */
  .contact-card:last-child { grid-column: 1 / -1; }

  .site-footer { padding-top: 30px; }
  .footer-links { gap: 8px 16px; font-size: 14px; padding-bottom: 18px; }
  .footer-bottom { font-size: 12px; line-height: 1.7; }
}

/* ============ 超小屏 ============ */
@media (max-width: 400px) {
  .container { padding: 0 15px; }
  .brand-name { font-size: 15px; }
  /* 顶栏空间紧张：下载按钮收窄，仅保留图标 */
  .header-actions .btn-sm { padding: 0 12px; }
  .header-actions .btn-sm span { display: none; }
  .phone { width: 212px; }
  .hero-stat-num { font-size: 18px; }
  .hero-stat-label { font-size: 10.5px; }
  .entry-desc, .feature-desc { font-size: 12px; }
}

/* 横屏矮屏：手机模拟太高时缩小 */
@media (max-width: 860px) and (max-height: 560px) {
  .phone { width: 190px; }
  .hero { padding-top: calc(var(--header-h) + 18px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-drawer a { opacity: 1; transform: none; transition: none; }
}
