/* 官网公共头尾 + 移动端菜单（不依赖页面内联 Tailwind） */
:root {
  --shell-brand: #5148ff;
  --shell-text: rgba(0, 0, 0, 0.8);
  --shell-bg: rgba(246, 248, 253, 0.92);
  --shell-footer-bg: #0d1418;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: none;
  background: transparent;
  pointer-events: none;
}

.site-header__wrap {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 1800px;
  padding: 0 12px;
  transition: max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 8px;
  transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .site-header__wrap {
  max-width: 1000px;
  padding: 12px 12px 0;
}

.site-header.is-scrolled .site-header__bar {
  height: 48px;
  padding: 0 6px 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 16px -6px rgba(0, 0, 0, 0.08), 0 0 0 0.5px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.site-header__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: #111827;
}

.site-header__mark {
  display: block;
  width: 26px;
  height: 26px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
}

.site-header__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #111827;
}

.site-header__phone {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-header__phone:hover {
  color: #111827;
}

.site-header__right {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  height: auto;
}

.site-header__nav a {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__nav a.is-active,
.site-header__nav a:hover {
  color: #111827;
}

.site-header__divider {
  display: block;
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: rgba(15, 23, 42, 0.12);
}

.site-header__login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 0;
  padding: 0 14px;
  margin-left: 4px;
  border-radius: 999px;
  background: #111827;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500 !important;
  text-decoration: none;
}

.site-header__mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-header__console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--shell-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d9dde6;
  background: rgba(255, 255, 255, 0.85);
  color: #1f2430;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* 移动菜单：顶部全宽下拉弹层 */
.site-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.site-mobile-nav.is-open {
  display: block;
}

.site-mobile-nav__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.site-mobile-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  max-height: 90vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 20px 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.site-mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
  background: linear-gradient(180deg, rgba(246, 248, 253, 0.98) 0%, #fff 100%);
}

.site-mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.site-mobile-nav__brand .site-header__mark {
  width: 30px;
  height: 30px;
}

.site-mobile-nav__brand .site-header__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-mobile-nav__brand .site-header__name {
  font-size: 15px;
}

.site-mobile-nav__brand .site-header__phone {
  font-size: 12px;
}

.site-mobile-nav__partner {
  flex-shrink: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-mobile-nav__top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-mobile-nav__console {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--shell-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(81, 72, 255, 0.45);
  background: #fff;
  color: var(--shell-brand);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.site-mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 8px;
}

.site-mobile-nav__links a {
  display: block;
  padding: 14px 4px;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.site-mobile-nav__links a.is-active {
  color: var(--shell-brand);
}

.site-mobile-nav__cta {
  margin-top: 12px;
  padding: 8px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-mobile-nav__cta .site-btn--outline,
.site-mobile-nav__cta .site-btn--solid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(81, 72, 255, 0.15);
}

.site-mobile-nav__cta .site-btn--outline {
  border: 1px solid #d9dde6;
  background: #fff;
  color: #070707;
}

.site-mobile-nav__cta .site-btn--solid,
.site-mobile-nav__cta .site-btn--solid.is-authed {
  width: 100%;
  max-width: none !important;
  overflow: visible;
  text-overflow: unset;
  background: var(--shell-brand);
  color: #fff;
  font-weight: 500;
}

.site-mobile-nav__tel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

body.site-menu-open {
  overflow: hidden;
}

/* 合作伙伴滚动墙 */
.site-partners {
  overflow: hidden;
  background: #0a0b0d;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.site-partners__viewport {
  overflow: hidden;
  margin-bottom: 0;
}

.site-partners__viewport:last-child {
  margin-bottom: 0;
}

.site-partners__track {
  display: flex;
  width: max-content;
  animation: site-logo-marquee 28s linear infinite;
}

.site-partners__track.is-reverse {
  animation-direction: reverse;
}

.site-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  min-width: 152px;
  padding: 0 16px;
  flex-shrink: 0;
}

.site-partners__item img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.95;
}

@keyframes site-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 640px) {
  .site-partners {
    padding: 36px 0;
    gap: 24px;
  }

  .site-partners__item {
    height: 58px;
    min-width: 180px;
  }

  .site-partners__item img {
    max-height: 52px;
    max-width: 145px;
  }
}

@media (min-width: 1024px) {
  .site-partners {
    padding: 40px 0;
    gap: 27px;
  }

  .site-partners__item {
    height: 62px;
    min-width: 208px;
    padding: 0 22px;
  }

  .site-partners__item img {
    max-height: 56px;
    max-width: 163px;
  }
}

/* 页脚（对齐官网初始版布局） */
.site-footer {
  overflow: hidden;
  background: var(--shell-footer-bg);
  color: #fff;
}

.site-footer__inner {
  margin: 0 auto;
  max-width: 1920px;
}

.site-footer__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 16px;
  overflow: hidden;
}

.site-footer__cta-bg {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1980px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.85;
}

.site-footer__cta-copy,
.site-footer__cta-actions {
  position: relative;
  z-index: 1;
}

.site-footer__cta-copy {
  max-width: 620px;
}

.site-footer__cta h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer__cta h2 span:last-child {
  background: linear-gradient(272deg, #4c98ff 0%, #bf40ff 35%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.site-footer__cta p {
  margin: 12px 0 0;
  max-width: 580px;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__doc,
.site-footer__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 8px;
  transition: opacity 0.3s, color 0.3s, border-color 0.3s;
}

.site-footer__doc {
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.site-footer__doc:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__primary {
  gap: 12px;
  background: linear-gradient(273deg, #d380e5 0%, #7b63ff 48%, #186cfd 95%);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(125, 153, 223, 0.3);
}

.site-footer__primary:hover {
  opacity: 0.9;
}

.site-footer__main {
  border-top: 1px solid #0f1622;
  display: grid;
  gap: 40px;
  padding: 40px 16px 0;
}

.site-footer__brand > img {
  display: block;
  width: 130px;
  height: auto;
  margin-bottom: 24px;
}

.site-footer__contact p {
  margin: 0 0 10px;
  color: #848b8c;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__qr {
  display: none;
  margin-top: 32px;
  gap: 56px;
}

.site-footer__qr p {
  margin: 0 0 16px;
  color: #848b8c;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__qr-box {
  position: relative;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 20px rgba(78, 122, 255, 0.18);
}

.site-footer__qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.site-footer__cols h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
}

.site-footer__cols a {
  display: block;
  margin-bottom: 12px;
  color: #848b8c;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.3s;
}

.site-footer__cols a:hover {
  color: #fff;
}

.site-footer__beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px 32px;
  color: #6f767e;
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__beian img {
  width: 14px;
  height: 14px;
}

.site-footer__beian a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer__beian a:hover {
  color: #fff;
}

@media (min-width: 640px) {
  .site-footer__cta {
    padding: 56px 24px;
  }

  .site-footer__cta h2 {
    font-size: 40px;
  }

  .site-footer__cta p {
    margin-top: 16px;
    font-size: 16px;
  }

  .site-footer__cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-footer__doc,
  .site-footer__primary {
    height: 48px;
    padding: 0 20px;
  }

  .site-footer__cta-bg {
    display: block;
  }

  .site-footer__qr {
    display: flex;
  }

  .site-footer__main {
    padding: 48px 24px 0;
  }

  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__beian {
    margin-top: 40px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .site-header__wrap {
    padding: 0 32px;
  }

  .site-header.is-scrolled .site-header__wrap {
    padding: 12px 32px 0;
  }

  .site-header__right {
    display: flex;
  }

  .site-header__mobile {
    display: none;
  }

  .site-mobile-nav {
    display: none !important;
  }

  .site-footer__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 32px;
  }

  .site-footer__cta h2 {
    font-size: 48px;
    line-height: 56px;
  }

  .site-footer__cta-actions {
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 32px 0;
  }

  .site-footer__cols h3 {
    margin-bottom: 35px;
    font-size: 16px;
  }

  .site-footer__cols a {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .site-footer__beian {
    max-width: 1280px;
    margin: 44px auto 0;
    padding: 18px 32px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (min-width: 1920px) {
  .site-footer__cta {
    height: 276px;
    max-width: none;
    margin: 0;
    padding: 0 365px;
  }

  .site-footer__cta-bg {
    top: 0;
    height: 276px;
    width: 1980px;
    object-fit: cover;
    transform: translateX(-50%);
    opacity: 1;
  }

  .site-footer__cta-copy {
    width: 587px;
  }

  .site-footer__cta-actions {
    width: 393px;
    justify-content: space-between;
  }

  .site-footer__doc {
    width: 166px;
    border: 0;
    padding: 0;
  }

  .site-footer__primary {
    width: 215px;
  }

  .site-footer__main {
    max-width: none;
    padding: 80px 365px 0;
  }

  .site-footer__beian {
    max-width: none;
    margin-left: 365px;
    margin-right: 365px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* 已登录：顶栏短按钮可省略，底部全宽按钮不受限 */
.site-header__login.is-authed,
.site-header__console.is-authed,
.site-mobile-nav__console.is-authed {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 首页热门模型（真实定价卡片） ---------- */
.home-model-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e8ebf2;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 34, 58, 0.04);
}

.home-model-card__banner {
  position: relative;
  height: 112px;
  overflow: hidden;
  background: #eef1f8;
}

.home-model-card__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.home-model-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 18px;
}

.home-model-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.home-model-card__title-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.home-model-card__icon,
.home-model-card__icon-fallback,
.home-model-card__icon-brand {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: cover;
}

.home-model-card__icon-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.home-model-card__icon-brand svg {
  width: 22px;
  height: 22px;
  display: block;
}

.home-model-card__icon-minimax {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.home-model-card__icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0ff;
  color: #5148ff;
  font-size: 13px;
  font-weight: 700;
}

.home-model-card__name {
  margin: 0;
  overflow: hidden;
  color: #1a1d26;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-model-card__badge {
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #f3301a 0%, #f3911a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  padding: 5px 8px;
}

.home-model-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-model-card__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  border-radius: 5px;
  background: #f1f2f4;
  color: #667184;
  font-size: 12px;
  line-height: 1;
  padding: 0 8px;
}

.home-model-card__desc {
  margin: 0;
  min-height: 40px;
  color: #7b8698;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-model-card__prices {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.home-model-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.home-model-card__price-label {
  color: #8d96a5;
  font-size: 13px;
}

.home-model-card__price-vals {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.home-model-card__price-vals s {
  color: #a0a8b5;
  font-size: 13px;
  text-decoration-thickness: 1px;
}

.home-model-card__price-vals strong {
  color: #1a1d26;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-model-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: #1d1d1f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.home-model-card__cta svg {
  color: #b7d1ff;
  flex-shrink: 0;
}

.home-model-card__cta span {
  background: linear-gradient(90deg, #b7d1ff 0%, #fef1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-model-card__cta:hover {
  background: #2b2b2d;
}

.home-pricing-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.home-pricing-drawer.is-open {
  display: block;
}

.home-pricing-drawer__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

@media (min-width: 1024px) {
  .home-model-card__banner {
    height: 128px;
  }

  .home-model-card__body {
    padding: 18px 20px 20px;
  }
}
