/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== 顶部导航 ===== */
.site-header {
  background-color: #000;
  color: #fff;
  border-bottom: 1px solid #1a1a1a;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ffb347 100%);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.nav-item {
  color: #fff;
  font-size: 16px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-item:hover {
  color: #ff8a3d;
}

.nav-item.active {
  color: #ff8a3d;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background-color: #ff8a3d;
  border-radius: 2px;
}

/* ===== Banner ===== */
.banner {
  position: relative;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(20, 20, 30, 0.85) 0%, rgba(60, 30, 10, 0.6) 100%),
    url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1600&auto=format&fit=crop&q=80") center/cover no-repeat;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 138, 61, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.banner-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== 主体 ===== */
.page-main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 4px solid #ff8a3d;
}

/* ===== App 卡片 ===== */
.app-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 720px;
  padding: 24px;
  border: 1px solid #ff5722;
  border-radius: 8px;
  margin-bottom: 32px;
  transition: box-shadow 0.2s;
}

.app-card:hover {
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.15);
}

.app-logo-img {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border: 1px solid #ff5722;
  border-radius: 6px;
  object-fit: cover;
  background-color: #fff;
}

.app-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.app-name {
  font-size: 18px;
  font-weight: 600;
  color: #ff5722;
}

.app-intro {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.app-intro p {
  margin-bottom: 10px;
  text-align: justify;
}

.app-intro p:last-child {
  margin-bottom: 0;
}

/* ===== 下载区域 ===== */
.download-area {
  max-width: 720px;
  padding: 24px;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
}

.download-area h3 {
  font-size: 16px;
  color: #ff5722;
  font-weight: 500;
  margin-bottom: 12px;
}

.download-hint {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.btn-download {
  padding: 10px 32px;
  background-color: #ddd;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: not-allowed;
}

/* ===== 底部 ===== */
.site-footer {
  margin-top: auto;
}

/* ===== 底部页脚（与原站一致） ===== */
.site-footer .footer {
  background-color: #292622;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 30px;
  padding: 40px 24px 70px;
}

.site-footer .footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer .footer a:hover {
  text-decoration: underline;
}

.site-footer .footer p {
  margin: 0;
}

.site-footer .footer .mt10 {
  margin-top: 10px;
}

.site-footer .footer .ml30 {
  margin-left: 30px;
}

.site-footer .footer .safes {
  margin-top: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  padding: 0;
}

.site-footer .footer .safes li {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  margin: 0;
}

.site-footer .footer .safes a {
  display: block;
  text-align: center;
}

.site-footer .footer .safes img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

.site-footer .copyright {
  background-color: #201e1b;
  color: #ccc;
  text-align: center;
  font-size: 14px;
  line-height: 50px;
  min-height: 50px;
  padding: 0 24px;
}

.site-footer .copyright .ml20 {
  margin-left: 20px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    gap: 20px;
  }

  .nav-item.active::after {
    display: none;
  }

  .banner {
    height: 160px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 20px;
  }

  .app-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-intro p {
    text-align: left;
  }

  .site-footer .footer {
    padding: 30px 16px 40px;
  }

  .site-footer .footer .ml30,
  .site-footer .footer .copyright .ml20 {
    margin-left: 0;
  }

  .site-footer .footer .safes {
    margin-top: 30px;
    gap: 8px;
  }

  .site-footer .footer .safes img {
    max-width: 100%;
    height: auto;
  }

  .site-footer .copyright {
    line-height: 1.6;
    padding: 12px 16px;
    min-height: auto;
  }
}
