/* 星海影视 · 官网 / 下载页
   配色与 APP 一致：白底 + 品牌青 #00C8C8，文字 #111 / #666 / #999，浅灰面 #F5F5F7，分隔 #EEE */
:root {
  --accent: #00C8C8;
  --accent-2: #0A9BC4;
  --accent-soft: rgba(0, 200, 200, .10);
  --accent-ink: #0B8DBA;
  --text: #111111;
  --text-2: #666666;
  --muted: #999999;
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;
  --divider: #EEEEEE;
  --orange: #FF5959;
  --shadow: 0 10px 30px rgba(0, 200, 200, .14);
  --shadow-soft: 0 6px 24px rgba(17, 17, 17, .06);
  --radius: 20px;
  --radius-s: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--surface);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--divider);
}
.top .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 2px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--text-2); }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 3px; margin-left: -11px;
  border-radius: 3px; background: var(--accent);
}
.top .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--text); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #2ADADA, #00B5B5); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 200, 200, .22); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: #ECECEF; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 通用版块 ---------- */
section { padding: 72px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: 32px; font-weight: 700; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head p { color: var(--text-2); margin: 12px 0 0; font-size: 16px; }
.center { text-align: center; }
.center .sec-head { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(0, 200, 200, .14), transparent 70%),
    radial-gradient(500px 360px at 10% 10%, rgba(59, 227, 211, .10), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; font-weight: 800; margin: 20px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--text-2); margin: 0 0 30px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }

/* 手机样机 */
.phones { position: relative; height: 560px; }
.phone {
  position: absolute; width: 260px; aspect-ratio: 9 / 19.5; border-radius: 38px; padding: 10px;
  background: #111; box-shadow: 0 30px 60px rgba(17, 17, 17, .18), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-a { right: 40px; top: 0; z-index: 2; }
.phone-b { right: 240px; top: 80px; transform: scale(.88); transform-origin: top right; opacity: .96; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-soft); border: 1px solid var(--divider); font-size: 14px; z-index: 3;
}
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 12px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.float-card .ic svg { width: 20px; height: 20px; }
.fc-1 { left: 0; top: 180px; }
.fc-2 { right: -10px; bottom: 60px; }

/* ---------- 数据条 ---------- */
.strip { padding: 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface-2); }
.strip div { text-align: center; }
.strip b { display: block; font-size: 24px; color: var(--text); letter-spacing: -.01em; }
.strip b em { font-style: normal; color: var(--accent); }
.strip b span { font-size: inherit; color: inherit; }
.strip > div > span { font-size: 13px; color: var(--text-2); }

/* ---------- 功能 ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--divider);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 26px; height: 26px; }
.ic.teal { background: rgba(0, 200, 200, .10); color: #00A6A6; }
.ic.blue { background: rgba(59, 130, 246, .10); color: #3B82F6; }
.ic.violet { background: rgba(142, 108, 255, .10); color: #8E6CFF; }
.ic.orange { background: rgba(255, 149, 0, .10); color: #FF9500; }
.ic.pink { background: rgba(255, 89, 89, .10); color: #FF5959; }
.ic.green { background: rgba(52, 199, 89, .10); color: #34C759; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------- 截图 ---------- */
.shots { background: var(--surface-2); }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: #D9D9DE; border-radius: 6px; }
.shot { flex: 0 0 220px; scroll-snap-align: start; }
.shot .frame { border-radius: 26px; padding: 7px; background: #111; box-shadow: 0 16px 40px rgba(17,17,17,.14); }
.shot .frame div { border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 19.5; background: #fff; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--text-2); }
.shot figcaption b { display: block; color: var(--text); font-size: 15px; }

/* ---------- 下载 CTA ---------- */
.dl-cta .box {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 28px;
  color: #fff; background: linear-gradient(100deg, #0B8DBA, #12AFC9 55%, #22CFCF); position: relative; overflow: hidden;
  box-shadow: 0 18px 50px rgba(11, 141, 186, .25);
}
.dl-cta .box::before, .dl-cta .box::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); pointer-events: none;
}
.dl-cta .box::before { width: 320px; height: 320px; right: -80px; top: -140px; }
.dl-cta .box::after { width: 200px; height: 200px; left: 38%; bottom: -120px; background: rgba(255,255,255,.07); }
.dl-cta h2 { color: #fff; font-size: 30px; }
.dl-cta p { color: rgba(255,255,255,.82); margin: 10px 0 24px; max-width: 520px; }
.dl-cta .btn-white { background: #fff; color: var(--accent-ink); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.dl-cta .btn-white:hover { background: #F4FEFE; transform: translateY(-1px); }
.dl-cta .btn-line { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.dl-cta .btn-line:hover { background: rgba(255,255,255,.22); }
.qr {
  position: relative; z-index: 1; width: 176px; padding: 12px; border-radius: 18px; background: #fff; display: grid; gap: 8px; justify-items: center;
  color: var(--text-2); font-size: 12px;
}
.qr canvas, .qr img { width: 152px; height: 152px; border-radius: 8px; image-rendering: pixelated; }
.qr .qr-logo { position: absolute; top: 12px; left: 12px; width: 152px; height: 152px; display: grid; place-items: center; pointer-events: none; }
.qr .qr-logo img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 4px #fff; image-rendering: auto; }

/* ---------- FAQ ---------- */
.faq .list { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--divider); padding: 4px 0; }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
details[open] summary::after { transform: rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--divider); padding: 36px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand { font-size: 15px; color: var(--text); }
footer .brand img { width: 26px; height: 26px; border-radius: 8px; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer nav a:hover { color: var(--text); }
footer .copy { width: 100%; }

/* ---------- 下载页 ---------- */
.dl-page { padding: 56px 0 24px; }
.dl-page .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.app-card {
  border-radius: 28px; border: 1px solid var(--divider); background: #fff; padding: 32px; box-shadow: var(--shadow-soft);
}
.app-head { display: flex; align-items: center; gap: 18px; }
.app-head img { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow); }
.app-head h1 { font-size: 30px; font-weight: 800; }
.app-head .meta { color: var(--text-2); font-size: 14px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.app-head .meta b { color: var(--text); font-weight: 600; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.dl-actions { margin-top: 28px; display: grid; gap: 12px; }
.dl-actions .btn { width: 100%; }
.dl-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.dl-note a { color: var(--accent-ink); }
.notice {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface-2); color: var(--text-2); font-size: 14px;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); margin-top: 2px; }
.notice b { color: var(--text); }
.hidden { display: none !important; }

.spec { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; }
.spec li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--divider); font-size: 14px; }
.spec li:last-child { border-bottom: 0; }
.spec li > span { color: var(--muted); flex: none; min-width: 84px; }
.spec li b { font-weight: 600; text-align: right; word-break: break-all; }
.spec code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--text-2); word-break: break-all; }

.side { display: grid; gap: 22px; }
.panel { border-radius: var(--radius); border: 1px solid var(--divider); background: #fff; padding: 24px; }
.panel h2 { font-size: 18px; margin-bottom: 16px; }
.qr-panel { display: flex; gap: 20px; align-items: center; }
.qr-panel .qr { border: 1px solid var(--divider); }
.qr-panel p { margin: 0; color: var(--text-2); font-size: 14px; }
.qr-panel p b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; font-size: 14px; color: var(--text-2); }
.steps li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-size: 13px;
}
.steps b { color: var(--text); display: block; margin-bottom: 2px; }
.log { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; }
.log li { display: flex; gap: 10px; }
.log li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 9px; }
.phone-preview { position: relative; height: 420px; display: none; }

/* ---------- 入场动效 ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .phones { height: 520px; }
  .phone { width: 230px; }
  .phone-b { right: 200px; }
}
@media (max-width: 820px) {
  section { padding: 56px 0; }
  .nav, .top .btn-top { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .top.open .nav {
    display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 64px; padding: 10px 20px 16px;
    background: #fff; border-bottom: 1px solid var(--divider); box-shadow: var(--shadow-soft);
  }
  .top.open .nav a { padding: 12px 4px; font-size: 16px; }
  .top.open .nav a[aria-current="page"]::after { display: none; }
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 16px; }
  .phones { height: 500px; max-width: 400px; margin: 0 auto; width: 100%; overflow: visible; }
  .phone { width: 190px; }
  .phone-a { right: 6px; top: 50px; }
  .phone-b { right: auto; left: 6px; top: 0; transform: scale(.92); transform-origin: top left; }
  .float-card { padding: 10px 14px; }
  .fc-1 { left: 0; top: auto; bottom: 0; }
  .fc-2 { right: 0; bottom: auto; top: 0; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); padding: 18px 12px; gap: 18px 8px; }
  .strip b { font-size: 20px; }
  .strip > div > span { font-size: 12px; }
  h2 { font-size: 26px; }
  .dl-cta .box { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .dl-cta .box .cta { justify-content: center; }
  .dl-cta .qr { margin: 0 auto; }
  .dl-page .wrap { grid-template-columns: 1fr; gap: 24px; }
  .app-card { padding: 24px 20px; }
  .app-head img { width: 68px; height: 68px; border-radius: 18px; }
  .app-head h1 { font-size: 24px; }
  .qr-panel { flex-direction: column; text-align: center; }
  footer nav { margin-left: 0; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .grid { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .shot { flex-basis: 180px; }
}
