/* roulang page: index */
:root {
  --bg-page: #12132A;
  --bg-card: #1C1E3F;
  --bg-card-hover: #25284F;
  --bg-input: #12132A;
  --primary: #00E5A0;
  --primary-2: #7B61FF;
  --gold: #FFB84D;
  --danger: #FF6B6B;
  --text-1: #FFFFFF;
  --text-2: #A0A3C4;
  --text-3: #C4C6E0;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(0,229,160,.35);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --radius-sm: 8px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.25);
  --shadow-hover: 0 12px 40px rgba(18,19,42,.55);
  --gradient: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
  --gradient-btn: linear-gradient(135deg, #7B61FF, #00E5A0);
  --space-section: 100px;
  --font-cn: "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Roboto Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-cn);
  background: var(--bg-page);
  color: var(--text-1);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--text-1); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--space-section) 0; position: relative; }
.section--tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .section-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); background: rgba(0,229,160,.1); padding: 6px 18px; border-radius: var(--radius-pill); letter-spacing: .5px; margin-bottom: 14px; }
.section-head h2 { font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -.5px; }
.section-head p { color: var(--text-2); font-size: 16px; margin-top: 14px; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; padding: 14px 28px; border-radius: var(--radius-pill); transition: all .3s ease; white-space: nowrap; border: 1px solid transparent; }
.btn--primary { background: var(--gradient-btn); color: #fff; box-shadow: 0 4px 20px rgba(0,229,160,.2); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,229,160,.35); filter: brightness(1.1); }
.btn--primary:active { transform: translateY(1px) scale(.98); }
.btn--secondary { background: transparent; border-color: rgba(255,255,255,.25); color: var(--text-1); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-2); padding: 10px 18px; }
.btn--ghost:hover { background: rgba(255,255,255,.06); color: var(--text-1); }
.btn--gold { background: linear-gradient(135deg, #FFB84D, #FFA020); color: #1A1B3A; box-shadow: 0 4px 20px rgba(255,184,77,.25); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255,184,77,.4); }
.btn--lg { padding: 16px 40px; font-size: 17px; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(123,97,255,.15); color: #D0C7FF; letter-spacing: .3px; }
.badge--green { background: rgba(0,229,160,.1); color: var(--primary); }
.badge--gold { background: rgba(255,184,77,.15); color: var(--gold); }
.badge--red { background: rgba(255,107,107,.15); color: var(--danger); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(18,19,42,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; max-width: 1200px; margin: 0 auto; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 18px; box-shadow: 0 0 12px rgba(0,229,160,.35); }
.brand__text { font-size: 20px; font-weight: 700; letter-spacing: .5px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.header-search { flex: 1; max-width: 420px; position: relative; }
.header-search input { width: 100%; height: 42px; background: var(--bg-input); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-pill); padding: 0 18px 0 42px; font-size: 14px; color: var(--text-1); outline: none; transition: all .3s; }
.header-search input::placeholder { color: rgba(160,163,196,.6); }
.header-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,160,.15); }
.header-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-size: 16px; pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-nav { border-top: 1px solid rgba(255,255,255,.04); }
.nav-scroll { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 32px; max-width: 1200px; margin: 0 auto; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-tab { display: inline-flex; align-items: center; padding: 8px 20px; font-size: 15px; font-weight: 500; color: var(--text-2); border-radius: var(--radius-pill); transition: all .25s; white-space: nowrap; }
.nav-tab:hover { color: var(--text-1); background: rgba(255,255,255,.04); }
.nav-tab.active { color: var(--primary); background: rgba(123,97,255,.15); box-shadow: inset 0 0 0 1px rgba(0,229,160,.2); }

/* Hero */
.hero { position: relative; padding: 90px 0 70px; background: url('/assets/images/backpic/back-1.png') center/cover no-repeat; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18,19,42,.92), rgba(123,97,255,.32) 50%, rgba(0,229,160,.22)); }
.hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M-10 10L10 -10M30 50L50 30' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E"); pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-content { max-width: 640px; }
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.hero-desc { font-size: 17px; color: var(--text-3); line-height: 1.8; margin-bottom: 34px; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-badge { background: rgba(28,30,63,.75); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 16px 18px; backdrop-filter: blur(8px); transition: transform .3s, border-color .3s; }
.hero-badge:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.hero-badge .num { font-family: var(--font-num); font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.hero-badge .label { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.hero-visual { position: relative; }
.hero-visual-card { background: rgba(28,30,63,.65); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; box-shadow: var(--shadow-hover); }
.hero-visual-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,229,160,.18), transparent 70%); pointer-events: none; }
.hero-visual-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.vc-stats { display: flex; flex-direction: column; gap: 16px; }
.vc-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: rgba(18,19,42,.6); border-radius: 12px; border: 1px solid rgba(255,255,255,.05); }
.vc-item .name { font-size: 14px; color: var(--text-3); }
.vc-item .value { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--gold); }
.vc-item .progress { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.vc-item .progress span { display: block; height: 100%; background: var(--gradient); border-radius: 2px; }

/* Stats Band */
.stats-band { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; }
.stat-item { text-align: center; padding: 24px 16px; background: linear-gradient(135deg, rgba(123,97,255,.08), rgba(0,229,160,.06)); border: 1px solid rgba(123,97,255,.15); border-radius: var(--radius-lg); position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.stat-item:hover { transform: translateY(-4px); border-color: rgba(0,229,160,.3); }
.stat-item .num { font-family: var(--font-num); font-size: 38px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-item .num.gold { color: var(--gold); }
.stat-item .label { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.stat-item .deco { position: absolute; top: -12px; right: -8px; font-size: 60px; font-weight: 800; color: rgba(255,255,255,.03); pointer-events: none; line-height: 1; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; box-shadow: var(--shadow-card); }
.plan-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,.25); box-shadow: var(--shadow-hover); }
.plan-card--featured { background: linear-gradient(145deg, rgba(123,97,255,.12), rgba(0,229,160,.08)), var(--bg-card); border: 1px solid transparent; background-clip: padding-box; transform: scale(1.03); box-shadow: var(--shadow-hover); position: relative; }
.plan-card--featured::before { content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); padding: 1px; background: var(--gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 18px; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: 0 4px 14px rgba(0,229,160,.3); }
.plan-name { font-size: 18px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.plan-price { margin-bottom: 24px; }
.plan-price .currency { font-size: 18px; vertical-align: top; color: var(--text-2); }
.plan-price .amount { font-size: 46px; font-weight: 800; font-family: var(--font-num); }
.plan-price .period { font-size: 14px; color: var(--text-2); }
.plan-list { flex: 1; margin-bottom: 28px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--text-3); }
.plan-list li .icon { color: var(--primary); font-size: 14px; flex-shrink: 0; margin-top: 3px; }
.plan-list li.disable { color: rgba(160,163,196,.45); }
.plan-list li.disable .icon { color: rgba(160,163,196,.35); }
.plan-note { font-size: 12px; color: var(--text-2); margin-top: 12px; text-align: center; }
.plan-btn { width: 100%; }

/* Compare */
.compare-wrap { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: center; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
.compare-table thead th { padding: 22px; font-weight: 600; color: var(--text-2); background: rgba(18,19,42,.5); }
.compare-table thead th strong { display: block; font-size: 16px; color: var(--text-1); margin-bottom: 4px; }
.compare-table thead th .sub { font-size: 12px; color: var(--text-2); font-weight: 500; }
.compare-table thead th.featured-col { background: linear-gradient(180deg, rgba(123,97,255,.2), rgba(0,229,160,.12)); }
.compare-table thead th.featured-col strong { color: var(--primary); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody th { text-align: left; color: var(--text-3); font-weight: 500; font-size: 14px; }
.compare-table .yes { color: var(--primary); font-size: 18px; }
.compare-table .no { color: rgba(160,163,196,.35); font-size: 18px; }
.compare-table .highlight-cell { background: rgba(0,229,160,.06); color: var(--primary); font-weight: 600; }
.compare-note { padding: 16px 22px; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--border); background: rgba(18,19,42,.4); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; box-shadow: var(--shadow-card); }
.news-card:hover { transform: translateY(-4px); border-color: rgba(0,229,160,.3); box-shadow: var(--shadow-hover); }
.news-card__link { display: block; height: 100%; }
.news-card__thumb { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #25284F, #1C1E3F); }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.news-card__body { padding: 22px 24px 24px; }
.news-card__body h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__body p { font-size: 14px; color: var(--text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(160,163,196,.6); }
.news-card__meta .read-more { color: var(--primary); font-weight: 500; transition: gap .3s; display: inline-flex; align-items: center; gap: 4px; }
.news-card__meta .read-more:hover { gap: 8px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; background: var(--bg-card); border: 1px dashed rgba(255,255,255,.1); border-radius: var(--radius-lg); }
.empty-state__icon { font-size: 52px; margin-bottom: 16px; opacity: .4; }
.empty-state p { font-size: 16px; color: var(--text-2); margin-bottom: 20px; }

/* Limited */
.limited { background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat; position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 56px 48px; box-shadow: var(--shadow-hover); }
.limited::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18,19,42,.94), rgba(123,97,255,.35) 45%, rgba(0,229,160,.25)); }
.limited .container-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.limited h2 { font-size: 34px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.limited h2 .highlight { color: var(--gold); }
.limited p { font-size: 16px; color: var(--text-3); margin-bottom: 0; }
.limited-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.countdown { display: flex; gap: 10px; }
.countdown .time-block { background: rgba(18,19,42,.85); border: 1px solid rgba(255,184,77,.3); border-radius: var(--radius-md); padding: 14px 12px; text-align: center; min-width: 74px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.countdown .time-block .num { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.countdown .time-block .unit { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.limited .btn { margin-left: 4px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(0,229,160,.25); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 16px; font-weight: 600; cursor: pointer; transition: color .25s; }
.faq-q:hover { color: var(--primary); }
.faq-q .icon { font-size: 20px; color: var(--text-2); transition: transform .3s, color .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s; padding: 0 24px; font-size: 15px; color: var(--text-3); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; font-weight: 500; }
.form-group label .required { color: var(--gold); margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; height: 48px; background: var(--bg-input); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); padding: 0 16px; color: var(--text-1); outline: none; transition: border-color .3s, box-shadow .3s; font-size: 15px; }
.form-group textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,229,160,.12); }
.form-group .error-text { font-size: 13px; color: var(--danger); margin-top: 6px; display: none; }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--danger); }
.form-group.has-error .error-text { display: block; }
.form-group select option { background: #1C1E3F; }
.form-submit { margin-top: 24px; }
.form-success { display: none; background: rgba(0,229,160,.08); border: 1px solid rgba(0,229,160,.2); color: var(--primary); padding: 14px 20px; border-radius: var(--radius-md); margin-top: 16px; font-size: 14px; text-align: center; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.contact-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.contact-item:last-child { border-bottom: none; }
.contact-item .icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, rgba(123,97,255,.2), rgba(0,229,160,.15)); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item .text { flex: 1; }
.contact-item .text .label { font-size: 13px; color: var(--text-2); }
.contact-item .text .value { font-size: 15px; font-weight: 500; margin-top: 2px; }
.contact-item .text .value a { color: var(--primary); }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, rgba(123,97,255,.25), rgba(0,229,160,.18)); border: 1px solid rgba(0,229,160,.2); border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-hover); }
.cta-banner::before { content: ''; position: absolute; top: -60%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,229,160,.15), transparent 70%); pointer-events: none; }
.cta-banner h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: var(--text-3); max-width: 560px; margin: 0 auto 28px; }
.cta-banner .btn { margin: 0 6px; }

/* Footer */
.site-footer { background: #0E0F24; border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-row .brand__icon { width: 30px; height: 30px; font-size: 15px; }
.footer-brand .logo-row .brand__text { font-size: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-2); max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 15px; transition: all .3s; }
.footer-social a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer-col h4 { font-size: 15px; font-weight: 600; margin-bottom: 18px; color: var(--text-1); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-2); transition: color .25s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 22px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(160,163,196,.6); }

/* Back to top */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,229,160,.3); transition: opacity .3s, transform .3s; z-index: 99; opacity: 0; transform: translateY(16px); pointer-events: none; }
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { box-shadow: 0 0 24px rgba(0,229,160,.5); transform: translateY(-3px); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #1C1E3F 25%, #25284F 50%, #1C1E3F 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .plan-card { padding: 26px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --space-section: 64px; }
  .container { padding: 0 20px; }
  .header-top { padding: 12px 20px; gap: 12px; }
  .header-search { display: none; }
  .header-actions .btn { padding: 10px 16px; font-size: 14px; }
  .header-actions .btn--ghost { display: none; }
  .nav-scroll { padding: 6px 20px; }
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { grid-template-columns: 1fr; gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 32px 0; }
  .stat-item { padding: 16px 10px; }
  .stat-item .num { font-size: 26px; }
  .plans-grid { grid-template-columns: 1fr; gap: 24px; }
  .plan-card--featured { transform: scale(1.01); }
  .plan-card--featured:hover { transform: scale(1.01) translateY(-3px); }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .limited { padding: 36px 24px; }
  .limited .container-inner { flex-direction: column; text-align: center; }
  .limited-right { justify-content: center; }
  .countdown .time-block { min-width: 60px; padding: 10px 8px; }
  .countdown .time-block .num { font-size: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form-card { padding: 24px; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 15px; }
  .back-top { bottom: 20px; right: 20px; }
  .compare-wrap { margin: 0 -4px; }
}
@media (max-width: 520px) {
  .header-top .header-actions .btn--ghost { display: none; }
  .header-actions .btn { padding: 9px 14px; font-size: 13px; }
  .brand__text { font-size: 16px; }
  .brand__icon { width: 30px; height: 30px; font-size: 15px; }
  .hero-badges { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-tab { padding: 7px 14px; font-size: 14px; }
  .countdown { gap: 6px; }
  .countdown .time-block { min-width: 52px; padding: 8px 6px; }
  .countdown .time-block .num { font-size: 18px; }
  .limited p { font-size: 14px; }
  .btn--lg { padding: 14px 28px; font-size: 15px; }
}

/* roulang page: category1 */
/* ============================================================
   设计变量
   ============================================================ */
:root {
  --bg-dark: #12132A;
  --bg-card: #1C1E3F;
  --bg-hover: #25284F;
  --bg-header: rgba(18,19,42,.92);
  --primary: #7B61FF;
  --accent: #00E5A0;
  --gold: #FFB84D;
  --danger: #FF6B6B;
  --text-main: #F0F1FA;
  --text-body: #C4C6E0;
  --text-muted: #8A8DB0;
  --border: rgba(255,255,255,.08);
  --border-light: rgba(255,255,255,.12);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --radius-sm: 8px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.25);
  --shadow-hover: 0 12px 40px rgba(18,19,42,.55);
  --shadow-glow: 0 0 20px rgba(0,229,160,.35);
  --container: 1200px;
  --spacing-section: 100px;
  --spacing-mobile: 64px;
  --gradient-brand: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
  --gradient-gold: linear-gradient(135deg, #FFB84D 0%, #FF8A3D 100%);
  --font-cn: "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Roboto Mono", monospace;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.3;
  font-weight: 700;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(123,97,255,.35); color: #fff; }

/* ============================================================
   容器
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   按钮体系
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123,97,255,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--text-main);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,229,160,.08);
}
.btn--outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(0,229,160,.2);
}
.btn--gold {
  background: var(--gradient-gold);
  color: #1A1B3A;
  font-weight: 700;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(255,184,77,.4); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(123,97,255,.4);
}
.brand__text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: .5px;
}
.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,160,.12);
}
.header-search .search-icon { font-size: 14px; color: var(--text-muted); }
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
  min-width: 0;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn { padding: 10px 22px; font-size: 14px; }
.header-nav {
  border-top: 1px solid var(--border);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: #A0A3C4;
  white-space: nowrap;
  transition: all .2s ease;
}
.nav-tab:hover { color: var(--text-main); background: rgba(255,255,255,.06); }
.nav-tab.active {
  color: var(--accent);
  background: rgba(123,97,255,.15);
  box-shadow: inset 0 0 0 1px rgba(123,97,255,.4), inset 0 0 0 1px rgba(0,229,160,.3);
}

/* ============================================================
   页面 Hero 条
   ============================================================ */
.page-hero {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(18,19,42,.95) 0%, rgba(123,97,255,.4) 100%),
    url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}
.page-hero__content { flex: 1.2; }
.page-hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0,229,160,.12);
  border: 1px solid rgba(0,229,160,.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.page-hero__content > p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 30em;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
.page-hero__media {
  flex: 0 0 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-light);
}
.page-hero__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ============================================================
   区块标题
   ============================================================ */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head.section-head--left {
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(123,97,255,.12);
  border: 1px solid rgba(123,97,255,.3);
  color: #A89BFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .5px;
}
.section-head > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ============================================================
   时间线区块
   ============================================================ */
.timeline-section {
  padding: var(--spacing-section) 0;
  background: var(--bg-dark);
  position: relative;
}
.timeline-section::before {
  content: "04";
  position: absolute;
  right: 4%;
  top: 40px;
  font-family: var(--font-num);
  font-size: 180px;
  font-weight: 800;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  line-height: 1;
}
.timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.timeline-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  transition: all .3s ease;
  text-align: center;
}
.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,160,.35);
  box-shadow: var(--shadow-hover);
}
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -32px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(123,97,255,.6), rgba(0,229,160,.2));
  z-index: 0;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 44px;
  right: -36px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0,229,160,.5);
  z-index: 1;
}
.timeline-step {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(123,97,255,.35);
}
.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   服务大卡
   ============================================================ */
.service-section {
  padding: var(--spacing-section) 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(28,30,63,.6) 100%);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  transition: all .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,160,.35);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(123,97,255,.12);
  border: 1px solid rgba(123,97,255,.25);
  font-size: 26px;
  margin-bottom: 24px;
  transition: transform .3s ease, background .3s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  background: rgba(123,97,255,.2);
}
.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 42em;
}

/* ============================================================
   CTA 横幅
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(18,19,42,.92) 0%, rgba(123,97,255,.35) 60%, rgba(0,229,160,.2) 100%),
    url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.cta-banner h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0E0F22;
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 32em;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 13px;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: rgba(0,229,160,.1);
  border-color: var(--accent);
  color: var(--accent);
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-main);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s ease;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(123,97,255,.4);
  transition: all .3s ease;
  z-index: 50;
  border: none;
}
.back-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   响应式 · 平板
   ============================================================ */
@media (max-width: 1199px) {
  .page-hero__inner { gap: 40px; }
  .page-hero__media { flex-basis: 260px; }
  .page-hero__media img { height: 220px; }
  .timeline-grid { gap: 20px; }
  .timeline-item:not(:last-child)::after { right: -20px; width: 20px; }
  .timeline-item:not(:last-child)::before { right: -25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   响应式 · 移动
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .header-top {
    padding: 12px 20px;
    gap: 12px;
  }
  .brand__text { font-size: 17px; }
  .header-search { display: none; }
  .header-actions .btn--ghost { display: none; }
  .header-actions .btn { padding: 8px 16px; font-size: 13px; }
  .header-nav { padding: 0 20px; }

  .page-hero { padding: 48px 0; }
  .page-hero__inner { flex-direction: column; gap: 32px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero__content > p { font-size: 15px; }
  .page-hero__media { flex-basis: auto; width: 100%; }
  .page-hero__media img { height: 180px; }
  .hero-stats { gap: 12px; }
  .stat-item { padding: 12px 16px; flex: 1; min-width: 100px; }
  .stat-num { font-size: 24px; }

  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 28px; }
  .section-head > p { font-size: 14px; }

  .timeline-section { padding: var(--spacing-mobile) 0; }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline-item { padding: 28px 20px; }
  .timeline-item:not(:last-child)::after,
  .timeline-item:not(:last-child)::before { display: none; }

  .service-section { padding: var(--spacing-mobile) 0; }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card { padding: 28px 20px; }

  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 14px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; max-width: 260px; }

  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom p { font-size: 12px; }

  .back-top { right: 16px; bottom: 24px; }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --bg-primary: #12132A;
  --bg-secondary: #1C1E3F;
  --bg-hover: #25284F;
  --bg-deep: #0D0E1F;
  --text-primary: #F0F1FA;
  --text-secondary: #A0A3C4;
  --text-muted: #6B6D8E;
  --accent-green: #00E5A0;
  --accent-purple: #7B61FF;
  --accent-gold: #FFB84D;
  --danger: #FF6B6B;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(0,229,160,.35);
  --radius-card: 24px;
  --radius-default: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.25);
  --shadow-hover: 0 12px 40px rgba(18,19,42,.55);
  --gradient-brand: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
  --spacing-section: 100px;
  --container-width: 1200px;
  --font-cn: "PingFang SC", "HarmonicOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Roboto Mono", monospace;
}

/* ===== Reset / 基础 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(123,97,255,.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0,229,160,.04) 0%, transparent 35%),
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: #33eeb5;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== 容器 ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: all .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123,97,255,.25);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,229,160,.35), 0 6px 20px rgba(123,97,255,.3);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0,229,160,.15);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,19,42,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 14px rgba(123,97,255,.35);
}

.brand__text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .5px;
}

.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  gap: 10px;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.header-search:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0,229,160,.12);
}

.search-icon {
  font-size: 14px;
  opacity: .7;
}

.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-primary);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 9px 22px;
  font-size: 14px;
}

.header-nav {
  border-top: 1px solid var(--border);
  background: rgba(18,19,42,.8);
}

.nav-scroll {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  margin: 6px 2px;
}

.nav-tab:hover {
  color: var(--accent-green);
  background: rgba(255,255,255,.04);
}

.nav-tab.active {
  color: var(--accent-green);
  background: rgba(123,97,255,.15);
  border-color: rgba(0,229,160,.3);
  box-shadow: 0 0 12px rgba(0,229,160,.08);
}

/* ===== 面包屑 ===== */
.article-banner {
  position: relative;
  background-image: url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  padding: 48px 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,19,42,.9) 0%, rgba(123,97,255,.45) 100%);
}

.article-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,.85);
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-green);
}

.breadcrumb .sep {
  color: rgba(255,255,255,.4);
}

.breadcrumb-current {
  display: inline-block;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--accent-green);
  font-weight: 500;
}

/* ===== 文章主体 ===== */
.article-section {
  padding: 64px 0 30px;
}

.article-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 48px 56px;
}

.article-header {
  text-align: center;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
}

.article-pill {
  display: inline-block;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(0,229,160,.1);
  border: 1px solid rgba(0,229,160,.2);
  margin-bottom: 18px;
}

.article-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.meta-date,
.meta-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-divider {
  opacity: .5;
}

/* ===== 正文排版 ===== */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(240,241,250,.92);
}

.article-body p {
  margin-bottom: 24px;
  max-width: 70ch;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 18px;
  line-height: 1.4;
}

.article-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 14px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.article-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient-brand);
}

.article-body h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 0;
}

.article-body ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: rgba(240,241,250,.88);
}

.article-body ul li::before {
  content: '▍';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 16px;
}

.article-body ol {
  counter-reset: article-ol;
}

.article-body ol li {
  counter-increment: article-ol;
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: rgba(240,241,250,.88);
}

.article-body ol li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 600;
  font-family: var(--font-num);
}

.article-body blockquote {
  background: #262951;
  border-left: 4px solid var(--accent-green);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: normal;
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-body a {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,229,160,.4);
  transition: text-decoration-color .2s ease, color .2s ease;
}

.article-body a:hover {
  text-decoration-color: var(--accent-green);
  color: #33eeb5;
}

.article-body img {
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 28px auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-body table th,
.article-body table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.article-body table th {
  background: var(--bg-hover);
  color: var(--text-primary);
  font-weight: 600;
}

.article-body table tr:nth-child(even) {
  background: rgba(255,255,255,.02);
}

.article-body code {
  background: var(--bg-hover);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--accent-green);
}

.article-body pre {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-default);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}

.article-body pre code {
  background: none;
  color: var(--text-primary);
  padding: 0;
}

/* ===== 文章底部 ===== */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  transition: all .2s ease;
}

.tag:hover {
  color: var(--accent-green);
  border-color: rgba(0,229,160,.3);
}

.article-pager {
  display: flex;
  gap: 16px;
}

.pager-item {
  flex: 1;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-default);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .25s ease;
}

.pager-item:hover {
  border-color: rgba(0,229,160,.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.pager-label {
  font-size: 13px;
  color: var(--text-muted);
}

.pager-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pager-next {
  text-align: right;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: 60px 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .5px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.related-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-hover);
}

.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.related-card:hover .related-card__img img {
  transform: scale(1.04);
}

.related-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-pill {
  display: inline-block;
  width: fit-content;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(0,229,160,.1);
  margin-bottom: 12px;
}

.related-card__body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.related-card__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-num);
}

.article-back-wrap {
  text-align: center;
  margin-top: 44px;
}

/* ===== CTA 区 ===== */
.cta-section {
  padding: 60px 0 var(--spacing-section);
}

.cta-box {
  background: var(--bg-secondary);
  background-image: linear-gradient(135deg, rgba(123,97,255,.12), rgba(0,229,160,.06)), url('/assets/images/backpic/back-3.webp');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,19,42,.85), rgba(123,97,255,.25));
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 15px;
  color: var(--text-secondary);
}

.cta-box .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ===== 空态 ===== */
.article-empty-section {
  padding: 120px 0;
  min-height: 50vh;
}

.empty-state {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 40px;
}

.empty-icon {
  font-size: 56px;
  margin-bottom: 20px;
  opacity: .6;
}

.empty-state h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: 64px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .25s ease;
}

.footer-social a:hover {
  background: rgba(123,97,255,.2);
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s ease, padding-left .2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-green);
  padding-left: 4px;
}

.footer-contact li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,229,160,.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1199px) {
  .related-grid {
    gap: 20px;
  }

  .article-card {
    padding: 40px 36px;
  }
}

@media (max-width: 991px) {
  .header-top {
    gap: 16px;
  }

  .header-search {
    max-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-card:last-child {
    grid-column: span 2;
  }

  .related-card:last-child .related-card__img {
    aspect-ratio: 16/7;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-top {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand__text {
    font-size: 16px;
  }

  .brand__icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .header-search {
    display: none;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-scroll {
    padding: 0 12px;
  }

  .nav-tab {
    padding: 10px 14px;
    font-size: 14px;
  }

  .article-banner {
    padding: 28px 0;
  }

  .breadcrumb-current {
    max-width: 160px;
  }

  .article-section {
    padding: 24px 0 20px;
  }

  .article-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-body {
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .article-body h3 {
    font-size: 20px;
  }

  .article-pager {
    flex-direction: column;
  }

  .pager-next {
    text-align: left;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card:last-child {
    grid-column: span 1;
  }

  .related-card:last-child .related-card__img {
    aspect-ratio: 16/9;
  }

  .cta-box {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .cta-box .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .back-to-top {
    right: 16px;
    bottom: 20px;
  }
}

@media (max-width: 520px) {
  .header-actions .btn--ghost {
    display: none;
  }

  .brand__text {
    font-size: 15px;
  }

  .article-title {
    font-size: 21px;
  }

  .article-meta {
    font-size: 13px;
  }

  .section-header h2 {
    font-size: 24px;
  }
}

/* roulang page: category2 */
:root {
  --bg-main: #12132A;
  --bg-card: #1C1E3F;
  --bg-hover: #25284F;
  --brand-purple: #7B61FF;
  --brand-green: #00E5A0;
  --brand-gold: #FFB84D;
  --danger: #FF6B6B;
  --warning: #FF9F43;
  --text-main: #F0F1FA;
  --text-sub: #A0A3C4;
  --text-muted: #6E7199;
  --border-card: rgba(255,255,255,.06);
  --border-green: rgba(0,229,160,.35);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.25);
  --shadow-hover: 0 12px 40px rgba(18,19,42,.55);
  --grad: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
  --font-main: "PingFang SC","HarmonicOS Sans SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --font-num: "DIN Alternate","Bahnschrift","Roboto Mono",monospace;
}
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-main); background:var(--bg-main); color:var(--text-main); font-size:16px; line-height:1.75; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; }
input,textarea { font-family:inherit; }
ul,ol { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 32px; }
section { padding:80px 0; }
.pill { display:inline-flex; align-items:center; gap:6px; padding:4px 14px; border-radius:var(--radius-pill); font-size:12px; font-weight:500; background:rgba(123,97,255,.15); color:var(--brand-green); border:1px solid rgba(123,97,255,.2); }
.badge { display:inline-flex; align-items:center; padding:6px 16px; border-radius:var(--radius-pill); font-size:13px; font-weight:600; }
.badge--green { background:rgba(0,229,160,.12); color:var(--brand-green); border:1px solid rgba(0,229,160,.25); }
.badge--gold { background:rgba(255,184,77,.12); color:var(--brand-gold); border:1px solid rgba(255,184,77,.25); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; border-radius:var(--radius-pill); font-size:15px; font-weight:600; border:none; transition:all .25s ease; white-space:nowrap; }
.btn--primary { background:var(--grad); color:#fff; box-shadow:0 4px 16px rgba(0,229,160,.15); }
.btn--primary:hover { transform:translateY(-2px); box-shadow:0 0 20px rgba(0,229,160,.35); filter:brightness(1.1); }
.btn--primary:active { transform:translateY(1px); }
.btn--ghost { background:transparent; color:var(--text-main); border:1px solid rgba(255,255,255,.25); }
.btn--ghost:hover { border-color:var(--brand-green); color:var(--brand-green); }
.btn--outline { background:transparent; color:var(--text-main); border:1px solid rgba(255,255,255,.25); }
.btn--outline:hover { border-color:var(--brand-green); color:var(--brand-green); background:rgba(0,229,160,.04); }
.site-header { position:sticky; top:0; z-index:100; background:rgba(18,19,42,.92); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid rgba(255,255,255,.06); }
.header-top { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:14px 32px; gap:20px; }
.brand { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand__icon { width:36px; height:36px; border-radius:10px; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800; }
.brand__text { font-size:20px; font-weight:700; letter-spacing:.5px; background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.header-search { flex:1; max-width:400px; display:flex; align-items:center; gap:8px; background:var(--bg-card); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-pill); padding:8px 16px; transition:border-color .2s,box-shadow .2s; }
.header-search:focus-within { border-color:var(--brand-green); box-shadow:0 0 0 3px rgba(0,229,160,.12); }
.header-search .search-icon { font-size:14px; color:var(--text-muted); }
.header-search input { flex:1; background:transparent; border:none; outline:none; color:var(--text-main); font-size:14px; }
.header-search input::placeholder { color:var(--text-muted); }
.header-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.header-actions .btn { padding:10px 22px; font-size:14px; }
.header-nav { border-top:1px solid rgba(255,255,255,.04); }
.nav-scroll { max-width:1200px; margin:0 auto; display:flex; gap:8px; padding:8px 32px; overflow-x:auto; scrollbar-width:none; }
.nav-scroll::-webkit-scrollbar { display:none; }
.nav-tab { flex-shrink:0; padding:8px 20px; border-radius:var(--radius-pill); font-size:15px; font-weight:500; color:var(--text-sub); transition:all .2s; white-space:nowrap; }
.nav-tab:hover { color:var(--brand-green); background:rgba(123,97,255,.08); }
.nav-tab.active { background:rgba(123,97,255,.15); color:var(--brand-green); box-shadow:inset 0 0 0 1px rgba(123,97,255,.3); }
.hero-mini { position:relative; padding:64px 0 80px; overflow:hidden; }
.hero-mini__bg { position:absolute; inset:0; background-image:url('/assets/images/backpic/back-2.webp'); background-size:cover; background-position:center; opacity:.4; z-index:0; }
.hero-mini__bg::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(18,19,42,.96) 30%, rgba(18,19,42,.75) 100%); }
.hero-mini .container { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.hero-mini__content { flex:1 1 480px; }
.hero-mini__tag { display:flex; margin-bottom:16px; }
.hero-mini h1 { font-size:42px; line-height:1.2; letter-spacing:1px; margin-bottom:14px; }
.hero-mini h1 span { color:var(--brand-green); }
.hero-mini__desc { max-width:460px; font-size:16px; color:var(--text-sub); margin-bottom:24px; }
.hero-mini__actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-mini__stats { display:flex; gap:16px; flex-wrap:wrap; flex:0 1 460px; }
.stat-badge { flex:1 1 120px; background:rgba(28,30,63,.7); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:20px 16px; text-align:center; backdrop-filter:blur(4px); }
.stat-badge__num { display:block; font-family:var(--font-num); font-size:32px; font-weight:700; color:var(--brand-green); line-height:1.2; }
.stat-badge__label { display:block; font-size:13px; color:var(--text-sub); margin-top:6px; }
.section-head { text-align:center; max-width:640px; margin:0 auto 48px; }
.section-tag { display:inline-flex; margin-bottom:10px; }
.section-head h2 { font-size:30px; line-height:1.3; margin-bottom:12px; letter-spacing:.5px; }
.section-head p { color:var(--text-sub); font-size:15px; }
.levels-layout { display:flex; gap:32px; align-items:stretch; flex-wrap:wrap; background:var(--bg-card); border-radius:var(--radius-lg); padding:40px; border:1px solid var(--border-card); box-shadow:var(--shadow-card); }
.levels-score { flex:0 1 280px; background:var(--grad); border-radius:20px; padding:32px 28px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:6px; min-height:240px; }
.levels-score__num { font-family:var(--font-num); font-size:56px; line-height:1; font-weight:800; color:#fff; }
.levels-score__total { font-family:var(--font-num); font-size:18px; color:rgba(255,255,255,.85); }
.levels-score p { color:rgba(255,255,255,.95); font-size:15px; margin-top:4px; }
.levels-score .badge { background:rgba(255,255,255,.18); border-color:rgba(255,255,255,.3); color:#fff; margin-top:12px; }
.levels-bars { flex:1 1 480px; display:grid; grid-template-columns:1fr; gap:22px; align-content:center; }
.level-item__head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.level-item__name { font-size:15px; font-weight:500; color:var(--text-main); }
.level-item__score { font-family:var(--font-num); font-size:15px; font-weight:700; color:var(--brand-green); }
.level-item__bar { height:8px; background:rgba(255,255,255,.06); border-radius:999px; overflow:hidden; }
.level-item__fill { display:block; height:100%; border-radius:999px; background:var(--grad); }
.level-item__desc { font-size:13px; color:var(--text-muted); margin-top:6px; }
.flow-layout { display:flex; gap:40px; align-items:center; flex-wrap:wrap; }
.flow-image { flex:0 1 460px; position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-card); }
.flow-image img { width:100%; height:340px; object-fit:cover; }
.flow-image__badge { position:absolute; top:16px; left:16px; background:rgba(18,19,42,.75); backdrop-filter:blur(6px); color:var(--brand-green); font-size:13px; font-weight:600; padding:6px 14px; border-radius:999px; border:1px solid rgba(0,229,160,.3); }
.flow-list { flex:1 1 460px; display:grid; gap:20px; }
.flow-item { display:flex; gap:18px; background:var(--bg-card); border:1px solid var(--border-card); border-radius:var(--radius-md); padding:22px; transition:all .25s; }
.flow-item:hover { border-color:var(--border-green); transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.flow-item__num { font-family:var(--font-num); font-size:22px; font-weight:700; color:var(--brand-green); background:rgba(0,229,160,.08); border-radius:10px; flex-shrink:0; width:48px; height:48px; display:flex; align-items:center; justify-content:center; }
.flow-item h3 { font-size:17px; margin-bottom:4px; }
.flow-item p { font-size:14px; color:var(--text-sub); line-height:1.6; }
.alert-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.alert-card { background:var(--bg-card); border-radius:var(--radius-lg); padding:28px; border:1px solid var(--border-card); transition:all .25s; }
.alert-card--warning { border-top:3px solid var(--warning); }
.alert-card--danger { border-top:3px solid var(--danger); }
.alert-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.alert-card__icon { font-size:28px; margin-bottom:14px; }
.alert-card h3 { font-size:17px; margin-bottom:10px; }
.alert-card p { font-size:14px; color:var(--text-sub); line-height:1.65; margin-bottom:18px; }
.alert-card__action { display:block; font-size:13px; color:var(--text-main); background:var(--bg-main); border-radius:10px; padding:10px 14px; border-left:3px solid var(--warning); }
.alert-card--danger .alert-card__action { border-left-color:var(--danger); }
.faq-list { max-width:800px; margin:0 auto; display:grid; gap:14px; }
.faq-item { background:var(--bg-card); border:1px solid var(--border-card); border-radius:var(--radius-md); overflow:hidden; transition:border-color .25s; }
.faq-item.open { border-color:var(--border-green); }
.faq-item__q { display:flex; justify-content:space-between; align-items:center; padding:18px 22px; cursor:pointer; user-select:none; font-size:16px; font-weight:600; color:var(--text-main); transition:color .25s; }
.faq-item__q:hover { color:var(--brand-green); }
.faq-item.open .faq-item__q { color:var(--brand-green); }
.faq-item__icon { position:relative; width:20px; height:20px; flex-shrink:0; transition:transform .25s; }
.faq-item__icon::before,.faq-item__icon::after { content:''; position:absolute; background:var(--text-sub); transition:background .25s; }
.faq-item__icon::before { left:0; right:0; top:9px; height:2px; border-radius:2px; }
.faq-item__icon::after { top:0; bottom:0; left:9px; width:2px; border-radius:2px; }
.faq-item.open .faq-item__icon { transform:rotate(135deg); }
.faq-item.open .faq-item__icon::before,.faq-item.open .faq-item__icon::after { background:var(--brand-green); }
.faq-item__a { max-height:0; overflow:hidden; transition:max-height .35s ease; padding:0 22px; }
.faq-item.open .faq-item__a { max-height:500px; padding:0 22px 20px; }
.faq-item__a p { font-size:14px; color:var(--text-sub); line-height:1.7; }
.cta-banner { background:var(--grad); border-radius:var(--radius-lg); padding:48px 40px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; position:relative; overflow:hidden; box-shadow:0 12px 40px rgba(123,97,255,.25); }
.cta-banner::before { content:''; position:absolute; top:-40px; right:-40px; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.08); }
.cta-banner h2 { font-size:26px; color:#fff; margin-bottom:8px; }
.cta-banner p { color:rgba(255,255,255,.9); font-size:15px; max-width:420px; }
.cta-banner .btn { background:#fff; color:var(--bg-main); }
.cta-banner .btn:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.2); }
.site-footer { background:var(--bg-card); border-top:1px solid rgba(255,255,255,.06); padding:56px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:32px; }
.footer-brand .logo-row { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand p { font-size:14px; color:var(--text-sub); line-height:1.7; margin-bottom:18px; max-width:280px; }
.footer-social { display:flex; gap:8px; }
.footer-social a { width:38px; height:38px; border-radius:50%; background:var(--bg-main); border:1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-size:13px; color:var(--text-sub); transition:all .2s; }
.footer-social a:hover { border-color:var(--brand-green); color:var(--brand-green); transform:translateY(-2px); }
.footer-col h4 { font-size:16px; font-weight:600; margin-bottom:16px; }
.footer-col ul li { margin-bottom:8px; }
.footer-col ul a { font-size:14px; color:var(--text-sub); transition:color .2s; }
.footer-col ul a:hover { color:var(--brand-green); }
.footer-contact li { font-size:14px; color:var(--text-sub); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); padding-top:24px; text-align:center; font-size:13px; color:var(--text-muted); }
.back-top { position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%; background:var(--grad); color:#fff; border:none; font-size:18px; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(123,97,255,.3); opacity:0; visibility:hidden; transform:translateY(10px); transition:all .3s; z-index:99; }
.back-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.back-top:hover { box-shadow:0 0 20px rgba(0,229,160,.35); }
@media (min-width:1200px) {
  .header-top,.nav-scroll { padding-left:40px; padding-right:40px; }
}
@media (max-width:1024px) {
  .hero-mini h1 { font-size:34px; }
  .hero-mini__stats { flex-basis:100%; }
  .levels-layout { padding:28px; }
  .alert-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .flow-layout { flex-direction:column; }
  .flow-image { flex-basis:auto; width:100%; }
}
@media (max-width:768px) {
  .container { padding:0 20px; }
  section { padding:64px 0; }
  .header-top { padding:12px 20px; gap:10px; }
  .brand__text { font-size:17px; }
  .header-search { display:none; }
  .header-actions .btn--ghost { display:none; }
  .header-actions .btn--primary { padding:8px 14px; font-size:13px; }
  .nav-scroll { padding:8px 20px; gap:4px; }
  .nav-tab { padding:8px 14px; font-size:14px; }
  .hero-mini { padding:44px 0 56px; }
  .hero-mini__content { flex-basis:100%; }
  .hero-mini__stats { flex-basis:100%; justify-content:center; }
  .stat-badge { flex:0 1 30%; }
  .hero-mini__actions .btn { padding:12px 20px; font-size:14px; }
  .section-head h2 { font-size:24px; }
  .section-head p { font-size:14px; }
  .levels-layout { padding:20px; gap:24px; }
  .levels-score { min-height:180px; padding:24px 20px; }
  .levels-score__num { font-size:44px; }
  .flow-item { padding:16px; gap:14px; }
  .flow-item__num { width:40px; height:40px; font-size:18px; }
  .flow-image img { height:220px; }
  .alert-card { padding:20px; }
  .faq-item__q { padding:16px 18px; font-size:15px; }
  .faq-item.open .faq-item__a { padding:0 18px 18px; }
  .cta-banner { padding:32px 24px; }
  .cta-banner h2 { font-size:22px; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-brand p { max-width:100%; }
}
@media (max-width:520px) {
  .hero-mini h1 { font-size:28px; }
  .hero-mini__desc { font-size:15px; }
  .hero-mini__stats { gap:8px; }
  .stat-badge { flex-basis:46%; }
  .stat-badge__num { font-size:26px; }
  .levels-bars { gap:16px; }
  .flow-layout { gap:24px; }
  .alert-grid { gap:16px; }
  .faq-list { gap:10px; }
  .cta-banner { flex-direction:column; align-items:flex-start; }
}

/* roulang page: category3 */
:root {
  --bg-deep: #12132A;
  --bg-card: #1C1E3F;
  --bg-elevated: #25284F;
  --border-light: rgba(255,255,255,.06);
  --border-accent: rgba(0,229,160,.35);
  --primary: #7B61FF;
  --primary-soft: rgba(123,97,255,.15);
  --accent: #00E5A0;
  --gold: #FFB84D;
  --danger: #FF6B6B;
  --text-main: #E8E9F7;
  --text-weak: #A0A3C4;
  --text-sub: #C4C6E0;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(0,0,0,.25);
  --shadow-hover: 0 12px 40px rgba(18,19,42,.55);
  --grad-brand: linear-gradient(135deg, #7B61FF 0%, #00E5A0 100%);
  --font-cn: "PingFang SC","HarmonicOS Sans SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --font-num: "DIN Alternate","Bahnschrift","Roboto Mono",monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  background: var(--bg-deep);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 32px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .5px;
}

.section-head p {
  color: var(--text-weak);
  font-size: 16px;
  margin-top: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123,97,255,.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(0,229,160,.35);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--text-main);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost:active {
  transform: scale(.98);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,19,42,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1264px;
  margin: 0 auto;
  padding: 14px 32px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(123,97,255,.4);
}

.brand__text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-main);
}

.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0E0F26;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  transition: border-color .2s;
}

.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,160,.12);
}

.search-icon {
  font-size: 14px;
  opacity: .7;
}

.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
  min-width: 0;
}

.header-search input::placeholder {
  color: #6A6D96;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 8px 20px;
  font-size: 14px;
}

.mobile-search {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.header-nav {
  border-top: 1px solid rgba(255,255,255,.04);
}

.nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1264px;
  margin: 0 auto;
  padding: 8px 32px;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  flex: 0 0 auto;
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-weak);
  transition: all .2s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-tab:hover {
  color: var(--accent);
  background: rgba(255,255,255,.05);
}

.nav-tab.active {
  color: var(--accent);
  background: var(--primary-soft);
  border-color: rgba(0,229,160,.35);
}

/* ===== Hero ===== */
.category-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(28,30,63,.94) 0%, rgba(42,38,88,.88) 55%, rgba(18,30,44,.9) 100%),
    url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  padding: 88px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.category-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(0,229,160,.3);
}

.category-hero__text h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin: 18px 0 16px;
  letter-spacing: 1px;
}

.category-hero__text p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 48ch;
  line-height: 1.75;
}

.category-hero__stats {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.stat-badge {
  background: rgba(18,19,42,.72);
  border: 1px solid rgba(0,229,160,.3);
  border-radius: 18px;
  padding: 20px 24px;
  min-width: 110px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-weak);
  margin-top: 4px;
  display: block;
}

/* ===== Steps ===== */
.guide-steps {
  background: var(--bg-deep);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .25s ease;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .25s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-family: var(--font-num);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-section {
  background: #0E0F26;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.faq-item[open] {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-answer {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-sub);
}

/* ===== Glossary ===== */
.glossary-section {
  background: var(--bg-deep);
}

.glossary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.glossary-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s ease;
}

.glossary-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.glossary-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 14px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.glossary-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.glossary-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== Resource ===== */
.resource-section {
  background: #0E0F26;
  border-top: 1px solid rgba(255,255,255,.04);
}

.resource-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s;
}

.resource-card:hover {
  border-color: var(--border-accent);
}

.resource-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.resource-info {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.resource-info h2 {
  font-size: 30px;
  font-weight: 700;
}

.resource-info p {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.75;
}

.resource-info ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 20px;
}

.resource-info li {
  padding-left: 24px;
  position: relative;
  color: var(--text-sub);
  font-size: 15px;
}

.resource-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad-brand);
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-deep);
}

.cta-banner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(123,97,255,.4), rgba(0,229,160,.22)),
    url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  border: 1px solid rgba(0,229,160,.3);
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 auto 28px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: #0F1023;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 68px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 44px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  color: var(--text-weak);
  font-size: 14px;
  line-height: 1.75;
  margin: 16px 0 20px;
  max-width: 34ch;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-weak);
  font-size: 13px;
  text-decoration: none;
  transition: all .2s ease;
}

.footer-social a:hover {
  background: rgba(123,97,255,.25);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-contact {
  color: var(--text-weak);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 22px 0;
  text-align: center;
  color: #6A6D96;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 0 20px rgba(0,229,160,.35);
}

.back-to-top:active {
  transform: scale(.95);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 80px 24px;
  }

  .header-top {
    padding: 12px 24px;
  }

  .nav-scroll {
    padding: 8px 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-hero {
    padding: 72px 0;
  }

  .category-hero__text h1 {
    font-size: 34px;
  }

  .resource-card {
    grid-template-columns: 1fr;
  }

  .resource-media img {
    min-height: 220px;
    max-height: 360px;
  }

  .category-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 20px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .header-top {
    padding: 10px 20px;
    gap: 10px;
  }

  .brand__text {
    font-size: 17px;
  }

  .brand__icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .header-search {
    display: none;
  }

  .mobile-search {
    display: flex;
  }

  .header-actions .btn--primary {
    padding: 8px 14px;
    font-size: 13px;
  }

  .header-actions .btn--ghost {
    display: none;
  }

  .nav-scroll {
    padding: 8px 20px;
  }

  .nav-tab {
    padding: 6px 16px;
    font-size: 14px;
  }

  .category-hero {
    padding: 56px 0;
  }

  .category-hero__text h1 {
    font-size: 28px;
  }

  .category-hero__stats {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .stat-badge {
    scroll-snap-align: start;
    flex: 0 0 auto;
    min-width: 120px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 24px 22px;
  }

  .glossary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .glossary-card {
    padding: 22px;
  }

  .resource-info {
    padding: 28px 22px;
  }

  .resource-info h2 {
    font-size: 24px;
  }

  .cta-banner {
    padding: 44px 24px;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 48px 0 0;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .brand__text {
    font-size: 16px;
  }

  .category-hero__text p {
    font-size: 15px;
  }

  .step-num {
    font-size: 36px;
  }

  .stat-num {
    font-size: 24px;
  }
}
