/* =====================================================================
   JinMan · 演示入口页（Google 风格：白底、卡片、单一蓝色强调）
   ===================================================================== */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  font-family: 'Inter', 'Google Sans', -apple-system, 'PingFang SC', 'Noto Sans CJK SC',
    'Microsoft YaHei', system-ui, sans-serif;
  background: #f8f9fa;
  color: #202124;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

/* ---------- 头部 ---------- */
.head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}
.logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
}
.head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.head p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #5f6368;
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  font-size: 13px;
  color: #5f6368;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e8e3e;
}
.status.off i {
  background: #d93025;
}
.status.off {
  color: #d93025;
  border-color: #f6aea9;
  background: #fce8e6;
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 16px;
  padding: 26px 24px 22px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.16), 0 8px 24px rgba(60, 64, 67, 0.12);
  transform: translateY(-2px);
}
.card:active {
  transform: translateY(0);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon svg {
  width: 24px;
  height: 24px;
}
.icon.blue {
  background: #e8f0fe;
  color: #1a73e8;
}
.icon.green {
  background: #e6f4ea;
  color: #1e8e3e;
}
.icon.amber {
  background: #fef7e0;
  color: #b06000;
}
.icon.red {
  background: #fce8e6;
  color: #d93025;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.card p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #5f6368;
  line-height: 1.65;
  min-height: 46px;
}
.go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
}
.card:hover .go {
  text-decoration: underline;
}

/* ---------- 页脚 ---------- */
footer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #dadce0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #80868b;
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .wrap {
    padding: 32px 18px 32px;
  }
  .head {
    margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .head h1 {
    font-size: 20px;
  }
  .status {
    margin-left: 0;
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    padding: 20px 18px 18px;
    border-radius: 14px;
  }
  .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }
  .card h2 {
    font-size: 17px;
  }
  .card p {
    min-height: 0;
    margin-bottom: 16px;
  }
  footer {
    flex-direction: column;
    margin-top: 32px;
  }
}
