/* index2.php 新版首页 */
.h2 {
  --h2-blue: #007aff;
  --h2-blue-deep: #0060d6;
  --h2-ink: #1d2129;
  --h2-sub: #5b6373;
  --h2-mute: #8a93a6;
  --h2-line: #e8ebf2;
  --h2-soft: #f5f8ff;
  color: var(--h2-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
.h2 *, .h2 *::before, .h2 *::after { box-sizing: border-box; }
.h2 h1, .h2 h2, .h2 h3, .h2 p, .h2 ul, .h2 ol { margin: 0; padding: 0; }
.h2 ul, .h2 ol { list-style: none; }
.h2 a { text-decoration: none; }

/* 按钮 */
.h2-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 32px; border-radius: 12px;
  font-size: 16px; font-weight: 600; transition: background .2s, transform .2s, box-shadow .2s;
}
.h2-btn-primary { background: var(--h2-blue); color: #fff; box-shadow: 0 8px 24px rgba(0, 122, 255, .28); }
.h2-btn-primary:hover { background: var(--h2-blue-deep); transform: translateY(-1px); color: #fff; }
.h2-btn-ghost { color: var(--h2-ink); background: #fff; border: 1px solid var(--h2-line); }
.h2-btn-ghost:hover { border-color: var(--h2-blue); color: var(--h2-blue); }
.h2-btn-light { background: #fff; color: var(--h2-blue); }
.h2-btn-light:hover { transform: translateY(-1px); color: var(--h2-blue-deep); }

/* 首屏 */
.h2-hero {
  padding: 140px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(0, 122, 255, .14), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(88, 86, 214, .10), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
  overflow: hidden;
}
.h2-hero-inner { display: flex; align-items: center; gap: 64px; }
.h2-hero-text { flex: 1 1 0; min-width: 0; }
.h2-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 122, 255, .08); color: var(--h2-blue); font-size: 13px; font-weight: 600;
}
.h2-hero h1 { margin-top: 20px; font-size: 52px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.h2-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #007aff, #5856d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2-lead { margin-top: 20px; font-size: 18px; color: var(--h2-sub); max-width: 520px; }
.h2-cta { margin-top: 36px; display: flex; gap: 14px; }
.h2-stats { display: flex; gap: 48px; margin-top: 48px; }
.h2-stats strong { display: block; font-size: 28px; font-weight: 700; }
.h2-stats span { color: var(--h2-mute); font-size: 14px; }

/* 首屏示意窗口 */
.h2-hero-visual { flex: 0 0 560px; }
.h2-window {
  background: #fff; border-radius: 18px; border: 1px solid var(--h2-line);
  box-shadow: 0 30px 80px rgba(29, 33, 41, .12); overflow: hidden;
}
.h2-window-bar {
  display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px;
  background: #f6f7fa; border-bottom: 1px solid var(--h2-line); font-size: 13px; color: var(--h2-mute);
}
.h2-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.h2-window-bar i:nth-child(2) { background: #febc2e; }
.h2-window-bar i:nth-child(3) { background: #28c840; }
.h2-window-bar span { margin-left: 10px; }
.h2-window-body { display: flex; gap: 28px; padding: 28px; }
.h2-phone {
  position: relative; flex: 0 0 150px; height: 300px; border-radius: 30px;
  background: #1d2129; padding: 8px;
}
.h2-phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 15px; border-radius: 10px; background: #1d2129; z-index: 2;
}
.h2-phone-screen {
  height: 100%; border-radius: 23px;
  background: linear-gradient(160deg, #5ac8fa 0%, #007aff 45%, #5856d6 100%);
  display: flex; justify-content: center; padding-top: 60px;
}
.h2-phone-screen span { color: #fff; font-size: 34px; font-weight: 300; }
.h2-device-info { flex: 1; min-width: 0; }
.h2-device-name { font-size: 18px; font-weight: 700; }
.h2-device-sub { font-size: 12px; color: var(--h2-mute); margin-top: 2px; }
.h2-meter { margin-top: 20px; }
.h2-meter-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--h2-sub); margin-top: 12px; }
.h2-meter-row b { color: var(--h2-ink); }
.h2-bar { height: 6px; border-radius: 3px; background: #eef1f6; margin-top: 6px; overflow: hidden; }
.h2-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #34c759, #30d158); }
.h2-meter .h2-bar:last-child i { background: linear-gradient(90deg, #007aff, #5ac8fa); }
.h2-report {
  margin-top: 22px; padding: 10px 12px; border-radius: 10px; background: #f1fbf4;
  font-size: 12px; color: #1f7a3d; display: flex; align-items: center; gap: 8px;
}
.h2-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }
.h2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.h2-chips span { font-size: 12px; padding: 5px 10px; border-radius: 8px; background: var(--h2-soft); color: var(--h2-blue); }

/* 通用区块 */
.h2-section { padding: 96px 0; scroll-margin-top: 56px; }
html { scroll-behavior: smooth; }
.h2-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.h2-eyebrow { font-size: 14px; font-weight: 600; color: var(--h2-blue); letter-spacing: 1px; }
.h2 h2 { font-size: 36px; line-height: 1.3; font-weight: 700; margin-top: 10px; }
.h2-head > p:last-child:not(.h2-eyebrow) { margin-top: 14px; font-size: 16px; color: var(--h2-sub); }

/* 功能卡片 */
.h2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h2-card {
  padding: 32px; border-radius: 18px; border: 1px solid var(--h2-line); background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.h2-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29, 33, 41, .08); border-color: transparent; }
.h2-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--h2-soft); color: var(--h2-blue);
  display: flex; align-items: center; justify-content: center;
}
.h2-card-icon svg { width: 28px; height: 28px; }
.h2-card h3 { margin-top: 20px; font-size: 20px; font-weight: 700; }
.h2-card p { margin-top: 10px; font-size: 15px; color: var(--h2-sub); }

/* 步骤 */
.h2-steps-wrap { background: var(--h2-soft); }
.h2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.h2-steps li { position: relative; padding: 32px; background: #fff; border-radius: 18px; }
.h2-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -18px; width: 12px; height: 12px;
  border-top: 2px solid #c5cfe3; border-right: 2px solid #c5cfe3; transform: translateY(-50%) rotate(45deg);
}
.h2-step-no { font-size: 40px; font-weight: 800; color: rgba(0, 122, 255, .18); line-height: 1; }
.h2-steps h3 { margin-top: 14px; font-size: 20px; font-weight: 700; }
.h2-steps p { margin-top: 8px; font-size: 15px; color: var(--h2-sub); }

/* 验机 */
.h2-split { display: flex; align-items: center; gap: 80px; }
.h2-split-text { flex: 1; }
.h2-split-text > p:not(.h2-eyebrow):not(.h2-note) { margin-top: 16px; font-size: 16px; color: var(--h2-sub); }
.h2-checks { margin-top: 24px; }
.h2-checks li { position: relative; padding-left: 30px; margin-top: 12px; font-size: 15px; }
.h2-checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--h2-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.h2-note { margin-top: 24px; padding: 12px 16px; border-radius: 10px; background: #fff8ec; color: #a15c00; font-size: 13px; }
.h2-report-card {
  flex: 0 0 420px; padding: 28px; border-radius: 20px; background: #fff;
  border: 1px solid var(--h2-line); box-shadow: 0 24px 60px rgba(29, 33, 41, .08);
}
.h2-report-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; border-bottom: 1px dashed var(--h2-line); font-size: 18px; font-weight: 700;
}
.h2-report-head b { font-size: 40px; color: #34c759; line-height: 1; }
.h2-report-head small { font-size: 14px; margin-left: 2px; }
.h2-report-card li { display: flex; justify-content: space-between; padding: 12px 0; font-size: 15px; border-bottom: 1px solid #f2f4f8; }
.h2-report-card li:last-child { border-bottom: 0; }
.h2-report-card em { font-style: normal; font-size: 13px; padding: 2px 10px; border-radius: 6px; }
.h2-report-card em.ok { background: #eafaef; color: #1f7a3d; }
.h2-report-card em.warn { background: #fff4e5; color: #b25e00; }

/* 工具箱 */
.h2-tools-wrap { background: #fafbfd; }
.h2-tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.h2-tools li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 8px; background: #fff; border-radius: 14px; border: 1px solid var(--h2-line);
  font-size: 14px; color: var(--h2-sub); transition: border-color .2s, color .2s;
}
.h2-tools li:hover { border-color: var(--h2-blue); color: var(--h2-blue); }

/* 下载 */
.h2-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h2-platform {
  display: block; padding: 32px 24px; border-radius: 18px; text-align: center; color: var(--h2-ink);
  border: 1px solid var(--h2-line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.h2-platform:hover { transform: translateY(-4px); border-color: var(--h2-blue); box-shadow: 0 18px 40px rgba(0, 122, 255, .12); color: var(--h2-ink); }
.h2-platform h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.h2-platform p { margin-top: 4px; font-size: 13px; color: var(--h2-mute); }
.h2-platform span { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--h2-blue); font-weight: 600; }

/* FAQ + 教程 */
.h2-faq-wrap { background: var(--h2-soft); }
.h2-faq-layout { display: flex; gap: 48px; align-items: flex-start; }
.h2-faq { flex: 1; }
.h2-faq h2 { margin-bottom: 28px; }
.h2-faq details { background: #fff; border-radius: 14px; margin-top: 12px; padding: 0 24px; }
.h2-faq summary {
  list-style: none; cursor: pointer; padding: 20px 28px 20px 0; position: relative; font-size: 16px; font-weight: 600;
}
.h2-faq summary::-webkit-details-marker { display: none; }
.h2-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--h2-mute);
}
.h2-faq details[open] summary::after { content: "−"; color: var(--h2-blue); }
.h2-faq details p { padding-bottom: 20px; font-size: 15px; color: var(--h2-sub); }
.h2-news { flex: 0 0 380px; background: #fff; border-radius: 18px; padding: 28px; margin-top: 64px; }
.h2-news-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.h2-news-head h3 { font-size: 18px; font-weight: 700; }
.h2-news-head a { font-size: 14px; color: var(--h2-blue); }
.h2-news li a { display: flex; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #f2f4f8; color: var(--h2-ink); }
.h2-news li:last-child a { border-bottom: 0; }
.h2-news li a:hover .h2-news-title { color: var(--h2-blue); }
.h2-news-cat { flex: none; font-size: 12px; padding: 1px 8px; border-radius: 6px; background: var(--h2-soft); color: var(--h2-blue); }
.h2-news-title { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2-empty { font-size: 14px; color: var(--h2-mute); padding: 16px 0; }

/* 底部 CTA */
.h2-final {
  padding: 88px 0; text-align: center; color: #fff;
  background: linear-gradient(120deg, #007aff 0%, #5856d6 100%);
}
.h2-final h2 { margin-top: 0; color: #fff; }
.h2-final p { margin: 10px 0 32px; font-size: 16px; opacity: .85; }

/* 窄屏 */
@media (max-width: 1280px) {
  .h2 .common-wrapper { width: auto; padding: 0 24px; }
}
@media (max-width: 1080px) {
  .h2-hero-inner, .h2-split, .h2-faq-layout { flex-direction: column; align-items: stretch; }
  .h2-hero-visual, .h2-report-card, .h2-news { flex: none; width: 100%; }
  .h2-news { margin-top: 0; }
  .h2-grid, .h2-steps { grid-template-columns: repeat(2, 1fr); }
  .h2-steps li::after { display: none; }
  .h2-tools { grid-template-columns: repeat(4, 1fr); }
  .h2-platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .h2-hero { padding: 110px 0 64px; }
  .h2-hero h1 { font-size: 34px; }
  .h2 h2 { font-size: 26px; }
  .h2-section { padding: 64px 0; }
  .h2-grid, .h2-steps, .h2-platforms { grid-template-columns: 1fr; }
  .h2-tools { grid-template-columns: repeat(3, 1fr); }
  .h2-window-body { flex-direction: column; align-items: center; }
  .h2-stats { gap: 28px; }
  .h2-cta { flex-wrap: wrap; }
}
