*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; height:100%; }
body {
  font-family: 'Inter','Noto Sans SC',sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;          /* 全屏桌面 */
  height: 100vh;
  user-select: none;
}
::-webkit-scrollbar { width:5px; height:5px; }
::-webkit-scrollbar-thumb { background:rgba(255,255,255,0.3); border-radius:3px; }

/* ═══════════════════════════════════════
   DESKTOP WALLPAPER
═══════════════════════════════════════ */
#desktop {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;

  /* macOS Sonoma 风格渐变壁纸 */
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%,  #1a1066 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 85% 10%,  #0e4f8c 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 90%,  #7c1a6e 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 70% 50%,  #0a2a6e 0%, transparent 60%),
    linear-gradient(160deg, #0d0b2e 0%, #0a1a5c 40%, #1a0d3e 100%);
}

/* 星点装饰 */
#desktop::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 120px 120px, 80px 80px;
  background-position: 0 0, 60px 40px;
  pointer-events: none; opacity: 0.25;
}

/* 极光光晕动画 */
.aurora {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
  pointer-events: none;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
.aurora-1 { width:600px; height:400px; background:#4f46e5; top:-100px; left:-100px; animation-delay:0s; }
.aurora-2 { width:500px; height:350px; background:#7c3aed; top:10%;  right:-80px; animation-delay:-4s; }
.aurora-3 { width:400px; height:300px; background:#0d9488; bottom:10%; left:20%;  animation-delay:-8s; }
@keyframes aurora-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}

/* ═══════════════════════════════════════
   MENU BAR  (顶部菜单栏，macOS 风格)
═══════════════════════════════════════ */
#menubar {
  position: absolute; top:0; left:0; right:0;
  height: 28px; z-index: 100;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}
.mb-left {
  display: flex; align-items: center; gap: 18px;
}
.mb-apple {
  font-size: 14px; color: rgba(255,255,255,0.85);
  cursor: default; font-weight: 600;
}
.mb-app-name {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.9); letter-spacing: -0.01em;
}
.mb-menu-items {
  display: flex; gap: 16px;
}
.mb-menu-items span {
  font-size: 12px; color: rgba(255,255,255,0.75);
  cursor: default; transition: color 0.15s;
}
.mb-menu-items span:hover { color: #fff; }

.mb-right {
  display: flex; align-items: center; gap: 14px;
}
.mb-right span {
  font-size: 12px; color: rgba(255,255,255,0.75);
}
.mb-clock {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════
   DESKTOP GRID — 小组件布局区域
═══════════════════════════════════════ */
#widget-area {
  position: absolute;
  top: 28px; left: 0; right: 0;
  bottom: 96px;         /* 留出 Dock 空间 */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px 16px;

  /* 自由网格 */
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 12px;
  align-content: start;
}

/* ═══════════════════════════════════════
   WIDGET BASE STYLE  —  毛玻璃卡片
═══════════════════════════════════════ */
.widget {
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
  cursor: default;
}
.widget:hover {
  transform: scale(1.015) translateY(-3px);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
/* 顶部细高光线 */
.widget::before {
  content: '';
  position: absolute; top:0; left: 12px; right: 12px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}

/* 尺寸类 */
.w-col-3  { grid-column: span 3; }
.w-col-4  { grid-column: span 4; }
.w-col-5  { grid-column: span 5; }
.w-col-6  { grid-column: span 6; }
.w-col-7  { grid-column: span 7; }
.w-col-8  { grid-column: span 8; }
.w-col-12 { grid-column: span 12; }

/* ── 组件内通用 ── */
.w-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 6px;
}
.w-title {
  font-size: 15px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.3;
}
.w-value {
  font-size: 36px; font-weight: 800; letter-spacing: -0.05em;
  line-height: 1;
}
.w-sub {
  font-size: 12px; opacity: 0.55; margin-top: 4px; line-height: 1.5;
}

/* ═══════════════════════════════════════
   WIDGET 01 — HERO / 公司介绍  (span 8)
═══════════════════════════════════════ */
#w-hero {
  grid-column: span 8;
  padding: 32px 36px;
  position: relative;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(79,70,229,0.5) 0%, rgba(37,99,235,0.35) 100%);
  border-color: rgba(129,140,248,0.35);
  display: flex; flex-direction: column; justify-content: space-between;
}
#w-hero::after {
  content: '';
  position: absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: 18px;
  pointer-events: none;
}
.hero-badge-w {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  width: fit-content; margin-bottom: 16px;
}
.badge-pulse {
  width: 6px; height: 6px; background: #4ade80; border-radius: 50%;
  animation: pulse-g 1.5s ease-in-out infinite;
}
@keyframes pulse-g {
  0%,100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(74,222,128,0.5); }
  50%    { transform:scale(1.3); box-shadow:0 0 0 4px rgba(74,222,128,0.0); }
}
.hero-h {
  font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; position: relative; z-index:1;
}
.hero-h .g {
  background: linear-gradient(120deg, #a5f3fc, #818cf8, #a5b4fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stats-row {
  display: flex; gap: 28px; margin-top: 24px;
  position: relative; z-index:1;
}
.hs-item { }
.hs-n { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hs-l { font-size: 11px; opacity: 0.5; margin-top: 3px; }
.hero-cta-row {
  display: flex; gap: 10px; margin-top: 20px;
  position: relative; z-index: 1;
}
.btn-w {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all 0.22s; cursor: pointer; border: none;
}
.btn-w-solid { background: #fff; color: #1e1b4b; }
.btn-w-solid:hover { background: #e0e7ff; transform: translateY(-1px); }
.btn-w-glass {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-w-glass:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════
   WIDGET 02 — 实时数据卡  (span 4)
═══════════════════════════════════════ */
#w-stats {
  grid-column: span 4;
  padding: 24px 26px;
  background: linear-gradient(160deg, rgba(16,185,129,0.35) 0%, rgba(13,148,136,0.25) 100%);
  border-color: rgba(52,211,153,0.3);
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; flex: 1;
}
.stat-cell {
  background: rgba(255,255,255,0.08); border-radius: 12px;
  padding: 14px 16px; border: 1px solid rgba(255,255,255,0.1);
}
.stat-cell .w-value { font-size: 26px; }
.stat-up   { color: #4ade80; font-size: 11px; font-weight: 700; margin-top:3px; }
.stat-down { color: #f87171; font-size: 11px; font-weight: 700; margin-top:3px; }

/* ═══════════════════════════════════════
   WIDGET 03 — Python 自动化服务  (span 5)
═══════════════════════════════════════ */
#w-python {
  grid-column: span 5;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 260px;
  background: linear-gradient(160deg, rgba(30,27,75,0.8) 0%, rgba(49,46,129,0.6) 100%);
  border-color: rgba(129,140,248,0.3);
}
.srv-w-text {
  padding: 26px 24px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.srv-icon-badge {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 14px;
  background: rgba(129,140,248,0.2); border: 1px solid rgba(129,140,248,0.3);
}
.srv-w-text h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.25; margin-bottom: 10px;
}
.srv-w-text p { font-size: 12px; opacity: 0.6; line-height: 1.7; margin-bottom: 16px; }
.srv-tags-w { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.srv-tags-w span {
  padding: 3px 9px; border-radius: 100px; font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.srv-tags-w span:hover { background: rgba(255,255,255,0.2); }
.srv-w-link {
  font-size: 12px; font-weight: 700; color: #a5b4fc;
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s;
}
.srv-w-link:hover { gap: 9px; }

/* 代码图示区 */
.srv-w-img {
  padding: 16px 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
}
.mini-term {
  background: rgba(0,0,0,0.55); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden; width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mt-bar {
  background: rgba(255,255,255,0.06); padding: 8px 12px;
  display: flex; gap: 5px; align-items: center;
}
.mt-d { width: 9px; height: 9px; border-radius: 50%; }
.md-r{background:#ff5f57} .md-y{background:#febc2e} .md-g{background:#28c840}
.mt-body {
  padding: 12px 14px; font-family: 'JetBrains Mono',monospace;
  font-size: 10.5px; line-height: 1.9; color: rgba(255,255,255,0.45);
}
.mk { color: #818cf8; }
.mf { color: #7dd3fc; }
.ms { color: #6ee7b7; }
.mc { color: rgba(255,255,255,0.22); }
.mv { color: #fde68a; }
.mc-cursor::after { content:'▋'; animation: blink .6s steps(1) infinite; }
@keyframes blink { 50%{opacity:0} }

/* ═══════════════════════════════════════
   WIDGET 04 — 云服务  (span 4)
═══════════════════════════════════════ */
#w-cloud {
  grid-column: span 4;
  min-height: 260px;
  background: linear-gradient(160deg, rgba(6,182,212,0.3) 0%, rgba(14,116,144,0.35) 100%);
  border-color: rgba(103,232,249,0.3);
  display: flex; flex-direction: column;
}
.cloud-header { padding: 22px 24px 0; }
.cloud-nodes {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 10px 20px;
}
.cloud-body { padding: 0 24px 22px; }

/* ═══════════════════════════════════════
   WIDGET 05 — AI 应用  (span 3)
═══════════════════════════════════════ */
#w-ai {
  grid-column: span 3;
  padding: 20px 18px;
  background: linear-gradient(160deg, rgba(124,58,237,0.45) 0%, rgba(139,92,246,0.3) 100%);
  border-color: rgba(196,181,253,0.3);
  min-height: 360px;
  display: flex; flex-direction: column;
}
.ai-chat-area {
  flex: 1; display: flex; flex-direction: column;
  gap: 7px; margin: 12px 0; overflow: hidden;
}
.ai-bubble {
  padding: 8px 12px; border-radius: 12px; font-size: 11px; line-height: 1.55;
  max-width: 90%;
}
.ab-user {
  background: rgba(196,181,253,0.25); border: 1px solid rgba(196,181,253,0.3);
  align-self: flex-end; border-bottom-right-radius: 4px;
  color: #e9d5ff;
}
.ab-ai {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
  align-self: flex-start; border-bottom-left-radius: 4px;
}

/* ═══════════════════════════════════════
   WIDGET 06 — 客户评价  (span 5)
═══════════════════════════════════════ */
#w-reviews {
  grid-column: span 5;
  padding: 22px 24px;
  background: rgba(255,255,255,0.1);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.review-w-list { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.review-w-item {
  background: rgba(255,255,255,0.07); border-radius: 12px;
  padding: 12px 16px; border: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 12px; align-items: flex-start;
}
.rv-ava {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.rv-ava-1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.rv-ava-2 { background: linear-gradient(135deg,#0d9488,#10b981); }
.rv-ava-3 { background: linear-gradient(135deg,#ea580c,#d97706); }
.rv-ava-4 { background: linear-gradient(135deg,#e11d48,#f43f5e); }
.rv-q { font-size: 11px; opacity: 0.75; line-height: 1.6; }
.rv-who { font-size: 10px; opacity: 0.45; margin-top: 4px; }
.rv-stars-w { display: flex; gap: 1px; }
.rv-stars-w span { color: #fbbf24; font-size: 10px; }

/* ═══════════════════════════════════════
   WIDGET 07 — 数据分析  (span 4)
═══════════════════════════════════════ */
#w-data {
  grid-column: span 4;
  padding: 20px 22px;
  background: linear-gradient(160deg, rgba(234,88,12,0.35) 0%, rgba(217,119,6,0.3) 100%);
  border-color: rgba(253,186,116,0.3);
  min-height: 350px;
  display: flex; flex-direction: column;
}
.data-bars-w {
  display: flex; align-items: flex-end; gap: 6px;
  height: 70px; flex: 1; margin: 12px 0;
}
.dbar-w {
  flex: 1; border-radius: 4px 4px 0 0;
  transform: scaleY(0); transform-origin: bottom;
  animation: grow-w 1.2s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes grow-w { to { transform: scaleY(1); } }
.dw1{height:38%;background:rgba(253,186,116,0.5);animation-delay:.1s}
.dw2{height:62%;background:rgba(251,146,60,0.65);animation-delay:.2s}
.dw3{height:50%;background:rgba(249,115,22,0.7);animation-delay:.3s}
.dw4{height:95%;background:#ea580c;animation-delay:.4s;box-shadow:0 4px 14px rgba(234,88,12,0.5)}
.dw5{height:70%;background:rgba(249,115,22,0.7);animation-delay:.5s}
.dw6{height:45%;background:rgba(253,186,116,0.5);animation-delay:.6s}
.dw7{height:55%;background:rgba(251,146,60,0.6);animation-delay:.7s}
.data-kpis { display: flex; gap: 14px; }
.dkpi { flex: 1; background: rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 12px; }
.dkpi-v { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.dkpi-l { font-size: 10px; opacity: 0.5; margin-top: 3px; }
.dkpi-d { font-size: 10px; color: #4ade80; font-weight: 700; margin-top: 2px; }

/* ═══════════════════════════════════════
   WIDGET 08 — 运维监控  (span 3)
═══════════════════════════════════════ */
#w-ops {
  grid-column: span 3;
  padding: 20px 20px;
  background: linear-gradient(160deg, rgba(15,23,42,0.8) 0%, rgba(30,41,59,0.7) 100%);
  border-color: rgba(74,222,128,0.2);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.ops-live-row {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 14px;
}
.ops-live-dot {
  width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: pulse-g 1.2s ease-in-out infinite;
}
.ops-live-txt { font-size: 11px; font-weight: 600; opacity: 0.6; letter-spacing: 0.1em; }
.ops-metric-w { margin-bottom: 9px; }
.omw-top { display: flex; justify-content: space-between; font-size: 10px; margin-bottom: 4px; }
.omw-label { font-family: 'JetBrains Mono',monospace; opacity: 0.55; }
.omw-val   { font-family: 'JetBrains Mono',monospace; }
.omw-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.omw-fill  {
  height: 100%; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: fill-w 1.5s ease forwards;
}
@keyframes fill-w { to { transform:scaleX(1); } }
.cpu-c  { color:#4ade80; } .cpu-c  .omw-fill { background:#4ade80; width:23%; }
.mem-c  { color:#38bdf8; } .mem-c  .omw-fill { background:#38bdf8; width:41%; animation-delay:.2s; }
.disk-c { color:#facc15; } .disk-c .omw-fill { background:#facc15; width:68%; animation-delay:.4s; }
.net-c  { color:#f87171; } .net-c  .omw-fill { background:#f87171; width:12%; animation-delay:.6s; }

/* ═══════════════════════════════════════
   WIDGET 09 — 新闻资讯  (span 6)
═══════════════════════════════════════ */
#w-news {
  grid-column: span 6;
  padding: 20px 24px;
  background: rgba(255,255,255,0.09);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.news-list-w { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.news-item-w {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,0.06); border-radius: 11px;
  padding: 11px 14px; border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.news-item-w:hover { background: rgba(255,255,255,0.1); }
.news-emoji-w { font-size: 20px; flex-shrink: 0; line-height: 1.2; }
.news-badge-w {
  display: inline-block; padding: 2px 8px; border-radius: 100px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px;
}
.nbw-blue   { background:rgba(59,130,246,0.2); color:#93c5fd; }
.nbw-teal   { background:rgba(13,148,136,0.2); color:#5eead4; }
.nbw-orange { background:rgba(234,88,12,0.2);  color:#fdba74; }
.news-title-w { font-size: 12px; font-weight: 600; line-height: 1.45; opacity: 0.85; }
.news-meta-w  { font-size: 10px; opacity: 0.4; margin-top: 4px; display: flex; gap: 8px; }

/* ═══════════════════════════════════════
   WIDGET 10 — 关于我们  (span 3)
═══════════════════════════════════════ */
#w-about {
  grid-column: span 3;
  padding: 22px 22px;
  background: linear-gradient(160deg, rgba(51,65,85,0.7) 0%, rgba(30,41,59,0.6) 100%);
  min-height: 360px;
  display: flex; flex-direction: column;
}
.about-logo-w {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #fff; margin-bottom: 14px;
}
.about-desc-w { font-size: 12px; opacity: 0.55; line-height: 1.7; flex: 1; }
.about-contact {
  margin-top: 16px; display: flex; flex-direction: column; gap: 6px;
}
.ac-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; opacity: 0.6;
}

/* ═══════════════════════════════════════
   WIDGET 11 — 技术培训  (span 3)
═══════════════════════════════════════ */
#w-train {
  grid-column: span 3;
  padding: 20px 20px;
  background: linear-gradient(160deg, rgba(225,29,72,0.35) 0%, rgba(219,39,119,0.3) 100%);
  border-color: rgba(251,113,133,0.3);
  min-height: 200px;
  display: flex; flex-direction: column;
}
.train-list { flex: 1; display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.train-row {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.08); border-radius: 9px;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,0.1);
}
.train-ico { font-size: 14px; flex-shrink: 0; }
.train-name { flex: 1; font-size: 11px; font-weight: 600; opacity: 0.85; }
.train-bar-w { width: 48px; height: 3px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; }
.train-fill {
  height: 100%; border-radius: 2px; background: rgba(251,113,133,0.9);
  transform: scaleX(0); transform-origin: left;
  animation: fill-w 1.4s ease forwards;
}
.train-pct { font-family: 'JetBrains Mono',monospace; font-size: 10px; opacity: 0.5; width: 26px; text-align: right; }

/* ═══════════════════════════════════════
   WIDGET 12 — 合作伙伴跑马灯  (span 6)
═══════════════════════════════════════ */
#w-partners {
  grid-column: span 6;
  padding: 18px 0;
  min-height: 90px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; position: relative;
}
#w-partners::before,
#w-partners::after {
  content: '';
  position: absolute; top:0; bottom:0; width: 60px; z-index: 2; pointer-events: none;
}
#w-partners::before { left:0;  background:linear-gradient(90deg, rgba(255,255,255,0.11), transparent); }
#w-partners::after  { right:0; background:linear-gradient(-90deg,rgba(255,255,255,0.11), transparent); }
.partners-hd-w { padding: 0 24px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.45; margin-bottom: 10px; }
.partners-track-w {
  display: flex; gap: 0;
  animation: scroll-w 20s linear infinite;
  width: max-content;
}
.partners-track-w:hover { animation-play-state: paused; }
.pt-chip {
  padding: 6px 20px; border-right: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45);
  white-space: nowrap; transition: color 0.2s; flex-shrink: 0;
}
.pt-chip:hover { color: rgba(255,255,255,0.85); }
@keyframes scroll-w { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   DOCK  (底部程序坞)
═══════════════════════════════════════ */
#dock {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;

  /* Dock 容器 */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  padding: 10px 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

/* 分隔线 */
.dock-sep {
  width: 1px; height: 40px; background: rgba(255,255,255,0.2);
  align-self: center; margin: 0 4px;
}

/* 单个 Dock 图标 */
.dock-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; cursor: pointer; position: relative;
}
.dock-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), filter 0.2s;
  position: relative; overflow: hidden;
}
/* 图标高光 */
.dock-icon::after {
  content: '';
  position: absolute; top: 2px; left: 6px; right: 6px; height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  border-radius: 10px 10px 0 0; pointer-events: none;
}

/* 悬停放大 + 邻居缩放由 JS 处理 */
.dock-item:hover .dock-icon {
  transform: translateY(-12px) scale(1.22);
  filter: brightness(1.1);
}
.dock-item:hover .dock-label { opacity: 1; transform: translateY(0); }

/* 图标各自背景色 */
.di-home    { background: linear-gradient(145deg,#4f46e5,#7c3aed); }
.di-py      { background: linear-gradient(145deg,#1d4ed8,#3b82f6); }
.di-cloud   { background: linear-gradient(145deg,#0891b2,#0d9488); }
.di-data    { background: linear-gradient(145deg,#ea580c,#d97706); }
.di-ai      { background: linear-gradient(145deg,#7c3aed,#a855f7); }
.di-ops     { background: linear-gradient(145deg,#15803d,#16a34a); }
.di-train   { background: linear-gradient(145deg,#be123c,#e11d48); }
.di-news    { background: linear-gradient(145deg,#0369a1,#0284c7); }
.di-contact { background: linear-gradient(145deg,#b45309,#d97706); }
.di-about   { background: linear-gradient(145deg,#334155,#475569); }

/* 标签 */
.dock-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  border-radius: 6px; padding: 3px 8px;
  white-space: nowrap;
  position: absolute; bottom: 100%; margin-bottom: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
}

/* 小红点通知 */
.dock-dot {
  width: 7px; height: 7px; background: #ef4444;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6);
  position: absolute; top: -2px; right: -2px;
}
/* 底部小圆点（打开状态） */
.dock-open-dot {
  width: 4px; height: 4px; background: rgba(255,255,255,0.6);
  border-radius: 50%;
}

/* ═══════════════════════════════════════
   WINDOW MODAL — 点击 Dock 弹出
═══════════════════════════════════════ */
.window-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 110px;
}
.window-modal.open { display: flex; }
.window-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}
.window-box {
  position: relative; z-index: 1;
  background: rgba(28,28,36,0.88);
  backdrop-filter: blur(40px) saturate(2);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  width: 100%; max-width: 760px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  animation: window-open 0.28s cubic-bezier(.34,1.3,.64,1) both;
}
@keyframes window-open {
  from { opacity:0; transform:scale(0.88) translateY(24px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
.window-titlebar {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
  border-radius: 14px 14px 0 0;
  position: sticky; top: 0; z-index: 2;
}
.win-btn {
  width: 13px; height: 13px; border-radius: 50%;
  cursor: pointer; transition: filter 0.15s;
}
.win-btn:hover { filter: brightness(1.3); }
.wb-close  { background: #ff5f57; }
.wb-mini   { background: #febc2e; }
.wb-max    { background: #28c840; }
.win-title { margin: 0 auto; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.window-content { padding: 28px 32px 36px; color: rgba(255,255,255,0.85); }
.window-content h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.04em;
  margin-bottom: 14px; line-height: 1.2;
}
.window-content p  { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.win-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.win-tags span {
  padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
}
.win-section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin: 24px 0 12px;
}

/* ═══════════════════════════════════════
   MISC UTILS
═══════════════════════════════════════ */
.flex-between { display:flex; justify-content:space-between; align-items:center; }
.opacity-50   { opacity:0.5; }
.mt-8         { margin-top:8px; }
.mt-12        { margin-top:12px; }

/* 入场动画 */
.widget {
  animation: widget-in 0.6s ease both;
}
@keyframes widget-in {
  from { opacity:0; transform:translateY(16px) scale(0.97); }
  to   { opacity:1; transform:none; }
}
/* 让各组件错开出现 */
#w-hero     { animation-delay:0.05s }
#w-stats    { animation-delay:0.10s }
#w-python   { animation-delay:0.15s }
#w-cloud    { animation-delay:0.20s }
#w-ai       { animation-delay:0.25s }
#w-reviews  { animation-delay:0.18s }
#w-data     { animation-delay:0.22s }
#w-ops      { animation-delay:0.28s }
#w-news     { animation-delay:0.14s }
#w-about    { animation-delay:0.20s }
#w-train    { animation-delay:0.26s }
#w-partners { animation-delay:0.30s }