/* 首页专用样式：对齐 naicha.cloud 的视觉语言（1200 容器 / 82px 区块 / 14-16px 卡片） */

.hp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hp-sec { padding: 82px 0; }
.hp-sec-alt { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.hp-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.hp-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: #0078d4; text-transform: uppercase; margin-bottom: 10px;
}
.hp-head h2 {
  position: relative; display: inline-block; padding-bottom: 14px;
  font-size: 36px; font-weight: 900; letter-spacing: -1px; color: #0b0d0e; margin: 0 0 14px;
}
.hp-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 44px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #0078d4, #0f9be0);
}
.hp-head h2 em { font-style: normal; color: #0078d4; }
.hp-head p { font-size: 15px; line-height: 1.8; color: #5a5d60; margin: 0; }

/* ═══ Hero ═══ */
.hp-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(1100px 480px at 50% -10%, #0f9be0 0%, #0078d4 55%, #0c4f7a 100%);
  padding: 148px 0 88px;
}
.hp-hero::before {
  content: ""; position: absolute; right: -150px; top: -130px; width: 520px; height: 520px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: transparent;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .035), 0 0 0 140px rgba(255, 255, 255, .02);
}
.hp-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 320px at 78% 72%, rgba(255, 255, 255, .12), transparent 62%);
}

/* 首页顶栏与 Hero 融为一体 */
.home-page .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; box-shadow: none; border-bottom: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.home-page .site-header.scrolled {
  background: radial-gradient(1100px 480px at 50% -10%, #0f9be0 0%, #0078d4 55%, #0c4f7a 100%);
  box-shadow: 0 2px 12px rgba(0, 120, 212, .25);
}
.home-page .header-inner { border-bottom: none; }
.hp-hero-inner {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center;
}
.hp-hero-single { grid-template-columns: 1fr; max-width: 940px; }
.hp-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  border-radius: 100px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28); font-size: 12px; font-weight: 600;
  margin-bottom: 22px;
}
.hp-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .28);
}
.hp-hero h1 {
  font-size: 60px; font-weight: 900; line-height: 1.08; letter-spacing: -2.6px;
  margin: 0 0 18px; color: #fff; text-shadow: 0 2px 14px rgba(0, 40, 80, .3);
}
.hp-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 0%, #bfe4ff 55%, #8fd0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-slogan { font-size: 21px; font-weight: 700; line-height: 1.6; margin: 0 0 12px; color: #fff; }
.hp-sub {
  font-size: 15.5px; line-height: 1.9; color: rgba(255, 255, 255, .9);
  max-width: 580px; margin: 0 0 30px;
}
.hp-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: .15s; border: 1px solid transparent;
}
.hp-btn-white { background: #fff; color: #0078d4; box-shadow: 0 10px 26px -8px rgba(0, 40, 80, .55); }
.hp-btn-white:hover { background: #f0f9ff; color: #0078d4; transform: translateY(-1px); }
.hp-btn-line { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); color: #fff; }
.hp-btn-line:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.hp-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hp-stat .n { font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.hp-stat .n em { font-style: normal; color: #8fd0ff; }
.hp-stat .l { font-size: 12.5px; color: rgba(255, 255, 255, .78); margin-top: 2px; }

/* Hero 右侧客户端卡片 */
.hp-visual { position: relative; }
.hp-client {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 20px; padding: 22px;
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 70px -20px rgba(0, 30, 60, .55);
}
.hp-client-top { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255, 255, 255, .92); margin-bottom: 18px; }
.hp-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .22); }
.hp-client-ring {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 6px rgba(52, 211, 153, .25), 0 0 40px rgba(52, 211, 153, .18);
}
.hp-client-ring b { font-size: 30px; font-weight: 800; line-height: 1; }
.hp-client-ring span { font-size: 11.5px; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.hp-node-list { list-style: none; margin: 0 0 18px; padding: 0; }
.hp-node-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 10px; font-size: 13px;
  background: rgba(255, 255, 255, .07); margin-bottom: 7px;
}
.hp-node-list li.on { background: rgba(255, 255, 255, .2); }
.hp-node-list .lat { font-size: 12px; color: #86efac; font-weight: 700; }
.hp-node-list .lat.mid { color: #fde68a; }
.hp-client-btn {
  text-align: center; padding: 11px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  background: rgba(255, 255, 255, .92); color: #0078d4;
}

/* 平台条 */
.hp-platforms {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  padding: 22px 0; border-bottom: 1px solid #e2e8f0; background: #fff;
}
.hp-platforms span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #5a5d60; font-weight: 600; }
.hp-platforms svg { color: #0078d4; }

/* 功能卡 */
.hp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-feature {
  background: #fff; border: 1px solid #e8edf3; border-radius: 14px; padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .05); transition: .22s; position: relative; overflow: hidden;
}
.hp-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 120, 212, .12); border-color: #cfe3f3; }
.hp-feature:hover .hp-ico { transform: scale(1.06) rotate(-2deg); }
.hp-ico { transition: transform .22s ease; }
.hp-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #0078d4, #0f9be0); color: #fff;
  font-size: 20px; margin-bottom: 16px; box-shadow: 0 8px 18px -6px rgba(0, 120, 212, .5);
}
.hp-feature h3 { font-size: 16px; font-weight: 800; color: #0b0d0e; margin: 0 0 8px; }
.hp-feature p { font-size: 13.5px; line-height: 1.8; color: #5a5d60; margin: 0; }

/* 步骤 */
.hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hp-step {
  position: relative; background: #fff; border: 1px solid #e8edf3; border-radius: 14px;
  padding: 32px 24px 26px; box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hp-step:hover { transform: translateY(-4px); border-color: #cfe3f3; box-shadow: 0 16px 36px rgba(0, 120, 212, .1); }
.hp-step .no {
  position: absolute; top: -13px; left: 22px; background: linear-gradient(135deg, #0078d4, #0f9be0);
  color: #fff; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px;
}
.hp-step h3 { font-size: 16px; margin: 6px 0 8px; color: #0b0d0e; }
.hp-step p { font-size: 13.5px; line-height: 1.8; color: #5a5d60; margin: 0; }

/* 价格 */
.hp-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.hp-price {
  position: relative; background: #fff; border: 1px solid #e8edf3; border-radius: 16px;
  padding: 30px 26px; box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hp-price:hover { transform: translateY(-4px); border-color: #cfe3f3; box-shadow: 0 18px 44px -14px rgba(0, 120, 212, .3); }
.hp-price.featured { border: 2px solid #0078d4; box-shadow: 0 18px 44px -12px rgba(0, 120, 212, .35); }
.hp-price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #0078d4, #0f9be0); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.hp-price h3 { font-size: 18px; margin: 0 0 4px; }
.hp-price .sub { font-size: 12.5px; color: #5a5d60; min-height: 20px; }
.hp-price .amount { margin: 18px 0 4px; }
.hp-price .amount b { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; color: #0b0d0e; }
.hp-price .amount span { font-size: 13px; color: #5a5d60; }
.hp-price ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.hp-price ul li { position: relative; padding: 7px 0 7px 24px; font-size: 13.5px; color: #334155; }
.hp-price ul li::before { content: "✓"; position: absolute; left: 0; color: #22b07d; font-weight: 800; }
.hp-price .buy {
  display: block; text-align: center; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: .15s;
}
.hp-price .buy.primary { background: linear-gradient(135deg, #0078d4, #0f9be0); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 120, 212, .7); }
.hp-price .buy.ghost { border: 1px solid #dbe4ee; color: #0b0d0e; background: #fff; }
.hp-price .buy.ghost:hover { border-color: #0078d4; color: #0078d4; }

/* FAQ */
.hp-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-faq {
  background: #fff; border: 1px solid #e8edf3; border-radius: 12px; padding: 0 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.hp-faq:hover { border-color: #cfe3f3; box-shadow: 0 12px 30px rgba(0, 120, 212, .08); transform: translateY(-2px); }
.hp-faq summary {
  list-style: none; cursor: pointer; padding: 17px 0; font-size: 14.5px; font-weight: 700;
  color: #0b0d0e; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; color: #0078d4; font-size: 20px; font-weight: 400; }
.hp-faq[open] summary::after { content: "−"; }
.hp-faq p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.9; color: #5a5d60; }

/* CTA */
.hp-cta {
  position: relative; overflow: hidden; border-radius: 20px; padding: 54px 40px; text-align: center;
  background: radial-gradient(900px 380px at 50% -20%, #0f9be0 0%, #0078d4 55%, #0c4f7a 100%);
  color: #fff; box-shadow: 0 24px 60px -20px rgba(0, 120, 212, .5);
}
.hp-cta h2 { font-size: 32px; font-weight: 900; letter-spacing: -.8px; margin: 0 0 10px; color: #fff; }
.hp-cta p { font-size: 15px; color: rgba(255, 255, 255, .88); margin: 0 0 24px; }

/* 滚动进场动画（JS 开启后才隐藏，避免无 JS 时空白） */
html.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js-reveal [data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1024px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hp-visual { max-width: 420px; }
  .hp-grid3, .hp-steps, .hp-price-grid { grid-template-columns: 1fr 1fr; }
  .hp-hero h1 { font-size: 44px; }
}
@media (max-width: 720px) {
  .hp-sec { padding: 56px 0; }
  .hp-hero { padding: 56px 0 48px; }
  .hp-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hp-slogan { font-size: 18px; }
  .hp-grid3, .hp-steps, .hp-price-grid, .hp-faq-grid { grid-template-columns: 1fr; }
  .hp-stats { gap: 26px; }
  .hp-platforms { gap: 20px; }
  .hp-cta { padding: 38px 22px; }
  .hp-cta h2 { font-size: 26px; }
}
