/* ═══════════════════════════════════════
   蓝易云客服中心 · 2026 Clean White v6
   ═══════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* 主色 */
  --accent: #2563eb;
  --accent-soft: #3b82f6;
  --accent-bg: #eff6ff;
  --accent-border: #bfdbfe;

  /* 灰阶 — 精细分级 */
  --black: #0f172a;
  --d1: #1e293b;
  --d2: #475569;
  --d3: #94a3b8;
  --d4: #cbd5e1;

  /* 表面 */
  --bg: #ffffff;
  --bg-page: #f8fafc;
  --bg-raised: #ffffff;
  --bg-inset: #f1f5f9;

  /* 边线 & 阴影 */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-lg: 0 8px 30px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.03);
  --shadow-card: 0 1px 3px rgba(15,23,42,.05), 0 0 0 1px rgba(15,23,42,.03);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 100px;

  /* 绿色提示 */
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;

  /* 动效 */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--d1);
  /*background: var(--bg-page);*/
  background: linear-gradient(160deg, #ffffff 0%, #eff6ff 55%, #f0f9ff 100%);
  font-weight: 400;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, strong, b {
  font-weight: 700;
  color: var(--black);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ══════════════════════════════════════
   Topbar — 固定顶栏 + 毛玻璃
   ══════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
}
.topbar-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
  transition: opacity .2s var(--ease);
}
.brand:hover { opacity: .8; }
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.topnav { display: flex; gap: 6px; }
.topnav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--d2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.topnav a:hover {
  color: var(--accent);
  background: var(--accent-bg);
}

/* ══════════════════════════════════════
   Layout
   ══════════════════════════════════════ */
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px 38px;
}

/* ── 徽章 ── */
/* Fix: align-self:flex-start 防止在flex column父容器中被拉伸撑满整行 */
.eyebrow {display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #2563eb;
    text-transform: uppercase;
    margin-bottom: 16px;
    align-self: flex-start;
    width: fit-content;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: pulse 2s infinite
}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(59,130,246,.4)}50%{box-shadow:0 0 0 5px rgba(59,130,246,0)}}

/* ── 首页 球 ── */
.home-hero .hero-grid{align-items:stretch}
          .home-hero .hero-copy{display:flex;flex-direction:column}
          .hero-visual{display:flex;flex-direction:column}
          .gv-globe-box{position:relative;width:100%;aspect-ratio:1/1;max-width:380px;margin:0 auto;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:none}
          .gv-globe-box:active{cursor:grabbing}
          .gv-globe-box canvas{width:100%;height:100%;display:block}
          .gv-hint{position:absolute;bottom:4px;right:6px;font-size:10px;color:var(--c-muted);opacity:.55;pointer-events:none;display:flex;align-items:center;gap:3px;transition:opacity .5s}
          .gv-hint svg{width:13px;height:13px}
          .gv-hint.is-gone{opacity:0}
          .gv-spacer{flex:1}
          .gv-flow-bar{display:flex;align-items:center;gap:0;padding:18px 16px;border-radius:var(--r-lg);background:rgba(255,255,255,.8);border:1px solid var(--c-border);box-sizing:border-box}
          .gv-fn{display:flex;flex-direction:column;align-items:center;gap:3px;flex:0 0 auto;min-width:52px}
          .gv-fi{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;position:relative;flex-shrink:0}
          .gv-fi svg{width:16px;height:16px}
          .gv-fi-u{background:#eff6ff;border:1.5px solid #bfdbfe;color:#3b82f6}
          .gv-fi-c{background:linear-gradient(135deg,#3b82f6,#0ea5e9);color:#fff;box-shadow:0 3px 10px rgba(59,130,246,.3)}
          .gv-fi-c::after{content:'';position:absolute;inset:-2px;border-radius:10px;border:2px solid rgba(59,130,246,.15);animation:gvPulse 2.5s ease-out infinite}
          @keyframes gvPulse{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.25);opacity:0}}
          .gv-fi-w{background:#fef3c7;border:1.5px solid #fcd34d;color:#d97706}
          .gv-fi-o{background:#ecfdf5;border:1.5px solid #a7f3d0;color:#059669}
          .gv-fl{font-size:10px;font-weight:700;color:var(--c-text);white-space:nowrap}
          .gv-fs{font-size:8px;color:var(--c-muted);white-space:nowrap}
          .gv-ar{flex:1 1 0;min-width:12px;height:14px;display:flex;align-items:center;justify-content:center;position:relative}
          .gv-ar svg{width:100%;max-width:44px;height:14px;display:block;overflow:visible}
          .gv-ar .gv-ad{animation:gvDotMove 1.5s ease-in-out infinite}
          @keyframes gvDotMove{0%{transform:translateX(-8px);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateX(8px);opacity:0}}
          .gv-ar-tag{position:absolute;bottom:calc(100% + 2px);left:45%;transform:translateX(-50%);padding:2px 6px;border-radius:5px;background:#fef2f2;border:1px solid #fecaca;font-size:8px;font-weight:700;color:#dc2626;white-space:nowrap;pointer-events:none;z-index:2;line-height:1.3}
          .gv-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}
          .gv-st{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:var(--r-lg);background:rgba(255,255,255,.8);border:1px solid var(--c-border);box-sizing:border-box}
          .gv-st strong{display:block;font-size:13px;font-weight:700;margin-bottom:2px}
          .gv-st span{display:block;font-size:12px;color:var(--c-muted);line-height:1.55}
          @media(max-width:768px){
            .home-hero .hero-grid{align-items:start}
            .gv-globe-box{max-width:280px}
            .gv-spacer{display:none}
            .gv-flow-bar{padding:12px 10px;margin-top:10px}
            .gv-fn{min-width:42px}
            .gv-fi{width:28px;height:28px;border-radius:6px}.gv-fi svg{width:13px;height:13px}
            .gv-fl{font-size:8px}.gv-fs{font-size:7px}
            .gv-ar svg{max-width:28px;height:12px}
            .gv-ar-tag{font-size:6.5px;padding:1px 4px}
            .gv-stats{grid-template-columns:1fr}
            .gv-hint{display:none}
          }

/* ── 首页 Hero ── */
.home-hero {
    padding: 46px 0 30px;
    position: relative;
    overflow: hidden;
    /* border-bottom: 1px solid #e2e8f0; */
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}
.hero-h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  letter-spacing: -.03em;
  line-height: 1.06;
  margin-bottom: 20px
}
.hero-h1 .accent {
  color: #2563eb
}
.hero-sub {
  font-size: 17px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
      margin-left: 12px;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 6px 12px rgba(29, 78, 216, .25);
}
.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(29, 78, 216, .32);
}
.btn-ghost{background:#ffffff;color:#334155;border-color:#e2e8f0;box-shadow:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04)}
.btn-ghost:hover{border-color:#3b82f6;color:#2563eb}

.btn-lg {
    padding: 13px 26px;
    font-size: 15px;
    border-radius: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: all .18s ease;
    text-align: center;
}
.btn:hover {
    transform: translateY(-1px);
}

.hero-visual{position:relative}
.hero-main-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:var(--r-2xl);padding:24px;box-shadow:var(--s-lg);position:relative;overflow:hidden}
.hero-main-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2563eb,var(--c-sky))}
.hero-card-top{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.hero-card-dot{width:10px;height:10px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 4px rgba(16,185,129,.15);animation:pulse 2s infinite}
.hero-card-title{font-size:13px;font-weight:700;color:#334155}
.hero-card-badge{margin-left:auto;padding:4px 10px;border-radius:var(--r-full);background:var(--c-brand-bg);border:1px solid var(--c-brand-bd);font-size:11px;font-weight:700;color:#2563eb}
.hero-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.hero-chips span{padding:4px 10px;border-radius:var(--r-full);background:var(--c-bg);border:1px solid #e2e8f0;font-size:11px;font-weight:600;color:var(--c-muted)}
.hero-float-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}



/* ══════════════════════════════════════
   Hero — 联系区 卡片
   ══════════════════════════════════════ */
.hero {
  display: block;
}
.hero-card {
  display: flex;
  align-items: stretch;
  gap: 36px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  animation: fadeUp .5s var(--ease-out) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-frame {
  width: 160px;
  height: 160px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.qr-frame:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qr-tip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--d3);
  letter-spacing: .02em;
}

.hero-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.hero-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
  line-height: 1.2;
}

.wx-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
}
.wx-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--d3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wx-id {
  font-family: "SF Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  background: none;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background .15s var(--ease), transform .1s;
  line-height: 1;
}
.btn-copy svg { flex-shrink: 0; }
.btn-copy:hover { background: var(--accent-soft); }
.btn-copy:active { transform: scale(.96); }

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--d2);
  font-weight: 450;
  line-height: 1.5;
}
.meta-item svg {
  flex-shrink: 0;
  color: var(--d3);
}
.meta-item strong {
  font-weight: 700;
  color: var(--d1);
}
.meta-promo {
  color: var(--green);
}
.meta-promo svg { color: var(--green); }
.meta-promo strong {
  color: var(--green);
  font-weight: 700;
}

/* ══════════════════════════════════════
   Section 通用
   ══════════════════════════════════════ */
.sec {
  padding-bottom: 20px;
  margin-bottom: 8px;
}
.sec:last-of-type { margin-bottom: 0; }
.sec-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════
   产品卡片 — 一排三列
   ══════════════════════════════════════ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: border-color .25s var(--ease),
              box-shadow .3s var(--ease),
              transform .25s var(--ease);
  animation: fadeUp .5s var(--ease-out) both;
}
.prod-card:nth-child(1) { animation-delay: .05s; }
.prod-card:nth-child(2) { animation-delay: .10s; }
.prod-card:nth-child(3) { animation-delay: .15s; }

.prod-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.prod-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-icon--cdn {
  background: var(--accent-bg);
  color: var(--accent);
}
.prod-icon--ecs {
  background: #faf5ff;
  color: #9333ea;
}
.prod-icon--hd {
  background: #fff7ed;
  color: #ea580c;
}

.prod-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}
.prod-card p {
  font-size: 13px;
  color: var(--d2);
  line-height: 1.65;
  font-weight: 450;
  flex: 1;
}
.prod-card p strong {
  color: var(--d1);
  font-weight: 650;
}
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap .2s var(--ease);
}
.prod-card:hover .prod-link { gap: 8px; }

/* ══════════════════════════════════════
   AI 模型区域
   ══════════════════════════════════════ */
.ai-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--d2);
  line-height: 1.7;
  font-weight: 450;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
}
.ai-note svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.ai-note strong {
  color: var(--accent);
  font-weight: 700;
}

.ai-group {
  margin-bottom: 24px;
}
.ai-group:last-of-type { margin-bottom: 20px; }

.ai-cat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--d1);
  margin-bottom: 12px;
}
.ai-cat svg { color: var(--d3); }

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 450;
  padding: 7px 14px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease),
              box-shadow .2s var(--ease),
              transform .15s var(--ease);
}
.tag:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.tag b {
  font-weight: 700;
  color: var(--black);
  font-size: 13px;
}
.tag em {
  font-style: normal;
  font-size: 11px;
  color: var(--d3);
  font-weight: 500;
}

.ai-foot {
  font-size: 13px;
  color: var(--d3);
  font-weight: 500;
}

/* ══════════════════════════════════════
   Footer
   ══════════════════════════════════════ */
.foot {
  text-align: center;
  padding: 24px 28px;
  font-size: 13px;
  color: var(--d3);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.foot-sep { color: var(--d4); }
.foot a {
  color: var(--d3);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.foot a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   Toast
   ══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--black);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(15,23,42,.15);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.noscript {
  text-align: center;
  padding: 14px 18px;
  margin-top: 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: #92400e;
  font-weight: 500;
}

/* ══════════════════════════════════════
   回到顶部
   ══════════════════════════════════════ */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--d2);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease),
              visibility .3s var(--ease),
              background .2s var(--ease),
              color .2s var(--ease),
              border-color .2s var(--ease),
              transform .2s var(--ease);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
}
.to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════
   Responsive
   ══════════════════════════════════════ */
@media (max-width: 640px) {
  .wrap { padding: 0 18px 28px; }
  .topbar-inner { padding: 0 18px; height: 50px; }

  .topnav a { font-size: 12.5px; padding: 5px 8px; }

  .hero-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 28px 22px;
  }
  .hero-body {
    align-items: center;
  }
  .hero-title { font-size: 22px; }
  .qr-frame { width: 140px; height: 140px; }

  .meta-item {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .prod-grid { grid-template-columns: 1fr; }
  .prod-card { padding: 20px 18px; }

  .tag-grid { gap: 6px; }
  .tag { font-size: 12px; padding: 5px 11px; }
  .tag em { font-size: 10px; }
}

@media (min-width: 641px) and (max-width: 768px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid .prod-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .hero-card { gap: 28px; padding: 28px; }
  .hero-visual,.gv-globe-box {display: none}
}

@media (max-width: 900px) {
  .hero-grid {display: block;}
  .hero-visual,.gv-globe-box {display: none}
}

@media (max-width: 600px) {
  .topnav{display: none}
}

/* 中等屏幕微调 */
@media (min-width: 769px) and (max-width: 900px) {
  .hero-card { padding: 32px; }
}

@media print {
  .to-top, .toast, .topbar { display: none; }
  body { background: #fff; }
  .hero-card { box-shadow: none; border: 1px solid #ddd; }
}