:root {
  --brand-blue: #2F7CF6;
  --brand-blue-dark: #1e5fd0;
  --brand-green: #12B886;
  --brand-purple: #7C5CFC;
  --brand-orange: #FF9F43;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --bg: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  padding-top: 64px;
}

/* ---------- 导航 ---------- */
.site-navbar {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(31, 41, 55, 0.06);
  padding: 0;
}
.site-navbar .navbar-brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-navbar .navbar-brand .logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.site-navbar .navbar-brand .navbar-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}
.site-navbar .nav-link {
  font-weight: 600;
  color: var(--ink-2);
  padding: 22px 16px !important;
  transition: color 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand-blue);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #2F7CF6 0%, #7C5CFC 100%);
  color: #fff;
  padding: 84px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
}
.hero::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -120px;
}
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero .hero-desc {
  font-size: 18px;
  opacity: 0.92;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero .btn-light {
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 26px;
}
.hero .btn-outline-light {
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 26px;
}
.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-size: 30px;
  font-weight: 800;
}
.hero-stats .stat-label {
  font-size: 14px;
  opacity: 0.85;
}

/* ---------- 区块 ---------- */
.section {
  padding: 72px 0;
}
.section-alt {
  background: #ffffff;
}
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head .eyebrow {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 10px 0 12px;
}
.section-head p {
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 卡片 ---------- */
.feature-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- 流程 ---------- */
.flow-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #eef1f6;
  padding: 8px 0;
}
.flow-item {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid #f1f3f8;
}
.flow-item:last-child {
  border-bottom: 0;
}
.flow-num {
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-blue);
  min-width: 40px;
}
.flow-title {
  font-weight: 700;
}
.flow-desc {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 2px;
}

/* ---------- 保障/承诺 ---------- */
.promise-card {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border: 1px solid #fde9cf;
  border-radius: var(--radius);
  padding: 32px;
}
.promise-icon {
  font-size: 34px;
}
.promise-title {
  font-weight: 800;
  font-size: 20px;
  margin: 10px 0 8px;
}
.promise-text {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #2F7CF6 0%, #12B886 100%);
  border-radius: 20px;
  color: #fff;
  padding: 48px;
  text-align: center;
}
.cta-band h3 {
  font-weight: 800;
  font-size: 28px;
}
.cta-band p {
  opacity: 0.92;
  margin: 10px 0 24px;
}

/* ---------- 联系我们 ---------- */
.contact-item {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  text-align: center;
}
.contact-item .icon-box {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.contact-item h6 {
  font-weight: 700;
}
.contact-item p {
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 48px 0 24px;
}
.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.site-footer a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* ---------- 通用 ---------- */
.rounded-lg {
  border-radius: var(--radius);
}
.bg-brand {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
}
.text-brand {
  color: var(--brand-blue);
}
.text-green {
  color: var(--brand-green);
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero-stats {
    gap: 24px;
  }
  .section {
    padding: 52px 0;
  }
}

/* ---------- 小程序体验 ---------- */
.section-miniapp {
  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%);
  overflow: hidden;
}
.phone-frame {
  width: 250px;
  max-width: 100%;
  margin: 0 auto;
  border: 9px solid #1e293b;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.phone-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: #fff;
}
.phone-top i {
  width: 64px;
  height: 16px;
  border-radius: 8px;
  background: #1e293b;
}
.phone-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}
.phone-screen {
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 14px;
}
.phone-placeholder {
  border-top: 1px solid #eef1f6;
  background:
    radial-gradient(circle at 30% 18%, rgba(47, 124, 246, 0.16), transparent 55%),
    linear-gradient(160deg, #eef3ff 0%, #fbfaff 100%);
}
.phone-placeholder i {
  font-size: 42px;
  color: #c2cfe6;
}
.phone-placeholder span {
  font-weight: 700;
  font-size: 14px;
  color: #64748b;
}
.phone-placeholder small {
  font-size: 12px;
  color: #a7b3c8;
}
@media (max-width: 768px) {
  .phone-frame {
    width: 230px;
  }
  .phone-screen {
    height: 400px;
  }
}

/* ---------- 小程序码占位 ---------- */
.qr-placeholder {
  text-align: center;
}
.qr-box {
  width: 200px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border: 2px dashed #b6c6e8;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(47, 124, 246, 0.08);
}
.qr-box i {
  font-size: 52px;
  color: #b9c8e8;
}
.qr-box span {
  font-weight: 700;
  font-size: 14px;
  color: #64748b;
}
.qr-box small {
  font-size: 12px;
  color: #a7b3c8;
}
.qr-tip {
  margin-top: 16px;
  font-size: 13px;
  color: #7c8aa5;
}
.miniapp-head {
  align-items: center;
}
.miniapp-head .qr-box {
  width: 200px;
}
.miniapp-head-text {
  max-width: 600px;
}
.miniapp-head-text .eyebrow {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.miniapp-head-text h2 {
  font-size: 40px;
  font-weight: 800;
}
.miniapp-head-text p {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 0;
}
.miniapp-phones {
  margin-top: 56px;
}
/* 替换真实截图/小程序码后生效 */
.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .miniapp-head .qr-box {
    width: 120px;
  }
  .miniapp-head-text {
    max-width: 380px;
  }
  .miniapp-head-text h2 {
    font-size: 26px;
  }
  .miniapp-head-text p {
    font-size: 14px;
  }
}
