body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(160deg, #eef5ff 0%, #dbecff 100%);
  color: #1c2c47;
}

.page-header {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #b8d2f4;
  box-shadow: 0 2px 8px rgba(40, 76, 118, 0.08);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  color: #184796;
}

.page-header .subtitle {
  margin-top: 0.35rem;
  font-size: 0.97rem;
  color: #3a5a8c;
}

.container {
  display: grid;
  gap: 1rem;
  max-width: 1100px;
  margin: 1rem auto;
  padding: 0 1rem 1.5rem;
}

.section {
  background: white;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #d0dff2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 15px rgba(21, 62, 113, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(21, 62, 113, 0.14);
}

.text h2 {
  margin: 0 0 0.35rem;
  color: #1f4b98;
}

.text p {
  margin: 0.16rem 0;
  line-height: 1.45;
  color: #2f4266;
}

.text .note {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: #3a5b84;
}

.demo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #f4523d, #e94f75);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  transform: none;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.section .box:hover {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.box.translate:hover {
  transform: translate3d(50px, 0, 50px);
}

.box.rotate:hover {
  transform: perspective(400px) rotateY(45deg);
}

.box.scale:hover {
  transform: scale3d(1.5, 1.5, 1);
}

.perspective-container {
  perspective: 500px;
}

.perspective-box:hover {
  transform: rotateX(45deg);
}

@media (max-width: 760px) {
  .section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .demo {
    justify-content: center;
  }
}
