/**
 * Professional Design Overrides
 * 去除 AI 风格，提升专业感
 * 参考: Crunchbase / Pitchbook 视觉语言
 * 日期: 2026-04-10
 */

/* ===== 1. 中性化主背景 ===== */
body {
  background: #f8f9fa !important;
}

/* ===== 2. Banner - 保留暖橙背景，仅去除 logo 发光动画 ===== */

/* 去除 logo 持续发光脉冲动画，保留静态阴影 */
.banner-logo img {
  animation: none !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(255, 255, 255, 0.9) !important;
}

.banner-logo:hover img {
  transform: scale(1.04) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.15),
    0 0 0 2px rgba(255, 255, 255, 0.9) !important;
}

/* ===== 3. 业务标签 - 去 neon，改为专业边框卡片 ===== */
.business-tag,
.business-tag.tag-database,
.business-tag.tag-meetup,
.business-tag.tag-camp {
  background: #ffffff !important;
  border: 1.5px solid #dee2e6 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07) !important;
  color: #212529 !important;
  animation: none !important;
  letter-spacing: 1px !important;
}

/* hover: 品牌色描边 + 轻微上浮，去掉 neon 发光 */
.business-tag:hover {
  background: #fffaf7 !important;
  border-color: #fa8c32 !important;
  box-shadow: 0 4px 14px rgba(250, 140, 50, 0.18) !important;
  transform: translateY(-2px) rotate(0deg) !important;
  animation: none !important;
  color: #212529 !important;
}

/* ===== 4. 隐藏粒子背景 ===== */
.particle-bg {
  display: none !important;
}

/* ===== 5. 主背景渐变中性化（fallback for wrapper） ===== */
:root {
  --bg-main: #f8f9fa !important;
  --bg-gradient-warm: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%) !important;
}

/* ===== 6. Light Mode 中性专业风统一 (2026-05-11) ===== */

/* Hero 区 - 白底渐变取代暖橙色，与页面灰底融合更自然 */
html:not([data-theme='dark']) .hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%) !important;
  border: 1px solid #e9ecef !important;
}

/* 白色卡片加边框，增加层次感（参考 Crunchbase 卡片风格） */
html:not([data-theme='dark']) .data-card,
html:not([data-theme='dark']) .role-card,
html:not([data-theme='dark']) .data-product-card,
html:not([data-theme='dark']) .funding-daily-compressed {
  border: 1px solid #e9ecef !important;
}

/* Featured / Highlight 卡片 - 去暖渐变背景，改为橙色顶部强调线 */
html:not([data-theme='dark']) .role-card.featured,
html:not([data-theme='dark']) .data-product-card.featured {
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-top: 3px solid #fa8c32 !important;
}

/* Action 链接中性化：去除暖渐变，用浅灰底 + 橙色字 */
html:not([data-theme='dark']) .action-link {
  background: #f1f3f5 !important;
  border: 1px solid #dee2e6 !important;
  color: #fa8c32 !important;
}

html:not([data-theme='dark']) .action-link:hover {
  background: #fa8c32 !important;
  border-color: transparent !important;
  color: white !important;
  transform: translateX(4px) !important;
}

/* 会员嵌入 CTA 中性化 */
html:not([data-theme='dark']) .membership-embedded-cta {
  background: #f1f3f5 !important;
}

/* 融资展开按钮中性化 */
html:not([data-theme='dark']) .btn-expand-daily {
  background: #f1f3f5 !important;
}

html:not([data-theme='dark']) .btn-expand-daily:hover {
  background: #fa8c32 !important;
  color: white !important;
}

/* 模态框价值区块中性化 */
html:not([data-theme='dark']) .modal-value {
  background: #f1f3f5 !important;
}

/* ===== 7. Sidebar 亮色模式中性化 (2026-05-11) ===== */

/* 主容器 - 去橙黄渐变，改为白底 */
html:not([data-theme='dark']) .sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e9ecef !important;
}

/* 导航链接文字 - 从棕褐色改为中性深灰 */
html:not([data-theme='dark']) .nav-list a {
  color: #495057 !important;
  text-shadow: none !important;
}

/* 导航组容器 hover */
html:not([data-theme='dark']) .nav-group:hover {
  background: rgba(0, 0, 0, 0.02) !important;
  box-shadow: none !important;
}

/* 可折叠组标题 - 去橙黄渐变，改为浅灰底 */
html:not([data-theme='dark']) .group-header.collapsible {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
}

html:not([data-theme='dark']) .group-header.collapsible:hover {
  background: #f1f3f5 !important;
  border-color: #dee2e6 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* 组标题文字 */
html:not([data-theme='dark']) .group-title {
  color: #343a40 !important;
  text-shadow: none !important;
}

/* 子菜单容器 - 去橙色调背景 */
html:not([data-theme='dark']) .sub-list {
  background: transparent !important;
  border-top-color: #e9ecef !important;
}

/* 子菜单链接 - 从灰色改为中性灰 */
html:not([data-theme='dark']) .sub-list a {
  color: #6c757d !important;
}

/* QR 容器 - 去浓重橙黄渐变 */
html:not([data-theme='dark']) .qr-container {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

/* ===== 8. 隐藏 Header 主题切换按钮 (2026-05-11) ===== */
/* 主题切换已从 Header 移除，保留此规则防止 JS 动态插入时重新显示 */
.theme-toggle {
  display: none !important;
}
