* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #f5f7fa;
  line-height: 1.7;
}

a { color: #c96a1a; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: #1a2744;
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a2744;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #444;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c96a1a;
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, #1a2744 0%, #243b5e 100%);
  color: #fff;
  padding: 56px 20px 64px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  width: 160px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  flex-shrink: 0;
  display: block;
}

.hero-text { flex: 1; min-width: 280px; }

.hero-text h1 {
  font-size: 40px;
  color: #f0a030;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-text .subtitle {
  font-size: 18px;
  opacity: .95;
  margin-bottom: 16px;
}

.hero-text .intro {
  font-size: 15px;
  opacity: .88;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-btns a {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 8px;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
}

.btn-primary {
  background: #f0a030;
  color: #1a2744 !important;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff !important;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

.section {
  margin-top: 48px;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: 28px;
  color: #1a2744;
  margin-bottom: 8px;
}

.section-title p {
  color: #777;
  font-size: 15px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-cover {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
}

.product-cover.c1 { background: linear-gradient(135deg, #abe1e1, #51abab); }
.product-cover.c2 { background: linear-gradient(135deg, #abc9e1, #517bab); }
.product-cover.c3 { background: linear-gradient(135deg, #ffcec2, #f2a591); }
.product-cover.c4 { background: linear-gradient(135deg, #f6e7d5, #f3c27e); }

.product-body { padding: 20px; }

.product-body h3 {
  font-size: 18px;
  color: #1a2744;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  background: #f0f4f8;
  color: #1a2744;
  border-radius: 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.feature {
  text-align: center;
  padding: 20px 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.feature .icon { font-size: 32px; margin-bottom: 10px; }
.feature .name { font-size: 15px; color: #1a2744; font-weight: 600; }
.feature .desc { font-size: 12px; color: #888; margin-top: 6px; }

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.qr-box { text-align: center; }

.qr-box img {
  width: 180px;
  height: 180px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.qr-box p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.page-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 16px;
  display: inline-block;
}

.info-list {
  list-style: none;
  max-width: 360px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #555;
}

.info-list li:last-child { border-bottom: none; }

.footer {
  background: #1a2744;
  color: rgba(255,255,255,.75);
  padding: 40px 20px 24px;
  margin-top: 48px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer h4 {
  color: #f0a030;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer p, .footer a {
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
  display: block;
}

.footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.page-hero {
  background: #1a2744;
  color: #fff;
  padding: 32px 20px;
  text-align: center;
}

.page-hero h1 { font-size: 28px; color: #f0a030; }

.legal-content {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 20px 48px;
}

.legal-content .card h2 {
  font-size: 18px;
  color: #1a2744;
  margin: 24px 0 12px;
}

.legal-content .card h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: #555;
  font-size: 14px;
  margin-bottom: 10px;
}

.legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .navbar-inner { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
  .nav-links { flex-wrap: wrap; gap: 12px 16px; font-size: 14px; }
  .hero-text h1 { font-size: 30px; }
  .hero-inner { justify-content: center; text-align: center; }
  .hero-btns { display: flex; flex-wrap: wrap; justify-content: center; }
}
