/* ==========================================================================
   红杏云 - 便签草稿 / 敏捷白板风 (Agile Canvas / Miro Style) 核心设计系统
   ========================================================================== */

:root {
  --canvas-bg: #f8f9fb;
  --canvas-dot: #d8dce6;
  --text-main: #1e2432;
  --text-muted: #5e687e;
  --text-light: #8a94a6;
  
  /* 便签专用配色 (Post-it Palette) */
  --sticky-yellow: #fff7b2;
  --sticky-yellow-border: #f2e266;
  --sticky-yellow-text: #594a00;
  
  --sticky-pink: #ffd6e0;
  --sticky-pink-border: #f8a5bc;
  --sticky-pink-text: #6b142d;
  
  --sticky-mint: #d1f4e0;
  --sticky-mint-border: #8de3af;
  --sticky-mint-text: #0e5630;
  
  --sticky-blue: #d4ecff;
  --sticky-blue-border: #96ccff;
  --sticky-blue-text: #0b4372;
  
  --sticky-purple: #ebd9ff;
  --sticky-purple-border: #cbaff7;
  --sticky-purple-text: #451b75;

  --sticky-orange: #ffe0b8;
  --sticky-orange-border: #ffbe70;
  --sticky-orange-text: #6e3300;

  /* 白板与卡片色 */
  --card-white: #ffffff;
  --border-pencil: #2a2e3d;
  --sketch-line: #42495d;
  --brand-primary: #ff4757;
  --brand-blue: #2e86de;
  --brand-green: #10ac84;
  --brand-amber: #ff9f43;

  /* 阴影 - 拟物贴纸与手绘感 */
  --shadow-paper: 0 4px 12px rgba(18, 28, 45, 0.06), 0 1px 3px rgba(18, 28, 45, 0.08);
  --shadow-floating: 0 14px 34px rgba(28, 38, 58, 0.12), 0 4px 12px rgba(28, 38, 58, 0.06);
  --shadow-hover: 0 20px 42px rgba(28, 38, 58, 0.16), 0 6px 16px rgba(28, 38, 58, 0.08);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-handwriting: "Caveat", "Comic Sans MS", "Marker Felt", "Segoe Print", cursive, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--canvas-bg);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  /* 敏捷白板高精点阵背景 (Dot Grid) */
  background-image: radial-gradient(var(--canvas-dot) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0;
}

/* 链接基础样式 */
a {
  color: inherit;
  text-decoration: none;
}

/* 顶部通知公告条 (Sticky Ribbon) */
.top-slogan-bar {
  background: #1e2432;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #40485c;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-slogan-bar .slogan-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.slogan-badge {
  background: #ff4757;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.slogan-link {
  color: #ffd6e0;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
  cursor: pointer;
}

.slogan-link:hover {
  color: #fff7b2;
}

/* 导航栏 (Miro Collaboration Header) */
.whiteboard-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #e2e6f0;
  position: sticky;
  top: 39px;
  z-index: 999;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-badge {
  width: 42px;
  height: 42px;
  background: #ff4757;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 3px 0px #2a2e3d;
  transform: rotate(-3deg);
  transition: transform 0.2s;
}

.brand-logo-badge:hover {
  transform: rotate(2deg) scale(1.08);
}

.brand-logo-badge svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e2432;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tag {
  font-size: 0.68rem;
  background: #d1f4e0;
  color: #0e5630;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid #8de3af;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 协同指针标签 (Whiteboard Presence Avatars) */
.collaborator-presence {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f9;
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px dashed #c9d0df;
}

.avatar-stack {
  display: flex;
  position: relative;
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-left: -6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.user-avatar:first-child {
  margin-left: 0;
}

.user-avatar:hover {
  transform: translateY(-3px) scale(1.15);
  z-index: 10;
}

.av-1 { background: #ff4757; }
.av-2 { background: #2e86de; }
.av-3 { background: #10ac84; }
.av-4 { background: #ff9f43; }

.presence-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.presence-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10ac84;
  margin-right: 4px;
  box-shadow: 0 0 6px #10ac84;
}

/* 导航链接 (确保所有字体在同一行显示，绝不换行) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-menu li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  background: #edf1f8;
  color: #ff4757;
}

.nav-link.highlight {
  background: #fff7b2;
  border: 1px dashed #f2e266;
  color: #594a00;
}

.nav-link.highlight:hover {
  background: #ffeb3b;
  transform: rotate(-1deg);
}

.nav-cta-btn {
  background: #ff4757;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 3px 3px 0px #1e2432;
  border: 2px solid #1e2432;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #1e2432;
  background: #ff3043;
}

.nav-cta-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #1e2432;
}

/* 移动端菜单切换按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e2432;
}

/* 敏捷白板左侧/底部浮动工具栏 (Floating Whiteboard Toolbar) */
.whiteboard-toolbar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 2px solid #2a2e3d;
  box-shadow: 4px 4px 0px #2a2e3d;
  border-radius: 12px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.tool-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #3f475a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.tool-btn:hover {
  background: #f1f4fa;
  color: #ff4757;
}

.tool-btn.active {
  background: #fff7b2;
  color: #594a00;
  border: 1px solid #f2e266;
}

.tool-tooltip {
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e2432;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tool-btn:hover .tool-tooltip {
  opacity: 1;
}

/* 画布主区域 (Hero Canvas Area) */
.hero-canvas {
  position: relative;
  min-height: 850px;
  padding: 60px 24px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 画布顶部的敏捷看板标签 */
.canvas-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid #2a2e3d;
  box-shadow: 3px 3px 0px #2a2e3d;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
  transform: rotate(-1deg);
}

.canvas-header-tag .sprint-status {
  background: #10ac84;
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* 主标题手绘白板风 */
.hero-main-title {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: #1e2432;
  margin-bottom: 16px;
  max-width: 980px;
  letter-spacing: -1px;
}

.hero-main-title .highlight-marker {
  position: relative;
  display: inline-block;
  color: #1e2432;
  z-index: 1;
}

.hero-main-title .highlight-marker::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6px;
  height: 18px;
  background: #ffeb3b;
  opacity: 0.7;
  z-index: -1;
  border-radius: 3px;
  transform: rotate(-0.5deg);
}

.hero-sub-description {
  text-align: center;
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 50px;
  line-height: 1.65;
}

.handwrite-sub {
  font-family: var(--font-handwriting);
  font-size: 1.45rem;
  color: #ff4757;
  font-weight: 700;
  display: inline-block;
  margin-left: 6px;
  transform: rotate(-2deg);
}

/* 无限画布便签工作区 (Interactive Sticky Board) */
.sticky-workspace {
  position: relative;
  width: 100%;
  max-width: 1240px;
  min-height: 480px;
  margin: 20px auto 30px;
}

/* 便签基类 (Sticky Note Base) */
.sticky-note {
  position: absolute;
  width: 290px;
  min-height: 220px;
  padding: 24px 22px 20px;
  border-radius: 4px;
  box-shadow: var(--shadow-paper);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sticky-note:active {
  cursor: grabbing;
}

.sticky-note:hover {
  transform: translateY(-10px) scale(1.03) !important;
  box-shadow: var(--shadow-hover);
  z-index: 50;
}

/* 顶部胶带 (Masking Tape) 效果 */
.tape-strip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0% 100%);
  z-index: 5;
}

/* 便签图钉 (Pin) 效果 */
.pin-dot {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4757;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.pin-blue { background: #2e86de; }
.pin-green { background: #10ac84; }
.pin-orange { background: #ff9f43; }

/* 便签折角 (Folded Corner) */
.sticky-note::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.12) 50%);
  border-bottom-right-radius: 4px;
  pointer-events: none;
}

/* 用户指定的三个便签色彩与定位 */
/* 1. 黄色便签 */
.sticky-note-yellow {
  background-color: var(--sticky-yellow);
  border: 1px solid var(--sticky-yellow-border);
  color: var(--sticky-yellow-text);
  top: 20px;
  left: 30px;
  transform: rotate(-3deg);
}

/* 2. 粉色便签 */
.sticky-note-pink {
  background-color: var(--sticky-pink);
  border: 1px solid var(--sticky-pink-border);
  color: var(--sticky-pink-text);
  top: 15px;
  left: 380px;
  transform: rotate(2.5deg);
}

/* 3. 薄荷绿便签 */
.sticky-note-mint {
  background-color: var(--sticky-mint);
  border: 1px solid var(--sticky-mint-border);
  color: var(--sticky-mint-text);
  top: 250px;
  left: 170px;
  transform: rotate(-1.5deg);
}

/* 便签内容排版 */
.note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.note-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}

.note-author {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

.note-text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}

.note-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: 0.85;
  border-top: 1px dashed rgba(0,0,0,0.12);
  padding-top: 8px;
}

.reaction-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.6);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.reaction-pill:hover {
  background: #ffffff;
  transform: scale(1.1);
}

/* 终点：白色结账与开通卡片 (Checkout Card) */
.checkout-card {
  position: absolute;
  top: 60px;
  right: 40px;
  width: 370px;
  background: #ffffff;
  border: 3px solid #1e2432;
  box-shadow: 10px 10px 0px #1e2432;
  border-radius: 16px;
  padding: 30px 28px;
  transform: rotate(1deg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  z-index: 20;
}

.checkout-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 14px 14px 0px #1e2432;
}

.checkout-badge {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.checkout-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e2432;
  margin-bottom: 8px;
  line-height: 1.3;
}

.checkout-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0;
  padding: 12px;
  background: #f8f9fb;
  border-radius: 8px;
  border: 1px dashed #d1d6e2;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff4757;
}

.price-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1e2432;
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-checklist {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}

.checkout-checklist li svg {
  width: 16px;
  height: 16px;
  fill: #10ac84;
  flex-shrink: 0;
}

.btn-checkout-primary {
  display: block;
  text-align: center;
  background: #ff4757;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 10px;
  border: 2px solid #1e2432;
  box-shadow: 4px 4px 0px #1e2432;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-checkout-primary:hover {
  background: #ff2d3f;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #1e2432;
}

.btn-checkout-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #1e2432;
}

.checkout-footnote {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* 手绘SVG连线箭头 (Hand-drawn Arrows SVG Overlay) */
.arrows-svg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.sketch-arrow {
  fill: none;
  stroke: #2a2e3d;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 4;
  filter: drop-shadow(1px 2px 0px rgba(0,0,0,0.08));
  animation: dashAnimation 20s linear infinite;
}

@keyframes dashAnimation {
  to {
    stroke-dashoffset: -100;
  }
}

.arrow-label {
  font-family: var(--font-handwriting);
  font-size: 1.15rem;
  font-weight: 700;
  fill: #42495d;
}

/* 核心指标统计带 (Whiteboard Quick Metrics) */
.canvas-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 40px;
  flex-wrap: wrap;
  padding: 16px 30px;
  background: #ffffff;
  border: 2px solid #2a2e3d;
  box-shadow: 4px 4px 0px #2a2e3d;
  border-radius: 12px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-yellow { background: #fff7b2; border: 1px solid #f2e266; }
.icon-pink { background: #ffd6e0; border: 1px solid #f8a5bc; }
.icon-mint { background: #d1f4e0; border: 1px solid #8de3af; }
.icon-blue { background: #d4ecff; border: 1px solid #96ccff; }

.metric-data h4 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e2432;
  line-height: 1.1;
}

.metric-data p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 板块通用头部 (Section Frame Header) */
.section-wrapper {
  max-width: 1320px;
  margin: 90px auto;
  padding: 0 24px;
}

.section-canvas-frame {
  background: #ffffff;
  border: 3px solid #2a2e3d;
  box-shadow: 8px 8px 0px #2a2e3d;
  border-radius: 16px;
  padding: 48px 36px;
  position: relative;
}

.frame-title-tag {
  position: absolute;
  top: -18px;
  left: 36px;
  background: #fff7b2;
  border: 2px solid #2a2e3d;
  box-shadow: 3px 3px 0px #2a2e3d;
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e2432;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: rotate(-1deg);
}

.frame-header-box {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.frame-h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1e2432;
  letter-spacing: -0.5px;
}

.frame-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   板块 3: 节点延迟和状态板块 (Real-time Node Status)
   ========================================================================== */
.nodes-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #2a2e3d;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-chip.active, .filter-chip:hover {
  background: #1e2432;
  color: #fff;
}

.btn-test-ping {
  background: #d1f4e0;
  border: 1.5px solid #2a2e3d;
  box-shadow: 2px 2px 0px #2a2e3d;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0e5630;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s;
}

.btn-test-ping:hover {
  transform: translateY(-2px);
  background: #8de3af;
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.node-card {
  background: #fbfbfc;
  border: 2px solid #2a2e3d;
  box-shadow: 4px 4px 0px #2a2e3d;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.node-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0px #2a2e3d;
  background: #ffffff;
}

.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-emoji {
  font-size: 1.4rem;
}

.node-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e2432;
}

.node-type-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #2a2e3d;
}

.tag-iplc { background: #ffd6e0; color: #6b142d; }
.tag-iepl { background: #fff7b2; color: #594a00; }
.tag-bgp  { background: #d4ecff; color: #0b4372; }
.tag-home { background: #d1f4e0; color: #0e5630; }

.node-latency-gauge {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0;
  padding: 8px 12px;
  background: #f0f3fa;
  border-radius: 8px;
  border-left: 4px solid #10ac84;
}

.gauge-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #10ac84;
}

.gauge-jitter {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed #dce1eb;
  padding-top: 10px;
}

.status-online {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #10ac84;
  font-weight: 700;
}

.pulse-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10ac84;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 172, 132, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 172, 132, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 172, 132, 0); }
}

/* ==========================================================================
   板块 4: 套餐价格板块 (Pricing Plans) & 核心优势 (Core Advantages)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.pricing-card {
  background: #ffffff;
  border: 3px solid #2a2e3d;
  box-shadow: 6px 6px 0px #2a2e3d;
  border-radius: 14px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translate(-3px, -4px);
  box-shadow: 10px 10px 0px #2a2e3d;
}

.pricing-card.featured {
  background: #fffdf5;
  border-color: #ff4757;
  box-shadow: 8px 8px 0px #ff4757;
}

.pricing-card.featured .plan-badge {
  background: #ff4757;
  color: #fff;
  border-color: #ff4757;
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: #fff7b2;
  border: 2px solid #2a2e3d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  transform: rotate(3deg);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e2432;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-cost {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px dashed #d8dce6;
  border-bottom: 1px dashed #d8dce6;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.cost-symbol {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ff4757;
}

.cost-figure {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #1e2432;
}

.cost-cycle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features-list li {
  font-size: 0.88rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.plan-features-list li svg {
  width: 16px;
  height: 16px;
  fill: #10ac84;
  flex-shrink: 0;
}

.btn-plan-select {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid #2a2e3d;
  box-shadow: 3px 3px 0px #2a2e3d;
  transition: all 0.15s;
  cursor: pointer;
}

.btn-plan-select.btn-primary {
  background: #ff4757;
  color: #fff;
}

.btn-plan-select.btn-primary:hover {
  background: #ff2d3f;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #2a2e3d;
}

.btn-plan-select.btn-outline {
  background: #ffffff;
  color: #1e2432;
}

.btn-plan-select.btn-outline:hover {
  background: #f1f4fa;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #2a2e3d;
}

/* 核心优势板块 (Core Advantages Sticky Grid) */
.advantages-canvas-wall {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px dashed #d8dce6;
}

.adv-title-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.adv-main-heading {
  font-size: 2rem;
  font-weight: 900;
  color: #1e2432;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.adv-sticky-item {
  padding: 24px 22px;
  border-radius: 6px;
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.adv-sticky-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.adv-sticky-item.adv-yellow { background: var(--sticky-yellow); transform: rotate(-1deg); }
.adv-sticky-item.adv-pink   { background: var(--sticky-pink);   transform: rotate(1.2deg); }
.adv-sticky-item.adv-mint   { background: var(--sticky-mint);   transform: rotate(-1.5deg); }
.adv-sticky-item.adv-blue   { background: var(--sticky-blue);   transform: rotate(1deg); }
.adv-sticky-item.adv-purple { background: var(--sticky-purple); transform: rotate(-0.8deg); }
.adv-sticky-item.adv-orange { background: var(--sticky-orange); transform: rotate(1.4deg); }

.adv-icon-badge {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.adv-item-h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #1e2432;
  margin-bottom: 8px;
}

.adv-item-desc {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.55;
}

/* ==========================================================================
   板块 5: 常见问题 (FAQ) & 独立知识库直达入口
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.faq-item {
  background: #fbfbfc;
  border: 2px solid #2a2e3d;
  box-shadow: 4px 4px 0px #2a2e3d;
  border-radius: 10px;
  padding: 18px 22px;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e2432;
}

.faq-icon-toggle {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  font-size: 0.92rem;
  color: #4b5563;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #dce1eb;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 知识库直达便签横幅 (Portal Card to Standalone Knowledge Center) */
.knowledge-portal-banner {
  background: #fff7b2;
  border: 3px solid #2a2e3d;
  box-shadow: 6px 6px 0px #2a2e3d;
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  position: relative;
  transform: rotate(-0.5deg);
}

.knowledge-portal-banner:hover {
  transform: rotate(0deg) scale(1.01);
}

.portal-left-info {
  max-width: 720px;
}

.portal-tag {
  background: #ff4757;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.portal-h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #1e2432;
  margin-bottom: 6px;
}

.portal-sub {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

.btn-open-knowledge {
  background: #1e2432;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid #1e2432;
  box-shadow: 4px 4px 0px #ff4757;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
}

.btn-open-knowledge:hover {
  background: #ff4757;
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #1e2432;
}

/* ==========================================================================
   板块 6: 用户评价板块 (Miro Retrospective Wall)
   ========================================================================== */
.retro-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.retro-note {
  padding: 24px 20px 18px;
  border-radius: 6px;
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
}

.retro-note:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: var(--shadow-hover);
  z-index: 20;
}

.retro-yellow { background: var(--sticky-yellow); transform: rotate(-2deg); }
.retro-pink   { background: var(--sticky-pink);   transform: rotate(2deg); }
.retro-mint   { background: var(--sticky-mint);   transform: rotate(-1.5deg); }
.retro-blue   { background: var(--sticky-blue);   transform: rotate(1.5deg); }
.retro-purple { background: var(--sticky-purple); transform: rotate(-1deg); }
.retro-orange { background: var(--sticky-orange); transform: rotate(2.5deg); }

.retro-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.retro-comment {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1f2937;
  margin-bottom: 16px;
}

.retro-author-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed rgba(0,0,0,0.12);
  padding-top: 10px;
}

.retro-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.retro-user-info {
  display: flex;
  flex-direction: column;
}

.retro-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #111827;
}

.retro-role {
  font-size: 0.72rem;
  color: #4b5563;
}

/* 底部 CTA 邀请 (Bottom Sticky Canvas CTA) */
.bottom-cta-banner {
  max-width: 1200px;
  margin: 60px auto 40px;
  background: #ffffff;
  border: 3px solid #2a2e3d;
  box-shadow: 10px 10px 0px #2a2e3d;
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
}

.bottom-cta-banner .tape-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: rgba(255, 235, 59, 0.75);
  border: 1px dashed #d8c200;
}

.bottom-h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1e2432;
  margin-bottom: 12px;
}

.bottom-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.bottom-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 页脚 (Whiteboard Canvas Footer) */
.whiteboard-footer {
  background: #ffffff;
  border-top: 2px solid #2a2e3d;
  padding: 40px 24px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-tags {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.canvas-zoom-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f3f9;
  border: 1.5px solid #2a2e3d;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* 浮动反应表情特效 (Flying Reactions) */
.flying-reaction {
  position: absolute;
  font-size: 1.6rem;
  pointer-events: none;
  animation: flyUp 1.2s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
  z-index: 9999;
}

@keyframes flyUp {
  0% { transform: translateY(0) scale(0.6); opacity: 1; }
  100% { transform: translateY(-70px) scale(1.3); opacity: 0; }
}

/* 响应式调整 (Responsive Breakpoints - 确保导航与核心文本始终在同一行) */
@media (max-width: 1360px) {
  .collaborator-presence .presence-status {
    display: none;
  }
}

@media (max-width: 1200px) {
  .brand-sub {
    display: none;
  }
  .collaborator-presence {
    display: none;
  }
  .nav-menu {
    gap: 8px;
  }
  .nav-link {
    padding: 6px 8px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1100px) {
  .hero-canvas {
    min-height: auto;
    padding-bottom: 40px;
  }
  .sticky-workspace {
    min-height: 800px;
  }
  .sticky-note-yellow { top: 10px; left: 20px; }
  .sticky-note-pink { top: 10px; right: 20px; left: auto; }
  .sticky-note-mint { top: 260px; left: 20px; }
  .checkout-card {
    position: relative;
    top: 520px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
    max-width: 440px;
  }
  .arrows-svg-layer {
    display: none;
  }
}

@media (max-width: 1024px) {
  .top-slogan-bar {
    font-size: 0.78rem;
    text-align: center;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid #2a2e3d;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .whiteboard-toolbar {
    display: none;
  }
  .collaborator-presence {
    display: none;
  }
  .hero-main-title {
    font-size: 2.2rem;
  }
  .sticky-workspace {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }
  .sticky-note {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
  }
  .checkout-card {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-portal-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-canvas-frame {
    padding: 32px 18px;
  }
}
