﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: #111;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.page {
  max-width: 46.875rem;
  min-height: 100vh;
  margin: auto;
  background: #f7f7f7;
}
.hero {
  height: 14.625rem;
  background: url("/static/image/case/cbcg.png") center center / cover no-repeat;
}
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -5.3125rem;
  height: 2.8125rem;
}
.tabs-a {
  position: absolute;
  top: 2.1875rem;
  left: 50%;
  display: none;
  width: 3.625rem;
  height: auto;
  transform: translateX(-50%);
}
.tab {
  position: relative;
  border: 0;
  background: none;
  color: #6a6a6a;
  font-size: .875rem;
  white-space: nowrap;
  cursor: pointer;
  width: 5.25rem;
}

.tab.active {
  color: #111;
  font-weight: 700;
  position: relative;
}

.tab.active .tabs-a {
  display: block;
}

.panels {
  padding: .75rem 1.25rem 2.375rem;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.card {
  position: relative;
  height: 12.1875rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(155deg, #a8d1ff 0%, #d7e9ff 50%, #fff 100%);
  box-sizing: border-box;
}

.badge {
  display: inline-block;
  padding: .3125rem .625rem;
  border-radius: .375rem;
  color: #fff;
  background: linear-gradient(120deg, #5bb7ff, #0c31ed);
  font-size: .875rem;
  font-weight: 600;
}
.card h2 {
  margin: .625rem 0 1.125rem;
  font-size: .875rem;
}
.card p {
  position: relative;
  z-index: 2;
  width: 49%;
  margin: 0;
  color: #666666;
  font-size: .625rem;
  line-height: 1.55;
}
.visual-left {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 4rem;
  height: 4rem;
}

.visual {
  position: absolute;
  right: 0rem;
  bottom: 0rem;
  width: 46%;
  height: 12.1875rem;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card:nth-child(2) .visual img {
  transform: scale(1.08);
}

.card:nth-child(3) .visual img {
  transform: scale(1.03);
}
