:root {
  --brand: #2563eb;
  --bg: #f9fafb;
  --card: #fff;
  --muted: #6b7280;
}

/* 基础 */
body {
  margin: 0;
  font-family: "Noto Sans SC","Microsoft YaHei",sans-serif;
  background: var(--bg);
  color: #111;
}
.page { overflow-x: hidden; }

/* 顶部 */
.header {
  text-align: center;
  padding: 30px 10px 10px;
}
.logo { width: 150px; }
.brand { display: flex; flex-direction: column; align-items: center; }
.brand-text h1 { margin: 10px 0 0; font-size: 22px; }
.brand-text p { margin: 2px 0 12px; color: var(--muted); font-size: 13px; }
.pills {
  display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0;
}
.pills li {
  background: #e0e7ff; color: #1e3a8a; padding: 4px 10px; border-radius: 999px;
  font-size: 12px;
}

/* 六卡 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: 14px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}
.card {
  background: var(--card);
  border-radius: 14px;
  text-align: center;
  padding: 16px 8px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.card img { width: 160px; margin: 6px auto; }
.card h3 { margin: 2px 0 1px; font-size: 15px; }
.card p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.btnpc {
  display: inline-block;
  background: linear-gradient(90deg,#2563eb,#3b82f6);
  color: #fff; border-radius: 999px;
  padding: 5px 14px; font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btnpc:hover {
  background: linear-gradient(90deg,#1d4ed8,#2563eb);
  box-shadow: 0 3px 10px rgba(59,130,246,0.4);
}
.btnh5 {
  display: inline-block;
  background: linear-gradient(90deg,#2563eb,#3b82f6);
  color: #fff; border-radius: 999px;
  padding: 5px 14px; font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btnh5:hover {
  background: linear-gradient(90deg,#1d4ed8,#2563eb);
  box-shadow: 0 3px 10px rgba(59,130,246,0.4);
}
.btn {
  display: inline-block;
  background: linear-gradient(90deg,#2563eb,#3b82f6);
  color: #fff; border-radius: 999px;
  padding: 5px 14px; font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn:hover {
  background: linear-gradient(90deg,#1d4ed8,#2563eb);
  box-shadow: 0 3px 10px rgba(59,130,246,0.4);
}

/* 合作伙伴 */
.partners {
  text-align: center;
  padding: 10px 0 30px;
}
.partners h4 { margin-bottom: 12px; color: #1e3a8a; font-size: 16px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right,transparent,#000 10%,#000 90%,transparent);
  margin-bottom: 10px;
}
.track {
  display: flex; gap: 40px;
  animation: scroll-left 25s linear infinite;
}
.marquee-right .track { animation: scroll-right 28s linear infinite; }
.track img {
  height: 40px;
  opacity: 0.9; filter: grayscale(30%);
  transition: all 0.3s ease;
}
.track img:hover { opacity: 1; filter: grayscale(0%); }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}


/* 弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal {
  background: #1e293b;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  min-width: 260px;
}
.modal h3 {
  margin: 0 0 10px;
}
.modal p {
  margin: 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
}
.modal button {
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  margin: 5px;
  cursor: pointer;
  font-weight: bold;
}
.modal .copy-btn { background: #17e1e6; color: #111; }
.modal .close-btn { background: #e645d0; color: #fff; }
