/* ========================================
   WPS Office - 安卓下载页专属样式
   依赖：common.css
   ======================================== */

/* ---------- Info Section ---------- */
.info {
  padding: var(--space-lg) 0;
}

.info .info-title {
  text-align: center;
}

.info .info-title h2 {
  font-weight: 700;
  font-size: 36px;
  color: var(--text-primary);
}

.info .info-title p {
  padding-top: var(--space-md);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

.info .info-title button {
  margin-top: var(--space-lg);
  width: 180px;
  height: 52px;
  line-height: 52px;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-base);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.info .info-title button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.35);
}

.info .info-img {
  padding-top: var(--space-xl);
  text-align: center;
}

.info .info-img .box {
  display: inline-block;
  max-width: 600px;
  width: 100%;
}

.info .info-img .box img {
  width: 100%;
}

/* ---------- Download Section ---------- */
.download {
  padding: var(--space-xl) 0;
  text-align: center;
  background: var(--bg-light);
}

.download .download-title h2 {
  font-weight: 600;
  font-size: var(--font-2xl);
  color: var(--text-primary);
}

.download .download-list {
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.download .download-list .item {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 260px;
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--bg-medium);
  position: relative;
  overflow: hidden;
}

.download .download-list .item:first-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.download .download-list .item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.download .download-list .item img {
  width: 72px;
  height: auto;
  transition: transform var(--transition-base);
}

.download .download-list .item:hover img {
  transform: scale(1.08);
}

.download .download-list .item .name {
  padding-top: var(--space-md);
  font-weight: 600;
  font-size: var(--font-base);
  color: var(--text-primary);
  line-height: 1.5;
}

.download .download-list .item .version {
  padding-top: var(--space-xs);
  font-weight: 400;
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.download .download-list .item button {
  width: 140px;
  height: 44px;
  margin-top: var(--space-md);
  line-height: 44px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #4096FF 100%);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-sm);
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.2);
}

.download .download-list .item button:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #1677FF 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22, 119, 255, 0.4);
}

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 991px) {
  .info .info-title h2 {
    font-size: 32px;
  }

  .info .info-img .box {
    max-width: 100%;
  }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 767px) {
  .info {
    padding: var(--space-md) var(--space-sm) var(--space-lg);
  }

  .info .info-title h2 {
    font-size: 28px;
  }

  .info .info-title button {
    width: 160px;
    height: 48px;
    line-height: 48px;
  }

  .info .info-img {
    padding-top: var(--space-md);
  }

  .download {
    padding: var(--space-lg) var(--space-sm);
  }

  .download .download-list {
    padding-top: var(--space-md);
    flex-direction: column;
    align-items: center;
  }

  .download .download-list .item {
    width: 100%;
    max-width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .download .download-list .item button {
    margin-bottom: 30px;
  }

  .download .download-list .item:first-child::before {
    display: none;
  }
}

/* ========================================
   Responsive - Large Desktop (≥1400px)
   ======================================== */
@media (min-width: 1400px) {
  .info .info-title h2 {
    font-size: 44px;
  }

  .info .info-title button {
    width: 200px;
    height: 56px;
    line-height: 56px;
    font-size: var(--font-lg);
  }

  .download .download-list {
    gap: var(--space-lg);
  }

  .download .download-list .item {
    max-width: 380px;
    padding: var(--space-xl) var(--space-lg);
  }
}
