/* ==== Make It Happen · 品牌皮肤 (2026-10-05) ==== */
:root {
  --mih-grad: linear-gradient(135deg, #7C5CFF 0%, #5B7CFF 55%, #38B6FF 100%);
  --mih-glow: rgba(91, 124, 255, .38);
}

/* 1. 语言切换按钮：描边胶囊，一眼能看到 */
button.mih-lang {
  border: 1px solid rgba(124, 92, 255, .5) !important;
  background: rgba(124, 92, 255, .14) !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .06);
}
button.mih-lang:hover {
  background: rgba(124, 92, 255, .28) !important;
  border-color: rgba(124, 92, 255, .8) !important;
}

/* 2. 主按钮（前往仪表板 / 主 CTA）：品牌渐变 */
a.bg-foreground[class*="rounded-lg"],
button.bg-foreground[class*="rounded-lg"] {
  background-image: var(--mih-grad) !important;
  background-color: #5B7CFF !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px var(--mih-glow) !important;
}
a.bg-foreground[class*="rounded-lg"]:hover,
button.bg-foreground[class*="rounded-lg"]:hover {
  box-shadow: 0 8px 26px rgba(91, 124, 255, .55) !important;
  opacity: 1 !important;
}

/* 3. 卡片微交互：悬浮上浮 + 品牌色描边 */
[class*="rounded-2xl"].border, [class*="rounded-xl"].border {
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
[class*="rounded-2xl"].border:hover {
  border-color: rgba(124, 92, 255, .45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(124, 92, 255, .22);
  transform: translateY(-2px);
}

/* 4. 品牌细节 */
header img[alt="logo"] { border-radius: 9px; }
h1 { letter-spacing: -0.02em; }
::selection { background: rgba(124, 92, 255, .35); }

/* 5. 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124, 92, 255, .32); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 92, 255, .55); }

/* 6. 首页可见的语言切换（胶囊 + 下拉） */
.mih-langwrap { position: relative; display: inline-flex; }
button.mih-langbtn {
  height: 34px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(124, 92, 255, .45);
  background: rgba(124, 92, 255, .12);
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
button.mih-langbtn:hover {
  background: rgba(124, 92, 255, .25);
  border-color: rgba(124, 92, 255, .8);
}
.mih-langmenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: rgba(24, 22, 36, .98);
  border: 1px solid rgba(124, 92, 255, .35);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  z-index: 90;
}
.mih-langitem {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #EDEAF7;
  font-size: 13px;
  cursor: pointer;
}
.mih-langitem:hover { background: rgba(124, 92, 255, .22); }
.mih-langitem.cur { color: #BFB2FF; }
.mih-langitem.cur::after { content: " ✓"; }

/* 8. 页眉菜单文字不许被压缩成省略号（桌面宽度） */
@media (min-width: 768px) {
  header a.truncate {
    flex-shrink: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: auto !important;
  }
}

/* 7. 首页「为什么选择我们」区块 */
.mih-why { padding: 76px 20px 12px; }
.mih-why-inner { max-width: 1024px; margin: 0 auto; }
.mih-why-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-align: center;
}
.mih-why-sub { opacity: .65; text-align: center; margin: 0 0 38px; font-size: 14.5px; }
.mih-why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mih-why-card {
  border: 1px solid rgba(124, 92, 255, .22);
  background: rgba(124, 92, 255, .06);
  border-radius: 16px;
  padding: 18px 18px 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.mih-why-card:hover { border-color: rgba(124, 92, 255, .5); transform: translateY(-2px); }
.mih-why-card .ic { font-size: 22px; display: block; margin-bottom: 8px; }
.mih-why-card h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; }
.mih-why-card p { margin: 0; font-size: 13px; opacity: .72; line-height: 1.7; }
.mih-cmp-title { text-align: center; font-size: 20px; font-weight: 700; margin: 58px 0 18px; }
.mih-cmp-wrap { overflow-x: auto; border: 1px solid rgba(124, 92, 255, .18); border-radius: 16px; }
table.mih-cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13px; }
.mih-cmp th, .mih-cmp td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(128, 128, 128, .14);
}
.mih-cmp thead th { font-weight: 600; opacity: .78; font-size: 12.5px; white-space: nowrap; }
.mih-cmp tbody tr:last-child td { border-bottom: none; }
.mih-cmp th.us, .mih-cmp td.us { background: rgba(124, 92, 255, .10); font-weight: 600; }
.mih-cmp td:first-child, .mih-cmp th:first-child { opacity: .68; white-space: nowrap; }
@media (max-width: 640px) {
  .mih-why-cards { grid-template-columns: 1fr; }
  .mih-why { padding-top: 52px; }
}

/* 9. 首页彩蛋：鹈鹕骑自行车（100% 真实） */
.mih-pelican { padding: 44px 20px 0; }
.mih-pelican-inner { max-width: 1024px; margin: 0 auto; text-align: center; }
.mih-pelican-art { width: 216px; height: auto; opacity: .92; display: inline-block; }
.mih-pelican-big { margin: 12px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.mih-pelican-sub { margin: 0 auto; max-width: 400px; font-size: 13px; opacity: .55; line-height: 1.8; }
@media (max-width: 640px) {
  .mih-pelican { padding-top: 30px; }
  .mih-pelican-art { width: 178px; }
}
