/* VeyoAI 站点补丁样式（叠加在 Grok 生成的样式之上） */

/* 1. 首屏深色区缩短，让右下角“Veyo 助手”落在浅色背景上 */
@media (min-width: 48rem) {
  main#content > section.bg-navy:first-child > div {
    padding-top: 4.25rem;
    padding-bottom: 3.25rem;
  }
  main#content > section.bg-navy:first-child h1 {
    margin-top: 1.25rem;
  }
}

/* 2. 顶部导航拉开间距 */
@media (min-width: 48rem) {
  nav[aria-label="主导航"] {
    gap: 2.25rem;
  }
  nav[aria-label="主导航"] > a[href="/contact"] {
    margin-left: 0.5rem;
  }
}

/* 导航里的“EC2 在线报价”入口 */
.vy-ec2 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0b2a4a;
  white-space: nowrap;
  border: 1px solid #c4a35a;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  background: #fbf3e0;
  transition: background-color 0.15s;
}
.vy-ec2:hover {
  background: #c4a35a;
}
.vy-ec2-m {
  display: inline-block;
  width: fit-content;
  margin: 0.25rem 0;
}

/* 首屏里的报价按钮 */
.vy-hero-ec2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.625rem;
  background: #c4a35a;
  color: #0b2a4a;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.vy-hero-ec2:hover {
  background: #d6b76c;
}

/* 首页首屏右上角的北京时间（与下方卡片右边缘对齐） */
main#content > section.bg-navy:first-child > div {
  position: relative;
}
main#content > section.bg-navy:first-child > div > .vy-clock {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}
@media (min-width: 48rem) {
  main#content > section.bg-navy:first-child > div > .vy-clock {
    top: 1.5rem;
    right: 2rem;
  }
}
.vy-clock {
  background: #06182c;
  border: 1px solid rgba(247, 245, 241, 0.22);
  border-radius: 0.25rem;
  padding: 0.55rem 0.95rem 0.5rem;
  text-align: right;
}
.vy-clock b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f5bd3a;
  letter-spacing: 0.06em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.vy-clock small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: rgba(247, 245, 241, 0.78);
}
@media (max-width: 47.99rem) {
  main#content > section.bg-navy:first-child > div {
    padding-top: 5.5rem;
  }
}

/* 3. 首页去掉创始人介绍 */
section[aria-labelledby="founder-title"] {
  display: none !important;
}

/* 页脚换成深色背景 */
#site-chrome > footer {
  background: #0b2a4a;
  color: #f7f5f1;
  border-top: 0;
}
#site-chrome > footer .text-navy {
  color: #f7f5f1;
}
#site-chrome > footer .text-muted-foreground {
  color: rgba(247, 245, 241, 0.72);
}
#site-chrome > footer a,
#site-chrome > footer button {
  color: #f7f5f1;
  text-decoration-color: #c4a35a;
}
#site-chrome > footer a:hover,
#site-chrome > footer button:hover {
  color: #c4a35a;
}

/* 关于我们：创始人介绍下方两段说明不再显示 */
section[aria-labelledby="about-founder"] p.text-muted-foreground {
  display: none;
}

/* 页脚：微信公众号二维码（桌面放右侧，避开右下角助手按钮） */
#site-chrome > footer > div {
  position: relative;
}
.vy-mpqr {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: var(--vy-qr, 168px);
  height: var(--vy-qr, 168px);
  background: #fffdfb;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: #0b2a4a;
  text-align: center;
}
.vy-mpqr img {
  display: block;
  width: 129px;
  height: 129px;
}
.vy-mpqr b {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.vy-mpqr small {
  display: none;
}
#site-chrome > footer .vy-mpqr {
  margin-top: 0.5rem;
}
/* 宽屏放在右侧，但与屏幕右边缘保持约 340px，避开右下角的助手按钮和提示气泡；窄屏排在联系方式下方 */
@media (min-width: 80rem) {
  #site-chrome > footer .vy-mpqr {
    position: absolute;
    top: var(--vy-qr-top, 3rem);
    right: max(2rem, calc(340px - (100vw - 72rem) / 2));
    margin-top: 0;
  }
}

/* 页脚联系行只保留“联系顾问 或 邮件我们”，知识库、隐私说明、助手按钮从这一行移走 */
#site-chrome > footer a[href="/knowledge"],
#site-chrome > footer a[href="/privacy"]:not(.vy-priv),
#site-chrome > footer button[data-restore-guide] {
  display: none;
}
#site-chrome > footer .vy-mail {
  color: rgba(247, 245, 241, 0.72);
}
@media (min-width: 40rem) {
  #site-chrome > footer .vy-mail {
    margin-left: -0.75rem;
  }
}
#site-chrome > footer .vy-sep {
  margin: 0 0.6rem;
}
#site-chrome > footer a.vy-priv {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Veyo 助手按钮：在深色区域时换成浅色 */
.guide-launcher {
  transition: background-color 0.25s, color 0.25s;
}
.guide-launcher.vy-on-dark {
  background-color: #f7f5f1;
  color: #0b2a4a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* 联系区的邮箱 */
.vy-contact-mail {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #3d556e;
}
.vy-contact-mail a {
  color: #146158;
  text-decoration: underline;
  text-underline-offset: 4px;
}
