/* ============================================================
   Inkwell Engine · landing.css — 落地页布局
   ============================================================ */

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 15, 0.62);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav img { width: 34px; height: 34px; }
.nav .wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.05em;
}
.nav .wordmark small {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-low-strong);
  letter-spacing: 0.32em;
  margin-left: 12px;
  vertical-align: 2px;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--ink-cyan); }
.nav .btn { padding: 9px 24px; font-size: 14px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 158px 0 40px;
  text-align: center;
}

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--ink-cyan);
  opacity: 0.85;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(42px, 6.6vw, 78px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.015em;
}
.hero h1 .line2 { display: block; }

.hero .sub {
  margin: 26px auto 0;
  max-width: 660px;
  color: var(--text-mid);
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.9;
}
.hero .sub .brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-chips {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-chips span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-low-strong);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.02);
}
.hero-chips b { color: var(--ink-cyan); font-weight: 400; }

/* 演示窗口舞台 */
.hero-stage {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 66px auto 0;
  padding: 0 32px;
}
.hero-stage .glow {
  position: absolute;
  inset: -8% -12%;
  background:
    radial-gradient(48% 42% at 50% 42%, rgba(61, 139, 255, 0.16), transparent 70%),
    radial-gradient(30% 30% at 68% 60%, rgba(255, 79, 163, 0.1), transparent 70%),
    radial-gradient(30% 30% at 30% 60%, rgba(52, 224, 232, 0.1), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-stage .frame {
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(160deg,
    rgba(52, 224, 232, 0.4), rgba(61, 139, 255, 0.16) 30%,
    rgba(139, 92, 246, 0.2) 55%, rgba(255, 79, 163, 0.3) 80%, rgba(255, 180, 61, 0.28));
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.55);
}
.hero-stage .frame-inner {
  border-radius: 23px;
  background: var(--bg-0);
  overflow: hidden;
}
.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-low-strong);
  text-align: center;
}

/* ---------- 通用 Section ---------- */

.section { position: relative; z-index: 1; padding: 108px 0 0; }

/* ---------- S1 痛点 ---------- */

.pain-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card { padding: 34px 30px 30px; }
.pain-card .pno {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: rgba(140, 170, 220, 0.35);
}
.pain-card h3 { font-size: 19.5px; margin: 14px 0 10px; letter-spacing: 0.03em; }
.pain-card p { color: var(--text-mid); font-size: 14.5px; }
.pain-card .glyph {
  float: right;
  font-size: 26px;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.fourth-way {
  margin-top: 72px;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.fourth-way small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--text-low-strong);
}

/* ---------- S2 三步 ---------- */

.steps {
  margin-top: 56px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--grad-ink);
  opacity: 0.4;
}
.step { padding: 30px 28px; text-align: left; }
.step .sno {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: #04101c;
  background: var(--grad-ink);
  box-shadow: 0 8px 26px rgba(61, 139, 255, 0.3);
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 19px; margin: 20px 0 8px; }
.step .smono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-cyan);
  margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: var(--text-mid); }

/* ---------- S3 双端 ---------- */

.duo {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.duo-copy h3 {
  font-size: 22px;
  margin: 22px 0 10px;
}
.duo-copy h3:first-of-type { margin-top: 0; }
.duo-copy h3 .dot { color: var(--ink-cyan); margin-right: 8px; }
.duo-copy p { color: var(--text-mid); font-size: 14.8px; margin-bottom: 18px; }

.duo-visual {
  position: relative;
  height: 480px;
  max-width: 720px;
  margin: 48px auto 0;
}
.duo-pc {
  position: absolute;
  left: 0;
  top: 42px;
  width: 78%;
  border-radius: 14px;
  border: 1px solid rgba(140, 170, 220, 0.2);
  background: linear-gradient(180deg, #0c1a33, #081226);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 14px 16px;
}
.duo-pc .bar { display: flex; gap: 6px; margin-bottom: 12px; }
.duo-pc .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(140, 170, 220, 0.3); }
.duo-pc .bar i:first-child { background: var(--ink-cyan); }
.duo-pc .ptitle { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.duo-pc .pline {
  height: 10px;
  border-radius: 5px;
  background: rgba(140, 170, 220, 0.1);
  margin-bottom: 8px;
}
.duo-pc .pline.hl { background: linear-gradient(90deg, rgba(52, 224, 232, 0.3), rgba(139, 92, 246, 0.3)); }

.duo-phone {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 172px;
  height: 350px;
  border-radius: 28px;
  border: 2px solid rgba(140, 170, 220, 0.3);
  background: linear-gradient(180deg, #0d1c38, #081226);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 79, 163, 0.12);
  padding: 12px;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.duo-phone .notch {
  width: 60px; height: 14px;
  border-radius: 0 0 10px 10px;
  background: rgba(0, 0, 0, 0.55);
  margin: 0 auto 10px;
}
.duo-phone .prow2 {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(140, 170, 220, 0.08);
  border-radius: 9px;
  padding: 7px 9px;
  margin-bottom: 7px;
}
.duo-phone .prow2 i {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
}
.duo-phone .prow2:nth-child(odd) i { background: linear-gradient(135deg, var(--ink-cyan), var(--ink-blue)); }
.duo-phone .prow2:nth-child(even) i { background: linear-gradient(135deg, var(--ink-pink), var(--ink-amber)); }
.duo-phone .prow2 b {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: rgba(238, 243, 251, 0.25);
}
.duo-phone .prow2 b.short { flex: 0 0 34%; }

.duo-sync {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-cyan);
  border: 1px solid rgba(52, 224, 232, 0.4);
  background: rgba(5, 8, 15, 0.9);
  border-radius: 999px;
  padding: 8px 18px;
  z-index: 2;
  animation: syncGlow 2.6s ease-in-out infinite;
}
@keyframes syncGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 224, 232, 0.35); }
  50% { box-shadow: 0 0 24px 4px rgba(52, 224, 232, 0.25); }
}

/* ---------- S4 信任 ---------- */

.trust-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-card { padding: 28px 24px; }
.trust-card .tico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.trust-card:nth-child(1) .tico { background: rgba(52, 224, 232, 0.12); }
.trust-card:nth-child(2) .tico { background: rgba(139, 92, 246, 0.14); }
.trust-card:nth-child(3) .tico { background: rgba(255, 79, 163, 0.12); }
.trust-card:nth-child(4) .tico { background: rgba(255, 180, 61, 0.12); }
.trust-card h4 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: 0.04em; }
.trust-card p { font-size: 13.3px; color: var(--text-mid); }

/* ---------- S5 场景 ---------- */

.scene-cloud {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 820px;
}
.scene-cloud span {
  font-size: 15.5px;
  color: var(--text-mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.3s ease;
  cursor: default;
}
.scene-cloud span:hover {
  color: var(--text-hi);
  border-color: rgba(52, 224, 232, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(52, 224, 232, 0.12);
}
.scene-cloud span.more { color: var(--ink-cyan); border-style: dashed; }

.scene-extras {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.scene-extras .extra {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-mid);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 22px;
  background: var(--card);
}
.scene-extras .extra b { color: var(--text-hi); }
.scene-extras .extra .eg {
  font-size: 18px;
  background: var(--grad-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- CTA ---------- */

.cta-panel {
  margin: 110px 0 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(150deg,
    rgba(52, 224, 232, 0.5), rgba(61, 139, 255, 0.2) 30%,
    rgba(139, 92, 246, 0.25) 55%, rgba(255, 79, 163, 0.4) 80%, rgba(255, 180, 61, 0.35));
  position: relative;
  overflow: hidden;
}
.cta-inner {
  border-radius: 27px;
  background:
    radial-gradient(700px 320px at 50% -20%, rgba(61, 139, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #0b1830, #070e1d);
  text-align: center;
  padding: 84px 40px 78px;
}
.cta-inner h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cta-inner p {
  margin: 18px auto 40px;
  color: var(--text-mid);
  max-width: 520px;
  font-size: 16px;
}
.cta-inner .contact {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--text-low-strong);
}
.cta-inner .contact a,
.foot-inner .right a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cta-inner .contact a { border-bottom: 1px dashed currentColor; padding-bottom: 1px; }
.cta-inner .contact a:hover,
.foot-inner .right a:hover { color: var(--text-hi); }

/* ---------- Footer ---------- */

footer {
  margin-top: 110px;
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 52px;
  position: relative;
  z-index: 1;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-low-strong);
  font-size: 13px;
}
.foot-inner img { width: 26px; height: 26px; opacity: 0.9; }
.foot-inner .fwm { font-family: var(--font-display); letter-spacing: 0.06em; }
.foot-inner .right { margin-left: auto; letter-spacing: 0.14em; font-family: var(--font-mono); font-size: 11.5px; }

/* ---------- S3 平台全景（浅色迷你窗矩阵） ---------- */

.platform-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pm {
  border-radius: 14px;
  border: 1px solid rgba(140, 170, 220, 0.16);
  background: #f6f8fb;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  padding: 0 14px 13px;
  color: #1f2937;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.pm:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(52, 224, 232, 0.1);
}
.pm-hd {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 0 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e8ecf3;
}
.pm-hd i { width: 7px; height: 7px; border-radius: 50%; background: #e2e8f0; }
.pm-hd i:first-child { background: #fda4af; }
.pm-hd i:nth-child(2) { background: #fcd34d; }
.pm-hd i:nth-child(3) { background: #6ee7b7; }
.pm-hd span { margin-left: 8px; font-size: 11.5px; font-weight: 700; color: #334155; }

.pm p { font-size: 12px; color: #64748b; line-height: 1.6; margin-top: 10px; }
.pm b { font-family: var(--font-mono); font-size: 15px; color: #1f2937; display: block; }
.pm b small { font-family: var(--font-body); font-size: 9.5px; color: #94a3b8; display: block; font-weight: 400; }
.pm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pm-bars { display: flex; align-items: flex-end; gap: 6px; height: 52px; margin-top: 10px; }
.pm-bars.tall { height: 62px; }
.pm-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
  opacity: 0.85;
}
.pm-rows em, .pm-two em, .pm-logs em {
  display: flex; align-items: center; gap: 8px;
  font-style: normal;
  font-size: 11px;
  color: #475569;
  padding: 5.5px 8px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 7px;
  margin-bottom: 6px;
}
.pm-rows u, .pm-two u { text-decoration: none; font-weight: 600; color: #1f2937; flex: 1; }
.pm-rows s, .pm-two s { text-decoration: none; font-family: var(--font-mono); font-size: 9.5px; color: #94a3b8; }
.pm-tree em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #475569;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  padding: 4.5px 9px;
  margin-bottom: 5px;
}
.pm-tree em:first-child { color: #2563eb; font-weight: 600; }
.pm-logs em { justify-content: flex-start; }
.pm-logs s { text-decoration: none; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }
.pm-logs s.g { background: #10b981; }
.pm-logs s.b { background: #3b82f6; }
.pm-logs s.y { background: #f59e0b; }
.pm-logs u { text-decoration: none; margin-left: auto; font-family: var(--font-mono); font-size: 9px; color: #94a3b8; }

/* ---------- S4 双端特点卡 ---------- */

.os-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.os-card { padding: 30px 32px; }
.os-head { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.os-ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 22px;
  background: rgba(52, 224, 232, 0.1);
}
.os-card:last-child .os-ico { background: rgba(255, 79, 163, 0.1); }
.os-head h4 { font-size: 19px; letter-spacing: 0.02em; }
.os-head small { font-family: var(--font-mono); font-size: 11px; color: var(--text-low-strong); letter-spacing: 0.06em; }
.os-list { list-style: none; }
.os-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.65;
}
.os-list li:last-child { border-bottom: none; }
.os-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 9px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--grad-ink);
  color: #04101c;
  font-size: 9px;
  font-weight: 800;
  display: grid; place-items: center;
}
.os-list li b { color: var(--text-hi); font-weight: 600; }

/* ---------- S5 架构底座 ---------- */

.arch-cols {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.arch-card { padding: 28px 26px; }
.ac-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--ink-cyan);
  border: 1px solid rgba(52, 224, 232, 0.3);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 16px;
  background: rgba(52, 224, 232, 0.05);
}
.arch-card h3 { font-size: 17.5px; margin-bottom: 14px; letter-spacing: 0.02em; }
.arch-card ul { list-style: none; }
.arch-card li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 13.2px;
  color: var(--text-mid);
  line-height: 1.65;
  border-bottom: 1px dashed var(--line-soft);
}
.arch-card li:last-child { border-bottom: none; }
.arch-card li::before {
  content: "◆";
  position: absolute;
  left: 0; top: 9px;
  font-size: 8px;
  color: var(--ink-cyan);
}
.arch-card li b { color: var(--text-hi); font-weight: 600; }

.arch-flow {
  margin-top: 34px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}
.af-node {
  flex: 1;
  min-width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 20px;
}
.af-node.wide { flex: 1.5; }
.af-node b { font-size: 13px; color: var(--text-hi); font-weight: 600; }
.af-node span { font-size: 10.5px; color: var(--text-low-strong); font-family: var(--font-mono); letter-spacing: 0.02em; }
.af-arrow {
  align-self: center;
  color: var(--ink-cyan);
  font-size: 18px;
  opacity: 0.7;
  flex: 0 0 auto;
}

/* ---------- 滚动进度条 ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--grad-ink);
  z-index: 80;
  transition: width 0.1s linear;
}

/* ---------- Hero 统计条（真实数字） ---------- */

.stats-strip {
  margin: 44px auto 0;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 22px 36px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
}
.stats-strip .stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stats-strip .stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats-strip .stat-label { font-size: 12.5px; color: var(--text-low-strong); letter-spacing: 0.08em; }
.stats-strip .stat-div { width: 1px; height: 42px; background: var(--line-soft); }

/* ---------- S4 数据导入视觉（浅色迷你窗口 + CSS 循环动画） ---------- */

.imp {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.imp-copy h3 { font-size: 20px; margin: 22px 0 8px; }
.imp-copy h3:first-of-type { margin-top: 0; }
.imp-copy h3 .dot { color: var(--ink-cyan); margin-right: 8px; }
.imp-copy p { color: var(--text-mid); font-size: 14.8px; margin-bottom: 14px; }

.imp-visual { display: grid; place-items: center; }
.imp-win {
  width: min(430px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(140, 170, 220, 0.22);
  background: #f6f8fb;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 14px 18px 18px;
  color: #1f2937;
}
.imp-hd {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #64748b;
}
.imp-hd i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.imp-hd i:first-child { background: #f43f5e; }
.imp-hd i:nth-child(2) { background: #f59e0b; }
.imp-hd i:nth-child(3) { background: #10b981; }
.imp-hd span { margin-left: 8px; font-weight: 600; }

.imp-file {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 10px 12px;
}
.imp-fico {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 15px;
  display: grid; place-items: center;
}
.imp-fmeta { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.imp-fmeta b { font-size: 12.5px; color: #1f2937; }
.imp-fmeta em { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: #94a3b8; }
.imp-env { display: flex; gap: 4px; }
.imp-env .r {
  font-size: 10px;
  padding: 2.5px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
}
.imp-env .r.on {
  border-color: rgba(59, 130, 246, 0.5);
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.06);
  font-weight: 600;
}

.imp-bar {
  margin-top: 12px;
  height: 7px;
  border-radius: 4px;
  background: #e8ecf3;
  overflow: hidden;
}
.imp-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  animation: impFill 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes impFill {
  0% { width: 0%; }
  12% { width: 14%; }
  55% { width: 100%; }
  82% { width: 100%; }
  92% { width: 100%; opacity: 0; }
  100% { width: 0%; opacity: 0; }
}

.imp-done {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
  opacity: 0;
  animation: impDone 7s ease infinite;
}
@keyframes impDone {
  0%, 50% { opacity: 0; transform: translateY(4px); }
  60%, 84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

/* ---------- S5 组件市场卡片 ---------- */

.market-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mkt-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.mkt-card:hover, .mkt-card.lift {
  transform: translateY(-6px);
  border-color: rgba(52, 224, 232, 0.4);
  box-shadow: 0 16px 44px rgba(52, 224, 232, 0.12);
}
.mkt-prev {
  height: 108px;
  display: grid;
  place-items: center;
  font-size: 34px;
}
.mkt-prev.g1 { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2)); color: #8fbaff; }
.mkt-prev.g2 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(52, 211, 153, 0.18)); color: #6ee7b7; }
.mkt-prev.g3 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2)); color: #fcd34d; }
.mkt-prev.g4 { background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(244, 114, 182, 0.18)); color: #fda4af; }
.mkt-prev.g5 { background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.2)); color: #7dd3fc; }
.mkt-prev.g6 { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(232, 121, 249, 0.18)); color: #d8b4fe; }
.mkt-body { padding: 14px 16px 15px; display: flex; flex-direction: column; gap: 8px; }
.mkt-name { font-size: 16px; font-weight: 600; color: var(--text-hi); }
.mkt-name span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-low-strong);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
.mkt-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mkt-tags span {
  font-size: 11px;
  color: var(--text-mid);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 1.5px 9px;
}
.mkt-stats {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-low-strong);
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
  margin-top: 3px;
}

.market-note {
  margin-top: 30px;
  font-size: 14px;
  color: var(--text-low-strong);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- S6 版本回滚横幅 ---------- */

.rollback-strip {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 30px;
}
.rb-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px;
  color: var(--ink-amber);
  background: rgba(255, 180, 61, 0.1);
  flex: 0 0 52px;
}
.rb-copy { flex: 1; }
.rb-copy h4 { font-size: 17px; margin-bottom: 5px; letter-spacing: 0.03em; }
.rb-copy p { font-size: 13.5px; color: var(--text-mid); }
.rb-vers { display: flex; gap: 8px; align-items: center; }
.rb-v {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-low-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.03);
}
.rb-v.cur {
  color: var(--ink-cyan);
  border-color: rgba(52, 224, 232, 0.45);
  background: rgba(52, 224, 232, 0.07);
}

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .pain-grid, .steps, .trust-grid, .arch-cols { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .duo, .imp { grid-template-columns: 1fr; }
  .duo-visual { height: 420px; max-width: 520px; margin: 40px auto 0; width: 100%; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .os-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-wrap: wrap; gap: 18px; }
  .stats-strip .stat-div { display: none; }
  .rollback-strip { flex-direction: column; align-items: flex-start; }
  .rb-vers { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .market-grid, .platform-grid { grid-template-columns: 1fr; }
}
