/* AIGC 超级 IP 智能体 · 招商 H5 单页样式 */
:root {
  --deep: #05080F;
  --deep-2: #0A1024;
  --deep-3: #0F1A36;
  --primary: #2E6BE6;
  --primary-light: #5C95FF;
  --accent: #1AC7B4;
  --text: #16203A;
  --text-sec: #5C657A;
  --bg-soft: #F4F7FB;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(10, 16, 36, .12);
  --shadow-card: 0 18px 40px rgba(46, 107, 230, .14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #EDF1F7;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.h5-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
  padding-bottom: 88px;
  overflow-x: hidden;
}

/* Hero */
.h5-hero {
  background: linear-gradient(165deg, var(--deep-2) 0%, var(--deep) 100%);
  padding: 42px 24px 34px;
  text-align: center;
  color: #fff;
  position: relative;
}
.h5-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 120% -10%, rgba(46, 107, 230, .35), transparent 60%),
    radial-gradient(700px 420px at -20% 110%, rgba(26, 199, 180, .18), transparent 55%);
  pointer-events: none;
}
.h5-hero > * { position: relative; z-index: 1; }
.h5-hero .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}
.h5-hero .brand span {
  background: rgba(255,255,255,.1);
  padding: 4px 10px;
  border-radius: 20px;
}
.h5-hero h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.h5-hero h1 em {
  color: var(--primary-light);
  font-style: normal;
}
.h5-hero .sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  margin-bottom: 22px;
}
.h5-hero .hero-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  display: block;
}
.h5-hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.h5-hero .hero-tags span {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Section通用 */
.h5-section {
  padding: 38px 20px;
}
.h5-section.dark {
  background: linear-gradient(180deg, var(--deep-2), var(--deep));
  color: #fff;
}
.h5-section.soft { background: var(--bg-soft); }
.h5-section-title {
  text-align: center;
  margin-bottom: 26px;
}
.h5-section-title h2 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 800;
}
.h5-section-title h2 em {
  color: var(--primary);
  font-style: normal;
}
.h5-section-title p {
  margin: 0;
  font-size: 14px;
  color: var(--text-sec);
}
.h5-section.dark .h5-section-title p { color: rgba(255,255,255,.65); }

/* 卖点 */
.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.point-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.point-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-size: 20px;
}
.point-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 700;
}
.point-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.5;
}

/* 长图展示 */
.h5-shot {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.h5-shot:last-child { margin-bottom: 0; }

/* 八大功能卡片网格 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.feat-card {
  background: #fff;
  border: 1px solid #E6EDF5;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(10, 16, 36, .06);
}
.feat-card .feat-ic {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}
.feat-card h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 700;
}
.feat-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-sec);
  line-height: 1.45;
}

/* 图文要点 */
.h5-points {
  margin: 4px 0 0;
  padding: 16px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
}
.h5-points.light {
  background: rgba(255,255,255,.06);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.12);
}
.h5-points li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed #EDF1F7;
}
.h5-points li:last-child { border-bottom: none; }
.h5-points.light li {
  color: rgba(255,255,255,.82);
  border-bottom-color: rgba(255,255,255,.08);
}
.h5-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.h5-points.light li::before { color: var(--accent); }

/* 招商价格 */
.price-grid {
  display: grid;
  gap: 14px;
}
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  position: relative;
}
.price-card.recommend {
  border-color: var(--accent);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}
.price-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.price-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 12px;
}
.price-card .price small {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 400;
}
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-sec);
}
.price-card ul li {
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* 底部 CTA */
.h5-cta {
  background: linear-gradient(135deg, var(--deep-2), var(--deep-3));
  color: #fff;
  padding: 32px 20px;
  text-align: center;
}
.h5-cta h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
.h5-cta p {
  margin: 0 0 22px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.h5-qr {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
}
.h5-qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* 双二维码并排 */
.qr-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  max-width: 240px;
}
.qr-cell { flex: 1; min-width: 0; }
.qr-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.qr-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.qr-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 2px;
}
.qr-sub {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* 二维码放大灯箱 */
.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 9, 20, .92);
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.qr-lightbox.open { display: flex; opacity: 1; }
.qr-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.qr-lightbox-inner img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.qr-lightbox-tip {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  margin: 16px 0 12px;
}
.qr-lightbox-save {
  display: inline-block;
  background: linear-gradient(93deg, #2E86FF, #6FD3FF);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(46, 134, 255, .34);
}
.qr-lightbox-close {
  position: absolute;
  top: -14px;
  right: -6px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* 底部固定条 */
.h5-floatbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.h5-floatbar button {
  border: none;
  border-radius: 12px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.h5-floatbar .btn-primary {
  background: linear-gradient(93deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 107, 230, .28);
}
.h5-floatbar .btn-ghost {
  background: #F0F3F8;
  color: var(--text);
}

/* 提示条 */
.tip {
  background: #EAF2FF;
  border-left: 4px solid var(--primary);
  color: var(--text);
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0 0;
}
.tip strong { color: var(--primary); }

/* 响应式微调 */
@media (max-width: 390px) {
  .h5-hero h1 { font-size: 30px; }
  .point-grid { gap: 10px; }
  .point-card { padding: 16px 10px; }
  .point-card h3 { font-size: 14px; }
}
