/* ============================================================
   黑猫投屏官网 · 设计系统 v2 —— 晨光白金主题
   白色底 + 猫眼绿强调 + 深墨青文字；不使用 emoji / 图标字形
   ============================================================ */

:root {
  /* 底色台阶 */
  --bg0: #ffffff;
  --bg1: #f5f9f8;
  --panel: #ffffff;
  --panel-2: #f1f6f5;
  --line: rgba(9, 62, 50, .10);
  --line-strong: rgba(9, 62, 50, .18);

  /* 猫眼绿强调 */
  --acc: #0b9d6c;
  --acc-deep: #077a53;
  --acc-dim: rgba(11, 157, 108, .08);
  --acc-line: rgba(11, 157, 108, .34);
  --grad-acc: linear-gradient(120deg, #0cbf83, #0b9d6c 55%, #088a5f);

  /* 语义色（浅底加深保证对比） */
  --amber: #b26a08;
  --red: #d24949;

  /* 文本 */
  --t1: #0b2029;
  --t2: #3d5763;
  --t3: #78909b;

  --sans: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "JetBrains Mono", monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --w: 1180px;
  --nav-h: 66px;
  --ease: cubic-bezier(.22, .8, .26, .99);

  --shadow-card: 0 1px 2px rgba(9, 62, 50, .04), 0 12px 40px -18px rgba(9, 62, 50, .12);
  --shadow-pop: 0 30px 70px -30px rgba(9, 62, 50, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg0);
  color: var(--t1);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(11, 157, 108, .22); color: #06231a; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: min(var(--w), calc(100% - 48px)); margin: 0 auto; }

/* ---------------- 滚动进度 ---------------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0; z-index: 200;
  background: linear-gradient(90deg, #0cbf83, #0b9d6c);
  transition: width .1s linear;
}

/* ---------------- 导航（毛玻璃白） ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 40px -22px rgba(9, 62, 50, .25);
}
.nav-inner {
  width: min(var(--w), calc(100% - 48px)); margin: 0 auto;
  display: flex; align-items: center; gap: 34px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: .5px; color: var(--t1); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; position: relative; flex: none;
  background: linear-gradient(145deg, #0d4c37, #062c1f);
  border: 1px solid rgba(60, 230, 166, .5);
  overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(11, 157, 108, .7);
}
.brand-mark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle 4.5px at 10.5px 13.5px, #3ce6a6 92%, transparent),
    radial-gradient(circle 4.5px at 21.5px 13.5px, #3ce6a6 92%, transparent);
  filter: drop-shadow(0 0 5px rgba(60, 230, 166, .9));
  animation: blink 7s infinite;
}
.brand-mark::after {
  content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 1.5px;
  background: #3ce6a6; opacity: .55; border-radius: 2px;
  transform: scaleX(.5); transition: transform .35s var(--ease);
}
.brand:hover .brand-mark::after { transform: scaleX(1); }
@keyframes blink { 0%, 91%, 100% { opacity: 1; } 93%, 97% { opacity: .25; } }

.brand small {
  font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--t3);
  display: block; line-height: 1; margin-top: 3px;
}
.brand-txt { display: flex; flex-direction: column; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 15px; font-size: 14.5px; color: var(--t2); border-radius: 9px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--acc-deep); background: var(--acc-dim); }
.nav-links a.active { color: var(--acc-deep); background: var(--acc-dim); font-weight: 600; }
.nav-cta { margin-left: 6px; }

/* 移动菜单按钮（几何线条，非图标字形） */
.menu-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #fff;
  cursor: pointer; position: relative;
  transition: border-color .2s, background .2s;
}
.menu-toggle i {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--t1); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-toggle i:nth-child(1) { top: 16px; }
.menu-toggle i:nth-child(2) { top: 24px; }
.menu-toggle.open i:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.open i:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.menu-toggle:active { background: var(--acc-dim); }

.m-menu { display: none; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn-pri {
  background: linear-gradient(135deg, #0cbf83, #099a68);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 30px -10px rgba(11, 157, 108, .55);
}
.btn-pri:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 18px 44px -12px rgba(11, 157, 108, .7);
}
.btn-pri:active { transform: translateY(0); }
.btn-ghost {
  border-color: var(--line-strong); color: var(--t1); background: #fff;
  box-shadow: 0 2px 10px -4px rgba(9, 62, 50, .12);
}
.btn-ghost:hover { border-color: var(--acc-line); color: var(--acc-deep); background: var(--acc-dim); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 10px; }
.btn .arr { transition: transform .2s var(--ease); display: inline-block; font-family: var(--mono); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------------- Hero（白底晨光） ---------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 78% 16%, rgba(12, 191, 131, .10), transparent 65%),
    radial-gradient(ellipse 45% 40% at 6% 88%, rgba(56, 152, 224, .08), transparent 70%),
    linear-gradient(180deg, #fbfefd 0%, #ffffff 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(9, 62, 50, .13) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.orb.o1 { width: 520px; height: 520px; right: 2%; top: -140px;
  background: radial-gradient(circle, rgba(12, 191, 131, .28), transparent 68%); }
.orb.o2 { width: 460px; height: 460px; left: -140px; bottom: -160px;
  background: radial-gradient(circle, rgba(56, 152, 224, .20), transparent 68%); }
#grid-canvas { position: absolute; inset: 0; z-index: 0; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 2px; color: var(--acc-deep);
  border: 1px solid var(--acc-line); background: rgba(255, 255, 255, .75);
  padding: 7px 17px; border-radius: 100px; margin-bottom: 28px;
  font-weight: 600;
  box-shadow: 0 8px 24px -14px rgba(11, 157, 108, .5);
}
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px rgba(11,157,108,.8); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px); line-height: 1.16; font-weight: 800;
  letter-spacing: .3px; margin-bottom: 24px; color: var(--t1);
}
.grad {
  background: linear-gradient(100deg, #0cbf83 5%, #0b9d6c 45%, #0793cf 95%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero p.lead { font-size: 17.5px; color: var(--t2); max-width: 560px; margin-bottom: 38px; }
.hero p.lead b { color: var(--t1); font-weight: 600; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 12.5px; color: var(--t2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .8);
  padding: 7px 14px; border-radius: 8px;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.tag:hover { color: var(--acc-deep); border-color: var(--acc-line); box-shadow: 0 6px 18px -10px rgba(11,157,108,.4); }
.tag b { color: var(--acc-deep); font-weight: 600; }

/* 右侧视觉：手机 + 终端 */
.hero-visual { position: relative; height: 560px; }

.phone {
  position: absolute; right: 6%; top: 26px; width: 252px; height: 524px;
  border-radius: 38px; z-index: 3;
  background: linear-gradient(160deg, #1b2530, #0a0f14);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 0 0 6px #ffffff,
    0 0 0 7px var(--line-strong),
    0 50px 100px -30px rgba(9, 62, 50, .45),
    0 0 110px -40px rgba(11, 157, 108, .5);
  padding: 14px; animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.phone::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: 100px; background: #05070a; z-index: 4;
}
.screen {
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: #070c0f; position: relative;
  border: 1px solid rgba(148, 180, 190, .14);
}
.screen-bar {
  display: flex; gap: 6px; padding: 30px 14px 10px; border-bottom: 1px solid rgba(148,180,190,.12);
  align-items: center;
}
.screen-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(148,180,190,.3); }
.screen-bar i:first-child { background: #3ce6a6; box-shadow: 0 0 6px #3ce6a6; }
.screen-bar span { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: #64727c; }
.term { padding: 12px 14px; font-family: var(--mono); font-size: 11px; line-height: 1.9; height: calc(100% - 78px); overflow: hidden; }
.term .row { white-space: nowrap; color: #a7b4bd; }
.term .m { color: #3ce6a6; }
.term .ok { color: #56d9a0; }
.term .dim { color: #64727c; }
.cursor { display: inline-block; width: 7px; height: 13px; background: #3ce6a6; vertical-align: -2px; animation: blink2 1s steps(1) infinite; }
@keyframes blink2 { 50% { opacity: 0; } }
.screen::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px; top: -90px;
  background: linear-gradient(180deg, transparent, rgba(60, 230, 166, .14), transparent);
  animation: scan 3.6s var(--ease) infinite;
}
@keyframes scan { 0% { top: -90px; } 55%, 100% { top: 105%; } }

.chip {
  position: absolute; z-index: 4;
  font-family: var(--mono); font-size: 12px; color: var(--t1);
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .8);
  padding: 10px 16px; border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px -16px rgba(9, 62, 50, .35);
  animation: float 7s ease-in-out infinite;
}
.chip b { color: var(--acc-deep); font-weight: 600; }
.chip.c1 { left: -8px; top: 82px; animation-delay: -2.2s; }
.chip.c2 { left: 0; bottom: 130px; animation-delay: -4.4s; }
.chip.c3 { right: -16px; bottom: 44px; animation-delay: -1.2s; }
.chip small { display: block; color: var(--t3); font-size: 10px; letter-spacing: 1px; margin-bottom: 2px; }

/* ---------------- 数据条 ---------------- */
.stats { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 28px; border-left: 1px solid var(--line); transition: background .25s; }
.stat:first-child { border-left: none; }
.stat:hover { background: rgba(11, 157, 108, .05); }
.stat .num { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; font-family: var(--mono); color: var(--t1); letter-spacing: -1px; line-height: 1.15; }
.stat .num em { font-style: normal; color: var(--acc-deep); font-size: .6em; font-weight: 700; }
.stat .lbl { font-size: 13.5px; color: var(--t3); margin-top: 6px; letter-spacing: .5px; }

/* ---------------- 区块通用 ---------------- */
section.sec { padding: 110px 0; position: relative; }
.sec-alt { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head { max-width: 760px; margin-bottom: 60px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 3px;
  color: var(--acc-deep); margin-bottom: 14px; display: inline-block; font-weight: 700;
  background: var(--acc-dim); border: 1px solid var(--acc-line);
  padding: 4px 14px; border-radius: 100px;
}
.sec h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.24; font-weight: 800; letter-spacing: .3px; margin-bottom: 16px; color: var(--t1); }
.sec-head p { color: var(--t2); font-size: 16.5px; }

/* ---------------- 特性卡片 ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px 28px; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-acc);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 157, 108, .07), transparent 45%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--acc-line); box-shadow: 0 26px 60px -26px rgba(11, 157, 108, .3); }
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card .no {
  font-family: var(--mono); font-size: 13px; color: var(--acc-deep);
  letter-spacing: 2px; display: inline-block; margin-bottom: 18px;
  border: 1px solid var(--acc-line); padding: 4px 12px; border-radius: 7px;
  background: var(--acc-dim); font-weight: 700;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: .3px; }
.card p { font-size: 14.5px; color: var(--t2); }
.card p b { color: var(--t1); font-weight: 600; }
.card .foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--t3); line-height: 1.8;
}
.card .foot b { color: var(--acc-deep); font-weight: 500; }

/* ---------------- 深入介绍（左右交替） ---------------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: none; padding-top: 0; }
.feature-row.rev .f-txt { order: 2; }
.f-txt .fk { font-family: var(--mono); font-size: 12.5px; color: var(--acc-deep); letter-spacing: 3px; margin-bottom: 14px; display: block; font-weight: 700; }
.f-txt h3 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; margin-bottom: 16px; letter-spacing: .3px; }
.f-txt > p { color: var(--t2); font-size: 15.5px; margin-bottom: 22px; }
.f-list { list-style: none; display: grid; gap: 12px; }
.f-list li { display: flex; gap: 14px; font-size: 14.5px; color: var(--t2); }
.f-list li b { color: var(--t1); font-weight: 600; }
.f-list li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; margin-top: 9px;
  background: var(--grad-acc); transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(11, 157, 108, .12);
}

/* 代码窗口（深色点缀，白页对比） */
.codewin {
  background: #0a1418; border: 1px solid rgba(9, 62, 50, .4); border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.codewin .bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 180, 190, .12); background: #0d1a20;
}
.codewin .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 180, 190, .18); }
.codewin .bar i:first-child { background: rgba(255, 122, 122, .6); }
.codewin .bar i:nth-child(2) { background: rgba(255, 180, 84, .55); }
.codewin .bar i:nth-child(3) { background: rgba(60, 230, 166, .55); }
.codewin .bar span { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: #78909b; letter-spacing: .5px; }
.codewin pre {
  padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.95;
  color: #a7b4bd; overflow-x: auto;
}
.codewin pre .k { color: #3ce6a6; }
.codewin pre .s { color: #ffd28a; }
.codewin pre .c { color: #5f707b; }
.codewin pre .n { color: #7fd0ff; }

/* ---------------- 对比表 ---------------- */
.cmp-wrap {
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); box-shadow: var(--shadow-card);
}
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp thead th {
  padding: 20px 22px; text-align: left; font-size: 14px; letter-spacing: .5px;
  border-bottom: 1px solid var(--line-strong); background: var(--panel-2); color: var(--t1);
}
.cmp thead th:first-child { width: 20%; color: var(--t3); font-weight: 600; }
.cmp thead th.us { color: var(--acc-deep); position: relative; background: linear-gradient(180deg, rgba(11,157,108,.10), rgba(11,157,108,.05)); }
.cmp thead th.us::after {
  content: "本方案"; position: absolute; top: 8px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #fff;
  background: var(--grad-acc); padding: 2.5px 9px; border-radius: 100px;
}
.cmp tbody td { padding: 17px 22px; border-bottom: 1px solid var(--line); color: var(--t2); vertical-align: top; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody td:first-child { color: var(--t1); font-weight: 600; font-size: 13.5px; }
.cmp tbody tr { transition: background .2s; }
.cmp tbody tr:hover { background: rgba(11, 157, 108, .03); }
.cmp tbody td.us { background: rgba(11, 157, 108, .05); color: var(--t1); }
.cmp tbody tr:hover td.us { background: rgba(11, 157, 108, .09); }
.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  padding: 2.5px 10px; border-radius: 100px; margin-right: 8px; vertical-align: 1px;
}
.pill.yes { color: var(--acc-deep); background: var(--acc-dim); border: 1px solid var(--acc-line); }
.pill.no { color: var(--red); background: rgba(210, 73, 73, .08); border: 1px solid rgba(210, 73, 73, .3); }
.pill.mid { color: var(--amber); background: rgba(178, 106, 8, .08); border: 1px solid rgba(178, 106, 8, .3); }

.cmp-note {
  margin-top: 20px; font-size: 14px; color: var(--t2);
  border-left: 3px solid var(--acc); padding: 6px 0 6px 18px;
  background: linear-gradient(90deg, var(--acc-dim), transparent 70%);
  border-radius: 0 10px 10px 0;
}
.cmp-note b { color: var(--acc-deep); }

/* ---------------- 场景 ---------------- */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scene {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 26px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.scene:hover { border-color: var(--acc-line); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11, 157, 108, .3); }
.scene .idx {
  font-family: var(--mono); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 18px;
  color: transparent; -webkit-text-stroke: 1.2px rgba(11, 157, 108, .35); transition: .25s;
}
.scene:hover .idx { -webkit-text-stroke-color: var(--acc); }
.scene h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.scene p { font-size: 13.5px; color: var(--t2); }

/* ---------------- 跑马灯 ---------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; background: #fff; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: scrollx 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.mq-item { font-family: var(--mono); font-size: 14px; color: var(--t3); letter-spacing: 1px; white-space: nowrap; display: flex; align-items: center; gap: 54px; }
.mq-item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--acc-line); }
.mq-item b { color: var(--t2); font-weight: 500; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 840px; margin: 0 auto; }
.qa {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel);
  margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color .25s, box-shadow .25s;
}
.qa.open { border-color: var(--acc-line); box-shadow: 0 20px 50px -26px rgba(11, 157, 108, .35); }
.qa-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--t1);
  font-size: 15.5px; font-weight: 600; padding: 21px 24px; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
}
.qa-q .qn { font-family: var(--mono); color: var(--acc-deep); font-size: 13px; flex: none; font-weight: 700; }
.qa-q .ic {
  margin-left: auto; flex: none; width: 22px; height: 22px; position: relative; opacity: .55;
  transition: transform .3s var(--ease), opacity .2s;
}
.qa.open .qa-q .ic { transform: rotate(45deg); opacity: 1; }
.qa-q .ic::before, .qa-q .ic::after {
  content: ""; position: absolute; background: var(--acc); border-radius: 2px; top: 50%; left: 50%;
}
.qa-q .ic::before { width: 12px; height: 1.8px; transform: translate(-50%, -50%); }
.qa-q .ic::after { width: 1.8px; height: 12px; transform: translate(-50%, -50%); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa-a-in { padding: 0 24px 22px 60px; color: var(--t2); font-size: 14.5px; }
.qa-a-in b { color: var(--t1); }
.qa-a-in code { font-family: var(--mono); font-size: 12.5px; background: var(--acc-dim); padding: 2px 8px; border-radius: 5px; color: var(--acc-deep); border: 1px solid var(--acc-line); }

/* ---------------- CTA（深墨青渐变带，全站唯一深色块） ---------------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 130%, rgba(12, 191, 131, .35), transparent 65%),
    linear-gradient(160deg, #07271e, #0a3a2c 60%, #0b4534);
  padding: 120px 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.55));
          mask-image: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.55));
}
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; margin-bottom: 18px; color: #fff; position: relative; }
.cta p { color: rgba(234, 241, 244, .75); font-size: 16.5px; max-width: 560px; margin: 0 auto 40px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta .btn-pri { background: #fff; color: #075139; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .5); }
.cta .btn-pri:hover { box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .6); }
.cta .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: none; }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---------------- 页脚 ---------------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 42px; background: var(--bg1); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { font-size: 13.5px; color: var(--t3); margin-top: 14px; max-width: 300px; }
.foot-col h4 { font-size: 13px; letter-spacing: 2px; color: var(--t1); margin-bottom: 18px; font-weight: 700; }
.foot-col a { display: block; font-size: 14px; color: var(--t3); padding: 5px 0; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--acc-deep); transform: translateX(3px); }
.foot-base {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--t3); font-family: var(--mono);
}

/* ---------------- 内页头 ---------------- */
.page-head {
  padding: calc(var(--nav-h) + 92px) 0 72px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 85% at 82% -18%, rgba(12, 191, 131, .12), transparent 68%),
    radial-gradient(ellipse 35% 55% at 8% 110%, rgba(56, 152, 224, .08), transparent 70%),
    #fbfefd;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(9, 62, 50, .12) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 82%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 82%);
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: .3px; margin-bottom: 16px; }
.page-head p { color: var(--t2); font-size: 16.5px; max-width: 660px; }
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--t3); margin-bottom: 26px; letter-spacing: 1px; }
.crumbs a { color: var(--t2); }
.crumbs a:hover { color: var(--acc-deep); }
.crumbs b { color: var(--acc-deep); font-weight: 600; }

/* ---------------- 文档页 ---------------- */
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.doc-side { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 4px; }
.doc-side a {
  font-size: 14px; color: var(--t3); padding: 10px 14px; border-radius: 9px;
  border-left: 2px solid var(--line); transition: .2s;
}
.doc-side a:hover { color: var(--t1); background: rgba(11, 157, 108, .05); }
.doc-side a.on { color: var(--acc-deep); border-left-color: var(--acc); background: var(--acc-dim); font-weight: 600; }
.doc-body { display: grid; gap: 44px; min-width: 0; }
.doc-block h2 {
  font-size: 25px; font-weight: 800; margin-bottom: 18px; padding-top: 8px;
  display: flex; align-items: center; gap: 14px; letter-spacing: .3px;
}
.doc-block h2 .hn {
  font-family: var(--mono); font-size: 13px; color: var(--acc-deep);
  border: 1px solid var(--acc-line); background: var(--acc-dim);
  border-radius: 7px; padding: 3px 10px; font-weight: 700;
}
.doc-block p { color: var(--t2); font-size: 15px; margin-bottom: 14px; }
.doc-block p b, .doc-block li b { color: var(--t1); font-weight: 600; }
.doc-block ul { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.doc-block li { color: var(--t2); font-size: 14.5px; padding-left: 20px; position: relative; }
.doc-block li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--acc); transform: rotate(45deg); }
.doc-block code.inl { font-family: var(--mono); font-size: 12.5px; background: var(--acc-dim); padding: 2px 8px; border-radius: 5px; color: var(--acc-deep); border: 1px solid var(--acc-line); }
.doc-block { scroll-margin-top: calc(var(--nav-h) + 30px); }

/* 接口表 */
.api-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.api-tbl th { text-align: left; padding: 12px 16px; color: var(--t3); font-size: 12px; letter-spacing: 1.5px; border-bottom: 1px solid var(--line-strong); font-weight: 600; }
.api-tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--t2); vertical-align: top; }
.api-tbl tr:last-child td { border-bottom: none; }
.api-tbl tbody tr { transition: background .15s; }
.api-tbl tbody tr:hover { background: rgba(11, 157, 108, .04); }
.api-tbl code { font-family: var(--mono); font-size: 12.5px; color: var(--t1); }
.method {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  padding: 2.5px 9px; border-radius: 6px; margin-right: 10px; white-space: nowrap;
}
.method.get { color: #0668a8; background: rgba(7, 147, 207, .08); border: 1px solid rgba(7, 147, 207, .32); }
.method.post { color: var(--acc-deep); background: var(--acc-dim); border: 1px solid var(--acc-line); }

/* ---------------- 下载页 ---------------- */
.dl-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.dl-main {
  background:
    radial-gradient(ellipse 70% 90% at 85% -10%, rgba(12, 191, 131, .12), transparent 60%),
    #fff;
  border: 1px solid var(--acc-line); border-radius: var(--r-lg); padding: 46px 44px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.dl-main::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-acc);
}
.dl-main .ver { font-family: var(--mono); font-size: 12.5px; color: var(--acc-deep); letter-spacing: 2px; margin-bottom: 12px; display: block; font-weight: 700; }
.dl-main h2 { font-size: 31px; font-weight: 800; margin-bottom: 10px; }
.dl-main .desc { color: var(--t2); font-size: 14.5px; margin-bottom: 30px; }
.dl-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.dl-meta { display: grid; gap: 9px; font-family: var(--mono); font-size: 12.5px; color: var(--t3); }
.dl-meta b { color: var(--t2); font-weight: 500; }
.dl-side { display: grid; gap: 20px; align-content: start; }
.dl-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 26px 26px; box-shadow: var(--shadow-card); }
.dl-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.dl-card ul { list-style: none; display: grid; gap: 10px; }
.dl-card li { font-size: 13.5px; color: var(--t2); padding-left: 18px; position: relative; }
.dl-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.dl-card li b { color: var(--t1); }

/* 更新日志时间线 */
.log { border-left: 1px solid var(--line-strong); margin-left: 7px; }
.log-item { position: relative; padding: 0 0 36px 34px; }
.log-item::before {
  content: ""; position: absolute; left: -5.5px; top: 7px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; border: 2px solid var(--acc);
  box-shadow: 0 0 0 4px rgba(11, 157, 108, .14);
}
.log-item .v { font-family: var(--mono); color: var(--acc-deep); font-size: 14px; font-weight: 700; letter-spacing: 1px; }
.log-item .d { font-family: var(--mono); font-size: 11.5px; color: var(--t3); margin-left: 12px; }
.log-item h4 { font-size: 15.5px; font-weight: 700; margin: 8px 0 6px; }
.log-item p { font-size: 13.5px; color: var(--t2); }

/* ---------------- 滚动进场（仅 JS 可用时启用隐藏） ---------------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  .phone, .chip { animation: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { height: 540px; max-width: 560px; margin: 0 auto; width: 100%; }
  .phone { right: 30px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-side {
    position: static; display: flex; gap: 6px; overflow-x: auto;
    padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  }
  .doc-side a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
  .doc-side a.on { border-color: var(--acc-line); background: var(--acc-dim); }
  .dl-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { gap: 44px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .wrap { width: calc(100% - 40px); }
  .nav-inner { width: calc(100% - 40px); gap: 14px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }

  /* 移动菜单面板 */
  .m-menu {
    display: block; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(9, 62, 50, .3);
    padding: 8px 20px 22px;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .m-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .m-menu a {
    display: block; padding: 14px 8px; font-size: 16px; font-weight: 600; color: var(--t1);
    border-bottom: 1px solid var(--line);
  }
  .m-menu a:active { color: var(--acc-deep); }
  .m-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero p.lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-visual { height: 470px; }
  .phone { right: 50%; transform: translateX(50%); width: 216px; height: 452px; top: 10px; }
  @keyframes float { 50% { transform: translateX(50%) translateY(-12px); } }
  .chip { font-size: 10.5px; padding: 7px 11px; border-radius: 9px; }
  .chip.c1 { left: 0; top: 30px; }
  .chip.c2 { left: 0; bottom: 40px; }
  .chip.c3 { right: 0; bottom: 120px; }
  .orb { filter: blur(70px); }
  .orb.o1 { width: 300px; height: 300px; }
  .orb.o2 { width: 260px; height: 260px; }

  section.sec { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 20px; }

  .cards { grid-template-columns: 1fr; gap: 14px; }
  .scenes { grid-template-columns: 1fr; gap: 14px; }
  .cards.cols-3, .scenes.cols-3 { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .feature-row.rev .f-txt { order: 0; }

  /* 对比表：横向滚动 + 首列吸附 */
  .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.cmp { min-width: 680px; }
  .cmp thead th:first-child,
  .cmp tbody td:first-child {
    position: sticky; left: 0; z-index: 2;
    background: #fff;
    box-shadow: 8px 0 14px -10px rgba(9, 62, 50, .22);
  }
  .cmp thead th:first-child { background: var(--panel-2); }
  .cmp tbody td.us { background: rgba(11, 157, 108, .06); }
  .cmp tbody tr:hover td.us { background: rgba(11, 157, 108, .06); }
  .cmp-note { font-size: 13px; }

  .faq .qa-q { padding: 17px 18px; font-size: 14.5px; }
  .qa-a-in { padding: 0 18px 18px 47px; }

  .cta { padding: 84px 0; }
  .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .cta-actions { gap: 12px; padding: 0 8px; }

  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; gap: 6px; }

  .page-head { padding: calc(var(--nav-h) + 56px) 0 52px; }
  .dl-main { padding: 34px 26px; }
  .dl-actions .btn { flex: 1 1 100%; justify-content: center; }
  .codewin pre { font-size: 12px; padding: 16px; }
}
