/**
 * TokensForce 官网公共自定义样式
 * 所有营销页面统一引用。
 */

.max-w-container-max {
  max-width: 1480px !important;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 24px -1px rgba(0, 56, 168, 0.08);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.hero-gradient {
  background: radial-gradient(circle at 50% 50%, #f8f9ff 0%, #eff4ff 100%);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.leading-hero {
  background: linear-gradient(98deg, #0050d6 0%, #122b6f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 博客文章排版（prose 风格，适配纯静态页） */
.article-body h2 {
  font-size: 1.5rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #0b1c30;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-body h3 {
  font-size: 1.25rem;
  line-height: 1.875rem;
  font-weight: 600;
  color: #0b1c30;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: #434654;
  margin-bottom: 1rem;
}
.article-body ul,
.article-body ol {
  font-size: 1rem;
  line-height: 1.8;
  color: #434654;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body strong {
  color: #0b1c30;
  font-weight: 600;
}
.article-body code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  background: #e5eeff;
  color: #003da6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
.article-body pre {
  background: #0b1c30;
  color: #eaf1ff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}
.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.article-body blockquote {
  border-left: 4px solid #003da6;
  padding-left: 1rem;
  color: #434654;
  font-style: italic;
  margin: 1.25rem 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.article-body th {
  background: #eff4ff;
  color: #0b1c30;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem;
  border: 1px solid #c3c6d7;
}
.article-body td {
  padding: 0.75rem;
  border: 1px solid #c3c6d7;
  color: #434654;
}
.article-body a {
  color: #003da6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: #0056c6;
}

/* 导航下拉菜单 */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
