/* ==========================================================
   企业加速器 - 下载页样式
   主色：微信绿 #07C160 + 白色
   版式：1800px 宽幅自适应，桌面大气舒展，移动端深度优化
   ========================================================== */

:root {
  --green: #07C160;
  --green-deep: #06AD56;
  --green-dark: #059A4E;
  --green-darker: #04803F;
  --green-light: #E8FBF0;
  --green-pale: #F4FBF7;
  --ink: #10241A;
  --ink-2: #3D4F45;
  --muted: #7A8A80;
  --line: #E3F1E8;
  --white: #FFFFFF;
  --radius: 24px;
  --shadow-sm: 0 2px 12px rgba(16, 60, 35, .06);
  --shadow-md: 0 14px 40px rgba(16, 60, 35, .10);
  --shadow-lg: 0 28px 72px rgba(7, 120, 60, .16);
  --grad: linear-gradient(135deg, #0BD87A 0%, #07C160 55%, #059A4E 100%);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--green); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--green-pale); }
::-webkit-scrollbar-thumb { background: #9ADDB8; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* 1800px 宽幅容器，随屏幕自适应 */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 72px);
}

.section {
  padding: clamp(84px, 9vw, 150px) 0;
  position: relative;
  scroll-margin-top: 84px;
}

/* ==========================================================
   按钮体系
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease,
              color .25s ease, border-color .25s ease;
  overflow: hidden;
  user-select: none;
}

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-sm { padding: 11px 28px; font-size: 15px; }
.btn-lg { padding: 17px clamp(34px, 3.5vw, 52px); font-size: clamp(16px, 1.3vw, 19px); }

/* 主按钮：绿色渐变 + 光泽扫过 */
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(7, 193, 96, .35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: sheen 3.2s ease-in-out infinite;
}

@keyframes sheen {
  0%, 55% { left: -80%; }
  85%, 100% { left: 160%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(7, 193, 96, .45);
}

.btn-primary:active { transform: translateY(0); }

/* 幽灵按钮 */
.btn-ghost {
  background: rgba(7, 193, 96, .07);
  color: var(--green-dark);
  border: 1.5px solid rgba(7, 193, 96, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(7, 193, 96, .12);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* 卡片内下载按钮 */
.btn-card {
  width: 100%;
  padding: 15px 24px;
  font-size: clamp(15px, 1.1vw, 16.5px);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(7, 193, 96, .28);
}

.btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 193, 96, .4);
}

/* ==========================================================
   顶部导航
   ========================================================== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(16, 60, 35, .06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: clamp(66px, 6vw, 84px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 21px);
  letter-spacing: .5px;
}

.brand-logo { width: clamp(34px, 2.6vw, 42px); height: clamp(34px, 2.6vw, 42px); }
.brand-logo.small { width: 26px; height: 26px; }
.brand-logo svg { width: 100%; height: 100%; }

/* 立即下载按钮始终靠右（移动端隐藏导航链接后依然成立） */
.navbar .btn-sm { margin-left: auto; }

.nav-links {
  display: flex;
  gap: clamp(24px, 2.5vw, 44px);
  margin-left: auto;
  font-size: 15.5px;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .25s ease;
}

.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { width: 100%; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(160px, 16vw, 250px) 0 clamp(90px, 9vw, 150px);
  text-align: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 193, 96, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 193, 96, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
}

.orb-1 {
  width: clamp(420px, 44vw, 760px);
  height: clamp(420px, 44vw, 760px);
  left: -8vw; top: -12vw;
  background: radial-gradient(circle at 30% 30%, #5AE89E, #07C160 70%);
  animation: float 11s ease-in-out infinite;
}

.orb-2 {
  width: clamp(380px, 38vw, 660px);
  height: clamp(380px, 38vw, 660px);
  right: -7vw; top: -4vw;
  background: radial-gradient(circle at 60% 40%, #8BF5BC, #06AD56 75%);
  animation: float 13s ease-in-out 1.2s infinite reverse;
}

.orb-3 {
  width: clamp(260px, 26vw, 440px);
  height: clamp(260px, 26vw, 440px);
  left: 50%; bottom: -14vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, #C8F7DC, #07C160 80%);
  opacity: .35;
  animation: float 9s ease-in-out .6s infinite;
}

@keyframes float {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -30px; scale: 1.04; }
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: clamp(13px, 1.1vw, 15.5px);
  font-weight: 500;
  color: var(--green-darker);
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(7, 193, 96, .3);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(7, 193, 96, .5);
  animation: pulse 1.8s ease-out infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(7, 193, 96, .5); }
  70% { box-shadow: 0 0 0 11px rgba(7, 193, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(7, 193, 96, 0); }
}

.hero-title {
  margin: clamp(26px, 3vw, 44px) 0 clamp(16px, 2vw, 26px);
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(36px, 4vw, 58px);
}

#heroDownload .btn-icon svg { width: 1.25em; height: 1.25em; }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(52px, 6vw, 96px);
}

.stat {
  padding: 6px clamp(28px, 4.5vw, 80px);
  text-align: center;
}

.stat + .stat { border-left: 1px solid rgba(7, 193, 96, .22); }

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 800;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.stat-label {
  font-size: clamp(13px, 1.1vw, 15.5px);
  color: var(--muted);
}

/* Hero 进场动画（按子元素顺序依次延迟） */
.anim {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .9s cubic-bezier(.22, .8, .35, 1) forwards;
}

.hero-inner > .anim:nth-child(1) { animation-delay: .05s; }
.hero-inner > .anim:nth-child(2) { animation-delay: .15s; }
.hero-inner > .anim:nth-child(3) { animation-delay: .25s; }
.hero-inner > .anim:nth-child(4) { animation-delay: .35s; }
.hero-inner > .anim:nth-child(5) { animation-delay: .5s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ==========================================================
   区块标题
   ========================================================== */
.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 5vw, 80px);
}

.section-head::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  border-radius: 3px;
  background: var(--grad);
  margin: 0 auto clamp(20px, 2.2vw, 30px);
  box-shadow: 0 4px 14px rgba(7, 193, 96, .35);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: 1px;
}

.section-head p {
  margin-top: clamp(10px, 1.2vw, 16px);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* ==========================================================
   下载区
   ========================================================== */
.download {
  background: linear-gradient(180deg, var(--green-pale) 0%, #fff 100%);
  border-top: 1px solid var(--line);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(38px, 3.2vw, 56px) clamp(24px, 2.2vw, 42px) clamp(30px, 2.6vw, 44px);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.dl-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(7, 193, 96, .45);
}

/* 当前平台推荐卡片：渐变描边 */
.dl-card.recommended {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow: 0 18px 50px rgba(7, 193, 96, .18);
}

.dl-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(7, 193, 96, .4);
  white-space: nowrap;
  display: none;
}

.dl-card.recommended .dl-badge { display: block; animation: badgeIn .4s ease; }

@keyframes badgeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dl-icon {
  display: grid;
  place-items: center;
  width: clamp(80px, 6.5vw, 100px);
  height: clamp(80px, 6.5vw, 100px);
  border-radius: clamp(22px, 2vw, 30px);
  background: var(--green-light);
  color: var(--green-deep);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.dl-icon svg { width: 46%; height: 46%; }

.dl-card:hover .dl-icon {
  background: var(--grad);
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
}

.dl-card h3 {
  margin-top: clamp(20px, 2vw, 28px);
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 700;
}

.dl-meta {
  margin-top: 8px;
  font-size: clamp(13.5px, 1vw, 15px);
  color: var(--muted);
}

.dl-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 16px 0 clamp(22px, 2.2vw, 30px);
  font-size: clamp(12.5px, .95vw, 14px);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.dl-info i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #B9CDC1;
  margin: 0 8px;
}

.dl-card .btn-card { margin-top: auto; }

/* ==========================================================
   扫码条
   ========================================================== */
.qr-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 72px);
  margin-top: clamp(48px, 5vw, 80px);
  padding: clamp(34px, 3.8vw, 64px) clamp(30px, 4.5vw, 88px);
  border-radius: var(--radius);
  background:
    radial-gradient(680px 240px at 90% -20%, rgba(255, 255, 255, .18), transparent),
    linear-gradient(120deg, #06B458 0%, #059A4E 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.qr-strip::before {
  content: "";
  position: absolute;
  right: clamp(160px, 18vw, 300px);
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .25);
  pointer-events: none;
}

.qr-text h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  font-weight: 700;
  letter-spacing: .5px;
}

.qr-text p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  font-size: clamp(14px, 1.1vw, 15.5px);
}

.qr-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: clamp(16px, 1.8vw, 24px);
}

.qr-tips li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(13.5px, 1vw, 14.5px);
  color: rgba(255, 255, 255, .9);
}

.qr-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .9);
}

.qr-tips li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(.48em + 4px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.qr-box-wrap {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.qr-box {
  padding: 13px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(0, 40, 18, .28);
  line-height: 0;
}

.qr-box img,
.qr-box canvas { width: 132px !important; height: 132px !important; border-radius: 6px; }

.qr-caption {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 1.5px;
}

/* ==========================================================
   产品特性
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

.feature {
  padding: clamp(30px, 2.8vw, 46px) clamp(26px, 2.4vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 193, 96, .4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: clamp(54px, 4.2vw, 66px);
  height: clamp(54px, 4.2vw, 66px);
  border-radius: clamp(15px, 1.3vw, 19px);
  background: var(--green-light);
  color: var(--green-deep);
  transition: background .3s ease, color .3s ease;
}

.feature-icon svg { width: 48%; height: 48%; }

.feature:hover .feature-icon {
  background: var(--grad);
  color: #fff;
}

.feature h3 {
  margin-top: clamp(18px, 1.8vw, 24px);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
}

.feature p {
  margin-top: 10px;
  font-size: clamp(14px, 1.05vw, 15.5px);
  color: var(--muted);
}

/* ==========================================================
   页脚
   ========================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--green-pale);
  padding: clamp(34px, 4vw, 52px) 0 clamp(34px, 4vw, 52px);
  padding-bottom: calc(clamp(34px, 4vw, 52px) + env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.footer-copy {
  color: var(--muted);
  font-size: 14.5px;
}

/* ==========================================================
   滚动渐入
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, .8, .35, 1),
              transform .7s cubic-bezier(.22, .8, .35, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.download-grid .reveal:nth-child(2) { transition-delay: .08s; }
.download-grid .reveal:nth-child(3) { transition-delay: .16s; }
.download-grid .reveal:nth-child(4) { transition-delay: .24s; }

.feature-grid .reveal:nth-child(2) { transition-delay: .08s; }
.feature-grid .reveal:nth-child(3) { transition-delay: .16s; }
.feature-grid .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .anim { opacity: 1; transform: none; }
}

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

/* 中大屏：四列 -> 两列 */
@media (max-width: 1100px) {
  .download-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-strip::before { display: none; }
}

/* 平板：扫码条纵向排布 */
@media (max-width: 960px) {
  .qr-strip { flex-direction: column; text-align: center; }
  .qr-text p { margin-inline: auto; }
  .qr-tips { justify-content: center; }
}

/* 手机：单列布局 + 移动端深度优化 */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .navbar-inner { gap: 16px; }

  .hero { padding: 132px 0 76px; }
  .hero-title { letter-spacing: 0; }
  .hero-badge { padding: 8px 16px; gap: 7px; }

  /* 数据统计改 2x2 网格，去掉竖分隔线 */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
    margin-top: 48px;
  }
  .stat { padding: 0; }
  .stat + .stat { border-left: none; }

  .hero-actions .btn { width: 100%; max-width: 400px; }

  .download-grid, .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .dl-card { padding: 34px 24px 30px; }
  .dl-card.recommended { margin-top: 2px; }

  .qr-strip { padding: 34px 24px; gap: 28px; }
  .qr-tips { flex-direction: column; align-items: center; gap: 8px; }

  .section-head { margin-bottom: 40px; }

  .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
}

/* 超小屏（<380px）：标题缩排防溢出 */
@media (max-width: 380px) {
  .hero-title { font-size: 1.72rem; }
  .hero-sub { font-size: .98rem; }
}
