/* ============================================================
   云沸点官网 · Liquid Glass 设计系统 v2.1
   Apple 液态玻璃规范：连续圆角 · 顶部镜面边缘 · 弹簧动效
   ============================================================ */

/* ---------- 设计令牌：圆角尺度 + 缓动曲线（与主题无关，全站统一） ---------- */
:root {
  /* 连续圆角尺度（连续曲线，非生硬正圆） */
  --r-xs: 10px;    /* 小控件 / 标签 */
  --r-sm: 14px;    /* 输入框 / 芯片 */
  --r-md: 18px;    /* 图标块 / 小卡 */
  --r-lg: 24px;    /* 卡片 */
  --r-xl: 28px;    /* 大面板 / 弹窗 */
  --r-2xl: 34px;   /* 强调条 / Hero 面板 */
  --r-pill: 999px; /* 胶囊按钮 / 标签 */

  /* Apple 物理弹簧缓动（带回弹的过冲 + 丝滑减速） */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* 进场 / 按压：带轻微过冲 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* 离场 / 悬停：丝滑减速 */
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);        /* 通用柔顺 */
}

/* ---------- 主题变量 ---------- */
:root, [data-theme="light"] {
  --bg: #eef1f8;
  --bg-2: #f7f9fd;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-bg-subtle: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-border-inner: rgba(255, 255, 255, 0.45);
  --glass-highlight: rgba(255, 255, 255, 0.6);
  --glass-blur: 22px;
  --glass-saturate: 150%;
  --text-1: #0a1224;
  --text-2: #3a4663;
  --text-3: #7d88a0;
  --text-inv: #ffffff;
  --line: rgba(30, 55, 110, 0.08);
  --line-2: rgba(30, 55, 110, 0.14);
  --bg-1: rgba(255, 255, 255, 0.86);   /* 卡片实底（dash/dw/faq 等） */
  --border: rgba(30, 55, 110, 0.12);    /* 卡片统一描边，避免边框宽窄不一 */
  --brand: #4d82ff;
  --brand-2: #6a9bff;
  --brand-3: #8fb8ff;
  --success: #1faf66;
  --rise: #ef4444;
  --brand-grad: linear-gradient(120deg, #4d82ff, #6a9bff 50%, #8fb8ff);
  --brand-soft: rgba(77, 130, 255, 0.09);
  --shadow-xs: 0 1px 4px rgba(30, 60, 130, 0.05);
  --shadow-sm: 0 6px 20px rgba(30, 60, 130, 0.08);
  --shadow-md: 0 16px 48px rgba(30, 60, 130, 0.11);
  --shadow-lg: 0 36px 100px rgba(30, 60, 130, 0.15);
  --shadow-glass: 0 12px 40px rgba(30, 60, 130, 0.10), inset 0 1px 1px rgba(255,255,255,0.6), inset 0 -1px 1px rgba(30,60,130,0.04);
  --nav-bg: rgba(255, 255, 255, 0.62);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.76);
  --orb-a: rgba(77, 130, 255, 0.24);
  --orb-b: rgba(106, 155, 255, 0.18);
  --orb-c: rgba(143, 184, 255, 0.13);
  --orb-d: rgba(64, 120, 255, 0.09);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #070b15;
  --bg-2: #0c101d;
  --glass-bg: rgba(18, 26, 46, 0.62);
  --glass-bg-strong: rgba(26, 36, 60, 0.78);
  --glass-bg-subtle: rgba(18, 26, 46, 0.42);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-inner: rgba(255, 255, 255, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --glass-blur: 22px;
  --glass-saturate: 150%;
  --text-1: #eef3fc;
  --text-2: #9db0cf;
  --text-3: #5e6c8c;
  --text-inv: #070b15;
  --line: rgba(140, 170, 220, 0.08);
  --line-2: rgba(140, 170, 220, 0.14);
  --bg-1: rgba(26, 36, 60, 0.78);
  --border: rgba(140, 170, 220, 0.14);
  --brand: #6ea0ff;
  --brand-2: #8fb8ff;
  --brand-3: #a5c8ff;
  --success: #34d27e;
  --rise: #ff6b6b;
  --brand-grad: linear-gradient(120deg, #6ea0ff, #8fb8ff 55%, #a5c8ff);
  --brand-soft: rgba(110, 160, 255, 0.15);
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.32);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, 0.62);
  --shadow-glass: 0 12px 40px rgba(0, 0, 0, 0.42), inset 0 1px 1px rgba(255,255,255,0.06);
  --nav-bg: rgba(10, 15, 28, 0.62);
  --nav-bg-scrolled: rgba(7, 11, 21, 0.74);
  --orb-a: rgba(77, 130, 255, 0.16);
  --orb-b: rgba(106, 155, 255, 0.12);
  --orb-c: rgba(143, 184, 255, 0.08);
  --orb-d: rgba(64, 120, 255, 0.06);
  color-scheme: dark;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.6s, color 0.6s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--brand-soft); }

.container { width: min(1200px, 90%); margin: 0 auto; }
.container-wide { width: min(1440px, 94%); margin: 0 auto; }

/* ---------- 背景光斑（更丰富，让玻璃有东西可透） ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient .orb { position: absolute; border-radius: 50%; filter: blur(56px); will-change: transform; }
.ambient .orb-1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: radial-gradient(circle at 35% 35%, var(--orb-a), transparent 65%); animation: drift1 24s ease-in-out infinite alternate; }
.ambient .orb-2 { width: 50vw; height: 50vw; right: -12vw; top: 15vh; background: radial-gradient(circle at 60% 40%, var(--orb-b), transparent 65%); animation: drift2 30s ease-in-out infinite alternate; }
.ambient .orb-3 { width: 45vw; height: 45vw; left: 20vw; bottom: -18vw; background: radial-gradient(circle at 50% 50%, var(--orb-c), transparent 65%); animation: drift3 36s ease-in-out infinite alternate; }
.ambient .orb-4 { width: 35vw; height: 35vw; right: 15vw; bottom: 10vh; background: radial-gradient(circle at 50% 50%, var(--orb-d), transparent 65%); animation: drift1 28s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 10vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10vw, -8vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(6vw, -9vh) scale(1.08); } }

/* ---------- 液态玻璃材质（Apple Liquid Glass 核心） ---------- */
/* 用 @property 注册可过渡的自定义属性，让指针反光与高光可平滑插值 */
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --sheen { syntax: '<number>'; inherits: true; initial-value: 0; }

.glass {
  --mx: 50%; --my: 0%;            /* 指针位置，由 JS 注入，仅驱动 ::after 反光层（不触发 backdrop 重绘） */
  --sheen: 0;                     /* 镜面反光强度，悬停时点亮 */
  position: relative;
  background: var(--glass-bg);
  /* 关键性能优化：backdrop-filter 只作用在静态背景上；指针反光拆到 ::after 独立层，
     鼠标移动时只重绘一层便宜的渐变，不再每帧重算昂贵的模糊 —— Mac 滚动/悬停更顺滑 */
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  /* 多层阴影：外投影 + 顶部镜面描边 + 底部内阴影（玻璃厚度感） */
  box-shadow:
    var(--shadow-glass),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 1px rgba(15, 30, 70, 0.06);
  transition:
    transform 0.5s var(--ease-spring),
    box-shadow 0.5s var(--ease-out),
    border-color 0.3s;
}
/* 玻璃顶部高光（光线从上方打在玻璃上的反射，沿连续圆角走） */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-highlight) 0%, rgba(255, 255, 255, 0) 42%);
  opacity: 0.9;
}
/* 指针反光层：独立在 ::after 上，仅随 --mx/--my 做便宜的渐变重绘，不再牵动 backdrop-filter */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 90% at var(--mx) var(--my),
    rgba(255, 255, 255, calc(0.22 * var(--sheen))) 0%, rgba(255, 255, 255, 0) 46%);
  transition: --mx 0.2s var(--ease-out), --my 0.2s var(--ease-out), --sheen 0.45s var(--ease-out);
}
.glass:hover { --sheen: 1; }

/* ---------- 导航栏（沉浸式磨砂玻璃） ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled { background: var(--nav-bg-scrolled); box-shadow: var(--shadow-sm); }
/* 移动端菜单展开时，顶栏与菜单共用同一磨砂玻璃材质，连成一体，消除「上透下白」的断裂 */
.nav.menu-open { background: var(--nav-bg-scrolled); box-shadow: none; }
.nav-inner { width: min(1280px, 94%); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.3px; flex: none; color: var(--text-1); }
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; position: relative; flex: none; background: var(--brand-grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(43, 92, 246, 0.35); }
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links a { padding: 9px 18px; border-radius: var(--r-md); font-size: 15px; color: var(--text-1); font-weight: 500; transition: color 0.25s, background 0.3s var(--ease-out), transform 0.3s var(--ease-spring); white-space: nowrap; position: relative; }
.nav-links a:hover { color: var(--brand); background: var(--glass-bg-subtle); transform: translateY(-1px); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-links a.hot::after { content: ""; position: absolute; top: 8px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; background: var(--glass-bg-subtle); display: grid; place-items: center; transition: transform 0.2s, background 0.2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.theme-toggle:hover { transform: translateY(-2px) rotate(15deg); background: var(--glass-bg-strong); }
.theme-toggle svg { width: 19px; height: 19px; stroke: var(--text-1); }
.hamburger { display: none; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-1); margin: 5px auto; border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手机端：全屏磨砂玻璃抽屉（与顶栏同一材质，连续无缝，不再是透出内容的脏玻璃/纯白块） */
.mobile-menu { position: fixed; inset: 0; z-index: 99; display: none; flex-direction: column; padding: 84px 6% 40px; overflow-y: auto; background: var(--nav-bg-scrolled); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 1px 0 var(--glass-highlight); }
.mobile-menu.open { display: flex; animation: slideDown 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mobile-menu a { padding: 16px 14px; font-size: 17px; color: var(--text-1); font-weight: 500; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; transition: background 0.25s, color 0.25s; }
.mobile-menu a:active { background: var(--glass-bg-subtle); }
.mobile-menu a.active { color: var(--brand); }
.mobile-menu a .chevron { opacity: 0.3; }
.mobile-menu .js-lead-btn { border-radius: var(--r-pill); margin-top: 24px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background 0.3s, filter 0.3s; line-height: 1.2; white-space: nowrap; will-change: transform; }
.btn:active { transform: scale(0.94); transition-duration: 0.12s; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 24px rgba(43, 92, 246, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(43, 92, 246, 0.42); }
.btn-ghost { background: var(--glass-bg-subtle); color: var(--text-1); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--glass-bg-strong); border-color: var(--glass-border); transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: #1a2765; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); }

/* ---------- 编辑级排版 ---------- */
.section { padding: 100px 0; position: relative; }
.section-full { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); letter-spacing: 0.5px; margin-bottom: 20px; }
.section-title { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.8; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* 末行只有 1 个项时，强制左对齐，避免居中悬空 */
.grid-2 > :last-child:nth-child(2n+1),
.grid-3 > :last-child:nth-child(3n+1),
.grid-4 > :last-child:nth-child(4n+1) { grid-column: 1; }
.card { border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden; transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-out), background 0.4s var(--ease-out); }
.card:hover { transform: translateY(-8px) scale(1.012); box-shadow: var(--shadow-lg); }

/* ---------- 图标 ---------- */
.icon-tile { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 22px; background: var(--brand-grad); color: #fff; box-shadow: 0 8px 24px rgba(43, 92, 246, 0.25), inset 0 1px 0 rgba(255,255,255,0.35); flex: none; transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out); }
.icon-tile svg { width: 28px; height: 28px; }
.icon-tile .tile-text { font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.icon-tile.alt { background: linear-gradient(120deg, #06b6d4, #2b5cf6); }
.icon-tile.warm { background: linear-gradient(120deg, #f76b8a, #f43f5e); box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25); }
.icon-tile.sm { width: 44px; height: 44px; border-radius: var(--r-sm); }
.icon-tile.sm svg { width: 22px; height: 22px; }
.card:hover .icon-tile { transform: translateY(-2px) scale(1.04); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass-bg-strong); color: var(--text-1); font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 60px; background: var(--glass-bg-subtle); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 44px; padding: 72px 0 44px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer h4 { font-size: 15px; margin-bottom: 18px; color: var(--text-1); }
.footer-col a { display: block; color: var(--text-3); font-size: 14px; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-3); font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--brand); text-decoration: underline; }
/* 隐藏管理入口：页脚 logo 长按手势的视觉反馈（普通访客无感知） */
.footer-brand .logo { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.footer-brand .logo.admin-hold { filter: brightness(1.35); transition: filter 0.2s; animation: yfAdminHold 2.5s linear; }
@keyframes yfAdminHold { 0% { opacity: 1; } 50% { opacity: 0.45; } 100% { opacity: 1; } }

/* ---------- 浮动咨询按钮 ---------- */
.float-cta { position: fixed; right: 26px; bottom: 30px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; cursor: pointer; border: none; box-shadow: 0 12px 30px rgba(43, 92, 246, 0.4); transition: transform 0.25s; }
.float-cta:hover { transform: scale(1.08); }
.float-cta svg { width: 26px; height: 26px; }

/* ---------- 留资弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8, 12, 24, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 20px; }
.modal-mask.show { display: flex; animation: fadeIn 0.25s ease; }
.modal { width: min(520px, 100%); border-radius: var(--r-xl); padding: 40px; position: relative; background: var(--bg-2); border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-highlight); animation: popUp 0.42s var(--ease-spring); max-height: 92vh; overflow-y: auto; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--glass-bg-subtle); cursor: pointer; font-size: 18px; color: var(--text-2); }
.modal h3 { font-size: 24px; margin-bottom: 8px; }
.modal .modal-sub { color: var(--text-3); font-size: 14px; margin-bottom: 24px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popUp { from { opacity: 0; transform: translateY(24px) scale(0.94); } }

/* ---------- 无障碍：尊重「减少动态效果」系统偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .glass { --sheen: 0 !important; }
}

/* ---------- 滚动进场动画（弹簧回弹 + 轻微缩放，更有生命感） ---------- */
.reveal { opacity: 0; transform: translateY(32px) scale(0.97); transition: opacity 0.8s var(--ease-out), transform 0.85s var(--ease-spring); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 100px 0 0; font-size: 14px; color: var(--text-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .js-lead-btn { display: none; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .hamburger { display: block; }
  .section, .section-full { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 28px; }
  .card { padding: 24px; }
  .float-cta { right: 18px; bottom: 22px; width: 52px; height: 52px; }
  .modal { padding: 30px 24px; }
  /* 收紧区块纵向节奏：电脑端 60–100px 留白在手机上过长，整站被拉得很长 */
  .section, .section-full { padding: 46px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: clamp(24px, 6.5vw, 30px); }
  .reveal { transform: translateY(24px) scale(0.98); }
}
@media (max-width: 420px) {
  .card { padding: 20px; }
  .section, .section-full { padding: 40px 0; }
  .section-head { margin-bottom: 24px; }
}

/* ============================================================
   滚动进度条 + 回到顶部 + 首页对话留资组件
   （品牌化液态玻璃风格，非系统默认进度条）
   ============================================================ */
/* 顶部滚动进度条：极细、品牌渐变 + 流光 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 1300; border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 50%, var(--brand-3));
  background-size: 220% 100%;
  box-shadow: 0 0 12px rgba(77, 130, 255, .55);
  animation: scrollShimmer 2.4s linear infinite;
  transition: width .08s linear;
  pointer-events: none;
}
@keyframes scrollShimmer { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }

/* 回到顶部：左下角悬浮，玻璃质感 */
.back-to-top {
  position: fixed; left: 22px; bottom: 24px; z-index: 1150;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--text-1); border: 1px solid var(--line-2);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-spring), background .2s, color .2s;
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }
.back-to-top svg { width: 20px; height: 20px; }

/* 首页对话留资组件（右下角） */
.home-chatbot {
  position: fixed; right: 22px; bottom: 24px; z-index: 1180;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.hc-launcher {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 30px; border: none; cursor: pointer;
  background: var(--brand-grad); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(77, 130, 255, .4);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
  font-family: inherit;
}
.hc-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(77, 130, 255, .52); }
.hc-launcher svg { width: 20px; height: 20px; }
.hc-panel {
  position: absolute; bottom: 64px; right: 0;
  width: 340px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 130px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--glass-border); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-spring);
}
.home-chatbot.open .hc-panel { opacity: 1; transform: none; pointer-events: auto; }
.hc-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--brand-grad); color: #fff;
}
.hc-head .avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex: none; }
.hc-head .avatar svg { width: 20px; height: 20px; }
.hc-head .hc-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.hc-head .hc-title { font-weight: 700; font-size: 14px; line-height: 1.25; display: block; }
.hc-head .hc-sub { font-size: 11.5px; opacity: .88; display: block; line-height: 1.35; }
.hc-head .hc-close { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255,255,255,.18); color: #fff; font-size: 14px; cursor: pointer; flex: none; }
.hc-head .hc-close:hover { background: rgba(255,255,255,.32); }
.hc-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.hc-body::-webkit-scrollbar { width: 6px; }
.hc-body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.hc-msg { max-width: 86%; padding: 9px 12px; border-radius: 13px; font-size: 13.5px; line-height: 1.55; word-break: break-word; }
.hc-msg.bot { align-self: flex-start; background: var(--glass-bg); border: 1px solid var(--line); color: var(--text-1); border-bottom-left-radius: 4px; }
.hc-msg.user { align-self: flex-end; background: var(--brand-grad); color: #fff; border-bottom-right-radius: 4px; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 10px; background: var(--bg-2); }
.hc-chip { padding: 7px 11px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass-bg); color: var(--text-1); font-size: 12.5px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; font-family: inherit; }
.hc-chip:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.hc-form { padding: 10px 14px 12px; background: var(--bg-2); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.hc-form input { padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--glass-bg-strong); color: var(--text-1); font-size: 13.5px; outline: none; font-family: inherit; }
.hc-form input:focus { border-color: var(--brand); }
.hc-form .hc-submit { margin-top: 2px; padding: 10px; border: none; border-radius: 11px; background: var(--brand-grad); color: #fff; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 13.5px; }
.hc-form .hc-submit:hover { filter: brightness(1.05); }
.hc-form .hc-msg-line { font-size: 12px; color: var(--text-3); text-align: center; line-height: 1.45; }
.hc-success { padding: 16px 12px; text-align: center; color: var(--text-2); font-size: 13.5px; }
.hc-success svg { width: 36px; height: 36px; color: var(--success); margin-bottom: 6px; }

@media (max-width: 600px) {
  .back-to-top { left: 16px; bottom: 16px; width: 42px; height: 42px; }
  .home-chatbot { right: 12px; bottom: 14px; }
  .hc-launcher span { display: none; }            /* 手机端只留图标，避免遮挡内容 */
  .hc-launcher { padding: 14px; border-radius: 50%; }
  .hc-panel { width: calc(100vw - 24px); height: 60vh; max-height: 60vh; bottom: 64px; }
}

