:root {
  --screen-max: 360px;
  --content-max: 312px;
  --hero-max: 342px;
  --bg-page: #ffffff;
  --bg-hero: #f7f9fc;
  --bg-muted: #f2f4f7;
  --text-main: #191c1e;
  --text-secondary: #43474a;
  --text-muted: #595c5e;
  --blue-1: #22d3ee;
  --blue-2: #6366f1;
  --blue-3: #4facfe;
  --purple-1: #ce9ffd;
  --deep-bg: #0f172a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-page);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2 {
  margin: 0;
}

.page {
  min-height: 100vh;
  background: var(--bg-page);
}

.screen {
  width: 100%;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 46px), 314px);
  min-height: 57px;
  margin: 0 auto;
  padding-top: calc(env(safe-area-inset-top, 0px));
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand-text {
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-icon {
  width: 17px;
  height: 17px;
}

.topbar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 115px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
  padding: 78px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 1106px;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0) 31.555%, #f7f9fc 101%);
}

.hero-bg img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 138.3%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.4;
  transform: translateX(-50%);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 18px), var(--hero-max));
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f0dbff;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #2c0051;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  font-size: 36px;
  line-height: 41.4px;
  font-weight: 400;
  letter-spacing: -1.44px;
  text-align: center;
}

.hero-title span,
.hero-title strong {
  font-weight: 400;
}

.hero-title strong {
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(90deg, #06b6d4, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  width: min(100%, 300.96px);
  margin-top: 2px;
  padding: 0 16px;
  font-size: 18px;
  line-height: 28.8px;
  text-align: center;
  color: var(--text-secondary);
}

.hero-device-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 411px;
  margin-top: 50px;
  padding: 10px 0;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
}

.hero-ring-small {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(34, 211, 238, 0.1);
  top: 105px;
}

.hero-ring-large {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(129, 140, 248, 0.05);
  top: 75px;
}

.hero-device {
  position: relative;
  width: 224px;
  min-height: 384px;
  padding: 117px 23px 118px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(-3deg);
}

.hero-device-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 10px 15px -3px rgba(34, 211, 238, 0.2), 0 4px 6px -4px rgba(34, 211, 238, 0.2);
}

.hero-device-icon img {
  width: 20px;
  height: 25px;
}

.hero-device-status {
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #06b6d4;
}

.hero-device-progress {
  width: 100%;
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceef1;
}

.hero-device-progress span {
  display: block;
  width: 66.66%;
  height: 100%;
  background: #22d3ee;
}

.cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 80px), 280px);
  height: 56px;
  margin: 40px auto 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-3), var(--purple-1));
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -4px rgba(99, 102, 241, 0.2);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #ffffff;
}

.section {
  width: 100%;
  padding: 64px 24px;
}

.section-muted {
  background: var(--bg-muted);
}

.section-white {
  background: #ffffff;
}

.section-inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.section-copy-block {
  display: flex;
  flex-direction: column;
}

.section-kicker {
  font-size: 11px;
  line-height: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.section-kicker-blue {
  color: #00629f;
}

.section-kicker-indigo {
  color: #4f46e5;
}

.section-kicker-purple {
  color: #754aa1;
}

.section-title {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  font-size: 28px;
  line-height: 35px;
  font-weight: 400;
  letter-spacing: -0.84px;
}

.section-title-center {
  align-items: center;
  text-align: center;
}

.section-title-light {
  color: #ffffff;
}

.section-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #404751;
}

.section-copy-lg {
  font-size: 18px;
  line-height: 29.25px;
  color: var(--text-muted);
}

.glass-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px -10px rgba(226, 232, 240, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.feature-card {
  margin-top: 40px;
  padding: 25px;
}

.feature-media {
  overflow: hidden;
  border-radius: 12px;
}

.feature-media img {
  width: 100%;
  height: 164.25px;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-main);
}

.feature-list img {
  width: 15px;
  height: 15px;
}

.privacy-section {
  padding-top: 43px;
  padding-bottom: 78px;
}

.privacy-copy-block {
  gap: 0;
}

.privacy-card {
  position: relative;
  height: 244px;
  margin-top: 39px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 40px -10px rgba(226, 232, 240, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.privacy-card-bg {
  position: absolute;
  inset: 0;
}

.privacy-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.privacy-search {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eceef1;
}

.privacy-search img {
  width: 6.67px;
  height: 8.75px;
}

.privacy-search span {
  width: 80px;
  height: 6px;
  border-radius: 999px;
  background: #bfc7d3;
}

.privacy-skeleton {
  position: absolute;
  top: 68px;
  left: 20px;
  right: 20px;
}

.privacy-skeleton-panel {
  width: 100%;
  height: 96px;
  border-radius: 12px;
  background: rgba(236, 238, 241, 0.5);
  filter: blur(1px);
}

.privacy-skeleton-line {
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(236, 238, 241, 0.5);
}

.privacy-skeleton-line-wide {
  width: 223.5px;
}

.privacy-skeleton-line-short {
  width: 149px;
}

.player-section {
  position: relative;
  overflow: hidden;
  background: var(--deep-bg);
  padding-top: 63px;
  padding-bottom: 64px;
}

.player-section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.player-section-bg img {
  width: 106.15%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: translateX(-3.07%);
}

.player-inner {
  position: relative;
}

.player-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-subtitle {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #94a3b8;
}

.player-card {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.player-poster {
  width: 100%;
  height: 192.38px;
  object-fit: cover;
  opacity: 0.9;
}

.player-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -58%);
}

.player-play img {
  width: 13.75px;
  height: 17.5px;
}

.player-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.8));
}

.player-progress-track {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.player-progress-track span {
  display: block;
  width: 33.33%;
  height: 100%;
  background: var(--blue-1);
}

.player-time {
  flex-shrink: 0;
  font-family: "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
  line-height: 15px;
  color: #ffffff;
}

.comic-section {
  padding-bottom: 64px;
}

.comic-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.comic-title {
  margin-top: 4.5px;
}

.comic-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #00629f;
}

.comic-more img {
  width: 13.33px;
  height: 9.33px;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.comic-item-offset {
  padding-top: 24px;
}

.comic-item-tall {
  padding-bottom: 24px;
}

.comic-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.comic-card img {
  width: 100%;
  aspect-ratio: 148 / 217.33;
  object-fit: cover;
}

/* 兼容不支持毛玻璃时的视觉退化，保证 Chrome 旧版本也不会发灰发脏。 */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topbar,
  .hero-device,
  .glass-card,
  .privacy-card,
  .player-card,
  .player-play {
    background: rgba(255, 255, 255, 0.92);
  }
}

@media (min-width: 361px) {
  .hero::before,
  .section-muted,
  .section-white,
  .player-section {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0);
  }
}

@media (max-width: 359px) {
  .topbar-inner {
    width: calc(100% - 24px);
  }

  .topbar-action {
    width: 104px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-inner {
    width: calc(100% - 12px);
  }

  .cta-main {
    width: calc(100% - 48px);
  }
}
