/* ==========================================================================
   雷霆象棋 · ltxq.cc
   ========================================================================== */

:root {
  --bg: #06080f;
  --bg-soft: #0a0e18;
  --surface: #0e1420;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f5fb;
  --muted: #98a2b3;
  --muted-2: #7b8799;
  --gold: #f8c94c;
  --gold-2: #ff9f43;
  --gold-soft: rgba(248, 201, 76, 0.1);
  --red: #e5484d;
  --green: #3ddc97;
  --radius: 20px;
  --header-h: 68px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 700px at 82% -12%, rgba(248, 201, 76, 0.09), transparent 60%),
    radial-gradient(900px 650px at -8% 18%, rgba(229, 72, 77, 0.055), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: #171002;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, filter 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd76a 0%, #f7a52c 100%);
  color: #1b1204;
  box-shadow: 0 10px 30px rgba(247, 165, 44, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 42px rgba(247, 165, 44, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 15px 26px;
  border-radius: 14px;
  font-size: 15px;
}

.btn-lg svg {
  width: 19px;
  height: 19px;
}

.btn-sm {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-sm svg {
  width: 16px;
  height: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 8, 15, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(248, 201, 76, 0.2), rgba(255, 159, 67, 0.05));
  border: 1px solid rgba(248, 201, 76, 0.36);
  color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 18px rgba(248, 201, 76, 0.08);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Eyebrow / section heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(248, 201, 76, 0.24);
  border-radius: 999px;
  background: rgba(248, 201, 76, 0.07);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(248, 201, 76, 0.9);
}

.section {
  position: relative;
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.section-head h2,
.demo-copy h2,
.faq-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4.1vw, 46px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.section-desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0 clamp(64px, 8vw, 108px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 79% 6%, rgba(248, 201, 76, 0.11), transparent 62%),
    radial-gradient(720px 520px at 4% 30%, rgba(229, 72, 77, 0.07), transparent 60%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 0%, transparent 76%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 22px 0 14px;
  background: linear-gradient(115deg, #ffffff 20%, #ffe28d 62%, #f1a52f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(50px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #d3dae6;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 550;
}

.hero-tagline span {
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 400;
}

.hero-desc {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 14px;
  max-width: 580px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.meta-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.meta-label {
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.09em;
}

.meta-item strong {
  color: #dfe6f2;
  font-size: 13.5px;
  font-weight: 600;
}

.hero-platform {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.hero-platform svg {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex: none;
  color: var(--gold);
  opacity: 0.75;
}

/* ---------- Phone mock ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: -14% -22%;
  background: radial-gradient(circle at 50% 46%, rgba(248, 201, 76, 0.17), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.phone-wrap {
  position: relative;
  width: min(318px, 82vw);
  animation: phoneFloat 9s ease-in-out infinite;
}

.phone {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(158deg, #4b5568 0%, #151b26 26%, #0b0f17 68%, #2b3343 100%);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(248, 201, 76, 0.06);
}

.phone::before {
  content: "";
  position: absolute;
  top: 122px;
  left: -3px;
  width: 3px;
  height: 54px;
  border-radius: 3px 0 0 3px;
  background: #2b3342;
}

.phone::after {
  content: "";
  position: absolute;
  top: 150px;
  right: -3px;
  width: 3px;
  height: 74px;
  border-radius: 0 3px 3px 0;
  background: #2b3342;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 38px;
  background:
    radial-gradient(420px 300px at 50% 0%, rgba(248, 201, 76, 0.05), transparent 70%),
    #0a0e17;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 3;
  width: 8px;
  height: 8px;
  border: 1px solid #1c2330;
  border-radius: 50%;
  background: #000;
  transform: translateX(-50%);
}

.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 13px;
  padding: 0 5px;
  color: #8792a5;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.p-batt {
  position: relative;
  display: block;
  width: 15px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.p-batt::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  right: 3px;
  border-radius: 1px;
  background: var(--green);
  opacity: 0.8;
}

.p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 4px 0;
}

.p-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #eef3fa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.p-brand img {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  object-fit: cover;
}

.p-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(61, 220, 151, 0.22);
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.08);
  color: #7ee0b0;
  font-size: 8px;
  font-weight: 600;
}

.p-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(61, 220, 151, 0.8);
  animation: livePulse 2s ease-in-out infinite;
}

.p-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 0 1px;
}

.p-tools span {
  padding: 3.5px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: #9aa6b8;
  font-size: 8px;
  text-align: center;
}

.p-tools .on {
  border-color: rgba(248, 201, 76, 0.3);
  background: rgba(248, 201, 76, 0.1);
  color: var(--gold);
}

.p-eval {
  padding: 8px 10px 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
}

.p-eval-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #96a1b2;
  font-size: 8px;
}

.p-eval-top strong {
  color: #ffb0b3;
  font-size: 11px;
  font-weight: 700;
}

.p-eval-bar {
  display: flex;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: #2a3241;
}

.p-eval-bar i {
  display: block;
  height: 100%;
}

.p-eval-bar .red {
  background: linear-gradient(90deg, #b6242b, var(--red));
}

.p-eval-bar .black {
  flex: 1;
  background: #3a4457;
}

/* Board */

.board {
  position: relative;
  width: 100%;
  aspect-ratio: 264 / 294;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255, 249, 232, 0.9), transparent 55%),
    linear-gradient(145deg, #f1dfb6 0%, #e6cd9c 55%, #d7b983 100%);
  box-shadow:
    inset 0 0 0 1px rgba(90, 60, 20, 0.28),
    inset 0 10px 26px rgba(120, 80, 20, 0.1);
  container-type: inline-size;
}

.board-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pc {
  position: absolute;
  left: calc(4.5455% + var(--x) * 11.3636%);
  top: calc(4.0816% + var(--y) * 10.2041%);
  display: grid;
  place-items: center;
  width: 9%;
  aspect-ratio: 1;
  border: 1px solid rgba(118, 84, 40, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fffaf0 0%, #f4e6c8 56%, #dfc89d 100%);
  box-shadow:
    0 1px 2px rgba(70, 45, 15, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(120, 85, 40, 0.18);
  transform: translate(-50%, -50%);
  font-family: "KaiTi", "STKaiti", "Noto Serif SC", serif;
  font-size: 13px;
  font-size: clamp(10px, 5.2cqw, 15px);
  font-weight: 700;
  line-height: 1;
}

.pc.red {
  color: #b3261e;
}

.pc.black {
  color: #23211d;
}

.pc.hl {
  box-shadow:
    0 0 0 2px rgba(248, 201, 76, 0.95),
    0 0 14px rgba(248, 201, 76, 0.6),
    0 1px 2px rgba(70, 45, 15, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.board-mark {
  position: absolute;
  left: calc(4.5455% + 4 * 11.3636%);
  top: calc(4.0816% + 5 * 10.2041%);
  width: 4.6%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(248, 201, 76, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: markPulse 2.6s ease-out infinite;
}

.p-move {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(248, 201, 76, 0.24);
  border-radius: 9px;
  background: rgba(248, 201, 76, 0.065);
}

.p-move-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.p-move-label {
  color: #9b8f72;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.p-move strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.p-auto {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9aa6b8;
  font-size: 7.5px;
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 11px;
  border-radius: 999px;
  background: #333d4e;
  transition: background 0.2s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cdd5e2;
  transition: transform 0.2s;
}

.switch.on {
  background: rgba(61, 220, 151, 0.82);
}

.switch.on::after {
  background: #fff;
  transform: translateX(9px);
}

.p-tabs {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 5px 4px 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1px;
  color: #748093;
  font-size: 8px;
}

.p-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.p-tabs span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.6;
}

.p-tabs .active {
  color: var(--gold);
}

/* Floating badges */

.float-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(13, 19, 30, 0.8);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #dfe6f2;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  animation: floatY 7s ease-in-out infinite;
}

.fc-ico {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: rgba(248, 201, 76, 0.1);
  color: var(--gold);
}

.fc-ico svg {
  width: 12px;
  height: 12px;
}

.fc-1 {
  top: 13%;
  left: -36%;
}

.fc-2 {
  top: 44%;
  right: -36%;
  animation-delay: -2.2s;
}

.fc-3 {
  bottom: 13%;
  left: -34%;
  animation-delay: -4.1s;
}

/* ---------- Features ---------- */

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

.feature-card {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 200px at 50% -18%, rgba(248, 201, 76, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 201, 76, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018));
}

.feature-card:hover::before {
  opacity: 1;
}

.f-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(248, 201, 76, 0.2);
  border-radius: 12px;
  background: rgba(248, 201, 76, 0.08);
  color: var(--gold);
}

.f-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3 {
  position: relative;
  margin-bottom: 8px;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: 0.005em;
}

.feature-card p {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.platform-band {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px dashed rgba(248, 201, 76, 0.3);
  border-radius: 16px;
  background: rgba(248, 201, 76, 0.035);
}

.pb-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: rgba(248, 201, 76, 0.09);
  color: var(--gold);
}

.pb-icon svg {
  width: 19px;
  height: 19px;
}

.pb-copy h3 {
  margin-bottom: 2px;
  font-size: 14.5px;
  font-weight: 650;
}

.pb-copy p {
  color: var(--muted);
  font-size: 12.5px;
}

.pb-tag {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid rgba(248, 201, 76, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Demo ---------- */

.demo {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(760px 460px at 80% 42%, rgba(229, 72, 77, 0.06), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004));
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.demo-copy h2 {
  max-width: 520px;
}

.demo-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.demo-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dp-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid rgba(248, 201, 76, 0.22);
  border-radius: 9px;
  background: rgba(248, 201, 76, 0.07);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
}

.demo-points strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 650;
}

.demo-points p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  gap: 11px;
  color: #ffd97a;
}

.demo-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-media::before {
  content: "";
  position: absolute;
  top: 4%;
  left: 50%;
  width: 130%;
  height: 92%;
  background: radial-gradient(ellipse at center, rgba(248, 201, 76, 0.12), transparent 62%);
  transform: translateX(-50%);
  filter: blur(10px);
  pointer-events: none;
}

.video-shell {
  position: relative;
  width: min(356px, 100%);
  aspect-ratio: 406 / 720;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: #0a0e17;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    0 0 0 8px rgba(255, 255, 255, 0.02),
    0 0 60px rgba(248, 201, 76, 0.07);
  overflow: hidden;
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px;
  border: 0;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.03) 28%, rgba(6, 8, 15, 0.8) 100%);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.32s ease;
}

.video-cover.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.play-btn {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd76a, #f7a52c);
  color: #1a1204;
  box-shadow: 0 14px 44px rgba(247, 165, 44, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.video-cover:hover .play-btn {
  transform: scale(1.06);
  box-shadow: 0 18px 54px rgba(247, 165, 44, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-cover-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  padding: 0 18px;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.video-cover-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.video-cover-text span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11.5px;
}

.video-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11.5px;
  text-align: center;
}

/* ---------- Install ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.step-num {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 3px 9px;
  border: 1px solid rgba(248, 201, 76, 0.22);
  border-radius: 999px;
  color: rgba(248, 201, 76, 0.75);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(248, 201, 76, 0.2);
  border-radius: 13px;
  background: rgba(248, 201, 76, 0.08);
  color: var(--gold);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  font-weight: 650;
}

.step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.install-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.note-icon {
  flex: none;
  margin-top: 2px;
  color: var(--gold);
}

.note-icon svg {
  width: 17px;
  height: 17px;
}

.install-note strong {
  color: #dbe3ef;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(248, 201, 76, 0.28);
  background: rgba(248, 201, 76, 0.032);
}

.faq-item summary {
  position: relative;
  padding: 17px 52px 17px 20px;
  list-style: none;
  color: #e2e8f2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 21px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] summary::after {
  border-color: var(--gold);
  transform: translateY(-30%) rotate(-135deg);
}

.faq-body {
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-body p {
  margin: 0 0 10px;
}

.faq-steps {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 5px;
}

.faq-steps li {
  padding-left: 2px;
}

.faq-steps li::marker {
  color: var(--gold);
  font-weight: 600;
}

.faq-steps strong {
  color: #e2e8f2;
  font-weight: 650;
}

.faq-sub {
  margin: 22px 0 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: #e2e8f2;
  font-size: 13.5px;
  font-weight: 650;
}

.faq-gallery {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 201, 76, 0.28) transparent;
}

.faq-gallery::-webkit-scrollbar {
  height: 4px;
}

.faq-gallery::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: rgba(248, 201, 76, 0.28);
}

.faq-shot {
  flex: 0 0 128px;
  margin: 0;
}

.faq-shot:only-child {
  flex-basis: 168px;
}

.faq-shot button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 92px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0e17;
  overflow: hidden;
  font: inherit;
  cursor: zoom-in;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-shot button:hover {
  border-color: rgba(248, 201, 76, 0.45);
  transform: translateY(-1px);
}

.faq-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-shot figcaption {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

.faq-hint {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 11px;
}

/* FAQ screenshot lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 7, 13, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(88vw, 400px);
  max-height: 84vh;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.72);
  color: #e2e8f2;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: rgba(248, 201, 76, 0.4);
  color: var(--gold);
}

body.lightbox-open {
  overflow: hidden;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: clamp(24px, 4vw, 44px) 0 clamp(64px, 8vw, 96px);
}

.cta-card {
  position: relative;
  padding: clamp(48px, 7vw, 78px) 24px;
  border: 1px solid rgba(248, 201, 76, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(640px 320px at 50% -12%, rgba(248, 201, 76, 0.17), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  text-align: center;
  overflow: hidden;
}

.cta-bolt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  color: rgba(248, 201, 76, 0.05);
  transform: translate(-50%, -50%) rotate(8deg);
  pointer-events: none;
}

.cta-bolt svg {
  width: 100%;
  height: 100%;
}

.cta-card .eyebrow {
  position: relative;
}

.cta-card h2 {
  position: relative;
  margin: 16px 0 12px;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.cta-card > p:not(.eyebrow):not(.cta-meta) {
  position: relative;
  color: var(--muted);
  font-size: 15px;
}

.cta-card .btn {
  position: relative;
  margin-top: 28px;
}

.cta-meta {
  position: relative;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.br-mobile {
  display: none;
}

/* ---------- Disclaimer ---------- */

.disclaimer {
  padding: 0 0 clamp(44px, 6vw, 68px);
}

.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.8;
}

.disclaimer-icon {
  flex: none;
  margin-top: 1px;
  color: rgba(248, 201, 76, 0.7);
}

.disclaimer-icon svg {
  width: 19px;
  height: 19px;
}

.disclaimer-inner strong {
  display: inline-block;
  margin-right: 8px;
  color: #cbd3e1;
  font-weight: 650;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 32px;
  padding: 36px 0 30px;
}

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

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-brand .brand-mark img {
  width: 100%;
  height: 100%;
}

.footer-brand strong {
  display: block;
  color: #e2e8f2;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
}

.footer-brand p {
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-nav a {
  color: var(--muted-2);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  font-size: 11.5px;
}

/* ---------- Reveal on scroll ---------- */

.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-init.in {
  opacity: 1;
  transform: none;
}

/* ---------- Motion ---------- */

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes markPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 201, 76, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(248, 201, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 201, 76, 0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    gap: 40px;
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 10, 17, 0.98);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14.5px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .brand-sub {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-visual {
    margin-top: 54px;
  }

  .phone-wrap {
    width: min(340px, 78vw);
  }

  .demo-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .demo-copy {
    max-width: 620px;
  }

  .demo-media {
    margin-top: 4px;
  }

  .video-shell {
    width: min(340px, 84vw);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 24px 22px;
  }

  .step-icon {
    width: 42px;
    height: 42px;
  }

  .step h3 {
    margin-top: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-head {
    position: static;
  }

  .faq-head h2 {
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 62px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }

  .brand-mark img {
    width: 100%;
    height: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .f-icon {
    margin-bottom: 15px;
  }

  .platform-band {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 17px 18px;
  }

  .pb-tag {
    margin-left: 54px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-meta {
    row-gap: 16px;
  }

  .meta-item {
    padding: 0 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 150px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head h2,
  .demo-copy h2,
  .faq-head h2 {
    font-size: 30px;
  }

  .video-shell {
    width: min(330px, 88vw);
    border-radius: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 30px;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-card {
    border-radius: 22px;
  }

  .br-mobile {
    display: inline;
  }

  .disclaimer-inner {
    padding: 17px 18px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 46px;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .meta-item {
    padding: 0;
    border-left: 0;
  }

  .meta-item:last-child {
    grid-column: 1 / -1;
  }

  .eyebrow {
    font-size: 10.5px;
  }

  .pb-tag {
    margin-left: 0;
  }
}

@media (max-width: 350px) {
  .header-actions .btn span {
    display: none;
  }

  .header-actions .btn {
    padding: 9px 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone-wrap,
  .float-card,
  .p-live i,
  .board-mark {
    animation: none !important;
  }

  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .feature-card,
  .video-cover,
  .play-btn,
  .nav a::after {
    transition: none;
  }
}
