/* kyapps 落地首页样式（WI-100 v2 · 规格 3.2）
 * 由讨论资料中的 kyapps 落地页源文件改写：字体改系统栈、去 CDN、按钮触控 ≥44px。
 * 页面族隔离：本文件只被 index.html 加载，与内页 assets/styles.css 不共存。 */

:root {
  --paper: #FBFAF8;
  --ink: #101B27;
  --ink-2: #38495A;
  --muted: #6E7C8A;
  --line: #E5E2DB;
  --line-strong: #D8D4CB;
  --blue: #1B4BD8;
  --blue-d: #143AA8;
  --blue-soft: #EBF1FE;
  --sans: "PingFang SC", "Microsoft YaHei", "SimHei", sans-serif;
  --serif: "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 顶栏 ===== */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 226, 219, 0.9);
  display: flex;
  align-items: center;
}

.hdr .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.logo-tx {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: #16233A;
}

.hdr-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--ink-2);
}

.hdr-link:hover {
  color: var(--blue);
}

.hdr-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.18s;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--sans);
}

.btn.pri {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(27, 75, 216, 0.9);
}

.btn.pri:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.btn.pri:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -8px rgba(27, 75, 216, 0.9);
}

.btn.line {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn.line:hover {
  border-color: #B9C6E4;
  background: var(--blue-soft);
}

.btn .arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn.lg {
  min-height: 48px;
  padding: 0 30px;
  font-size: 15px;
}

.arrow {
  font-size: 12px;
}

.btn.lg .arrow {
  font-size: 13px;
}

/* ===== 首屏舞台 ===== */

.stage {
  position: relative;
  height: calc(100vh - 64px);
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(27, 75, 216, 0.05), transparent 60%),
    #F7F5F1;
}

/* 稿纸背景 */
.doc {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.22fr 0.98fr;
  gap: 54px;
  padding: 44px 56px 0;
  pointer-events: none;
}

.col {
  min-width: 0;
  overflow: hidden;
}

.c1 {
  padding-top: 8px;
}

.c2 {
  margin-top: 44px;
}

.c3 {
  margin-top: 14px;
}

.pt {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #A08A5E;
  margin: 0 0 10px;
}

.ptitle {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: #2A3A46;
  margin: 0 0 10px;
}

.pmeta {
  font-size: 11px;
  color: #8A969F;
  margin: 0 0 22px;
}

.ptxt {
  font-size: 12.3px;
  line-height: 2.05;
  color: #53616D;
  margin: 0 0 14px;
  text-align: justify;
}

.ptxt i {
  font-style: italic;
}

.pabs {
  border-left: 2px solid #E3D9C3;
  padding-left: 14px;
  margin: 0 0 20px;
}

.ph {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: #2A3A46;
  margin: 22px 0 8px;
}

.ph-first {
  margin-top: 0;
}

.sel {
  background: rgba(27, 75, 216, 0.1);
  box-shadow: inset 0 -1px 0 rgba(27, 75, 216, 0.35);
  border-radius: 2px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 0;
  font-size: 11px;
  color: #53616D;
}

.table th {
  text-align: left;
  font-weight: 500;
  color: #2A3A46;
  border-bottom: 1px solid #DDD9D0;
  padding: 6px 6px 6px 0;
}

.table td {
  border-bottom: 1px solid #ECE9E2;
  padding: 6px 6px 6px 0;
}

.refs {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 10.4px;
  line-height: 1.9;
  color: #6B7885;
}

.refs li {
  margin-bottom: 7px;
}

.chart {
  border: 1px solid #E4E0D8;
  background: #fff;
  border-radius: 6px;
  padding: 12px 12px 10px;
  margin: 0 0 10px;
}

.chart-t {
  font-size: 10.5px;
  color: #7A8794;
  margin: 0 0 10px;
}

.chartrow {
  display: grid;
  grid-template-columns: 1fr 92px 26px;
  align-items: center;
  gap: 8px;
  font-size: 9.6px;
  color: #5C6A77;
  margin-bottom: 6px;
}

.track {
  height: 1px;
  background: #EDEBE4;
  position: relative;
}

.track i {
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1B4BD8;
  display: block;
}

.track i.g {
  background: #9AA7B2;
}

.track i.l92 { left: 92%; }
.track i.l91 { left: 91%; }
.track i.l74 { left: 74%; }
.track i.l70 { left: 70%; }
.track i.l34 { left: 34%; }

.chart-x {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9AA6B0;
  margin-top: 6px;
}

/* 协作光标 */
.cur {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation: float 3.2s ease-in-out infinite;
}

.cur.green {
  animation-delay: -1.1s;
}

.cur.dark {
  animation-delay: -2.2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.cur .bar {
  width: 1.5px;
  height: 16px;
  background: #1B4BD8;
  display: block;
  animation: blink 1.6s steps(2, end) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.cur .lbl {
  font-size: 9.5px;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  background: #1B4BD8;
  white-space: nowrap;
  font-weight: 500;
}

.cur.green .bar {
  background: #1F9E6E;
}

.cur.green .lbl {
  background: #1F9E6E;
}

.cur.dark .bar {
  background: #3A4A5A;
}

.cur.dark .lbl {
  background: #3A4A5A;
}

.cur1 {
  left: 31%;
  top: 150px;
}

.cur2 {
  left: 12%;
  top: 74%;
}

.cur3 {
  left: 76%;
  top: 78%;
}

/* 柔和遮罩：中间给文案留白，边缘稿纸更淡 */
.veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(56% 64% at 50% 46%, rgba(251, 250, 248, 0.98) 0%, rgba(251, 250, 248, 0.94) 40%, rgba(251, 250, 248, 0.62) 66%, rgba(251, 250, 248, 0.22) 86%, rgba(251, 250, 248, 0) 100%),
    linear-gradient(180deg, rgba(251, 250, 248, 0.62), rgba(251, 250, 248, 0.62));
}

/* 中央文案 */
.hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
}

.h1 {
  font-size: clamp(28px, 7.2vw, 54px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.28;
  margin: 0;
  color: #12203A;
  overflow-wrap: break-word;
}

.h1sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #3E5BA8;
  text-indent: 0.22em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

/* 向下滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.scroll-hint .mouse {
  display: block;
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}

.scroll-hint .wheel {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--blue);
  animation: wheel-drop 1.8s ease-in-out infinite;
}

@keyframes wheel-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== 三点 ===== */

.points {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 72px 0 78px;
}

.points .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pt-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: 0.2s ease;
}

.pt-item:hover {
  border-color: #C9D6F2;
  box-shadow: 0 14px 30px -18px rgba(18, 32, 58, 0.25);
  transform: translateY(-2px);
}

.pt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.pt-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pt-item:hover .pt-icon {
  background: var(--blue);
  color: #fff;
}

.pt-n {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(27, 75, 216, 0.08);
}

.pt-h {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.pt-p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
  max-width: 300px;
}

/* ===== 收束 ===== */

.closing {
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(27, 75, 216, 0.05), transparent 70%),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
}

.cl-h {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink);
}

/* ===== 页脚 ===== */

footer {
  /* 底部留白需大于 右下角「反馈」浮动按钮占位（距视口底 24px + 高 48px + 12px 间距），
     否则滚到底时 .foot-link 会被 .feedback-fab 压住；两者都锚定视口底，故任何视口高度下都成立 */
  padding: 30px 0 88px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: #8D99A4;
}

.foot-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.foot-link:hover {
  color: #4A5A66;
  text-decoration: underline;
}

.foot-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 1180px) {
  .cur3 {
    display: none;
  }
}

@media (max-width: 980px) {
  .stage {
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .doc {
    display: none;
  }

  .veil {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .hero {
    position: relative;
    inset: auto;
    padding: 76px 28px 84px;
    background: radial-gradient(70% 60% at 50% 20%, rgba(27, 75, 216, 0.05), transparent 70%);
  }

  .points .wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 639px) {
  .wrap {
    padding: 0 20px;
  }

  .logo img {
    height: 32px;
  }

  .logo-tx {
    font-size: 18px;
  }

  .pt-item {
    padding: 22px 20px;
    border-radius: 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hdr-right {
    gap: 12px;
  }

  .hdr .btn.pri {
    padding: 0 16px;
  }
}

/* ===== 右下角常驻反馈入口 ===== */
.feedback-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #22303B;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(20, 32, 41, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.feedback-fab svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.feedback-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 32, 41, 0.28);
}
.feedback-fab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .feedback-fab {
    right: 16px;
    bottom: 16px;
    padding: 0 16px;
  }
}