:root {
  --blue: #2268ff;
  --blue-dark: #174ed0;
  --blue-soft: #eaf2ff;
  --cyan: #55d6e8;
  --yellow: #ffd45a;
  --orange: #ff985f;
  --ink: #18253f;
  --text: #536176;
  --muted: #7d8aa0;
  --line: #e5ebf5;
  --bg: #f7fbff;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(34, 104, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 8% 12%, rgba(85, 214, 232, 0.2), transparent 25%),
    radial-gradient(circle at 92% 8%, rgba(255, 212, 90, 0.24), transparent 24%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 235, 245, 0.8);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(34, 104, 255, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 15px;
}

.nav a:hover {
  color: var(--blue);
}

.hero,
.section {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 58px;
  min-height: calc(100vh - 72px);
  padding: 72px 0 82px;
}

.tagline {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 740px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.hero-text {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 21px);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 140px;
  height: 140px;
  content: "";
  background: var(--yellow);
  border-radius: 34px;
  transform: rotate(12deg);
}

.hero-visual::after {
  position: absolute;
  top: -26px;
  left: -24px;
  width: 78px;
  height: 78px;
  content: "";
  background: var(--cyan);
  border-radius: 24px;
  transform: rotate(-14deg);
}

.screen {
  position: relative;
  z-index: 1;
  min-height: 540px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  gap: 8px;
  padding-bottom: 24px;
}

.screen-top span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.hero-shot {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef5ff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroImageDrift 4s ease-in-out infinite alternate;
}

.hero-shot-caption {
  margin-top: 18px;
  padding: 22px;
  background: var(--blue-soft);
  border-radius: 22px;
}

.hero-shot-caption span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.hero-shot-caption strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.slide-map-title {
  padding: 24px;
  margin-bottom: 16px;
  background: var(--blue-soft);
  border-radius: 22px;
}

.slide-map-title span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.slide-map-title strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.hero-level-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.section {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.split > p,
.idea-card > p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.section-head {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-desc {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

.levels-title {
  max-width: 900px;
}

.levels-title span {
  display: block;
}

.about {
  padding-top: 28px;
}

.about-card {
  position: relative;
  display: grid;
  gap: 30px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 212, 90, 0.3), transparent 20%),
    linear-gradient(135deg, #ffffff, #edf6ff);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(24, 37, 63, 0.07);
}

.about-card::after {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(34, 104, 255, 0.08);
  border-radius: 42px;
  transform: rotate(12deg);
}

.about-card > * {
  position: relative;
  z-index: 1;
}

.about-intro {
  max-width: 900px;
}

.about-intro p,
.method-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.about-intro p {
  margin-top: 20px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.method-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 12px 28px rgba(24, 37, 63, 0.05);
}

.old-method {
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
}

.new-method {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 90, 0.3), transparent 20%),
    linear-gradient(135deg, #ffffff, #eef7ff);
}

.method-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.cliff-visual,
.stair-visual {
  position: relative;
  min-height: 190px;
  margin: 18px 0;
  overflow: hidden;
  background: #f2f7ff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.method-result {
  padding-top: 2px;
  font-weight: 700;
}

.cliff-visual::before {
  position: absolute;
  left: 80px;
  right: 96px;
  bottom: 52px;
  height: 6px;
  content: "";
  background: repeating-linear-gradient(
    90deg,
    rgba(96, 113, 139, 0.38) 0 14px,
    transparent 14px 22px
  );
  border-radius: 999px;
  transform: rotate(-24deg);
  transform-origin: left center;
}

.cliff-kid {
  position: absolute;
  left: 24px;
  bottom: 30px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(24, 37, 63, 0.08);
}

.cliff-wall {
  position: absolute;
  right: 36px;
  bottom: 24px;
  width: 116px;
  height: 142px;
  background: linear-gradient(180deg, #7a8496, #384456);
  clip-path: polygon(35% 0, 100% 100%, 0 100%);
}

.cliff-wall::after {
  position: absolute;
  right: 12px;
  top: 16px;
  width: 20px;
  height: 96px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(12deg);
}

.cliff-visual span,
.stair-visual span {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  padding: 7px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(24, 37, 63, 0.08);
}

.cliff-visual span:nth-child(3) {
  left: 112px;
  bottom: 54px;
}

.cliff-visual span:nth-child(4) {
  left: 178px;
  bottom: 92px;
}

.cliff-visual span:nth-child(5) {
  right: 24px;
  top: 22px;
}

.stair-visual::before {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 112px;
  content: "";
  background:
    linear-gradient(to right, var(--blue-soft) 0 25%, transparent 25% 100%),
    linear-gradient(to right, transparent 0 25%, #d9ecff 25% 50%, transparent 50% 100%),
    linear-gradient(to right, transparent 0 50%, #c9e4ff 50% 75%, transparent 75% 100%),
    linear-gradient(to right, transparent 0 75%, #b8dbff 75% 100%);
  clip-path: polygon(0 75%, 25% 75%, 25% 50%, 50% 50%, 50% 25%, 75% 25%, 75% 0, 100% 0, 100% 100%, 0 100%);
}

.stair-visual span:nth-child(1) {
  left: 24px;
  bottom: 34px;
}

.stair-visual span:nth-child(2) {
  left: 30%;
  bottom: 66px;
}

.stair-visual span:nth-child(3) {
  left: 53%;
  bottom: 100px;
}

.stair-visual span:nth-child(4) {
  right: 24px;
  top: 24px;
}

.level-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #f3f8ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.map-step {
  position: relative;
  min-height: 146px;
  padding: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.map-step::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 72px;
  height: 72px;
  content: "";
  background: var(--blue-soft);
  border-radius: 24px;
  transform: rotate(14deg);
}

.map-step span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  min-width: 44px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
}

.map-step strong,
.map-step p {
  position: relative;
  z-index: 1;
}

.map-step strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.map-step p {
  margin: 6px 0 0;
  color: var(--text);
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.04) translate3d(-1.5%, -1%, 0);
  }

  to {
    transform: scale(1.09) translate3d(1.5%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot img {
    animation: none;
  }

  .hero-shot img {
    transform: scale(1.04);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid-secondary {
  margin-top: 20px;
}

.feature-card {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(24, 37, 63, 0.06);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
  background: var(--blue-soft);
  border-radius: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--text);
}

.levels {
  width: min(1120px, calc(100% - 56px));
  padding-top: 52px;
  padding-bottom: 100px;
}

.level-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.level-card {
  position: relative;
  min-height: 240px;
  padding: 36px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 14px 32px rgba(24, 37, 63, 0.06);
}

.level-card::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  content: "";
  background: var(--blue-soft);
  border-radius: 32px;
  transform: rotate(12deg);
}

.level-card span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 22px;
  font-size: 20px;
}

.level-card h3 {
  font-size: 28px;
}

.level-card h3,
.level-card p {
  position: relative;
  z-index: 1;
}

.level-card p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
}

.showcase {
  padding-top: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  padding: 18px 18px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(24, 37, 63, 0.06);
}

.video-frame {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 212, 90, 0.52), transparent 24%),
    linear-gradient(135deg, #eaf2ff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card h3 {
  margin-top: 18px;
}

.video-card p {
  margin: 0;
  color: var(--text);
}

.cooperation {
  padding-top: 0;
  padding-bottom: 92px;
}

.cooperation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 212, 90, 0.36), transparent 22%),
    linear-gradient(135deg, #ffffff, #f0f7ff);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(24, 37, 63, 0.07);
}

.cooperation-card p:not(.tagline) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(34, 104, 255, 0.22);
}

.contact-button:hover {
  background: var(--blue-dark);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 44, 0.42);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 34px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(24, 37, 63, 0.22);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.qr-image {
  display: block;
  width: min(280px, 100%);
  margin: 24px auto 0;
  border: 10px solid var(--white);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(24, 37, 63, 0.12);
}

.modal-note {
  margin: 16px 0 0;
  color: var(--text);
}

.modal-email {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.channels {
  padding-top: 0;
  padding-bottom: 56px;
}

.channels-compact-head {
  max-width: 720px;
  margin-bottom: 20px;
}

.channels-compact-head h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.channel-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(24, 37, 63, 0.05);
}

.channel-image {
  display: grid;
  width: 132px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  background: #f2f7ff;
  border-radius: 18px;
}

.channel-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(24, 37, 63, 0.08);
}

.channel-info {
  padding: 0;
}

.channel-info span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  background: var(--blue-soft);
  border-radius: 999px;
}

.channel-info p {
  margin: 0 0 8px;
  color: var(--text);
}

.channel-info p:last-child {
  margin-bottom: 0;
}

.idea-card {
  padding: clamp(32px, 6vw, 58px);
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 18%, rgba(255, 212, 90, 0.42), transparent 20%),
    linear-gradient(135deg, #f3f8ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(24, 37, 63, 0.07);
}

.idea-card > p:last-child {
  max-width: 780px;
  margin-top: 22px;
}

.contact {
  padding-bottom: 92px;
}

.info-panel {
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(24, 37, 63, 0.06);
}

dl {
  display: grid;
  gap: 0;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--ink);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 7vw;
  color: #dce8ff;
  background: #17233d;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .section {
    width: min(100% - 36px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 38px;
    padding-top: 52px;
  }

  .screen {
    min-height: 520px;
  }

  .split,
  .feature-grid,
  .level-path,
  .showcase-grid,
  .about-card,
  .method-grid,
  .channel-grid,
  .level-map,
  .hero-level-map {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .level-card {
    min-height: 0;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cooperation-card {
    grid-template-columns: 1fr;
  }

  .contact-button {
    width: 100%;
  }

  .channel-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .channel-image {
    width: 112px;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .nav a {
    padding: 8px 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero,
  .section {
    width: min(100% - 28px, 720px);
  }

  .about-card,
  .method-card,
  .cooperation-card {
    padding: 24px;
  }

  .cliff-visual,
  .stair-visual {
    min-height: 210px;
  }

  .cliff-visual::before {
    left: 68px;
    right: 76px;
  }

  .cliff-wall {
    right: 18px;
    width: 100px;
  }

  .cliff-visual span:nth-child(3) {
    left: 82px;
    bottom: 58px;
  }

  .cliff-visual span:nth-child(4) {
    left: 118px;
    bottom: 104px;
  }

  .cliff-visual span:nth-child(5) {
    right: 8px;
    top: 22px;
  }

  .stair-visual span {
    font-size: 13px;
  }

  .channel-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .channel-image {
    width: min(168px, 100%);
    margin: 0 auto;
  }

  .hero-visual::before,
  .hero-visual::after {
    display: none;
  }
}
