/* =========================
   变量 / 全局配置
========================= */
:root {
  --blue: #1258ff;
  --blue2: #1228e8;
  --cyan: #19c6ff;
  --purple: #5c22ff;
  --dark: #07122f;
  --muted: #687087;
  --line: rgba(21,62,180,.12);
  --glass: rgba(255,255,255,.78);
  --shadow: 0 22px 70px rgba(27,72,181,.13);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Segoe UI,Arial,sans-serif;
  color: var(--dark);
  background: linear-gradient(180deg,#f7fbff 0%,#fff 46%,#f2f7ff 100%);
  overflow-x: hidden;
}


/* =========================
   背景装饰
========================= */
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 9% 5%,rgba(36,116,255,.12),transparent 22%),radial-gradient(circle at 92% 9%,rgba(103,69,255,.12),transparent 25%),linear-gradient(180deg,#fbfdff 0%,#fff 100%);
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .55;
  animation: float 8s ease-in-out infinite;
}

.blob-a {
  width: 76px;
  height: 76px;
  right: 6%;
  top: 16%;
  background: linear-gradient(135deg,#ccedff,#ffffff);
}

.blob-b {
  width: 46px;
  height: 46px;
  left: 7%;
  top: 26%;
  background: linear-gradient(135deg,#ecf6ff,#fff);
}

.blob-c {
  width: 30px;
  height: 30px;
  left: 41%;
  top: 43%;
  background: #1767ff;
}

.ribbon {
  position: absolute;
  width: 42vw;
  height: 88px;
  right: -9vw;
  top: 18%;
  border-radius: 99px;
  background: linear-gradient(90deg,rgba(18,88,255,.06),rgba(92,34,255,.16));
  transform: rotate(-35deg);
}


/* =========================
   基础元素
========================= */
a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}


/* =========================
   通用容器与玻璃效果
========================= */
.section-shell {
  width: min(1160px,calc(100% - 72px));
  margin-inline: auto;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}


/* =========================
   顶部导航
========================= */
.header {
  position: sticky;
  top: 20px;
  z-index: 20;
  width: min(1160px,calc(100% - 72px));
  height: 72px;
  margin: 20px auto 0;
  padding: 0 18px 0 22px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .02em;
}

.brand img {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  object-fit: cover;
}

.pill-button,
.primary-button,
.secondary-button {
  border: 0;
  cursor: pointer;
  transition: transform .25s ease,box-shadow .25s ease,filter .25s ease;
}

.pill-button {
  color: white;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 26px;
  background: linear-gradient(135deg,var(--cyan),var(--purple));
  box-shadow: 0 12px 26px rgba(39,79,236,.26);
}

.pill-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.1);
  box-shadow: 0 18px 34px rgba(39,79,236,.28);
}


/* =========================
   首屏 Hero 区域
========================= */
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 20px;
  align-items: center;
  padding: 58px 0 38px;
}

.eyebrow {
  font-size: 18px;
  font-weight: 800;
  color: #151b33;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.16;
  margin: 0 0 20px;
  letter-spacing: -.06em;
}

.hero h1 em {
  font-style: normal;
  color: #102fff;
  text-shadow: 0 8px 26px rgba(42,89,255,.16);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #3b4562;
  max-width: 590px;
  margin: 0 0 28px;
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 18px 0 30px;
}

.mini-flow i {
  width: 11px;
  height: 11px;
  border-right: 3px solid var(--blue);
  border-top: 3px solid var(--blue);
  transform: rotate(45deg);
}

.mini-flow-item {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.mini-flow-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(30,80,220,.16));
}

.mini-flow-item strong {
  font-size: 17px;
}

.mini-flow-item span {
  font-size: 13px;
  color: var(--muted);
}

.primary-button {
  height: 64px;
  min-width: 230px;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg,#18d0ff 0%,#1424ff 73%,#5c20ff 100%);
  box-shadow: 0 18px 38px rgba(27,72,225,.22);
}

.play-dot {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}


/* =========================
   Hero 视觉元素
========================= */
.hero-visual {
  position: relative;
  height: 540px;
}

.orbit {
  position: absolute;
  border: 2px solid rgba(45,103,236,.12);
  border-radius: 50%;
  transform: rotate(-20deg);
  animation: spin 20s linear infinite;
}

.orbit-one {
  width: 470px;
  height: 210px;
  right: 28px;
  top: 115px;
}

.orbit-two {
  width: 370px;
  height: 160px;
  right: 80px;
  top: 175px;
  animation-direction: reverse;
}

.phone {
  position: absolute;
  border-radius: 36px;
  box-shadow: 0 30px 50px rgba(5,22,74,.26);
  border: 7px solid #111;
  background: #111;
  object-fit: cover;
}

.phone-left {
  width: 236px;
  height: 510px;
  right: 250px;
  top: 26px;
  transform: rotate(-5deg);
  animation: phoneFloat 5.5s ease-in-out infinite;
}

.phone-right {
  width: 222px;
  height: 480px;
  right: 60px;
  top: 48px;
  transform: rotate(8deg);
  /* animation: phoneFloat 5.8s ease-in-out .4s infinite; */
}

.gift-box {
  position: absolute;
  width: 205px;
  right: 2px;
  bottom: 0;
  filter: drop-shadow(0 24px 24px rgba(38,78,194,.16));
  animation: float 6s ease-in-out infinite;
}

.coin {
  position: absolute;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(255,131,16,.23));
  animation: coin 5s ease-in-out infinite;
}

.coin-1 {
  left: 82px;
  bottom: 76px;
}

.coin-2 {
  right: 20px;
  top: 230px;
  animation-delay: .8s;
}


/* =========================
   核心价值栏
========================= */
.value-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-radius: 28px;
  padding: 28px 8px;
  margin-top: 2px;
}

.value-bar article {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 6px 20px;
  border-right: 1px solid var(--line);
}

.value-bar article:last-child {
  border-right: 0;
}

.value-bar img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.value-bar strong {
  display: block;
  font-size: 20px;
  margin-bottom: 7px;
}

.value-bar span {
  font-size: 14px;
  color: var(--muted);
}


/* =========================
   步骤流程
========================= */
.steps {
  padding: 48px 0 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  margin: 0;
  letter-spacing: .04em;
}

.section-title span {
  width: 48px;
  height: 8px;
  background: radial-gradient(circle,var(--blue) 0 34%,transparent 38%);
  background-size: 16px 8px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 34px;
}

.step-card {
  position: relative;
  border-radius: 24px;
  padding: 34px 20px;
  text-align: center;
  transition: transform .3s ease,box-shadow .3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.step-card b {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--blue);
  z-index: 2;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.step-card h3 {
  font-size: 21px;
  margin: 14px 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}


/* =========================
   功能卡片
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
  padding: 0 0 26px;
}

.feature-card {
  min-height: 330px;
  border-radius: 28px;
  padding: 28px;
  display: grid;
  grid-template-columns: 150px 1fr 118px;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: auto -35% -45% auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle,rgba(51,102,255,.14),transparent 70%);
}

.feature-phone {
  width: 134px;
  height: 290px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(7,18,47,.22);
  border: 4px solid #101828;
  z-index: 1;
}

.feature-copy {
  z-index: 1;
}

.feature-copy h2 {
  font-size: 26px;
  margin: 0 0 22px;
}

.feature-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-copy li {
  font-weight: 700;
  color: #1d2a4c;
}

.feature-copy li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 12px;
}

.feature-icon {
  margin-bottom: -200px;
  width: 115px;
  height: 115px;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 18px 22px rgba(35,85,225,.16));
  animation: float 20s ease-in-out infinite;
}

.float-card {
  width: 100px;
  height: 100px;
}


/* =========================
   新人福利 / CTA 区域
========================= */
.newcomer {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 34px;
  min-height: 178px;
  padding: 26px 44px;
  background: linear-gradient(135deg,rgba(234,241,255,.94),rgba(255,255,255,.77) 52%,rgba(218,227,255,.92));
}

.newcomer h2 {
  font-size: 35px;
  margin: 0 0 12px;
}

.newcomer p {
  font-size: 19px;
  line-height: 1.75;
  margin: 0 0 15px;
  font-weight: 700;
}

.secondary-button {
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg,#25bbff,#2741ff);
  font-weight: 900;
  padding: 12px 28px;
}

.newcomer img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  align-self: end;
}


/* =========================
   页脚
========================= */
.footer {
  background: linear-gradient(135deg,#1687ff,#182eff);
  color: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 25px;
}

.footer-brand img {
  background: #fff;
}

.footer p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}

.footer-qr {
  display: flex;
  gap: 18px;
}

.footer-qr div {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-weight: 800;
}

.footer-qr img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}


/* =========================
   二维码弹窗
========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,12,36,.56);
  backdrop-filter: blur(7px);
}

.modal-panel {
  position: relative;
  width: min(420px,100%);
  border-radius: 32px;
  background: #fff;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 34px 90px rgba(0,0,0,.26);
  animation: pop .28s ease;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #f1f5ff;
  color: #16325f;
  font-size: 26px;
}

.modal-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.modal-panel h2 {
  margin: 14px 0 8px;
}

.modal-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.qr-card {
  width: 230px;
  height: 230px;
  padding: 12px;
  margin: 0 auto 14px;
  border-radius: 24px;
  background: linear-gradient(135deg,#eff8ff,#f5f3ff);
  box-shadow: inset 0 0 0 1px rgba(18,88,255,.09);
}

.qr-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.modal-tip {
  color: #1228e8;
  font-weight: 800;
}


/* =========================
   返回顶部按钮
========================= */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg,#18c5ff,#182eff);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  box-shadow: 0 14px 28px rgba(20,68,232,.28);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}


/* =========================
   入场动画
========================= */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease,transform .75s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

[data-animate="fade-right"] {
  transform: translateX(-34px);
}

[data-animate="fade-left"] {
  transform: translateX(34px);
}

[data-animate="fade-down"] {
  transform: translateY(-20px);
}

[data-animate="zoom-in"] {
  transform: scale(.94);
}

/* =========================
   关键帧动画
========================= */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -16px;
  }
}

@keyframes coin {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-18px) rotate(16deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(340deg);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   响应式：平板
========================= */
@media (max-width: 980px) {
  .section-shell,
  .header {
    width: min(100% - 36px,720px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-visual {
    height: 500px;
  }
  .phone-left {
    left: 12%;
    right: auto;
  }
  .phone-right {
    right: 14%;
  }
  .value-bar {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }
  .value-bar article {
    border-right: 0;
    justify-content: flex-start;
  }
  .step-grid,
  .features {
    grid-template-columns: repeat(2,1fr);
  }
  .feature-card {
    grid-template-columns: 128px 1fr;
    min-height: 300px;
  }
  .feature-icon {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 90px;
    height: 90px;
    opacity: .78;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .newcomer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .newcomer img {
    max-height: 180px;
  }
}

/* =========================
   响应式：手机
========================= */
@media (max-width: 620px) {
  .section-shell,
  .header {
    width: calc(100% - 24px);
  }
  .header {
    top: 10px;
    height: 64px;
    margin-top: 10px;
    border-radius: 22px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .pill-button {
    padding: 11px 17px;
  }
  .hero {
    padding-top: 34px;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -.04em;
  }
  .hero-desc {
    font-size: 16px;
  }
  .mini-flow {
    gap: 9px;
    justify-content: space-between;
  }
  .mini-flow-item img {
    width: 48px;
    height: 48px;
  }
  .mini-flow-item strong {
    font-size: 15px;
  }
  .mini-flow-item span {
    font-size: 12px;
  }
  .hero-visual {
    height: 390px;
  }
  .phone {
    border-width: 5px;
    border-radius: 26px;
  }
  .phone-left {
    width: 165px;
    height: 357px;
    left: 5%;
    top: 10px;
  }
  .phone-right {
    width: 155px;
    height: 335px;
    right: 5%;
    top: 30px;
  }
  .gift-box {
    width: 132px;
  }
  .coin {
    width: 60px;
    height: 60px;
  }
  .coin-1 {
    left: 0;
    bottom: 55px;
  }
  .coin-2 {
    right: 8px;
    top: 178px;
  }
  .orbit-one {
    width: 320px;
    height: 140px;
    right: 14px;
    top: 88px;
  }
  .orbit-two {
    width: 250px;
    height: 110px;
    right: 50px;
    top: 130px;
  }
  .primary-button {
    height: 56px;
    min-width: 190px;
    font-size: 18px;
  }
  .value-bar {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .value-bar article {
    justify-content: flex-start;
    padding: 10px;
  }
  .steps {
    padding-top: 36px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .step-grid,
  .features {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .step-card b,
  .step-card::after {
    display: none;
  }
  .feature-card {
    grid-template-columns: 105px 1fr;
    padding: 22px;
    gap: 16px;
  }
  .feature-phone {
    width: 104px;
    height: 225px;
    border-radius: 20px;
  }
  .feature-copy h2 {
    font-size: 21px;
  }
  .feature-copy ul {
    gap: 10px;
  }
  .feature-copy li {
    font-size: 14px;
  }
  .newcomer {
    padding: 26px 20px;
  }
  .newcomer h2 {
    font-size: 28px;
  }
  .footer-qr img {
    width: 66px;
    height: 66px;
  }
  .modal-panel {
    border-radius: 26px;
    padding: 28px 22px;
  }
  .qr-card {
    width: 210px;
    height: 210px;
  }
}

/* =========================
   无障碍：减少动画
========================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}
