@charset "utf-8";
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuDyYMZg.ttf) format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  background-color: #0f1118;
  color: #fff;
  overflow-x: hidden;
  font-size: 16px;
  width: 100%;
  min-width: 100%;
  max-width: 1440px;
}
.auto-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
button {
  cursor: pointer;
}
.gradient-text {
  background: linear-gradient(90deg, #646cff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-bg {
  background: linear-gradient(135deg, rgba(100, 108, 255, 0.1), rgba(168, 85, 247, 0.1));
}
.aiapi-banner {
  padding: 106px 0 20px;
  background-color: #f3f7fe;
  background-image: url(../../images/token/aiapi-banner-bg-new.webp);
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: 1920px 100%;
}
.aiapi-banner .brands-box {
  padding: 30px 0 40px;
}
.aiapi-banner .brands-box img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: 100%;
  max-height: 75px;
}
.aiapi-banner .grid-btn-col {
  font-size: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #646cff, #a855f7);
}
.aiapi-banner .grid-btn-col:hover {
  background: linear-gradient(90deg, #646cff, #a855f7);
  border-color: transparent;
}
.aiapi-banner .grid-btn-col span {
  color: #FFF100;
}
.aiapi-banner .grid-btn-col span:nth-child(2) {
  color: #FFFFFF;
  opacity: 0.7;
  font-size: 14px;
}
.aiapi-banner .grid-btn-col i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(135deg);
  margin-left: 6px;
}
.aiapi-banner .notice-box {
  margin: 0 auto;
  width: 100%;
  max-width: 780px;
  border-radius: 24px 24px 24px 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #101028;
  padding: 14px 24px 14px 60px;
  background-position: 24px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-image: url(../../images/token/laba.png);
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  cursor: pointer;
}
.aiapi-banner .notice-box span {
  color: #FFF100;
}
.aiapi-banner .notice-box span.red {
  color: #ef4444;
}
.aiapi-banner .notice-box i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(135deg);
  margin-left: 6px;
}
.token-nav-fixed {
  position: fixed;
  top: 200px;
  left: 5%;
  width: 120px;
  z-index: 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 8px 40px 0px rgba(14, 24, 113, 0.08);
}
.token-nav-fixed .token-nav-head {
  width: 120px;
  height: 48px;
  background: url(../../images/token/token-fixed.png) no-repeat center;
}
.token-nav-fixed .token-nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 48px;
  border-radius: 0 0 0 0;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  text-align: center;
  line-height: 48px;
  margin-bottom: 6px;
}
.token-nav-fixed .token-nav-list a:last-child {
  border-radius: 0 0 12px 12px;
}
.token-nav-fixed .token-nav-list a.active {
  color: #FFF;
  background: linear-gradient(90deg, rgba(100, 108, 255, 0.3), rgba(168, 85, 247, 0.3));
}
.token-nav-fixed .token-nav-list a.active span {
  background: linear-gradient(90deg, #646cff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card-hover {
  transition: all 0.4s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(100, 108, 255, 0.15), 0 10px 10px -5px rgba(100, 108, 255, 0.05);
}
.btn-primary {
  background: linear-gradient(90deg, #646cff, #a855f7);
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #535bf2, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(100, 108, 255, 0.3);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.price-card-highlight {
  border: 2px solid #646cff;
  transform: scale(1.03);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #646cff, #a855f7);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}
.feature-check {
  color: #10b981;
  margin-right: 8px;
}
.feature-cross {
  color: #ef4444;
  margin-right: 8px;
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 108, 255, 0.3), transparent);
  width: 80%;
  margin: 0 auto;
}
.model-price-tag {
  background: rgba(100, 108, 255, 0.15);
  color: #646cff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
/* 美化倒计时样式 */
.countdown-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  grid-gap: 10px;
  height: 60px;
}
.countdown-item {
  min-width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.countdown-number {
  font-size: 24px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}
.countdown-label {
  font-size: 16px;
  color: #fff;
  opacity: 0.8;
  margin-left: 6px;
}
.end-time {
  font-size: 14px;
  text-align: center;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.7;
}
.grid-gap-24 {
  grid-gap: 24px;
}
.model-api-tab,
.model-prices-tab {
  display: flex;
  justify-content: center;
  align-items: center;
}
.model-api-tab .tab-col,
.model-prices-tab .tab-col {
  cursor: pointer;
  min-width: 180px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: none;
  height: 52px;
  box-sizing: border-box;
  border-radius: 0;
  line-height: 50px;
  padding-top: 0;
  padding-bottom: 0;
  padding: 0;
}
.model-api-tab .tab-col:first-child,
.model-prices-tab .tab-col:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.model-api-tab .tab-col:last-child,
.model-prices-tab .tab-col:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.model-api-tab .tab-col.active,
.model-prices-tab .tab-col.active {
  background: linear-gradient(90deg, #646cff, #a855f7);
  border: none;
  line-height: 52px;
}
/* 统一图标样式 */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(100, 108, 255, 0.15);
}
.icon-box.img-box {
  width: 80px;
  height: 80px;
}
.icon-sm {
  font-size: 18px !important;
  color: #646cff;
}
.icon-md {
  font-size: 24px !important;
  color: #646cff;
}
.icon-lg {
  font-size: 32px !important;
  color: #646cff;
}
.icon-xl {
  font-size: 40px !important;
  color: #646cff;
}
/* 厂商Logo样式 */
.vendor-logo {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: contain;
}
.advantage-card {
  background: linear-gradient(135deg, rgba(100, 108, 255, 0.08), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(100, 108, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #646cff, #a855f7);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(100, 108, 255, 0.15), 0 10px 10px -5px rgba(100, 108, 255, 0.05);
  background: linear-gradient(135deg, rgba(100, 108, 255, 0.12), rgba(168, 85, 247, 0.12));
}
.advantage-card:hover::before {
  opacity: 1;
}
.advantage-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(100, 108, 255, 0.15);
}
.advantage-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #646cff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.1;
  position: absolute;
  top: -10px;
  right: 10px;
  pointer-events: none;
}
/* 统一成本对比说明框高度 */
.cost-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cost-card-content {
  flex: 1;
}
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin: 0 auto 64px;
  color: #000;
}
.section-title h2 {
  font-size: 40px;
  margin-bottom: 16px;
}
.section-title p {
  opacity: 0.7;
  font-size: 16px;
}
#contact .auto-container {
  position: relative;
  z-index: 10;
}
.contact-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact-grid-list > div {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.contact-grid-list > div:hover .qrcode-modal {
  display: block;
}
.contact-grid-list .qrcode-modal {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  width: 160px;
  height: 160px;
  border-radius: 8px 8px 8px 8px;
  background: #ffffff;
  padding: 10px;
  display: none;
}
.contact-grid-list .qrcode-modal::after {
  content: '';
  position: absolute;
  bottom: -18px;
  transform: translateX(-50%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid #ffffff;
}
.api-tab-content {
  min-height: 395px;
}
.api-tab-content .api-tab-content-row {
  display: none;
}
.api-tab-content .api-tab-content-row:first-child {
  display: block;
}
.api-tab-content .tab-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.api-tab-content .tab-panel.items-center {
  align-items: center;
}
.api-tab-content .tab-panel .content-left {
  flex-shrink: 0;
}
.api-tab-content .tab-panel .content-left dl {
  color: #ffffff;
  text-align: left;
  line-height: 48px;
}
.api-tab-content .tab-panel .content-left dl dt {
  font-weight: 700;
  font-size: 24px;
}
.api-tab-content .tab-panel .content-left dl dd {
  font-weight: 400;
  font-size: 16px;
}
.api-tab-content .tab-panel .content-left .tab-brands-img {
  width: 100%;
  max-width: 391px;
  height: 100%;
  max-height: 106px;
  display: block;
  margin-top: 64px;
}
.api-tab-content .tab-panel .content-left .step-list .step-item {
  display: flex;
  width: 352px;
  padding: 20px 16px;
  line-height: 24px;
  border-radius: 8px 8px 8px 8px;
  background: linear-gradient(90deg, rgba(100, 108, 255, 0.05), rgba(168, 85, 247, 0.05));
  margin-top: 24px;
  cursor: pointer;
}
.api-tab-content .tab-panel .content-left .step-list .step-item.selected {
  background: linear-gradient(90deg, rgba(100, 108, 255, 0.2), rgba(168, 85, 247, 0.2));
}
.api-tab-content .tab-panel .content-left .step-list .step-item.selected span {
  background: linear-gradient(90deg, #646cff, #a855f7);
}
.api-tab-content .tab-panel .content-left .step-list .step-item span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 12px 12px 12px 12px;
  background: linear-gradient(90deg, rgba(100, 108, 255, 0.2), rgba(168, 85, 247, 0.2));
  margin-right: 12px;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  line-height: 24px;
}
.api-tab-content .tab-panel .content-right {
  flex: 1 0;
}
.api-tab-content .tab-panel .content-right .code-box {
  display: block;
  margin-left: auto;
  width: 100%;
  max-width: 740px;
  height: 360px;
  overflow: auto;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #141027;
  background: rgba(100, 108, 255, 0.05);
  padding: 20px 40px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  line-height: 36px;
}
.api-tab-content .tab-panel .content-right .img-list img {
  width: 736px;
  height: 396px;
  display: none;
}
.api-tab-content .tab-panel .content-right .img-list img:first-child {
  display: block;
}
.token-key-list dl {
  text-align: center;
  color: #fff;
}
.token-key-list dl dt {
  font-weight: bold;
  font-size: 32px;
  line-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.token-key-list dl dd {
  font-size: 16px;
  margin-top: 14px;
  opacity: 0.8;
}
#apikey .btn-primary {
  background: linear-gradient(90deg, #646cff, #a855f7);
  border: none;
  transition: all 0.3s ease;
  height: 56px;
  font-weight: bold;
  font-size: 24px;
  border-radius: 28px;
}
@media (max-width: 768px) {
  section {
    padding: 40px 0 !important;
  }
  .auto-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .text-4xl {
    font-size: 1.8rem !important;
  }
  .text-3xl {
    font-size: 1.5rem !important;
  }
  .aiapi-banner {
    min-height: 520px;
    padding-top: 100px !important;
    padding-bottom: 0px !important;
  }
  .aiapi-banner .brands-box {
    padding: 20px 0 24px;
  }
  #contact button {
    width: 135px;
    text-align: center;
    font-size: 18px;
    height: 48px;
    padding: 0 12px;
  }
  .api-tab-content .tab-panel {
    justify-content: center;
    grid-gap: 24px;
  }
  .api-tab-content .tab-panel .content-left {
    max-width: 100%;
  }
  .api-tab-content .tab-panel .content-right {
    max-width: 100%;
  }
  .api-tab-content .tab-panel .content-right .img-list img {
    width: 100%;
    height: auto;
  }
}
