/* roulang page: index */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-card-hover: #232a3d;
    --neon-cyan: #00e5ff;
    --neon-purple: #a855f7;
    --neon-amber: #f59e0b;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-neon: rgba(0, 229, 255, 0.3);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.45);
    --shadow-neon: 0 0 40px rgba(0, 229, 255, 0.12);
    --transition: 0.3s ease;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
  }

  img {
    max-width: 100%;
    display: block;
  }

  button {
    cursor: pointer;
    font-family: inherit;
  }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===== 头部导航 ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  }

  .site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    position: relative;
  }

  .logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  }

  .logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #0a0e17;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    flex-shrink: 0;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all var(--transition);
  }

  .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
  }

  .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(168, 85, 247, 0.15));
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1), inset 0 0 20px rgba(0, 229, 255, 0.05);
  }

  .nav-link.active::before {
    content: '●';
    font-size: 0.55rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
  }

  .btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0a0e17;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    transition: all var(--transition);
    border: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  }

  .btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.4);
  }

  /* ===== Hero 首屏 ===== */
  .hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
      linear-gradient(180deg, rgba(10, 14, 23, 0.82) 0%, rgba(10, 14, 23, 0.92) 100%),
      url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 60%);
    pointer-events: none;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 60%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    max-width: 860px;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--neon-cyan);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
  }

  .hero-tag i {
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 20%, #b3f5ff 60%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.8;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #0a0e17;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    transition: all var(--transition);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
    border: none;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 229, 255, 0.4);
  }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition);
  }

  .btn-ghost:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
    background: rgba(0, 229, 255, 0.05);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 460px;
  }

  .hero-stat {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
  }

  .hero-stat:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
  }

  .hero-stat .num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--neon-cyan);
  }

  .hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
  }

  /* ===== 板块通用 ===== */
  .section {
    padding: 96px 0;
  }

  .section-alt {
    background: var(--bg-secondary);
  }

  .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
  }

  .section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
  }

  /* ===== 特性卡片 ===== */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity var(--transition);
  }

  .feature-card:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
    transform: translateY(-6px);
  }

  .feature-card:hover::before {
    opacity: 1;
  }

  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--neon-cyan);
  }

  .feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* ===== 分类入口 ===== */
  .category-showcase {
    background:
      linear-gradient(135deg, rgba(10, 14, 23, 0.94), rgba(17, 24, 39, 0.96)),
      url('/assets/images/backpic/back-2.png') center/cover fixed no-repeat;
    padding: 96px 0;
    position: relative;
  }

  .category-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    background: rgba(26, 31, 46, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .category-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .category-content .cat-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-amber);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    margin-bottom: 20px;
  }

  .category-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
  }

  .category-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
  }

  .category-image {
    position: relative;
    min-height: 320px;
  }

  .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .category-card:hover .category-image img {
    transform: scale(1.04);
  }

  .category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 31, 46, 0.6), transparent 50%);
  }

  /* ===== 最新资讯 ===== */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .news-card {
    display: flex;
    gap: 20px;
    padding: 26px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
  }

  .news-card:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px);
  }

  .news-thumb {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--border-subtle);
  }

  .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-body {
    flex: 1;
    min-width: 0;
  }

  .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }

  .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
  }

  .news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .news-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text-primary);
  }

  .news-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .empty-tip {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    font-size: 1rem;
  }

  /* ===== 热门内容推荐 ===== */
  .recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .recommend-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
  }

  .recommend-card:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
    transform: translateY(-6px);
  }

  .recommend-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
  }

  .recommend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .recommend-card:hover .recommend-cover img {
    transform: scale(1.06);
  }

  .recommend-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 23, 0.85) 100%);
  }

  .recommend-cover .rank-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(10, 14, 23, 0.65);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--neon-cyan);
    backdrop-filter: blur(8px);
  }

  .recommend-body {
    padding: 26px;
  }

  .recommend-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .recommend-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .recommend-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--neon-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .recommend-link:hover {
    gap: 12px;
  }

  /* ===== 数据统计 ===== */
  .stats-section {
    background:
      linear-gradient(180deg, rgba(10, 14, 23, 0.92), rgba(10, 14, 23, 0.96)),
      url('/assets/images/backpic/back-3.png') center/cover fixed no-repeat;
    padding: 96px 0;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .stat-item {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
  }

  .stat-item:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
  }

  .stat-item .stat-num {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }

  /* ===== 流程步骤 ===== */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .step-item {
    text-align: center;
    padding: 28px 18px;
    position: relative;
  }

  .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--neon-cyan);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
  }

  .step-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .step-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ===== FAQ ===== */
  .faq-list {
    max-width: 820px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color var(--transition);
  }

  .faq-item.open {
    border-color: rgba(0, 229, 255, 0.3);
  }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: color var(--transition);
  }

  .faq-question .faq-icon {
    color: var(--neon-cyan);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-left: 16px;
  }

  .faq-item.open .faq-icon {
    transform: rotate(180deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .faq-item.open .faq-answer {
    max-height: 300px;
  }

  .faq-answer p {
    padding: 0 26px 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* ===== CTA ===== */
  .cta-section {
    background:
      linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(168, 85, 247, 0.12)),
      var(--bg-secondary);
    padding: 80px 0;
    border-top: 1px solid var(--border-subtle);
  }

  .cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 56px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 28px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
  }

  .cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2), transparent 60%);
    pointer-events: none;
  }

  .cta-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
  }

  .cta-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
  }

  /* ===== 页脚 ===== */
  .site-footer {
    background: #070a12;
    border-top: 1px solid var(--border-subtle);
    padding: 56px 0 28px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
  }

  .footer-brand .logo {
    margin-bottom: 18px;
  }

  .footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 360px;
  }

  .footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
  }

  .footer-links {
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  .footer-links a:hover {
    color: var(--neon-cyan);
    padding-left: 4px;
  }

  .footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
  }

  .footer-bottom .footer-links-inline {
    display: flex;
    gap: 20px;
  }

  .footer-bottom .footer-links-inline a {
    color: var(--text-muted);
    font-size: 0.82rem;
  }

  .footer-bottom .footer-links-inline a:hover {
    color: var(--neon-cyan);
  }

  /* ===== 响应式 ===== */
  @media (max-width: 1024px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .recommend-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .category-card {
      grid-template-columns: 1fr;
    }
    .category-image {
      min-height: 240px;
      order: -1;
    }
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
      grid-template-columns: 1fr;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 768px) {
    .section {
      padding: 64px 0;
    }
    .category-showcase,
    .stats-section {
      padding: 64px 0;
    }
    .nav-menu .nav-link {
      padding: 8px 14px;
      font-size: 0.85rem;
    }
    .btn-header {
      display: none;
    }
    .hero {
      min-height: auto;
    }
    .hero-inner {
      padding: 72px 0;
    }
    .hero-stats {
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .hero-stat {
      padding: 14px 16px;
    }
    .hero-stat .num {
      font-size: 1.2rem;
    }
    .hero-stat .label {
      font-size: 0.75rem;
    }
    .features-grid,
    .recommend-grid {
      grid-template-columns: 1fr;
    }
    .category-content {
      padding: 32px;
    }
    .category-image {
      min-height: 200px;
    }
    .cta-box {
      padding: 40px 24px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  @media (max-width: 520px) {
    .container {
      padding: 0 16px;
    }
    .site-header .header-inner {
      height: 64px;
    }
    .logo {
      font-size: 1.05rem;
    }
    .logo .logo-icon {
      width: 30px;
      height: 30px;
      font-size: 0.9rem;
    }
    .nav-menu {
      gap: 4px;
    }
    .nav-link {
      padding: 6px 10px;
      font-size: 0.78rem;
    }
    .hero h1 {
      font-size: 2.2rem;
    }
    .hero p {
      font-size: 1rem;
    }
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .btn-primary,
    .btn-ghost {
      justify-content: center;
    }
    .hero-stats {
      grid-template-columns: 1fr 1fr 1fr;
    }
    .hero-stat .num {
      font-size: 1rem;
    }
    .hero-stat .label {
      font-size: 0.7rem;
    }
    .section-header h2 {
      font-size: 1.4rem;
    }
    .news-card {
      flex-direction: column;
    }
    .news-thumb {
      width: 100%;
      height: 160px;
    }
    .stats-grid,
    .steps-grid {
      grid-template-columns: 1fr;
    }
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }

/* roulang page: category1 */
:root {
    --bg-deep: #0a0f1e;
    --bg-dark: #0f1524;
    --bg-card: #151d2e;
    --bg-card-hover: #1a2438;
    --neon: #00f0ff;
    --neon-dim: rgba(0, 240, 255, 0.35);
    --purple: #a855f7;
    --pink: #f43f5e;
    --text-hi: #f1f5f9;
    --text-lo: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 18px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-neon: 0 0 24px rgba(0, 240, 255, 0.12);
    --transition: all 0.25s ease;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-deep);
    color: var(--text-hi);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
  }

  img {
    max-width: 100%;
    display: block;
  }

  button,
  input {
    font-family: inherit;
    outline: none;
    border: none;
  }

  .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===== Header / Nav ===== */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .site-header::after {
    content: "";
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--purple), transparent);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-hi);
    white-space: nowrap;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon);
    font-size: 1.2rem;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.15);
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-lo);
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
  }

  .nav-link:hover {
    color: var(--text-hi);
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-link.active {
    color: var(--neon);
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.1);
  }

  .btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neon), var(--purple));
    color: #0a0f1e;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
    white-space: nowrap;
  }

  .btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.35);
    color: #0a0f1e;
  }

  /* ===== Hero ===== */
  .page-hero {
    position: relative;
    padding: 110px 0 90px;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.7), rgba(10, 15, 30, 0.55)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }

  .page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12), transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--neon);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
  }

  .hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(120deg, #f1f5f9, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-content h1 span {
    background: linear-gradient(90deg, var(--neon), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-content p {
    font-size: 1.15rem;
    color: var(--text-lo);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
  }

  .hero-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }

  .hero-tags .tag-chip {
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-lo);
    font-size: 0.85rem;
    transition: var(--transition);
  }

  .hero-tags .tag-chip:hover {
    border-color: rgba(0, 240, 255, 0.4);
    color: var(--neon);
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neon), var(--purple));
    color: #0a0f1e;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
    border: none;
    cursor: pointer;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.35);
    color: #0a0f1e;
  }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-hi);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
    cursor: pointer;
  }

  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--neon);
    transform: translateY(-2px);
  }

  /* ===== Sections ===== */
  .section {
    padding: 90px 0;
  }

  .section-alt {
    background: var(--bg-dark);
  }

  .section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
  }

  .section-head .section-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--neon);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .section-head p {
    color: var(--text-lo);
    font-size: 1.05rem;
    line-height: 1.7;
  }

  /* ===== Feature Cards ===== */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1), transparent 70%);
    transform: translateX(-50%);
    opacity: 0;
    transition: var(--transition);
  }

  .feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: var(--shadow), var(--shadow-neon);
  }

  .feature-card:hover::before {
    opacity: 1;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--neon);
    font-size: 1.6rem;
  }

  .feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .feature-card p {
    color: var(--text-lo);
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* ===== Guide Cards ===== */
  .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow), var(--shadow-neon);
  }

  .guide-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }

  .guide-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .guide-card:hover .guide-card-img-wrap img {
    transform: scale(1.05);
  }

  .guide-card-img-wrap .tag-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
  }

  .guide-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .guide-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .guide-card-body p {
    color: var(--text-lo);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
  }

  .guide-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-lo);
    font-size: 0.82rem;
  }

  .guide-meta i {
    color: var(--neon);
    margin-right: 4px;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--neon);
  }

  .badge-purple {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
  }

  .badge-pink {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
    color: #fda4af;
  }

  .tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--neon);
    backdrop-filter: blur(6px);
  }

  /* ===== Timeline ===== */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--neon), var(--purple), transparent);
    transform: translateX(-50%);
  }

  .timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
  }

  .timeline-dot {
    position: absolute;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 3px solid var(--neon);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
    z-index: 2;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
  }

  .timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
  }

  .timeline-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow), var(--shadow-neon);
  }

  .timeline-phase {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--neon);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
  }

  .timeline-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .timeline-card p {
    color: var(--text-lo);
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .timeline-week {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 8px;
  }

  /* ===== FAQ ===== */
  .faq-list {
    max-width: 760px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    user-select: none;
  }

  .faq-question:hover {
    color: var(--neon);
  }

  .faq-question .faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon);
    font-size: 0.8rem;
    transition: var(--transition);
  }

  .faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-lo);
    font-size: 0.92rem;
    line-height: 1.8;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
  }

  /* ===== CTA ===== */
  .cta-section {
    padding: 90px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.8), rgba(10, 15, 30, 0.75)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .cta-inner {
    text-align: center;
    max-width: 660px;
    margin: 0 auto;
  }

  .cta-inner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .cta-inner p {
    color: var(--text-lo);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  .cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* ===== Footer ===== */
  .site-footer {
    background: #080c18;
    border-top: 1px solid var(--border);
    padding: 70px 0 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
  }

  .footer-brand p {
    color: var(--text-lo);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 320px;
  }

  .footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-hi);
    letter-spacing: 0.5px;
  }

  .footer-links {
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a {
    color: var(--text-lo);
    font-size: 0.9rem;
    transition: var(--transition);
  }

  .footer-links a:hover {
    color: var(--neon);
    padding-left: 4px;
  }

  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
  }

  .footer-links-inline {
    display: flex;
    gap: 20px;
  }

  .footer-links-inline a {
    color: var(--text-lo);
    font-size: 0.85rem;
    transition: var(--transition);
  }

  .footer-links-inline a:hover {
    color: var(--neon);
  }

  /* ===== Responsive ===== */
  @media (max-width: 1024px) {
    .feature-grid,
    .guide-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
      font-size: 2.4rem;
    }
  }

  @media (max-width: 768px) {
    .header-inner {
      flex-wrap: wrap;
      gap: 12px;
    }

    .nav-menu {
      order: 3;
      width: 100%;
      overflow-x: auto;
      padding-bottom: 4px;
      gap: 6px;
      -webkit-overflow-scrolling: touch;
    }

    .nav-link {
      font-size: 0.85rem;
      padding: 6px 14px;
      flex-shrink: 0;
    }

    .btn-header {
      padding: 8px 16px;
      font-size: 0.85rem;
    }

    .page-hero {
      padding: 80px 0 60px;
    }

    .hero-content h1 {
      font-size: 1.9rem;
    }

    .hero-content p {
      font-size: 1rem;
    }

    .section {
      padding: 60px 0;
    }

    .section-head h2 {
      font-size: 1.6rem;
    }

    .timeline-item {
      width: 100%;
      padding: 0 0 32px 32px;
      text-align: left !important;
    }

    .timeline::before {
      left: 8px;
      transform: none;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
      left: 0;
      right: auto;
    }

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  @media (max-width: 520px) {
    .feature-grid,
    .guide-grid {
      grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions {
      flex-direction: column;
      width: 100%;
    }

    .btn-primary,
    .btn-ghost {
      width: 100%;
      justify-content: center;
    }

    .hero-content h1 {
      font-size: 1.6rem;
    }

    .section-head h2 {
      font-size: 1.35rem;
    }

    .container {
      padding: 0 16px;
    }
  }

/* roulang page: article */
:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --dark: #0b0f1a;
  --dark-2: #111827;
  --light: #f8f9fc;
  --text: #1e293b;
  --text-weak: #64748b;
  --border: #e2e8f0;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(2, 6, 23, 0.07);
  --shadow-lg: 0 14px 44px rgba(2, 6, 23, 0.13);
  --section-space: 84px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
  box-shadow: 0 10px 34px rgba(2, 6, 23, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.88; }
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.5);
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { text-shadow: 0 0 14px rgba(124, 58, 237, 0.8); }
.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.58rem 1.35rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
}
.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
}
.nav-toggle {
  display: none;
  color: #fff;
  font-size: 1.45rem;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background 0.3s;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); }

/* ===== Article Banner ===== */
.article-banner {
  position: relative;
  padding: 80px 0 64px;
  background: linear-gradient(135deg, rgba(11, 15, 26, 0.96), rgba(30, 27, 75, 0.88)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.article-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}
.article-banner::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.article-banner .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}
.breadcrumb i { font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .current { color: rgba(255, 255, 255, 0.9); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
.article-banner h1 {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.32;
  max-width: 880px;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 28px rgba(2, 6, 23, 0.45);
  letter-spacing: -0.01em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta i { color: var(--accent-light); }

/* ===== Section ===== */
.section { padding: var(--section-space) 0; }
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3rem;
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 1.05rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.section-head p { color: var(--text-weak); font-size: 0.97rem; }

/* ===== Article Layout ===== */
.article-section { padding-top: 56px; padding-bottom: 72px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.2rem;
  align-items: start;
}
.article-main {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.8rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.article-main:hover { box-shadow: var(--shadow-lg); }
.article-body { font-size: 1rem; color: var(--text); word-break: break-word; }
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2.2rem 0 1rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--primary);
  color: #111827;
  line-height: 1.4;
}
.article-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 1.8rem 0 0.8rem;
  color: #111827;
  line-height: 1.45;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.4rem;
  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 blockquote {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #f0fdff, #f8fbff);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6rem 0;
  color: #475569;
  font-style: italic;
}
.article-body img {
  border-radius: var(--radius-sm);
  margin: 1.5rem auto;
  box-shadow: var(--shadow);
}
.article-body a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--primary-light);
  transition: color 0.3s;
}
.article-body a:hover { color: var(--primary-dark); }
.article-body code {
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--primary-dark);
}

/* ===== Article Tags ===== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* ===== Sidebar ===== */
.article-sidebar { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 96px; }
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.sidebar-card:hover { box-shadow: var(--shadow-lg); }
.sidebar-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.sidebar-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.sidebar-card p { font-size: 0.87rem; color: var(--text-weak); line-height: 1.65; margin-bottom: 1rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.1rem; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
  transition: all 0.3s;
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links i { color: var(--primary); font-size: 0.7rem; transition: transform 0.3s; }
.sidebar-links a:hover { color: var(--primary); padding-left: 0.3rem; }
.sidebar-links a:hover i { transform: translateX(3px); }
.sidebar-quote { position: relative; background: linear-gradient(135deg, #0b0f1a, #1e1b4b); color: #fff; border: none; overflow: hidden; }
.sidebar-quote::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 60%);
  border-radius: 50%;
}
.sidebar-quote i { font-size: 1.4rem; color: var(--accent-light); margin-bottom: 0.6rem; position: relative; }
.sidebar-quote p { color: rgba(255, 255, 255, 0.88); font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; position: relative; }
.sidebar-quote span { color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; position: relative; }

/* ===== Not Found ===== */
.not-found {
  text-align: center;
  padding: 3.5rem 1rem;
}
.not-found i { font-size: 3.4rem; color: #cbd5e1; margin-bottom: 1.2rem; }
.not-found h2 { font-size: 1.7rem; font-weight: 800; color: #111827; margin-bottom: 0.7rem; }
.not-found p { color: var(--text-weak); margin-bottom: 1.8rem; }

/* ===== Buttons ===== */
.btn-primary, .btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s ease;
  padding: 0.7rem 1.6rem;
  font-size: 0.92rem;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ===== Features ===== */
.features-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card h3 { font-size: 1.08rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-weak); line-height: 1.7; }

/* ===== Related ===== */
.related-section { background: var(--light); }
.related-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  height: 100%;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.related-thumb { overflow: hidden; }
.related-thumb img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.06); }
.related-body { padding: 1.3rem 1.4rem 1.4rem; }
.related-body .tag { margin-bottom: 0.65rem; }
.related-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.4rem;
  line-height: 1.4;
  transition: color 0.3s;
}
.related-card:hover .related-body h3 { color: var(--primary); }
.related-body p { font-size: 0.85rem; color: var(--text-weak); line-height: 1.65; margin-bottom: 0.7rem; }
.related-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s;
}
.related-card:hover .related-link { gap: 0.6rem; }

/* ===== FAQ ===== */
.faq-section { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.7rem;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  text-align: left;
  padding: 0;
  background: none;
}
.faq-question i {
  font-size: 0.85rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  margin-top: 0.75rem;
  color: var(--text-weak);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
  border-top: 1px dashed var(--border);
  padding-top: 0.75rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(135deg, #0b0f1a, #1e1b4b);
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.32), transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-box { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-box .section-tag {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(167, 139, 250, 0.4);
  color: #c4b5fd;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.cta-box p { color: rgba(255, 255, 255, 0.7); font-size: 0.98rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ===== Footer ===== */
.site-footer {
  background: #0b0f1a;
  color: rgba(255, 255, 255, 0.68);
  padding: 60px 0 0;
  border-top: 2px solid rgba(124, 58, 237, 0.35);
}
.site-footer .logo { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s;
}
.footer-links a:hover { color: #fff; padding-left: 0.3rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-links-inline { display: flex; gap: 1.2rem; }
.footer-links-inline a { color: rgba(255, 255, 255, 0.4); transition: color 0.3s; }
.footer-links-inline a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1 1 280px; }
  .article-sidebar .sidebar-quote { flex-basis: 100%; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-space: 64px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 76px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 76px);
    background: rgba(11, 15, 26, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.2rem 2rem;
    gap: 1.4rem;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    border-left: 2px solid rgba(124, 58, 237, 0.35);
    box-shadow: -12px 0 30px rgba(2, 6, 23, 0.5);
  }
  .nav-menu.open { right: 0; }
  .nav-menu .btn-header { margin-top: 0.8rem; }
  .header-inner { height: 68px; }
  .article-banner { padding: 64px 0 48px; }
  .article-main { padding: 1.8rem 1.5rem; }
  .section-head { margin-bottom: 2.2rem; }
  .article-meta { gap: 1rem; }
  .cta-section { padding: 64px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 520px) {
  .logo { font-size: 1.05rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 0.9rem; }
  .article-main { padding: 1.4rem 1.1rem; border-radius: 14px; }
  .article-banner h1 { font-size: 1.45rem; }
  .article-banner { padding: 48px 0 38px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links-inline { justify-content: center; }
  .feature-card { padding: 1.4rem 1.2rem; }
  .related-body { padding: 1.1rem 1.1rem 1.2rem; }
  .related-thumb img { height: 150px; }
}
