﻿/* 阿里免费字体：后台编辑器内容里 font-family:'AlibabaPuHuiTi' 等需此前置声明才可在前台渲染。
   与后台 vditor.init.js 中的 @font-face 同名同源，保证编辑预览与前台一致。 */
@font-face{font-family:"AlibabaPuHuiTi";font-style:normal;font-weight:400;font-display:swap;src:url("https://cdn.jsdelivr.net/gh/ZaneL1u/TTF-Min@main/dist/ttf%2Botf%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E6%99%AE%E6%83%A0%E4%BD%93/AlibabaPuHuiTi-3-55-Regular.ttf") format("truetype");}
@font-face{font-family:"AlimamaFangYuanTi";font-style:normal;font-weight:400;font-display:swap;src:url("https://cdn.xiaoniba.com/woff/ali/AlimamaFangYuanTiVF-Thin.woff2") format("woff2");}
@font-face{font-family:"AlimamaShuHeiTi";font-style:normal;font-weight:700;font-display:swap;src:url("https://cdn.xiaoniba.com/woff/ali/AlimamaShuHeiTi-Bold.woff2") format("woff2");}
@font-face{font-family:"AlimamaDaoLiTi";font-style:normal;font-weight:400;font-display:swap;src:url("https://cdn.xiaoniba.com/woff/ali/AlimamaDaoLiTi.woff2") format("woff2");}

/* 全站共同的基础样式；先于页面样式加载。 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #0c1630;
}
body {
  font-family: "AlibabaPuHuiTi", "PingFang SC", "Heiti SC", sans-serif;
  background: #f5f0e6;
  color: #23304a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
:root {
  --navy: #0b3f75;
  --navy-deep: #003670;
  --gold: #cb9c48;
  --gold-lt: #e4bd70;
  --ivory: #f5f0e6;
  --card-bg: #fbf8f1;
  --ink: #23304a;
  --muted: #d8deea;
  --white: #ffffff;
  --gold-grad: linear-gradient(135deg, #e4bd70, #cb9c48);
  --gold-line: rgba(200, 151, 62, 0.35);
  --serif: "AlibabaPuHuiTi", "PingFang SC", "Heiti SC", sans-serif;
  --sans: "AlibabaPuHuiTi", "PingFang SC", "Heiti SC", sans-serif;
  --topbar-h: 32px;
  --nav-h: 56px;
  --safe-top: calc(var(--topbar-h) + var(--nav-h));
  --px: 20px;
  --section-py: 56px;
  --card-r: 12px;
}
body {
  padding-top: var(--safe-top);
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* PC 端电话弹出层 */
.phone-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(11, 63, 117, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.phone-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}
.phone-popup {
  background: var(--card-bg);
  border-radius: var(--card-r);
  padding: 30px 34px 26px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(12px);
  transition: transform 0.25s;
  max-width: 88vw;
}
.phone-popup-overlay.show .phone-popup {
  transform: translateY(0);
}
.phone-popup-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}
.phone-popup-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.phone-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.phone-popup-btn {
  padding: 7px 22px;
  border-radius: 6px;
  font-size: 14px;
  transition: opacity 0.2s;
}
.phone-popup-btn:hover {
  opacity: 0.85;
}
.phone-popup-copy {
  background: var(--gold-grad);
  color: #fff;
}
.phone-popup-close {
  background: var(--muted);
  color: var(--ink);
}

