* {
  box-sizing: border-box;
}

:root {
  --bg: #050511;
  --bg-soft: #0b0b1c;
  --surface: rgba(18, 19, 45, 0.72);
  --surface-strong: rgba(25, 27, 59, 0.94);
  --surface-light: rgba(255, 255, 255, 0.07);

  --primary: #8b5cf6;
  --primary-light: #b794ff;
  --secondary: #22d3ee;
  --accent: #ff4ecd;

  --text: #ffffff;
  --muted: #a7aac1;
  --border: rgba(255, 255, 255, 0.11);

  --shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 45px rgba(139, 92, 246, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(98px + env(safe-area-inset-bottom));
  overflow-x: hidden;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);
  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(139, 92, 246, 0.2),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 18%,
      rgba(34, 211, 238, 0.15),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 78, 205, 0.08),
      transparent 34%
    ),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

body::after {
  content: "";
  position: fixed;
  top: 18%;
  left: 50%;
  z-index: -1;

  width: 340px;
  height: 340px;
  border-radius: 50%;

  background: rgba(139, 92, 246, 0.12);
  filter: blur(95px);
  transform: translateX(-50%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

main {
  position: relative;
}

/* 顶部导航 */

.topbar {
  position: fixed;
  top: 12px;
  left: 14px;
  right: 14px;
  z-index: 100;

  height: 62px;
  padding: 0 12px 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: rgba(9, 9, 27, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo {
  position: relative;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.8px;
}

.logo::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;

  width: 4px;
  height: 22px;
  border-radius: 99px;

  background: linear-gradient(
    to bottom,
    var(--secondary),
    var(--primary),
    var(--accent)
  );

  transform: translateY(-50%);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.8);
}

.logo span {
  color: var(--primary-light);
}

.top-download {
  min-height: 40px;
  padding: 0 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;

  color: #fff;
  font-size: 13px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      rgba(139, 92, 246, 0.95),
      rgba(88, 72, 221, 0.95)
    );

  box-shadow:
    0 10px 28px rgba(139, 92, 246, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* 首屏 */

.hero {
  position: relative;
  min-height: 760px;
  padding: 120px 18px 110px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(5, 5, 17, 0.08) 0%,
      rgba(5, 5, 17, 0.36) 45%,
      var(--bg) 94%
    ),
    linear-gradient(
      90deg,
      rgba(5, 5, 17, 0.94),
      rgba(5, 5, 17, 0.3)
    ),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1400&q=85");

  background-size: cover;
  background-position: center;
  transform: scale(1.035);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(34, 211, 238, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 25% 70%,
      rgba(139, 92, 246, 0.2),
      transparent 35%
    );
}

.hero-content {
  position: relative;
  z-index: 3;

  max-width: 470px;
  padding-top: 55px;
}

.rating {
  width: fit-content;
  margin-bottom: 20px;
  padding: 9px 13px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  border: 1px solid rgba(183, 148, 255, 0.28);
  border-radius: 12px;

  color: #ddd0ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15px;

  background: rgba(139, 92, 246, 0.13);
  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 10px 30px rgba(0, 0, 0, 0.15);
}

h1 {
  margin: 0;
  max-width: 430px;

  font-size: clamp(42px, 11vw, 57px);
  line-height: 0.98;
  letter-spacing: -2.8px;
  font-weight: 950;

  text-wrap: balance;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

h1::after {
  content: "";
  display: block;

  width: 86px;
  height: 5px;
  margin-top: 22px;
  border-radius: 99px;

  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--primary),
    var(--accent)
  );

  box-shadow:
    0 0 22px rgba(139, 92, 246, 0.72),
    0 0 32px rgba(34, 211, 238, 0.3);
}

.subtitle {
  max-width: 400px;
  margin: 22px 0 0;

  color: #d8d9e5;
  font-size: 17px;
  line-height: 1.65;
}

.cta {
  position: relative;
  isolation: isolate;

  min-height: 56px;
  margin-top: 26px;
  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;

  color: #fff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.2px;

  background:
    linear-gradient(
      135deg,
      #9c6bff 0%,
      #7456ed 48%,
      #3f69db 100%
    );

  box-shadow:
    0 18px 42px rgba(111, 76, 230, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  z-index: -1;

  width: 55%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );

  transform: rotate(20deg);
  animation: shine 3.2s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  45%,
  100% {
    left: 130%;
  }
}

.pulse {
  animation: softPulse 2.4s ease-in-out infinite;
}

@keyframes softPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 18px 42px rgba(111, 76, 230, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.26);
  }

  50% {
    transform: translateY(-3px);
    box-shadow:
      0 24px 58px rgba(111, 76, 230, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.26);
  }
}

.trust-row {
  max-width: 400px;
  margin-top: 22px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span,
.safe-tags span {
  padding: 8px 11px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;

  color: #e6e6f1;
  font-size: 12px;
  font-weight: 750;

  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

/* 首屏下方下载模块 */

.download-strip {
  position: relative;
  z-index: 8;

  margin: -76px 14px 26px;
  padding: 27px 19px;

  overflow: hidden;
  text-align: left;

  border: 1px solid rgba(183, 148, 255, 0.2);
  border-radius: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(28, 27, 65, 0.92),
      rgba(12, 14, 35, 0.94)
    );

  box-shadow: var(--shadow);
}

.download-strip::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -75px;

  width: 190px;
  height: 190px;
  border-radius: 50%;

  background: rgba(34, 211, 238, 0.16);
  filter: blur(22px);
}

.download-strip::after {
  content: "↓";
  position: absolute;
  top: 24px;
  right: 22px;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;

  color: var(--secondary);
  font-size: 24px;
  font-weight: 900;

  background: rgba(34, 211, 238, 0.08);
}

.download-strip h2 {
  position: relative;
  z-index: 2;

  max-width: calc(100% - 60px);
  margin: 0 0 8px;

  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.download-strip p {
  position: relative;
  z-index: 2;

  margin: 0;
  color: var(--muted);
}

.download-strip .cta {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 20px;
}

/* 通用内容区 */

.section {
  padding: 26px 14px;
}

.section h2,
.steps h2,
.reviews h2,
.final-cta h2 {
  margin: 0 0 20px;

  font-size: 26px;
  line-height: 1.13;
  letter-spacing: -0.8px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.mini-link {
  flex: none;
  padding: 8px 11px;

  border: 1px solid rgba(183, 148, 255, 0.18);
  border-radius: 10px;

  color: var(--primary-light);
  font-size: 12px;
  font-weight: 850;

  background: rgba(139, 92, 246, 0.08);
}

/* 功能卡片 */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-card {
  position: relative;
  min-height: 180px;
  padding: 17px 15px;

  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.018)
    ),
    var(--surface);

  backdrop-filter: blur(16px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -45px;

  width: 100px;
  height: 100px;
  border-radius: 50%;

  background: rgba(139, 92, 246, 0.15);
  filter: blur(18px);
}

.feature-card:nth-child(2)::after {
  background: rgba(34, 211, 238, 0.15);
}

.feature-card:nth-child(3)::after {
  background: rgba(255, 78, 205, 0.13);
}

.feature-card:nth-child(4)::after {
  background: rgba(80, 120, 255, 0.15);
}

.icon {
  position: relative;
  z-index: 2;

  width: 47px;
  height: 47px;
  margin-bottom: 22px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;

  font-size: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.3),
      rgba(139, 92, 246, 0.08)
    );

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.feature-card p {
  position: relative;
  z-index: 2;

  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* 电影卡片 */

.movie-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.movie-row::-webkit-scrollbar {
  display: none;
}

.movie-card {
  flex: 0 0 148px;
  scroll-snap-align: start;
}

.poster {
  position: relative;

  width: 148px;
  height: 218px;

  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;

  background-size: cover;
  background-position: center;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 92, 246, 0.04);
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(4, 4, 15, 0.72),
      transparent 48%
    );
}

.poster::after {
  content: "▶";
  position: absolute;
  right: 11px;
  bottom: 11px;

  width: 37px;
  height: 37px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;

  color: #fff;
  font-size: 13px;

  background: rgba(139, 92, 246, 0.78);
  backdrop-filter: blur(8px);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.movie-card h3 {
  margin: 11px 0 4px;
  font-size: 14px;
  line-height: 1.3;
}

.movie-card p {
  margin: 0;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
}

/* 步骤、评论、最终 CTA */

.steps,
.reviews,
.final-cta {
  position: relative;

  margin: 20px 14px;
  padding: 25px 18px;

  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 27px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.018)
    ),
    var(--surface);

  backdrop-filter: blur(18px);

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step {
  position: relative;

  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 14px;

  padding: 15px 0;
}

.step:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 54px;

  width: 1px;
  height: calc(100% - 37px);

  background: linear-gradient(
    to bottom,
    rgba(139, 92, 246, 0.55),
    rgba(34, 211, 238, 0.08)
  );
}

.step span {
  position: relative;
  z-index: 2;

  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;

  color: #fff;
  font-weight: 950;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #465dd5
    );

  box-shadow:
    0 10px 26px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.step h3 {
  margin: 2px 0 5px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.full {
  width: 100%;
}

/* 评论 */

.reviews::before {
  content: "";
  position: absolute;
  top: -85px;
  right: -70px;

  width: 190px;
  height: 190px;
  border-radius: 50%;

  background: rgba(255, 78, 205, 0.1);
  filter: blur(26px);
}

.review-card {
  position: relative;
  margin-top: 12px;
  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 19px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.02)
    );

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.review-card div {
  margin-bottom: 10px;

  color: #f8c84b;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-card p {
  margin: 0 0 12px;

  color: #e4e5ee;
  font-size: 14px;
  line-height: 1.55;
}

.review-card strong {
  color: var(--primary-light);
  font-size: 13px;
}

/* 最终下载区域 */

.final-cta {
  padding-top: 38px;
  padding-bottom: 34px;
  text-align: center;

  border-color: rgba(139, 92, 246, 0.22);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(139, 92, 246, 0.27),
      transparent 43%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(34, 211, 238, 0.09),
      transparent 35%
    ),
    rgba(17, 17, 43, 0.9);
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;

  width: 110px;
  height: 3px;
  border-radius: 0 0 99px 99px;

  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--primary),
    var(--accent)
  );

  transform: translateX(-50%);

  box-shadow:
    0 0 18px rgba(139, 92, 246, 0.85),
    0 0 30px rgba(34, 211, 238, 0.3);
}

.final-cta h2 {
  margin-bottom: 10px;
  font-size: 29px;
}

.final-cta p {
  margin: 0;
  color: var(--muted);
}

.safe-tags {
  margin-top: 20px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* 页脚 */

footer {
  padding: 30px 14px 120px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;

  color: #777b94;
  font-size: 12px;
}

footer a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

/* 底部固定按钮 */

.floating-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 120;
}

.floating-cta a {
  position: relative;

  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;

  color: #fff;
  font-size: 16px;
  font-weight: 950;

  background:
    linear-gradient(
      135deg,
      rgba(151, 99, 255, 0.97),
      rgba(93, 82, 226, 0.98),
      rgba(49, 124, 218, 0.97)
    );

  box-shadow:
    0 20px 55px rgba(94, 72, 218, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.27);

  backdrop-filter: blur(18px);
}

.floating-cta a::before {
  content: "";
  position: absolute;
  inset: 1px;

  border-radius: 18px;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.09),
      transparent 48%
    );
}

/* 动画 */

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);

  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 交互状态 */

.download-link {
  cursor: pointer;
}

.download-link:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.top-download,
.cta,
.feature-card,
.movie-card,
.mini-link,
.floating-cta a {
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.download-link:active,
.feature-card:active,
.movie-card:active {
  transform: scale(0.975);
}

@media (hover: hover) {
  .top-download:hover,
  .cta:hover,
  .floating-cta a:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
  }

  .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(183, 148, 255, 0.34);

    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.32),
      0 0 30px rgba(139, 92, 246, 0.08);
  }

  .movie-card:hover {
    transform: translateY(-5px);
  }

  .mini-link:hover {
    border-color: rgba(183, 148, 255, 0.45);
    background: rgba(139, 92, 246, 0.15);
  }

  footer a:hover {
    color: var(--primary-light);
    transform: translateY(-2px);
  }
}

/* 减少动画 */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 桌面展示 */

@media (min-width: 720px) {
  body {
    width: 430px;
    margin: 0 auto;

    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
      0 0 120px rgba(0, 0, 0, 0.8),
      0 0 70px rgba(139, 92, 246, 0.11);
  }

  .topbar {
    left: 50%;
    right: auto;
    width: 402px;
    transform: translateX(-50%);
  }

  .floating-cta {
    left: 50%;
    right: auto;
    width: 402px;
    transform: translateX(-50%);
  }
}

/* 小屏优化 */

@media (max-width: 370px) {
  h1 {
    font-size: 39px;
  }

  .hero {
    padding-left: 15px;
    padding-right: 15px;
  }

  .features {
    gap: 9px;
  }

  .feature-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .feature-card h3 {
    font-size: 15px;
  }
}