/* Landing page. Always dark: it is the one place the product gets to introduce itself.
   Builds on style.css for tokens, buttons, .go, .tool, .wordmark and .eyebrow. */
body.home {
  --bg: #060709; --panel: #0e1013; --panel-2: #14171b; --panel-3: #1b1f24;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --text: #f3f4f6; --text-2: #a8aeb9; --text-3: #6d7480; --accent-text: #c9f85f;
  --accent-glow: rgba(201, 248, 95, .2);
  background: var(--bg); color: var(--text); color-scheme: dark; overflow-x: hidden;
}
.home a { color: inherit; }
.home section[id], .home details[id] { scroll-margin-top: 84px; }
html { scroll-behavior: smooth; }

.hd {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px;
  height: 64px; padding: 0 clamp(18px, 5vw, 56px);
  background: rgba(6, 7, 9, .72); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line);
}
.hd .wordmark { text-decoration: none; }
.hd-nav { display: flex; gap: 4px; margin-left: auto; }
.hd-nav a { padding: 7px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 550; color: var(--text-2); text-decoration: none; }
.hd-nav a:hover { color: var(--text); background: var(--panel-3); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(28px, 5vw, 72px);
  max-width: 1240px; margin: 0 auto; padding: clamp(48px, 9vw, 112px) clamp(18px, 5vw, 56px) clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: -10% -30% 0; z-index: -2;
  background:
    radial-gradient(34% 44% at 18% 28%, rgba(201, 248, 95, .22), transparent 70%),
    radial-gradient(36% 46% at 76% 36%, rgba(72, 150, 255, .22), transparent 70%),
    radial-gradient(30% 38% at 60% 92%, rgba(168, 108, 255, .18), transparent 70%);
  filter: blur(36px); animation: drift 24s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: radial-gradient(90% 80% at 50% 30%, #000 10%, transparent 75%);
}
.hero h1 { font: 650 clamp(38px, 5.6vw, 72px)/1.05 var(--display); letter-spacing: -.035em; text-wrap: balance; margin: 14px 0 20px; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 { font-size: clamp(30px, 4.3vw, 58px); }
.hero h1 span { white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.cta .go, .cta .tool { text-decoration: none; }
.cta .go { color: var(--accent-ink); }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--text-3); }

/* ---------- product mock ---------- */
.mock {
  border-radius: 18px; overflow: hidden; background: #0c0e11; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 100px -30px #000, 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center;
  font-size: 12px; user-select: none;
}
.mock-bar { display: flex; gap: 6px; padding: 11px 13px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2e34; }
.mock-body { display: grid; grid-template-columns: 38% minmax(0, 1fr); min-height: 300px; }
.mock-side { padding: 8px; border-right: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 2px; align-content: start; }
.mock-sec { padding: 10px 8px 4px; font-size: 10px; font-weight: 650; letter-spacing: .06em; color: #666d79; }
.mock-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: #a3a9b4; font-weight: 550; }
.mock-row.is-on { background: #1c2025; color: #f3f4f6; }
.mock-row span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row b { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.mock-row u { width: 6px; height: 6px; border-radius: 50%; background: #444a54; flex: none; }
.mock-row u.on { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.t1 { background: linear-gradient(140deg, #ff8a4c, #e11d74); }
.t2 { background: linear-gradient(140deg, #38bdf8, #4f46e5); }
.t3 { background: linear-gradient(140deg, #6b7280, #3f4550); }
.t4 { background: linear-gradient(140deg, #c9f85f, #16a34a); }
.t5 { background: linear-gradient(140deg, #c084fc, #6d28d9); }
.mock-main { padding: 10px; }
.mock-stage {
  position: relative; isolation: isolate; overflow: hidden; height: 100%; min-height: 240px; border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between; background: #0a0b0e;
}
.mock-stage::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 24%, rgba(255, 138, 76, .7), transparent 70%),
    radial-gradient(40% 46% at 26% 10%, rgba(225, 29, 116, .5), transparent 70%),
    linear-gradient(180deg, transparent 40%, #08090b 100%);
  filter: blur(14px);
}
.mock-chips { display: flex; justify-content: space-between; }
.mock-chips span, .mock-actions span {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); color: #f5f6f7;
}
.mock-chips .live i { width: 6px; height: 6px; border-radius: 50%; background: #5ef29a; box-shadow: 0 0 8px #5ef29a; }
.mock-title { font: 650 22px/1.1 var(--display); letter-spacing: -.02em; color: #fff; }
.mock-id { margin: 6px 0 12px; font: 500 10.5px/1 var(--mono); color: rgba(255, 255, 255, .7); }
.mock-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-actions .mock-go { background: var(--accent); border-color: transparent; color: var(--accent-ink); padding: 6px 7px 6px 12px; font-size: 11.5px; font-weight: 700; box-shadow: 0 8px 24px -6px rgba(201, 248, 95, .6); }
.mock-go i { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-ink); color: var(--accent); display: grid; place-items: center; font-style: normal; font-size: 11px; }

/* ---------- sections ---------- */
.band { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 56px); border-top: 1px solid var(--line); }
.sec-hd { display: grid; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); }
.sec-hd h2 { font: 650 clamp(26px, 3.6vw, 42px)/1.12 var(--display); letter-spacing: -.028em; text-wrap: balance; }
.sec-hd .sub { color: var(--text-3); font-size: 13px; font-family: var(--mono); }

.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.how li { background: var(--panel); padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.num { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: .08em; }
.how h3 { font: 650 19px/1.25 var(--display); letter-spacing: -.01em; margin-top: 8px; }
.how p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dl {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.dl:hover { border-color: var(--line-2); transform: translateY(-2px); }
.dl.is-yours { border-color: rgba(201, 248, 95, .5); background: linear-gradient(180deg, rgba(201, 248, 95, .07), var(--panel) 55%); }
.dl.is-yours::after {
  content: "你的设备"; position: absolute; top: 16px; right: 16px; padding: 3px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 650; color: var(--accent-ink); background: var(--accent);
}
.dl.is-soft { background: transparent; }
.dl-top { display: flex; align-items: center; gap: 10px; }
.dl-top svg { width: 24px; height: 24px; color: var(--text-2); }
.dl-top h3 { font: 650 18px/1.2 var(--display); letter-spacing: -.01em; }
.dl-req { color: var(--text-3); font-size: 13px; min-height: 2.9em; }
.dl .btn { height: 42px; text-decoration: none; }
.dl .btn.primary { color: var(--accent-ink); }
.dl .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.dl-alt { font-size: 12.5px; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.dl-alt:hover { color: var(--text); }
.dl-meta { font: 500 11.5px/1.5 var(--mono); color: var(--text-3); overflow-wrap: anywhere; min-height: 1.5em; }

.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feat article { padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; }
.feat h3 { font: 650 19px/1.25 var(--display); letter-spacing: -.01em; }
.feat p { color: var(--text-2); font-size: 14.5px; line-height: 1.65; max-width: 40em; }

.faq { display: grid; gap: 8px; max-width: 820px; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--text-3); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 18px 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; max-width: 46em; }

.ft { max-width: 1240px; margin: 0 auto; padding: 28px clamp(18px, 5vw, 56px) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; color: var(--text-3); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .mock { transform: none; max-width: 560px; }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hd-nav { display: none; }
  .hd .btn { margin-left: auto; }
  .how, .feat, .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-req { min-height: 0; }
  .cta .go { flex: 1 1 100%; justify-content: space-between; }
  .mock-body { grid-template-columns: 42% minmax(0, 1fr); min-height: 240px; }
  .mock-title { font-size: 17px; }
}
