:root {
  --ink: #f7fbf4;
  --muted: #aeb8ad;
  --paper: #10140f;
  --deep: #080b08;
  --panel: rgba(20, 26, 20, 0.74);
  --panel-strong: rgba(31, 39, 30, 0.86);
  --line: rgba(214, 235, 201, 0.16);
  --line-strong: rgba(214, 235, 201, 0.32);
  --mint: #a8ffcf;
  --lime: #d8ff68;
  --coral: #ff8a70;
  --sky: #8bd9ff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-screen: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(115deg, rgba(168, 255, 207, 0.12), transparent 28%),
    linear-gradient(245deg, rgba(255, 138, 112, 0.11), transparent 24%),
    linear-gradient(180deg, #11170f 0%, #090c09 48%, #11110c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(216, 255, 104, 0.03) 12px 13px);
  background-size: 56px 56px, 56px 56px, auto;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 12, 9, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
}

.brand span {
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topbar-actions a,
.primary-btn,
.secondary-btn,
.footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.topbar-actions a:hover,
.primary-btn:hover,
.secondary-btn:hover,
.footer a:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--ink);
}

.topbar-actions .nav-download,
.primary-btn {
  color: #0c120b;
  border-color: rgba(216, 255, 104, 0.42);
  background: linear-gradient(135deg, var(--lime), var(--mint) 58%, var(--sky));
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(168, 255, 207, 0.18);
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 18px;
}

.hero-copy {
  align-self: center;
}

.hero-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 12px 0 0;
  max-width: 7em;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.download-counter {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-counter strong {
  color: var(--lime);
  font-size: 18px;
}

.secondary-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.hero-actions .install-guide-btn {
  position: relative;
  color: #dff7ff;
  border-color: rgba(139, 217, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(139, 217, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(8, 14, 18, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(139, 217, 255, 0.12);
  font-weight: 800;
  overflow: hidden;
}

.hero-actions .install-guide-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 18px rgba(139, 217, 255, 0.9);
}

.hero-actions .install-guide-btn:hover {
  color: #ffffff;
  border-color: rgba(139, 217, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(139, 217, 255, 0.24), rgba(216, 255, 104, 0.08)),
    rgba(8, 14, 18, 0.58);
}

.hero-stage {
  position: relative;
  min-height: 790px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(216, 255, 104, 0.09), transparent 35%),
    linear-gradient(22deg, rgba(139, 217, 255, 0.11), transparent 38%),
    rgba(13, 17, 13, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 42px;
  padding: 0 4px 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.stage-topline strong {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
}

.stealth-console {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 255, 104, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(216, 255, 104, 0.12), transparent 56%),
    rgba(0, 0, 0, 0.18);
}

.stealth-eye {
  position: relative;
  width: 54px;
  height: 34px;
  border: 2px solid rgba(216, 255, 104, 0.78);
  border-radius: 50%;
  background: rgba(168, 255, 207, 0.08);
  box-shadow: 0 0 24px rgba(216, 255, 104, 0.18);
  overflow: hidden;
}

.stealth-eye::before,
.stealth-eye::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  height: 52%;
  background: #10140f;
  z-index: 2;
  animation: blink 4.4s infinite;
}

.stealth-eye::before {
  --open-y: -100%;
  top: 0;
  border-bottom: 1px solid rgba(216, 255, 104, 0.6);
  transform: translateY(-100%);
}

.stealth-eye::after {
  --open-y: 100%;
  bottom: 0;
  border-top: 1px solid rgba(216, 255, 104, 0.6);
  transform: translateY(100%);
}

.stealth-eye span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(216, 255, 104, 0.8);
  transform: translate(-50%, -50%);
  animation: eyeScan 3.2s ease-in-out infinite;
}

.stealth-console strong,
.stealth-console em,
.stealth-console i {
  display: block;
}

.stealth-console strong {
  font-size: 17px;
}

.stealth-console em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.stealth-console i {
  padding: 7px 9px;
  border: 1px solid rgba(168, 255, 207, 0.24);
  border-radius: var(--radius);
  color: var(--mint);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: rgba(168, 255, 207, 0.06);
}

.stage-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 470px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-screen);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 18% 82%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  overflow: hidden;
  transition: transform 220ms ease;
}

.stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.12) 36%, transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
  opacity: 0.52;
  pointer-events: none;
  mix-blend-mode: screen;
}

.screen-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(168, 255, 207, 0.18) var(--spot-x, 46%),
    transparent calc(var(--spot-x, 46%) + 18%)
  );
  opacity: var(--spot-opacity, 0.3);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.stage-screen img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 26px;
  overflow: hidden;
  clip-path: inset(0 round 26px);
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
  transition: opacity 180ms ease, transform 260ms ease;
}

.stage-screen.switching img {
  opacity: 0;
  transform: rotateY(-14deg) translateY(14px) scale(0.96);
}

.shot-dock {
  position: relative;
  width: min(520px, 100%);
  height: 230px;
  margin: 22px auto 0;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.shot-dock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(390px, 78vw);
  height: 170px;
  border: 1px dashed rgba(216, 255, 104, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 28px rgba(168, 255, 207, 0.06), 0 0 32px rgba(216, 255, 104, 0.08);
  pointer-events: none;
}

.shot-dock::after {
  content: "HOVER";
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(168, 255, 207, 0.26);
  border-radius: 50%;
  color: var(--mint);
  background: rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.shot-tab {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(var(--tilt)) translateZ(0);
  transform-origin: center bottom;
  transition: transform 220ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.shot-tab:nth-child(1) {
  --x: 50%;
  --y: 8%;
  --tilt: -4deg;
}

.shot-tab:nth-child(2) {
  --x: 84%;
  --y: 26%;
  --tilt: 10deg;
}

.shot-tab:nth-child(3) {
  --x: 84%;
  --y: 74%;
  --tilt: -7deg;
}

.shot-tab:nth-child(4) {
  --x: 50%;
  --y: 92%;
  --tilt: 7deg;
}

.shot-tab:nth-child(5) {
  --x: 16%;
  --y: 74%;
  --tilt: -10deg;
}

.shot-tab:nth-child(6) {
  --x: 16%;
  --y: 26%;
  --tilt: 8deg;
}

.shot-tab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.56;
  transform: scale(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

.shot-tab span {
  position: absolute;
  left: 50%;
  bottom: 7px;
  min-width: 58px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #f8fff6;
  background: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transform: translateX(-50%);
}

.shot-tab:hover,
.shot-tab.active {
  transform: translate(-50%, -60%) rotate(0deg) scale(1.12) translateZ(46px);
  border-color: rgba(216, 255, 104, 0.62);
  background: rgba(216, 255, 104, 0.1);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

.shot-tab:hover img,
.shot-tab.active img {
  opacity: 0.92;
  transform: scale(1);
}

.feature-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.feature-line article {
  padding: 22px;
  background: rgba(12, 16, 12, 0.82);
}

.feature-line span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-line strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
}

.feature-line p,
.pk-band p,
.install-copy p,
.install-steps p {
  color: var(--muted);
  line-height: 1.72;
}

.feature-line p {
  margin: 10px 0 0;
}

.stealth-band,
.pk-band,
.install-section {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 16, 12, 0.72);
  backdrop-filter: blur(18px);
}

.stealth-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(280px, 0.92fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  overflow: hidden;
}

.stealth-band::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -8%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 104, 0.18), transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.stealth-media {
  position: relative;
  min-height: 360px;
  padding: 14px;
  border: 1px solid rgba(216, 255, 104, 0.24);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(135deg, rgba(216, 255, 104, 0.1), rgba(116, 211, 255, 0.08)),
    rgba(5, 8, 7, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.stealth-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  border-radius: 28px;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.42));
}

.stealth-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  z-index: 2;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(216, 255, 104, 0.18), transparent);
  mix-blend-mode: screen;
  animation: stealthScan 3.8s ease-in-out infinite;
  pointer-events: none;
}

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

.stealth-copy h2 {
  margin: 12px 0 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.stealth-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.stealth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stealth-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(168, 255, 207, 0.24);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(168, 255, 207, 0.07);
  font-size: 12px;
  font-weight: 900;
}

.pk-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.1fr) minmax(280px, 0.78fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.pk-band::before {
  content: "";
  position: absolute;
  inset: -40% 16% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 211, 255, 0.22), transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.stealth-band h2,
.pk-band h2,
.install-copy h2 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.stealth-band p,
.pk-band p,
.install-copy p {
  margin: 0;
}

.pk-arena {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 14px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(116, 211, 255, 0.24);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(135deg, rgba(116, 211, 255, 0.14), rgba(216, 255, 104, 0.08)),
    rgba(8, 13, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 60px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}

.pk-arena::before {
  content: "";
  position: absolute;
  inset: 22px 70px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(116, 211, 255, 0.5), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
  opacity: 0.48;
  transform: translateY(4px);
  animation: pkPulse 2.8s ease-in-out infinite;
  z-index: -1;
}

.pk-player {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.pk-player strong {
  color: var(--text);
  font-size: 14px;
}

.pk-player em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 24px;
  border: 1px solid rgba(216, 255, 104, 0.32);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(216, 255, 104, 0.08);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.avatar {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 26px 26px 32px 32px;
  background: linear-gradient(145deg, #d8ff68, #74d3ff);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  animation: avatarFloat 3.2s ease-in-out infinite;
}

.avatar-right {
  animation-delay: -1.2s;
  background: linear-gradient(145deg, #ff8f70, #74d3ff);
}

.avatar::before,
.avatar::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10170f;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.avatar::before {
  left: 21px;
}

.avatar::after {
  right: 21px;
}

.avatar span {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 28px;
  height: 10px;
  border-bottom: 4px solid rgba(16, 23, 15, 0.72);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.pk-question-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(4deg);
}

.pk-card-top,
.pk-scoreline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pk-card-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pk-card-top b {
  padding: 5px 9px;
  border-radius: 999px;
  color: #10170f;
  background: var(--lime);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pk-question-card p {
  margin-top: 16px;
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
}

.answer-bars {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.answer-bars i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.answer-bars i::before {
  content: "";
  display: block;
  width: var(--bar-width, 68%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--lime));
  animation: answerRace 2.6s ease-in-out infinite;
}

.answer-bars i:nth-child(2)::before {
  --bar-width: 46%;
  animation-delay: 180ms;
}

.answer-bars i:nth-child(3)::before {
  --bar-width: 82%;
  animation-delay: 360ms;
}

.answer-bars i:nth-child(4)::before {
  --bar-width: 58%;
  animation-delay: 540ms;
}

.pk-scoreline {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pk-copy {
  display: grid;
  gap: 12px;
}

.pk-copy p {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.install-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(520px, 1.38fr);
  gap: 28px;
  padding: 34px;
}

.install-copy .primary-btn {
  margin-top: 24px;
}

.install-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.install-steps span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  color: #14170f;
  background: var(--lime);
  font-weight: 900;
}

.install-steps strong {
  grid-column: 2;
  display: block;
  font-size: 19px;
}

.install-steps p {
  grid-column: 2;
  margin: 7px 0 0;
}

.install-inline-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(139, 217, 255, 0.34);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(139, 217, 255, 0.12);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(139, 217, 255, 0.08);
}

.install-inline-link:hover {
  border-color: rgba(216, 255, 104, 0.58);
  color: var(--lime);
  background: rgba(216, 255, 104, 0.1);
}

.install-inline-link.copied {
  border-color: rgba(216, 255, 104, 0.72);
  color: var(--lime);
  background: rgba(216, 255, 104, 0.14);
}

.install-inline-link::before,
.install-inline-link::after {
  position: absolute;
  left: 50%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.install-inline-link::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: min(320px, 78vw);
  padding: 9px 12px;
  border: 1px solid rgba(216, 255, 104, 0.34);
  border-radius: 12px;
  color: #f7ffe8;
  background:
    linear-gradient(135deg, rgba(216, 255, 104, 0.14), rgba(139, 217, 255, 0.12)),
    rgba(8, 12, 10, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  white-space: normal;
}

.install-inline-link::after {
  content: "";
  bottom: calc(100% + 5px);
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(216, 255, 104, 0.34);
  border-bottom: 1px solid rgba(216, 255, 104, 0.34);
  background: rgba(8, 12, 10, 0.96);
  transform: translate(-50%, 8px) rotate(45deg);
}

.install-inline-link:hover::before,
.install-inline-link:hover::after {
  opacity: 1;
}

.install-inline-link:hover::before {
  transform: translate(-50%, 0);
}

.install-inline-link:hover::after {
  transform: translate(-50%, 0) rotate(45deg);
}

.install-guide-shots {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 6px;
}

.install-guide-shots article {
  overflow: hidden;
  border: 1px solid rgba(139, 217, 255, 0.2);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(145deg, rgba(139, 217, 255, 0.08), rgba(216, 255, 104, 0.04)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.install-shot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.install-shot-title span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #10170f;
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.install-shot-title strong {
  color: var(--ink);
  font-size: 15px;
}

.install-shot-preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.install-guide-shots img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: rgba(4, 7, 6, 0.34);
}

.install-support {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(216, 255, 104, 0.22);
  border-radius: var(--radius);
  color: #dff7ff;
  background:
    linear-gradient(135deg, rgba(139, 217, 255, 0.1), rgba(216, 255, 104, 0.08)),
    rgba(255, 255, 255, 0.035);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.install-support strong {
  color: var(--lime);
  letter-spacing: 0.04em;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-preview-modal.hidden {
  display: none;
}

.image-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 5, 0.78);
  backdrop-filter: blur(12px);
}

.image-preview-card {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(92vh, 980px);
  padding: 18px;
  border: 1px solid rgba(139, 217, 255, 0.28);
  border-radius: calc(var(--radius) + 14px);
  background: rgba(10, 14, 12, 0.96);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.52);
  overflow: auto;
}

.image-preview-card img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.image-preview-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin-left: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 18px 2px 4px;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(139, 217, 255, 0.26);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.footer-links button:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 217, 255, 0.58);
  background: rgba(139, 217, 255, 0.12);
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}

.info-modal.hidden {
  display: none;
}

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 5, 0.68);
  backdrop-filter: blur(10px);
}

.info-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(139, 217, 255, 0.28);
  border-radius: calc(var(--radius) + 12px);
  background:
    linear-gradient(145deg, rgba(139, 217, 255, 0.14), rgba(216, 255, 104, 0.06)),
    rgba(12, 16, 12, 0.94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}

.info-card h2 {
  margin: 12px 0 0;
  font-size: 28px;
}

.info-card p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.reveal.visible .stage-screen {
  animation: stageIn 760ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero.reveal.visible .shot-tab {
  animation: dockIn 560ms ease both;
}

.hero.reveal.visible .shot-tab:nth-child(2) {
  animation-delay: 70ms;
}

.hero.reveal.visible .shot-tab:nth-child(3) {
  animation-delay: 140ms;
}

.hero.reveal.visible .shot-tab:nth-child(4) {
  animation-delay: 210ms;
}

.hero.reveal.visible .shot-tab:nth-child(5) {
  animation-delay: 280ms;
}

.hero.reveal.visible .shot-tab:nth-child(6) {
  animation-delay: 350ms;
}

@keyframes blink {
  0%,
  82%,
  100% {
    transform: translateY(var(--open-y));
  }
  88%,
  94% {
    transform: translateY(0);
  }
}

@keyframes eyeScan {
  0%,
  100% {
    transform: translate(-72%, -50%);
  }
  50% {
    transform: translate(-28%, -50%);
  }
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: rotateX(8deg) translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: rotateX(0deg) translateY(0) scale(1);
  }
}

@keyframes dockIn {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes avatarFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes answerRace {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.72;
  }
  50% {
    transform: translateX(8%);
    opacity: 1;
  }
}

@keyframes stealthScan {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }

  12% {
    opacity: 0.8;
  }

  52% {
    opacity: 0.48;
    transform: translateY(520%);
  }

  72% {
    opacity: 0;
    transform: translateY(520%);
  }
}

@keyframes pkPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: translateY(4px) scaleX(0.96);
  }
  50% {
    opacity: 0.7;
    transform: translateY(4px) scaleX(1.04);
  }
}

@media (max-width: 1020px) {
  .hero,
  .stealth-band,
  .pk-band,
  .install-section,
  .feature-line {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: none;
    font-size: 48px;
  }

  .stealth-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 12px;
  }

  .topbar,
  .topbar-actions,
  .hero-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }

  .topbar-actions a,
  .primary-btn,
  .secondary-btn,
  .footer-links,
  .footer-links button {
    width: 100%;
  }

  .footer-brand {
    justify-content: center;
  }

  .hero {
    gap: 22px;
    padding-top: 26px;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
  }

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

  .hero-stage {
    min-height: auto;
    padding: 10px;
  }

  .stage-screen {
    height: 360px;
  }

  .shot-dock {
    width: min(330px, 100%);
    height: 205px;
    overflow: visible;
    padding-bottom: 0;
  }

  .shot-tab {
    width: 78px;
    height: 78px;
    padding: 8px 8px 26px;
  }

  .shot-tab span {
    min-width: 48px;
    min-height: 20px;
    font-size: 11px;
  }

  .shot-dock::before {
    width: 260px;
    height: 138px;
  }

  .shot-dock::after {
    width: 62px;
    height: 62px;
    font-size: 10px;
  }

  .pk-band,
  .stealth-band,
  .install-section,
  .feature-line article {
    padding: 20px;
  }

  .stealth-copy h2,
  .pk-band h2,
  .install-copy h2 {
    font-size: 30px;
  }

  .stealth-media {
    min-height: 260px;
  }

  .stealth-media img {
    max-height: 320px;
  }

  .pk-arena {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pk-arena::before {
    inset: 90px 28px;
  }

  .pk-player {
    grid-template-columns: 72px minmax(0, 1fr) 56px;
    justify-items: start;
    text-align: left;
  }

  .install-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .install-steps span {
    width: 44px;
    height: 44px;
  }

  .install-guide-shots {
    grid-template-columns: 1fr;
  }

  .install-guide-shots img {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
