html,
body {
  margin: 0;
  min-height: 100%;
  background: #fdf7ff;
}

body {
  overflow-x: hidden;
  color: #1d1b20;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(circle at 50% 104px, rgba(255, 237, 213, 0.3), rgba(255, 237, 213, 0) 44%),
    radial-gradient(circle at 50% 760px, rgba(243, 232, 255, 0.4), rgba(243, 232, 255, 0) 58%),
    #fdf7ff;
}

.landing-page {
  position: relative;
  width: min(360px, 100vw);
  margin: 0 auto;
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 86px 20px 86px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb-warm {
  top: -167px;
  left: -39px;
  width: 400px;
  height: 400px;
  background: rgba(255, 237, 213, 0.3);
}

.hero-orb-cool {
  right: -39px;
  bottom: -55px;
  width: 500px;
  height: 500px;
  background: rgba(243, 232, 255, 0.3);
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 13px 22px 13px 24px;
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.1);
}

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

.brand-text {
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #f97316 0%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar-button {
  width: 115px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  background: #4f378a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 254px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: #191c1d;
  font-size: 45px;
  font-weight: 400;
  line-height: 57.6px;
}

.hero-copy p {
  margin: 12px 0 0;
  color: rgba(89, 92, 94, 0.95);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 2px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 43px;
}

.phone-screen {
  position: relative;
  width: 240px;
  height: 480px;
  padding: 16px;
  box-sizing: border-box;
  border-radius: 40px;
  background: #171717;
  box-shadow:
    inset 0 0 0 6px #262626,
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: -6px 0 0;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28.8px;
}

.phone-image,
.phone-overlay {
  position: absolute;
  inset: 0;
  width: 208px;
  height: 448px;
}

.phone-image {
  object-fit: cover;
}

.phone-overlay {
  background: rgba(0, 0, 0, 0.48);
}

.phone-power {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(254, 215, 170, 0.5) 0%, rgba(216, 180, 254, 0.5) 100%);
  box-shadow: 0 0 23.5px rgba(238, 238, 238, 0.79);
}

.feature-block {
  width: 331px;
  margin: 0 auto;
}

.feature-header h2 {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 33.6px;
  letter-spacing: -0.28px;
}

.feature-copy {
  margin: 0;
  color: #494551;
  font-size: 14px;
  line-height: 22.75px;
}

.feature-copy-narrow {
  width: 280px;
  margin-top: 6.99px;
  opacity: 0.7;
}

.feature-speed {
  margin-top: 46px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  line-height: 11px;
  letter-spacing: 1.1px;
}

.eyebrow-purple {
  color: #4f378a;
}

.eyebrow-gold {
  color: #765b00;
}

.eyebrow-warm {
  color: rgba(254, 215, 170, 0.8);
}

.eyebrow-muted {
  color: #63597c;
}

.glass-panel {
  margin-top: 24px;
  padding: 23.875px 25px 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.speed-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.speed-meter-track {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(229, 229, 229, 0.5);
}

.speed-meter-fill {
  position: absolute;
  inset: 0 25% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #fb923c 0%, #a855f7 100%);
}

.speed-meter-value {
  width: 66.81px;
  height: 14px;
}

.speed-card {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.speed-card img {
  width: 281px;
  height: 160px;
  object-fit: cover;
}

.feature-privacy {
  margin-top: 24px;
  padding: 96px 24px 48px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}

.privacy-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  margin-top: 32.01px;
}

.privacy-layer,
.privacy-card {
  position: absolute;
  width: 224px;
  height: 288px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.privacy-layer-back {
  top: 0;
  left: 182px;
  opacity: 0.5;
  transform: translateX(-50%) rotate(2deg);
}

.privacy-layer-middle {
  top: 24px;
  left: 158px;
  opacity: 0.7;
  transform: translateX(-50%) rotate(-2deg);
}

.privacy-card {
  top: 16px;
  left: 50%;
  padding: 21px;
  box-sizing: border-box;
  transform: translateX(-50%);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.privacy-image-shell {
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
}

.privacy-image-shell img {
  width: 182px;
  height: 128px;
  object-fit: cover;
  opacity: 0.6;
}

.privacy-card-copy {
  margin-top: 16px;
}

.privacy-line {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #e5e5e5;
}

.privacy-line + .privacy-line,
.privacy-lock {
  margin-top: 8px;
}

.privacy-line-long {
  width: 136.5px;
}

.privacy-line-short {
  width: 91px;
}

.privacy-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 24px;
  padding-left: 3px;
  box-sizing: border-box;
}

.feature-player {
  margin-top: 24.38px;
  padding: 64px 24px;
  background: #0a0a0a;
  box-sizing: border-box;
}

.feature-header-center {
  text-align: center;
}

.feature-player h2 {
  color: #fff;
}

.player-card {
  position: relative;
  margin-top: 32px;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(147, 51, 234, 0.1);
  filter: blur(40px);
}

.player-cover {
  position: relative;
  z-index: 1;
  width: 281px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  object-fit: cover;
  opacity: 0.8;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.7) 100%);
}

.player-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.player-text {
  display: flex;
  flex-direction: column;
}

.player-text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.player-text small {
  margin-top: -1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  line-height: 13.5px;
  letter-spacing: 0.45px;
}

.feature-comic {
  margin-top: 2px;
  padding: 48px 0 64px;
}

.comic-grid {
  display: grid;
  grid-template-columns: 157.5px 163px;
  gap: 16px;
  margin-top: 32px;
}

.comic-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comic-column-left {
  padding-bottom: 32px;
}

.comic-column-right {
  padding-top: 32px;
}

.comic-image-card,
.glass-image-card {
  overflow: hidden;
  border-radius: 28.8px;
}

.comic-image-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.comic-image-card img {
  object-fit: cover;
}

.glass-image-card {
  position: relative;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.glass-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
}

.glass-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  object-fit: cover;
  backdrop-filter: blur(10px);
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(342px, calc(100vw - 18px));
  height: 55px;
  padding: 0;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 0%, #9333ea 100%);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 4px 8.8px rgba(197, 82, 130, 0.25);
  color: #f8f9fa;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.topbar-button:active,
.floating-cta:active {
  transform: translateY(1px);
}

.floating-cta:active {
  transform: translateX(-50%) translateY(1px);
}
