@font-face {
  font-family: "YouSheBiaoTiHei";
  src: url("./assets/YouSheBiaoTiHei.ttf") format("truetype");
  font-display: swap;
}

:root {
  --page-bg: #171717;
  --card-expanded-bg: rgba(255, 255, 255, 0.05);
  --card-collapsed-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.16);
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-width: 1440px;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: 1440px;
  height: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page-bg);
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__header {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1440px;
  height: 112.909px;
}

.hero__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/top-nav.png") left top / 1440px 112.909px no-repeat;
  pointer-events: none;
}

.brand {
  position: absolute;
  left: 97px;
  top: 24px;
  display: block;
  width: 171.775px;
  height: 64.909px;
  text-decoration: none;
  color: inherit;
}

.brand__mark-wrap {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64.909px;
  height: 64.909px;
  border-radius: 10.949px;
  background: #1d231f;
}

.brand__mark {
  width: 64.909px;
  height: 64.909px;
  object-fit: contain;
}

.brand__text {
  position: absolute;
  left: 76.686px;
  top: 10.01px;
  width: 95.089px;
  height: 44px;
}

.hero__slogan {
  position: absolute;
  left: 996.775px;
  top: 31px;
  margin: 0;
  font-family: "YouSheBiaoTiHei", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hero__mascot {
  position: absolute;
  left: 925.771px;
  top: 208.738px;
  width: 432.967px;
  height: 540.876px;
}

.hero__mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.accordion {
  position: absolute;
  left: 129.455px;
  top: 179px;
  width: 699.814px;
}

.feature-card {
  position: absolute;
  left: 0;
  width: 699.814px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition:
    top 240ms ease,
    height 240ms ease,
    background-color 240ms ease;
}

.feature-card[data-index="0"] {
  top: 0;
}

.feature-card[data-index="1"] {
  top: 498.352px;
}

.feature-card__toggle {
  position: absolute;
  left: 50px;
  top: 36px;
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 0;
  cursor: pointer;
}

.feature-card__index {
  flex: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0.11em;
}

.feature-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.016em;
}

.feature-card__panel {
  position: absolute;
  inset: 0;
}

.feature-card__desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.012em;
}

.feature-card[data-index="0"] .feature-card__desc {
  width: 541.814px;
  position: absolute;
  left: 98px;
  top: 86px;
}

.feature-card[data-index="1"] .feature-card__desc {
  width: 551.814px;
  position: absolute;
  left: 93px;
  top: 86px;
}

.feature-card__visual {
  position: absolute;
  left: 68.711px;
  width: 590px;
  height: 228px;
  isolation: isolate;
}

.feature-card[data-index="0"] .feature-card__visual {
  top: 214px;
}

.feature-card[data-index="1"] .feature-card__visual {
  top: 186px;
}

.feature-card__plate {
  position: absolute;
  left: 182px;
  top: 0;
  width: 410px;
  height: 228px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 86%, rgba(180, 220, 25, 0.24) 0%, rgba(180, 220, 25, 0.08) 30%, transparent 62%),
    linear-gradient(180deg, #08100c 0%, #151c0b 40%, #2b3600 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.feature-card__plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 52%, rgba(255, 255, 255, 0.04), transparent 48%),
    linear-gradient(90deg, rgba(172, 207, 42, 0.12) 0%, transparent 44%);
  pointer-events: none;
}

.feature-card__plate img {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 214px;
  height: 214px;
  transform: translateX(-50%);
  filter: grayscale(1) saturate(0) brightness(1.12);
  z-index: 1;
}

.feature-card__blur-box {
  position: absolute;
  left: 16px;
  top: 31px;
  width: 276px;
  height: 102px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(58, 58, 58, 0.82) 0%, rgba(39, 41, 35, 0.76) 64%, rgba(80, 100, 18, 0.32) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  z-index: 2;
}

.feature-card__blur-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 58%);
  pointer-events: none;
}

.feature-card__ghost {
  position: absolute;
  left: 48px;
  top: 48px;
  margin: 0;
  color: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.38em;
  filter: blur(8px);
  z-index: 3;
}

.feature-card__focus-pill {
  position: absolute;
  left: 66px;
  width: 176px;
  height: 46px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%),
    linear-gradient(90deg, rgba(181, 220, 36, 0.08) 0%, rgba(181, 220, 36, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: 3;
}

.feature-card[data-index="0"] .feature-card__focus-pill {
  top: 60px;
}

.feature-card[data-index="1"] .feature-card__focus-pill {
  top: 60px;
}

.feature-card__focus-text {
  position: absolute;
  left: 95px;
  z-index: 4;
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 34px;
  letter-spacing: -0.022em;
  font-weight: 600;
  white-space: nowrap;
}

.feature-card[data-index="0"] .feature-card__focus-text {
  top: 65px;
}

.feature-card[data-index="1"] .feature-card__focus-text {
  top: 65px;
  left: 119px;
}

.page-shell[data-state="01"] .accordion {
  height: 600.352px;
}

.page-shell[data-state="01"] .feature-card[data-index="0"] {
  top: 0;
  height: 474.352px;
  background: var(--card-expanded-bg);
}

.page-shell[data-state="01"] .feature-card[data-index="1"] {
  top: 498.352px;
  height: 102px;
  background: var(--card-collapsed-bg);
}

.page-shell[data-state="01"] .feature-card[data-index="0"] .feature-card__panel {
  display: block;
}

.page-shell[data-state="01"] .feature-card[data-index="1"] .feature-card__panel {
  display: none;
}

.page-shell[data-state="02"] .accordion {
  height: 572.352px;
}

.page-shell[data-state="02"] .feature-card[data-index="0"] {
  top: 0;
  height: 102px;
  background: var(--card-collapsed-bg);
}

.page-shell[data-state="02"] .feature-card[data-index="1"] {
  top: 126px;
  height: 446.352px;
  background: var(--card-expanded-bg);
}

.page-shell[data-state="02"] .feature-card[data-index="0"] .feature-card__panel {
  display: none;
}

.page-shell[data-state="02"] .feature-card[data-index="1"] .feature-card__panel {
  display: block;
}

@media (max-width: 1180px) {
  body {
    min-width: 0;
  }

  .page-shell {
    width: 100%;
    min-height: 100vh;
    height: auto;
  }

  .hero {
    min-height: 100vh;
    padding: 24px;
  }

  .hero__header,
  .hero__mascot,
  .accordion,
  .feature-card,
  .feature-card__toggle,
  .feature-card__panel,
  .feature-card__visual,
  .feature-card__plate,
  .feature-card__blur-box,
  .feature-card__ghost,
  .feature-card__focus-pill,
  .feature-card__focus-text,
  .brand,
  .brand__mark-wrap,
  .brand__text,
  .hero__slogan {
    position: static;
  }

  .hero__header {
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .hero__header::before {
    display: none;
  }

  .brand {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .brand__mark-wrap,
  .brand__mark {
    width: 54px;
    height: 54px;
  }

  .brand__text {
    width: 82px;
    height: auto;
  }

  .hero__slogan {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero__mascot {
    width: min(100%, 320px);
    height: auto;
    margin: 32px auto 0;
  }

  .accordion {
    width: 100%;
    margin-top: 32px;
  }

  .page-shell[data-state="01"] .feature-card[data-index="1"],
  .page-shell[data-state="02"] .feature-card[data-index="1"],
  .page-shell[data-state="01"] .feature-card[data-index="0"],
  .page-shell[data-state="02"] .feature-card[data-index="0"] {
    top: auto;
    width: 100%;
    height: auto;
  }

  .feature-card {
    position: relative;
    margin-bottom: 24px;
    padding: 24px 20px;
  }

  .feature-card__toggle {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
  }

  .feature-card__panel {
    position: static;
    display: block;
  }

  .page-shell[data-state="01"] .feature-card[data-index="1"] .feature-card__panel,
  .page-shell[data-state="02"] .feature-card[data-index="0"] .feature-card__panel {
    display: none;
  }

  .feature-card__desc,
  .feature-card[data-index="0"] .feature-card__desc,
  .feature-card[data-index="1"] .feature-card__desc {
    position: static;
    width: auto;
    margin: 0 0 20px;
  }

  .feature-card__visual {
    width: 100%;
    height: auto;
  }

  .feature-card__plate {
    width: 100%;
    max-width: 388px;
    height: auto;
    aspect-ratio: 388 / 220;
    margin: 0 auto;
  }

  .feature-card__plate img {
    left: 50%;
    transform: translateX(-50%);
  }

  .feature-card__blur-box,
  .feature-card__ghost {
    display: none;
  }

  .feature-card__focus-pill {
    width: 220px;
    margin: 0 0 10px;
  }

  .feature-card__focus-text {
    margin: -38px 0 0 20px;
  }
}
