/* ============================================================
   LANRemote — 项目介绍站样式
   设计取向：克制、真实、像一款正经的工具类 App 官网，
   不堆砌渐变与口号，不蹭 AI 热词。
   ============================================================ */

:root {
  --bg: #0e0f13;
  --bg-soft: #121419;
  --surface: #171a21;
  --surface-2: #1d2129;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eaef;
  --muted: #969cab;
  --muted-2: #6b7280;
  --accent: #e94560;
  --accent-soft: rgba(233, 69, 96, 0.12);
  --accent-line: rgba(233, 69, 96, 0.42);
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 19, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 17px;
}
.brand .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 78px 0 86px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

h1.title {
  font-size: 44px;
  line-height: 1.16;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h1.title .hl { color: var(--accent); }
.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 30em;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #f25a73; }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-line); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.hero-meta {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted-2);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-meta b { color: var(--muted); font-weight: 600; }

/* ---------- 手机 mockup（CSS 画的远程控制画面） ---------- */
.phone-stage { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 264px;
  height: 548px;
  border-radius: 40px;
  background: #06070a;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.75), inset 0 0 0 6px #000;
  overflow: hidden;
}
.phone .notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  z-index: 5;
}
.phone .screen {
  position: absolute;
  inset: 6px;
  border-radius: 33px;
  overflow: hidden;
  background: linear-gradient(160deg, #1b2230, #0c1018 70%);
}
/* 被控端的“桌面” */
.desk { position: absolute; inset: 0; }
.desk .topbar {
  height: 26px;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px;
}
.desk .topbar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.desk .topbar .t { margin-left: auto; font-size: 9px; color: rgba(255,255,255,.4); font-family: var(--mono); }
.win {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.win .bar { height: 14px; background: rgba(255,255,255,0.1); display:flex; align-items:center; padding-left:6px; gap:4px; }
.win .bar b { width:5px; height:5px; border-radius:50%; background: rgba(255,255,255,.3); }
.win .body { padding: 8px; }
.win .body span { display:block; height:5px; border-radius:3px; background: rgba(255,255,255,.12); margin-bottom:5px; }
.w1 { top: 42px; left: 16px; width: 150px; height: 104px; }
.w2 { top: 170px; left: 70px; width: 132px; height: 92px; }
.w3 { top: 286px; left: 28px; width: 140px; height: 86px; }
.cursor {
  position: absolute;
  top: 200px; left: 120px;
  width: 16px; height: 16px;
  z-index: 4;
}
.cursor::before {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(233,69,96,.7);
}
.taskbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30px;
  background: rgba(8, 10, 14, 0.85);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
}
.taskbar .ico { width: 14px; height: 14px; border-radius: 3px; background: rgba(255,255,255,.18); }
.taskbar .ico.accent { background: var(--accent); }
/* 本端的悬浮控制球 */
.floatball {
  position: absolute;
  top: 60px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 18px -4px rgba(233,69,96,.7);
  z-index: 6;
  display: flex; align-items: center; justify-content: center;
}
.floatball::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; }
/* 底部安卓导航条 */
.navbar {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  height: 22px;
  display: flex; align-items: center; justify-content: space-around;
  z-index: 6;
}
.navbar i { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,.5); border-radius: 50%; }
.navbar i.bar { border-radius: 4px; width: 14px; }
.navbar i.tri { border-radius: 2px; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(-45deg); }

/* ---------- 通用区块 ---------- */
section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-tag { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.sec-title { font-size: 30px; margin: 10px 0 12px; font-weight: 800; letter-spacing: -0.3px; }
.sec-sub { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 功能卡片 ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feat .ic svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.feat h3 { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 下载 ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.dl-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.dl-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dl-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-logo.android { background: linear-gradient(150deg, #3ddc84, #1b9e57); }
.dl-logo.windows { background: linear-gradient(150deg, #4a90e2, #2b6cb0); }
.dl-logo svg { width: 30px; height: 30px; fill: #fff; }
.dl-name { font-size: 20px; font-weight: 700; margin: 0; }
.dl-sub { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.dl-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.dl-meta b { color: var(--text); font-weight: 600; }
.dl-note { font-size: 13.5px; color: var(--muted); margin: 0 0 20px; line-height: 1.6; flex: 1; }
.dl-card .btn { width: 100%; justify-content: center; }
.dl-card .btn svg { width: 18px; height: 18px; fill: currentColor; }

.dl-strip {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-2);
}
.dl-strip code {
  font-family: var(--mono);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--muted);
}

/* ---------- 更新日志 ---------- */
.changelog { max-width: 760px; }
.log-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.log-item:last-child { border-bottom: none; }
.log-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.log-ver { font-size: 17px; font-weight: 700; }
.log-date { font-size: 13px; color: var(--muted-2); font-family: var(--mono); }
.log-tag {
  font-size: 12px; color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 6px; padding: 1px 8px;
}
.log-item p { margin: 0; color: var(--muted); font-size: 14.5px; white-space: pre-line; }

/* ---------- 已知限制 ---------- */
.note-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-line);
  border-radius: 10px;
  padding: 20px 22px;
}
.note-box h3 { margin: 0 0 10px; font-size: 16px; }
.note-box ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.note-box li { margin-bottom: 7px; }

/* ---------- 页脚 ---------- */
.footer { padding: 40px 0 56px; color: var(--muted-2); font-size: 13.5px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 64px; }
  .phone-stage { order: -1; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  h1.title { font-size: 36px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
  h1.title { font-size: 31px; }
  section { padding: 54px 0; }
}
