:root {
  --bg: #000000;
  --bg-2: #0b0b0d;
  --card: #141416;
  --card-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --accent: #2997ff;
  --accent-hover: #0077ed;
  --accent-2: #64d2ff;
  --brand: #fe0031;
  --green: #30d158;
  --amber: #ff9f0a;
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Prevent single-character / single-word widow lines across headings & copy */
h1, h2, h3, h4, .lede, .head p {
  text-wrap: balance;
}

p, li, summary span {
  text-wrap: pretty;
}

.nw {
  white-space: nowrap;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

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

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 7px;
  border-radius: 6px;
  color: #e6e6e9;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.wrap.narrow {
  max-width: 860px;
}

/* ---------- Sticky Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
  opacity: 0.9;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
}

.nav-links a {
  color: var(--muted);
}

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

.star-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
}

.lang-link {
  color: var(--muted);
}

.lang-link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 980px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 5px 14px;
  font-size: 13px;
  background: var(--accent);
  color: #fff;
}

.btn-sm:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-primary {
  padding: 12px 26px;
  font-size: 16px;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  padding: 12px 24px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 106px;
  text-align: center;
  overflow: hidden;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 32%, #b9c3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: clamp(17.5px, 2.05vw, 21.5px);
  line-height: 1.54;
  color: var(--muted);
  font-weight: 400;
}

.lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-subnote {
  max-width: 680px;
  margin: 12px auto 0;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.55;
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-pp-tip {
  margin-top: 14px;
  font-size: 13px;
  color: var(--dim);
}

.hero-pp-tip a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
}

.hero-pp-tip a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.scene-bar {
  margin: 42px auto 24px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 980px;
  gap: 4px;
}

.scene-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.scene-btn:hover {
  color: var(--text);
}

.scene-btn.active {
  background: var(--card-2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ---------- TV + Phone Interactive Stage ---------- */
.stage {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding-bottom: 28px;
}

.glow {
  position: absolute;
  inset: 8% 10% 10%;
  pointer-events: none;
  background:
    radial-gradient(55% 60% at 32% 45%, rgba(41, 151, 255, 0.22), transparent 72%),
    radial-gradient(48% 55% at 72% 55%, rgba(254, 0, 49, 0.16), transparent 72%);
  filter: blur(54px);
  z-index: 0;
}

.tv-wrap {
  position: relative;
  z-index: 1;
  width: 88%;
  margin: 0;
}

.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #070709;
  box-shadow:
    0 0 0 9px #111113,
    0 0 0 10px #2c2c30,
    0 36px 100px -20px rgba(0, 0, 0, 0.85);
}

.tv-screen img,
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.42s cubic-bezier(0.23, 1, 0.32, 1);
}

.tv-screen img.active,
.phone-screen img.active {
  opacity: 1;
}

.tv-stand {
  width: 150px;
  height: 12px;
  margin: 10px auto 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #222226, #141417);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 0;
}

.phone-float {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 26.5%;
  min-width: 196px;
  max-width: 268px;
}

.phone-screen {
  position: relative;
  aspect-ratio: 813 / 1384;
  border-radius: 28px;
  overflow: hidden;
  background: #050507;
  box-shadow:
    0 0 0 7px #161619,
    0 0 0 8px #34343a,
    0 28px 70px rgba(0, 0, 0, 0.9);
}

.scene-caption {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--dim);
}

/* ---------- Sections ---------- */
section {
  padding: 106px 0;
  border-top: 1px solid var(--line);
}

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

.head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 66px;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.head p {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: clamp(16.5px, 1.85vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Feature Rows ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: 92px;
}

.feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 54px;
  align-items: center;
}

.feature.flip {
  grid-template-columns: 1fr 1.3fr;
}

.feature.flip .shot-card {
  order: 2;
}

.shot-card {
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0c;
  box-shadow:
    0 0 0 1px var(--line-2),
    0 30px 70px rgba(0, 0, 0, 0.65);
}

.shot-card img {
  width: 100%;
  height: auto;
}

.copy-col .tag-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.copy-col h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.copy-col p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.copy-col ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-col li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--muted);
}

.copy-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 3-Column Tiles & Chips ---------- */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tile-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.14);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.tile-ic svg {
  width: 22px;
  height: 22px;
}

.tile h4 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.tile .badge-sub {
  font-size: 12.5px;
  color: var(--accent-2);
  font-weight: 500;
}

.tile p {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.62;
}

.chips {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip {
  padding: 7px 15px;
  border-radius: 980px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.chip b {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Install & Connect Steps ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.step-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15.5px;
}

.dl-box {
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.dl-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dl-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-ver {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 980px;
  background: rgba(48, 209, 88, 0.15);
  color: var(--green);
}

.dl-sub {
  font-size: 13px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.pp-notice {
  margin-top: 12px;
  background: rgba(255, 159, 10, 0.08);
  border: 1px solid rgba(255, 159, 10, 0.24);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.pp-notice > span {
  flex: 1;
  min-width: 0;
}

.pp-notice strong {
  color: var(--amber);
  font-weight: 600;
}

.pp-notice a {
  color: var(--accent-2);
  font-weight: 500;
  white-space: nowrap;
}

.sha-row {
  margin-top: 12px;
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--muted);
}

.sha-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  color: var(--text);
  border-radius: 8px;
  padding: 4px 11px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.copy-btn:hover {
  background: #2a2a2e;
}

.guide-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.guide-pill {
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
}

.guide-pill small {
  display: block;
  font-size: 11.5px;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 3px;
}

.guide-pill b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.guide-pill span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.45;
}

.sub-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sub-label {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
}

.tab-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--card-2);
  color: var(--text);
}

.tab-pane {
  display: none;
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.tab-pane.active {
  display: block;
}

.tab-pane ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-pane ol strong {
  color: var(--text);
}

.tab-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- Step 3 Connect Grid ---------- */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.conn-box {
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.conn-box h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--text);
}

.conn-box p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.step-foot {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
  color: var(--text);
}

.faq-body {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

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

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-body ul {
  margin: 8px 0 10px;
  padding-left: 20px;
}

.faq-body li {
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: 13px;
  color: var(--dim);
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.foot-copy {
  max-width: 680px;
  line-height: 1.65;
}

.foot-copy p {
  margin: 0 0 6px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot-links a {
  color: var(--muted);
}

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

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  section {
    padding: 76px 0;
  }
  .hero {
    padding: 58px 0 76px;
  }
  .tv-wrap {
    width: 100%;
  }
  .phone-float {
    position: relative;
    width: 54%;
    max-width: 220px;
    margin: -34px auto 0;
  }
  .features {
    gap: 64px;
  }
  .feature,
  .feature.flip,
  .grid3,
  .conn-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-pills {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature.flip .shot-card {
    order: 0;
  }
  .step-card {
    padding: 22px 20px;
  }
  .pp-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .guide-pills {
    grid-template-columns: 1fr;
  }
}
