.token-page {
  --token-primary: #1f6aee;
  --token-primary-dark: #0d3d9e;
  --token-bg-dark: #0a1628;
  --token-bg-section: #f5f7fb;
  --token-text-muted: #6d7382;
  --token-radius: 12px;
  color: #1a1a2e;
}

.token-hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #0a1628 0%, #152a52 45%, #1a3a6e 100%);
  overflow: hidden;
  padding: 4rem 0 3rem;
  z-index: 1;
}

.token-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 70% 20%,
    rgba(31, 106, 238, 0.35),
    transparent 60%
  );
  pointer-events: none;
}

.token-hero-inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 1;
}

.token-hero-badge {
  display: inline-block;
  font-size: 14px;
  color: #a8c4ff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.token-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.token-hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.token-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.token-hero-actions .layui-btn {
  border-radius: 8px;
  padding: 0 28px;
  height: 44px;
  line-height: 44px;
}

.token-quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.token-quick-nav-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--token-radius);
  padding: 20px 16px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  text-decoration: none;
  display: block;
}

.token-quick-nav-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(31, 106, 238, 0.6);
  transform: translateY(-2px);
  color: #fff;
}

.token-quick-nav-item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.token-quick-nav-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.token-section {
  padding: 4rem 24px;
  max-width: 1500px;
  margin: 0 auto;
}

.token-section--gray {
  background: var(--token-bg-section);
  max-width: none;
}

.token-section--gray .token-section-inner {
  max-width: 1500px;
  margin: 0 auto;
}

.token-section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 2rem;
}

.token-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2rem;
}

.token-tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #dce3ef;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.token-tab:hover {
  border-color: var(--token-primary);
  color: var(--token-primary);
}

.token-tab.is-active {
  background: var(--token-primary);
  border-color: var(--token-primary);
  color: #fff;
}

.token-tab .token-tab-new {
  display: inline-block;
  font-size: 10px;
  background: #ff4d4f;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.token-featured {
  position: relative;
  margin-bottom: 2rem;
}

.token-featured-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.token-featured-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s,
    border-color 0.25s,
    transform 0.2s;
}

.token-featured-card:hover {
  box-shadow: 0 12px 32px rgba(31, 106, 238, 0.12);
  border-color: #c5d9ff;
  transform: translateY(-4px);
}

.token-featured-card-cover {
  position: relative;
  padding: 12px 12px 0;
  background: linear-gradient(180deg, #dce8ff 0%, #eef2fb 55%, #f5f7fb 100%);
  overflow: hidden;
  max-height: 400px;
}

.token-featured-card-cover--glm {
  background: linear-gradient(180deg, #e4e8ff 0%, #eef1fb 55%, #f5f7fb 100%);
}

.token-featured-card-cover--kimi {
  background: linear-gradient(180deg, #ddeef9 0%, #eef5fb 55%, #f5f7fb 100%);
}

.token-featured-card-cover .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  margin-bottom: 0;
}

.token-featured-card-cover .badge--hot {
  background: linear-gradient(90deg, #1f6aee, #4d8fff);
}

.token-featured-card-cover img,
.token-featured-card-cover video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 16px rgba(15, 36, 71, 0.08);
  vertical-align: top;
}

.token-featured-cover-actions {
  position: absolute;
  inset: 12px 12px 0;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(10, 22, 40, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}

.token-featured-card:hover .token-featured-cover-actions {
  opacity: 1;
}

.token-featured-card-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.token-featured-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.token-featured-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.token-featured-card-icon--ds {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.token-featured-card-icon--glm {
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.token-featured-card-icon--kimi {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.token-featured-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #1a1a2e;
  line-height: 1.3;
}

.token-featured-card-body p {
  font-size: 14px;
  line-height: 1.65;
  color: #6d7382;
  margin: 0 0 14px;
  min-height: 4.5em;
  flex: 1;
}

.token-featured-card-body .token-tags {
  margin-bottom: 0;
}

.token-featured-card .badge {
  display: inline-block;
  font-size: 12px;
  background: linear-gradient(90deg, #ff6b35, #ff4d4f);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
}

.token-featured-actions {
  display: flex;
  gap: 10px;
}

.token-featured-actions a,
.token-featured-actions button,
.token-featured-cover-actions a {
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
  box-sizing: border-box;
}

.token-featured-actions .btn-primary {
  background: var(--token-primary);
  color: #fff;
}

.token-featured-cover-actions .btn-primary {
  background: var(--token-primary);
  color: #fff;
  border: 1px solid var(--token-primary);
}

.token-featured-cover-actions .btn-primary:hover {
  background: #1858c7;
  border-color: #1858c7;
  color: #fff;
}

.token-featured-actions .btn-ghost,
.token-featured-cover-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.95);
  color: var(--token-primary);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.token-featured-cover-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.token-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.token-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f0f2f5;
  color: #6d7382;
}

/* .token-featured-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.token-featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5cdd8;
  border: none;
  cursor: pointer;
  padding: 0;
}

.token-featured-dot.is-active {
  background: var(--token-primary);
  width: 24px;
  border-radius: 4px;
} */

.token-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.token-model-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    border-color 0.25s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}

.token-model-card:hover {
  box-shadow: 0 12px 32px rgba(31, 106, 238, 0.12);
  border-color: #c5d9ff;
  transform: translateY(-4px);
}

.token-model-card.is-hidden {
  display: none;
}

.token-model-card-cover {
  position: relative;
  padding: 12px 12px 0;
  background: linear-gradient(180deg, #dce8ff 0%, #eef2fb 55%, #f5f7fb 100%);
}

.token-model-card-cover img,
.token-model-card-cover video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 16px rgba(15, 36, 71, 0.08);
}

.token-model-cover-actions {
  position: absolute;
  inset: 12px 12px 0;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(10, 22, 40, 0.45);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}

.token-model-card:hover .token-model-cover-actions {
  opacity: 1;
}

.token-model-cover-actions a {
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
  box-sizing: border-box;
}

.token-model-cover-actions .btn-primary {
  background: var(--token-primary);
  color: #fff;
}

.token-model-cover-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.token-model-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.token-model-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.token-model-card-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.token-model-card-head h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #1a1a2e;
  line-height: 1.3;
}

.token-model-card .desc {
  font-size: 14px;
  color: var(--token-text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 12px;
  min-height: 3.2em;
}

.token-model-card-body .token-tags {
  margin-bottom: 0;
}

.token-scenario-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.token-scenario-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.token-scenario-nav-item {
  text-align: left;
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
  color: #333;
  transition:
    background 0.2s,
    color 0.2s;
}

.token-scenario-nav-item.is-active {
  background: var(--token-primary);
  color: #fff;
}

.token-scenario-panel {
  display: none;
  background: #fff;
  border-radius: var(--token-radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.token-scenario-panel.is-active {
  display: block;
}

.token-scenario-panel h3 {
  font-size: 22px;
  margin: 0 0 12px;
}

.token-scenario-panel .intro {
  color: var(--token-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.token-scenario-panel ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.token-scenario-panel ul li {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
  padding-left: 1em;
  text-indent: -1em;
}

.token-scenario-panel ul li::before {
  content: "• ";
  color: var(--token-primary);
}

.token-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.token-recommend-card {
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  padding: 18px;
  background: #fafbfd;
}

.token-recommend-card .flag {
  font-size: 11px;
  color: #ff4d4f;
  margin-bottom: 6px;
}

.token-recommend-card h5 {
  font-size: 16px;
  margin: 0 0 8px;
}

.token-recommend-card p {
  font-size: 13px;
  color: var(--token-text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
}

.token-price {
  font-size: 13px;
  color: #333;
  margin-bottom: 12px;
}

.token-price span {
  color: var(--token-primary);
  font-weight: 600;
}

.token-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.token-advantage-item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--token-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.token-advantage-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dee7ff, #edf3fc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--token-primary);
}

.token-advantage-item h4 {
  font-size: 18px;
  margin: 0 0 10px;
}

.token-advantage-item p {
  font-size: 14px;
  color: var(--token-text-muted);
  line-height: 1.6;
  margin: 0;
}
.token-advantage-grid4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 50px;
}
.token-advantage-item--video {
  /* grid-column: 1 / -1; */
  position: relative;
  text-align: left;
  padding: 0;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dce3ef;
  box-shadow: 0 2px 16px rgba(15, 36, 71, 0.06);
}

.token-advantage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.token-advantage-video-content {
  position: relative;
  z-index: 1;
  padding: 22px 22px 24px;
  max-width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.78) 55%,
    rgba(255, 255, 255, 0.35) 85%,
    transparent 100%
  );
}

.token-advantage-video-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1a1a2e;
  line-height: 1.35;
}

.token-advantage-video-content p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}

.token-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.token-security-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--token-radius);
  border-left: 4px solid var(--token-primary);
}

.token-security-item h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.token-security-item p {
  margin: 0;
  font-size: 14px;
  color: var(--token-text-muted);
  line-height: 1.65;
}

.token-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.token-resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border-radius: var(--token-radius);
  border: 1px solid #e8ecf2;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.token-resource-card:hover {
  border-color: var(--token-primary);
  color: inherit;
}

.token-resource-card h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.token-resource-card p {
  margin: 0;
  font-size: 14px;
  color: var(--token-text-muted);
}

@media (max-width: 992px) {
  .token-quick-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .token-featured-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .token-featured-cover-actions {
    opacity: 1;
    align-items: flex-end;
    padding-bottom: 16px;
    background: linear-gradient(
      to top,
      rgba(10, 22, 40, 0.55),
      transparent 70%
    );
  }
  .token-model-cover-actions {
    opacity: 1;
    align-items: flex-end;
    padding-bottom: 16px;
    background: linear-gradient(
      to top,
      rgba(10, 22, 40, 0.55),
      transparent 70%
    );
  }
  .token-model-grid,
  .token-recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .token-advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-advantage-item--video {
    grid-column: 1 / -1;
  }
  .token-scenario-wrap {
    grid-template-columns: 1fr;
  }
  .token-scenario-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .token-featured-card-body p {
    min-height: auto;
  }
  .token-model-card .desc {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .token-featured-track {
    grid-template-columns: 1fr;
  }
  .token-model-grid,
  .token-recommend-grid,
  .token-advantage-grid,
  .token-security-grid,
  .token-resources {
    grid-template-columns: 1fr;
  }
  .token-quick-nav {
    grid-template-columns: 1fr;
  }
}
