:root {
  --gold: #ffbd4a;
  --navy: #101b28;
  --green: #00b95d;
  --paper: #ffffff;
  --bg: #f1f3f7;
  --ink: #20252b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans TC",
    "Microsoft JhengHei",
    sans-serif;
}

.page {
  width: min(520px, 100%);
  margin: auto;
  background: #ffffff;
  box-shadow: 0 0 25px #cad0da;
}

/* 首屏 */

.hero {
  position: relative;
  height: 375px;
  overflow: hidden;
  color: #ffffff;
}

.hero-img,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
}

.shade {
  background: linear-gradient(
    90deg,
    rgba(8, 17, 30, 0.96) 0%,
    rgba(8, 17, 30, 0.76) 48%,
    rgba(8, 17, 30, 0.08) 100%
  );
}

.study-badge {
  position: absolute;
  top: 9px;
  left: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(11, 20, 34, 0.8);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.site-mark {
  position: absolute;
  top: 17px;
  right: 18px;
  width: 110px;
  height: auto;
}

.hero-copy {
  position: absolute;
  top: 36px;
  right: 24px;
  left: 24px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.hero h1 {
  margin: 17px 0 8px;
  font-size: 29px;
  line-height: 1.26;
  letter-spacing: -1px;
}

.hero p {
  margin: 0 0 18px;
  font-size: 14px;
}

/* 黄色按钮 */

.cta {
  display: block;
  padding: 16px 18px;
  color: #293037;
  background: var(--gold);
  border-radius: 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.33);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(0, 0, 0, 0.4);
}

.hero small {
  display: block;
  margin: 11px 0;
  font-size: 11px;
  text-align: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  font-size: 11px;
}

/* 讲师资料 */

.expert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  background: #ffffff;
}

.expert img {
  width: 64px;
  height: 64px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  object-position: 68% 25%;
}

.expert div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.expert strong {
  font-size: 18px;
}

.expert span {
  font-size: 13px;
}

/* 中间宣传区域 */

.poster {
  position: relative;
  min-height: 365px;
  padding: 24px;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(
    circle at 80% 20%,
    #31506a 0%,
    #0d1823 42%,
    #070a0e 100%
  );
}

.poster::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -50px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: url("images/avatar.webp") center / cover;
  filter: saturate(0.7);
  opacity: 0.32;
}

.poster-copy {
  position: relative;
  z-index: 1;
}

.poster-copy > span {
  color: #ff5d42;
  font-size: 21px;
  font-weight: 900;
  text-shadow: 0 2px 0 #000000;
}

.poster h2 {
  margin: 10px 0;
  color: #ffd951;
  font-size: 44px;
  line-height: 1.05;
  text-shadow: 2px 3px 0 #7c180c;
}

.poster h2 b {
  color: #ffffff;
  font-size: 31px;
}

.poster-copy > p {
  font-weight: 700;
}

.chat {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 350px;
  margin: 11px 0;
  padding: 10px 13px;
  color: #222222;
  background: #ffffff;
  border-radius: 25px;
  font-size: 11px;
}

.chat i {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  color: #ffffff;
  background: #121923;
  border-radius: 50%;
  font-style: normal;
}

/* 三步流程 */

.steps {
  padding: 28px 22px;
  background: #fafbfc;
}

.steps h2 {
  font-size: 18px;
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 5px;
}

.step-grid article {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 150px;
  padding: 14px 7px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(23, 33, 51, 0.08);
  text-align: center;
}

.step-grid article b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--green);
  border-radius: 50%;
}

.step-grid article i {
  margin: 10px;
  font-size: 26px;
  font-style: normal;
}

.step-grid article strong {
  font-size: 12px;
}

.step-grid article span {
  margin-top: 3px;
  color: #777777;
  font-size: 10px;
}

.step-grid em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

/* 内容特色 */

.benefits {
  padding: 28px 22px 130px;
}

.benefits h2 {
  font-size: 20px;
}

.benefits ol {
  margin: 0;
  padding: 16px;
  background: #f7f8fa;
  border-radius: 16px;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
}

.benefits li b {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  height: 22px;
  color: #ffffff;
  background: var(--gold);
  border-radius: 50%;
}

.notice {
  color: #777777;
  font-size: 10px;
  line-height: 1.6;
}

/* 右侧悬浮数据 */

.float-panel {
  position: fixed;
  top: 38%;
  right: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
  width: 158px;
}

.float-panel div {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 11px;
  color: #ffffff;
  background: #16242c;
  border: 2px solid #f08a43;
  border-radius: 26px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.27);
}

.float-panel b {
  color: #ffc055;
  font-size: 25px;
  letter-spacing: 2px;
}

.float-panel span {
  font-size: 10px;
}

.float-panel div + div {
  border-radius: 25px;
}

.float-panel div + div b {
  margin-top: 5px;
  color: #ffffff;
  font-size: 19px;
}

/* 底部固定按钮 */

.sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  color: #2c3338;
  background: var(--gold);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.13);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

/* 弹窗 */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(8, 16, 24, 0.73);
}

.modal.open {
  display: grid;
}

.modal-card {
  position: relative;
  max-width: 390px;
  padding: 30px 24px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.53);
  text-align: center;
}

.modal-card > b {
  font-size: 21px;
}

.modal-card p {
  color: #666677;
  font-size: 13px;
  line-height: 1.65;
}

.modal-card a {
  display: block;
  padding: 12px;
  color: #222222;
  background: var(--gold);
  border-radius: 24px;
  font-weight: 800;
  text-decoration: none;
}

.modal-card button {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

/* 平板适配 */

@media (max-width: 900px) {
  .float-panel {
    display: none;
  }
}

/* 手机适配 */

@media (max-width: 540px) {
  .hero {
    height: 360px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .site-mark {
    width: 92px;
  }

  .poster h2 {
    font-size: 38px;
  }

  .step-grid {
    gap: 3px;
  }

  .step-grid article {
    padding-right: 3px;
    padding-left: 3px;
  }

  .step-grid em {
    font-size: 12px;
  }
}

/* 电脑端固定按钮宽度 */

@media (min-width: 541px) {
  .sticky {
    left: 50%;
    width: 520px;
    transform: translateX(-50%);
  }
}