/* roulang page: index */
:root{
  --bg-base:#0E1116;
  --bg-card:#141922;
  --bg-float:rgba(255,255,255,0.05);
  --grad-brand:linear-gradient(135deg,#8B5CF6 0%,#EC4899 50%,#F97316 100%);
  --grad-data:linear-gradient(135deg,#22D3EE 0%,#2DD4BF 100%);
  --text-primary:#F8FAFC;
  --text-secondary:#94A3B8;
  --text-muted:#64748B;
  --success:#2DD4BF;
  --warning:#F59E0B;
  --star:#FBBF24;
  --radius-card:1rem;
  --radius-lg:1.5rem;
  --container:80rem;
}
html{scroll-behavior:smooth}
body{
  background:var(--bg-base);
  color:var(--text-primary);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.8;
}
.container-box{
  max-width:var(--container);
  margin:0 auto;
  padding-left:1rem;
  padding-right:1rem;
}
@media(min-width:640px){
  .container-box{padding-left:1.5rem;padding-right:1.5rem}
}
@media(min-width:1024px){
  .container-box{padding-left:2rem;padding-right:2rem}
}
.text-gradient{
  background:var(--grad-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.text-gradient-data{
  background:var(--grad-data);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.logo-icon{
  background:linear-gradient(135deg,#8B5CF6,#EC4899,#F97316);
}
.card-base{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:1rem;
  transition:all .3s ease;
}
.card-base:hover{
  border-color:rgba(232,121,249,0.4);
  box-shadow:0 8px 30px -6px rgba(217,70,239,0.25);
  transform:translateY(-2px);
}
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  background:var(--grad-brand);
  color:#fff;
  font-weight:700;
  padding:.75rem 1.75rem;
  box-shadow:0 8px 30px -6px rgba(249,115,22,0.4);
  transition:all .25s ease;
}
.btn-primary:hover{filter:brightness(1.1)}
.btn-primary:active{transform:scale(.97)}
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  border:1px solid rgba(255,255,255,0.2);
  color:#E2E8F0;
  padding:.75rem 1.75rem;
  font-weight:500;
  transition:all .25s ease;
}
.btn-outline:hover{
  border-color:#FB923C;
  color:#FDBA74;
}
.btn-outline:active{transform:scale(.97)}
.chip{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border-radius:9999px;
  background:rgba(255,255,255,0.1);
  padding:.25rem .75rem;
  font-size:.75rem;
  color:#CBD5E1;
}
.line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}
.hero-bg{
  background-image:url('/assets/images/backpic/back-1.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14,17,22,0.82) 0%,rgba(14,17,22,0.92) 100%);
}
.nav-wrap{
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:1rem;
}
.nav-card{
  border-radius:.75rem;
  padding:.5rem .9rem;
  font-size:.875rem;
  color:#E2E8F0;
  transition:all .2s ease;
  background:rgba(255,255,255,0.05);
}
.nav-card:hover{
  background:rgba(255,255,255,0.12);
}
.nav-card.active{
  background:linear-gradient(135deg,#7C3AED,#D946EF);
  color:#fff;
  font-weight:700;
}
.input-round{
  border-radius:9999px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  padding:.75rem 1.25rem;
  color:#fff;
  width:100%;
  transition:all .25s ease;
}
.input-round::placeholder{color:#64748B}
.input-round:focus{
  outline:none;
  border-color:transparent;
  box-shadow:0 0 0 3px rgba(217,70,239,0.5);
}
.faq-item{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:1rem;
  padding:1.25rem 1.5rem;
  cursor:pointer;
  transition:all .3s ease;
}
.faq-item:hover{border-color:rgba(232,121,249,0.3)}
.faq-item.open{border-color:rgba(232,121,249,0.4)}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
  color:var(--text-secondary);
  font-size:.875rem;
  line-height:1.8;
}
.faq-item.open .faq-answer{max-height:320px;padding-top:.75rem}
.faq-icon{transition:transform .3s ease}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.mobile-menu{
  display:none;
  background:#141922;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:1rem;
  padding:.75rem;
}
.mobile-menu.open{display:block}
.footer-link{color:#94A3B8;transition:color .2s ease;font-size:.875rem}
.footer-link:hover{color:#fff}
.hero-glow{
  position:absolute;
  width:400px;
  height:400px;
  border-radius:50%;
  filter:blur(80px);
  pointer-events:none;
  opacity:.5;
}
@media(max-width:768px){
  .desktop-nav{display:none}
  .hamburger-btn{display:inline-flex}
}
@media(min-width:769px){
  .hamburger-btn{display:none}
  .mobile-menu{display:none !important}
}
.badge-number{
  background:var(--grad-data);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
  font-size:1.25rem;
}
.view-all{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  color:#94A3B8;
  font-size:.875rem;
  transition:color .2s ease;
}
.view-all:hover{color:#F472B6}
.view-all:hover svg{transform:translateX(3px)}
.view-all svg{transition:transform .2s ease}
.empty-state{
  border:1px dashed rgba(255,255,255,0.2);
  border-radius:1rem;
  padding:3rem 1rem;
  text-align:center;
  color:#64748B;
}

/* roulang page: article */
:root {
  --bg-base: #0E1116;
  --bg-card: #141922;
  --bg-float: rgba(255, 255, 255, 0.05);
  --grad-brand: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --grad-data: linear-gradient(135deg, #22D3EE 0%, #2DD4BF 100%);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --success: #2DD4BF;
  --star: #FBBF24;
  --radius-card: 1rem;
  --radius-lg: 1.5rem;
  --container: 80rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input {
  font-family: inherit;
}

.container-box {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-box {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-box {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 卡片化导航 */
.nav-wrap {
  background: var(--bg-float);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.logo-icon {
  background: linear-gradient(135deg, #8B5CF6, #EC4899, #F97316);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.nav-card {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-card:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-card.active {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #fff;
  font-weight: 700;
}

.nav-card:active {
  transform: scale(0.97);
}

.mobile-menu {
  display: none;
  background: #141922;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.75rem;
}

.mobile-menu.open {
  display: block;
}

/* 页脚 */
.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

/* 文章正文排版 */
.article-content {
  font-size: 1rem;
  line-height: 1.9;
  color: #94A3B8;
}

@media (min-width: 768px) {
  .article-content {
    font-size: 1.0625rem;
    line-height: 2;
  }
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid transparent;
  border-image: linear-gradient(135deg, #8B5CF6, #EC4899, #F97316) 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.article-content img {
  border-radius: 1rem;
  margin: 1.5rem 0;
  width: 100%;
  object-fit: cover;
}

.article-content a {
  color: #e879f9;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: #f0abfc;
}

.article-content code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.875em;
  color: #fbbf24;
}

.article-content pre {
  background: #0a0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.article-content pre code {
  background: transparent;
  color: #e2e8f0;
  padding: 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.article-content th,
.article-content td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.625rem 0.875rem;
  text-align: left;
}

.article-content th {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: #F8FAFC;
}

/* 阅读相关卡片 */
.related-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.related-card:hover {
  border-color: rgba(232, 121, 249, 0.4);
  box-shadow: 0 8px 30px -6px rgba(217, 70, 239, 0.25);
  transform: translateY(-2px);
}

/* 焦点可访问性 */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.6);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }
}

/* roulang page: category1 */
:root {
    --bg-base: #0E1116;
    --bg-card: #141922;
    --bg-float: rgba(255,255,255,0.05);
    --grad-brand: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
    --grad-data: linear-gradient(135deg, #22D3EE 0%, #2DD4BF 100%);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --success: #2DD4BF;
    --warning: #F59E0B;
    --star: #FBBF24;
    --radius-card: 1rem;
    --radius-lg: 1.5rem;
    --container: 80rem;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
  }

  img {
    display: block;
    max-width: 100%;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid #E879F9;
    outline-offset: 2px;
    border-radius: 0.5rem;
  }

  .container-box {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  @media (min-width: 640px) {
    .container-box {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .container-box {
      padding-left: 2rem;
      padding-right: 2rem;
    }
  }

  /* ===== 导航 ===== */
  .nav-wrap {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
  }

  .logo-icon {
    background: linear-gradient(135deg, #8B5CF6, #EC4899, #F97316);
  }

  .nav-card {
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: #e2e8f0;
    transition: all 0.2s ease;
    display: block;
    white-space: nowrap;
  }

  .nav-card:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
  }

  .nav-card.active {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: #fff;
    font-weight: 700;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  @media (min-width: 768px) {
    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 0.375rem;
    }
    .hamburger-btn {
      display: none;
    }
  }

  .mobile-menu {
    display: none;
    background: #141922;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 0.75rem;
  }

  .mobile-menu.open {
    display: block;
  }

  /* ===== Hero ===== */
  .page-hero {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
  }

  @media (min-width: 768px) {
    .page-hero {
      padding: 4rem 0;
    }
  }

  .page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(139,92,246,0.25), transparent);
    z-index: 0;
    pointer-events: none;
  }

  .page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(236,72,153,0.2), transparent);
    z-index: 0;
    pointer-events: none;
  }

  .page-hero .container-box {
    position: relative;
    z-index: 1;
  }

  .data-badge-number {
    background: linear-gradient(135deg, #22D3EE, #2DD4BF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
  }

  /* ===== 卡片 ===== */
  .info-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .info-card:hover {
    border-color: rgba(232,121,249,0.4);
    box-shadow: 0 8px 30px -6px rgba(217,70,239,0.25);
    transform: translateY(-4px);
  }

  .info-card .card-img {
    overflow: hidden;
  }

  .info-card .card-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .info-card:hover .card-img img {
    transform: scale(1.05);
  }

  /* ===== 长文区 ===== */
  .toc-list {
    position: static;
    top: auto;
  }

  @media (min-width: 1024px) {
    .toc-list {
      position: sticky;
      top: 100px;
    }
  }

  .toc-item {
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    color: #94A3B8;
    transition: all 0.2s ease;
  }

  .toc-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
  }

  .toc-item.active {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: #fff;
    font-weight: 600;
  }

  /* ===== FAQ ===== */
  .faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .faq-item:hover {
    border-color: rgba(232,121,249,0.3);
  }

  .faq-icon {
    transition: transform 0.3s ease;
  }

  .faq-item.open .faq-icon {
    transform: rotate(45deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-item.open .faq-answer {
    max-height: 300px;
  }

  /* ===== CTA ===== */
  .cta-section {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* ===== 页脚 ===== */
  .footer-link {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: color 0.2s;
  }

  .footer-link:hover {
    color: #fff;
  }

  /* ===== 滚动隐藏 ===== */
  .scroll-hide::-webkit-scrollbar {
    display: none;
  }

  .scroll-hide {
    scrollbar-width: none;
  }

/* roulang page: category2 */
:root {
  --bg-base: #0E1116;
  --bg-card: #141922;
  --bg-float: rgba(255,255,255,0.05);
  --grad-brand: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --grad-data: linear-gradient(135deg, #22D3EE 0%, #2DD4BF 100%);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --success: #2DD4BF;
  --warning: #F59E0B;
  --star: #FBBF24;
  --radius-card: 1rem;
  --radius-lg: 1.5rem;
  --container: 80rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input, textarea {
  font-family: inherit;
  outline: none;
}
ul, ol {
  list-style: none;
}
.container-box {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-box {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-box {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.nav-wrap {
  background: var(--bg-float);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.logo-icon {
  background: linear-gradient(135deg, #7C3AED, #F97316);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.nav-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: #E2E8F0;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-card:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-card.active {
  background: linear-gradient(135deg, #7C3AED, #D946EF);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px -6px rgba(217, 70, 239, 0.5);
}
.hamburger-btn {
  display: inline-flex;
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.75rem;
  animation: menuFade 0.25s ease;
}
@keyframes menuFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  .hamburger-btn {
    display: none;
  }
}
@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
  }
}
.footer-link {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.hero-bg {
  background-image: linear-gradient(rgba(14, 17, 22, 0.88), rgba(14, 17, 22, 0.94)), url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
}
.radial-glow-1 {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 60%);
}
.radial-glow-2 {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 60%);
}
.gradient-text {
  background: var(--grad-data);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-brand {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #7C3AED, #D946EF, #F97316);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 8px 30px -6px rgba(249, 115, 22, 0.35);
  transition: all 0.25s ease;
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 34px -6px rgba(217, 70, 239, 0.45);
}
.btn-primary:active {
  transform: scale(0.97);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: all 0.25s ease;
}
.btn-outline:hover {
  border-color: #FB923C;
  color: #FDBA74;
}
.btn-outline:active {
  transform: scale(0.97);
}
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.35s ease;
}
.feature-card:hover {
  border-color: rgba(232, 121, 249, 0.4);
  box-shadow: 0 8px 30px -6px rgba(217, 70, 239, 0.22);
  transform: translateY(-3px);
}
.feature-card .img-wrap {
  overflow: hidden;
}
.feature-card .img-wrap img {
  transition: transform 0.5s ease;
}
.feature-card:hover .img-wrap img {
  transform: scale(1.05);
}
.chip-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.anchor-card {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.anchor-card:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.anchor-card.active {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
}
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(217, 70, 239, 0.3);
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-current {
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #F1F5F9;
  line-height: 1.4;
}
.content-block h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #E2E8F0;
}
.content-block p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .content-block h2 {
    font-size: 1.75rem;
  }
  .content-block p {
    font-size: 1rem;
  }
}
.cta-input {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 1.25rem;
  color: #fff;
  height: 3rem;
  font-size: 0.875rem;
  width: 100%;
  transition: all 0.25s ease;
}
.cta-input::placeholder {
  color: #64748B;
}
.cta-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(217, 70, 239, 0.6);
}
.copy-btn-copied {
  background: linear-gradient(135deg, #22D3EE, #2DD4BF) !important;
  color: #0E1116 !important;
}
.section-pad {
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .section-pad {
    padding: 5rem 0;
  }
}
.divider {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.focus-ring:focus-visible {
  outline: 2px solid rgba(217, 70, 239, 0.7);
  outline-offset: 3px;
  border-radius: 0.5rem;
}
@media (max-width: 520px) {
  .hero-h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }
  .stat-box {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }
  .cta-wrap {
    flex-direction: column;
  }
  .cta-wrap .btn-primary,
  .cta-wrap .btn-outline {
    width: 100%;
  }
}
