/* roulang page: index */
/* ============ 设计变量 ============ */
:root {
  --bg-base: #080B12;
  --bg-surface: #10151E;
  --bg-elevated: #171E2B;
  --stroke: rgba(255,255,255,0.09);
  --stroke-strong: rgba(255,255,255,0.16);
  --text-primary: #EDF0F6;
  --text-secondary: #A7B0C2;
  --text-tertiary: #697286;
  --brand: #F5A623;
  --brand-weak: rgba(245,166,35,0.12);
  --brand-strong: #D98F0B;
  --success: #2AD4A6;
  --danger: #F2545B;
  --info: #4DA3FF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,0.35);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.45);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --container: 1200px;
}

/* ============ Reset / Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ============ 按钮系统 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 42px; padding: 0 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; line-height: 1; border: none;
  transition: all 0.25s ease; white-space: nowrap; user-select: none;
}
.btn-primary { background: var(--brand); color: #1C1305; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--brand-weak); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { background: transparent; border: 1px solid var(--stroke-strong); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-secondary:active { background: var(--brand-weak); }
.btn-secondary:focus-visible { box-shadow: 0 0 0 3px var(--brand-weak); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============ 徽章 ============ */
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.4;
  background: rgba(255,255,255,0.07); color: var(--text-secondary);
}
.badge-brand { background: var(--brand-weak); color: var(--brand); }
.badge-success { background: rgba(42,212,166,0.12); color: var(--success); }
.badge-danger { background: rgba(242,84,91,0.12); color: var(--danger); }
.badge-info { background: rgba(77,163,255,0.12); color: var(--info); }

/* ============ 顶部栏 ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,11,18,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.header-main { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand-weak); border: 1px solid rgba(245,166,35,0.3);
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: 0.01em; color: var(--text-primary); }
.logo-text mark { background: linear-gradient(transparent 70%, rgba(245,166,35,0.25) 70%); color: inherit; padding: 0; }

.header-search {
  flex: 1; max-width: 320px; height: 36px; display: flex; align-items: center;
  background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 8px;
  padding: 0 12px; transition: all 0.25s ease; position: relative;
}
.header-search svg { width: 16px; height: 16px; stroke: var(--text-tertiary); fill: none; stroke-width: 2; margin-right: 8px; flex-shrink: 0; }
.header-search input {
  width: 100%; height: 100%; background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 13px;
}
.header-search input::placeholder { color: var(--text-tertiary); }
.header-search:focus-within { border-color: var(--brand); background: var(--bg-elevated); box-shadow: 0 0 0 3px var(--brand-weak); }

.header-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.header-select {
  height: 32px; display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  padding: 0 8px; font-size: 13px; color: var(--text-secondary); cursor: pointer;
  transition: all 0.2s;
}
.header-select:hover { border-color: var(--stroke); color: var(--text-primary); }
.header-select svg { width: 12px; height: 12px; stroke: var(--text-tertiary); }

.header-cta { margin-left: 4px; }

.header-nav {
  border-top: 1px solid var(--stroke);
  background: rgba(8,11,18,0.6);
}
.header-nav-inner { display: flex; align-items: center; height: 44px; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all 0.2s ease; position: relative;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--brand); background: var(--brand-weak); }
.nav-link.active::before { content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 2px; height: 14px; border-radius: 2px; background: var(--brand); }

.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--stroke); background: transparent; align-items: center; justify-content: center; }
.mobile-menu-btn svg { width: 20px; height: 20px; stroke: var(--text-primary); fill: none; stroke-width: 2; stroke-linecap: round; }

.mobile-panel { display: none; border-top: 1px solid var(--stroke); background: var(--bg-surface); padding: 16px 20px; }
.mobile-panel.open { display: block; }
.mobile-panel .mobile-search { display: flex; align-items: center; height: 40px; background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 8px; padding: 0 12px; margin-bottom: 12px; }
.mobile-panel .mobile-search svg { width: 16px; height: 16px; stroke: var(--text-tertiary); margin-right: 8px; }
.mobile-panel .mobile-search input { width: 100%; height: 100%; background: transparent; border: none; outline: none; font-size: 13px; color: var(--text-primary); }
.mobile-panel .mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-panel .mobile-nav a { display: block; height: 40px; line-height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14px; color: var(--text-secondary); }
.mobile-panel .mobile-nav a:hover, .mobile-panel .mobile-nav a.active { color: var(--brand); background: var(--brand-weak); }
.mobile-panel .mobile-cta { display: flex; gap: 10px; margin-top: 12px; }

/* ============ Hero ============ */
.hero {
  position: relative; padding-top: 176px; padding-bottom: 80px;
  min-height: 680px; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/images/backpic/back-1.jpg');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,11,18,0.92) 0%, rgba(8,11,18,0.82) 50%, rgba(8,11,18,0.75) 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(600px 300px at 75% 30%, rgba(245,166,35,0.18), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-left { flex: 7; max-width: 7/12; }
.hero-right { flex: 5; max-width: 5/12; }

.hero-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--brand); letter-spacing: 0.12em; margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 40px; line-height: 1.15; letter-spacing: 0.01em; font-weight: 800;
  margin-bottom: 24px; color: var(--text-primary);
}
.hero h1 .highlight {
  background: linear-gradient(transparent 70%, rgba(245,166,35,0.25) 70%);
  padding: 0 2px;
}
.hero-sub { font-size: 16px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--text-primary); }
.trust-label { font-size: 12px; color: var(--text-tertiary); }

/* ============ 信息终端卡 ============ */
.terminal-card {
  background: var(--bg-elevated); border: 1px solid var(--stroke-strong);
  border-radius: 16px; box-shadow: var(--shadow-hover); overflow: hidden;
}
.terminal-head {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--stroke);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: rgba(242,84,91,0.7); }
.terminal-dot.amber { background: rgba(245,166,35,0.7); }
.terminal-dot.green { background: rgba(42,212,166,0.7); }
.terminal-path { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-left: 8px; }
.terminal-body { padding: 18px; }
.terminal-media {
  position: relative; height: 200px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--stroke); background: var(--bg-base);
}
.terminal-media img { width: 100%; height: 100%; object-fit: cover; }
.terminal-media .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.terminal-media .badges .badge { box-shadow: var(--shadow); }
.terminal-status { margin-top: 16px; border-top: 1px solid var(--stroke); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.status-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.amber { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.status-dot.green { background: var(--success); box-shadow: 0 0 6px var(--success); }
.status-dot.red { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
.status-code { color: var(--text-tertiary); min-width: 90px; }
.status-text { color: var(--text-secondary); }

/* ============ 通用区块 ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-surface); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
  font-family: var(--font-mono);
}
.section-head h2 { font-size: 28px; line-height: 1.25; font-weight: 800; margin-bottom: 16px; }
.section-head p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ============ 服务区块 ============ */
.service-row {
  display: flex; align-items: flex-start; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--stroke); transition: all 0.25s ease;
  position: relative;
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: rgba(255,255,255,0.02); }
.service-row::before {
  content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px;
  border-radius: 2px; background: transparent; transition: all 0.25s ease;
}
.service-row:hover::before { background: var(--brand); }
.service-icon {
  width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-surface); border: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-content { flex: 1; }
.service-content h3 { font-size: 18px; margin-bottom: 8px; }
.service-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.service-arrow { flex-shrink: 0; display: flex; align-items: center; padding-top: 8px; }
.service-arrow svg { width: 20px; height: 20px; stroke: var(--text-tertiary); transition: all 0.25s ease; }
.service-row:hover .service-arrow svg { stroke: var(--brand); transform: translateX(4px); }

/* ============ 优势数据 ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.stat-card {
  background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 12px;
  padding: 28px 24px; text-align: left; transition: all 0.25s ease;
}
.stat-card:hover { border-color: var(--stroke-strong); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.stat-icon { margin-bottom: 16px; }
.stat-icon svg { width: 28px; height: 28px; stroke: var(--text-tertiary); fill: none; stroke-width: 1.6; }
.stat-num { font-family: var(--font-mono); font-size: 36px; font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 4px; }
.stat-num.amber { color: var(--brand); }
.stat-label { font-size: 14px; color: var(--text-secondary); }
.stats-tags { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--stroke); padding-top: 32px; }
.stats-tags .badge { height: 28px; padding: 0 14px; font-size: 12px; color: var(--text-secondary); background: rgba(255,255,255,0.05); }

/* ============ 案例区块 ============ */
.case-row {
  display: flex; align-items: center; gap: 40px; margin-bottom: 40px;
}
.case-row:nth-child(even) { flex-direction: row-reverse; }
.case-row:last-child { margin-bottom: 0; }
.case-media {
  width: 360px; height: 200px; flex-shrink: 0; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--stroke); position: relative;
  background: var(--bg-elevated);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.case-row:hover .case-media img { transform: scale(1.03); }
.case-media .case-badge { position: absolute; top: 12px; left: 12px; }
.case-content { flex: 1; }
.case-content h3 { font-size: 18px; margin-bottom: 10px; }
.case-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.case-link { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.case-link svg { width: 16px; height: 16px; stroke: var(--brand); transition: transform 0.2s; }
.case-link:hover svg { transform: translateX(4px); }

/* ============ 方案区块 ============ */
.solution-row {
  display: flex; align-items: center; gap: 32px; padding: 32px 0;
  border-bottom: 1px solid var(--stroke);
}
.solution-row:first-child { padding-top: 0; }
.solution-row:last-child { border-bottom: none; }
.solution-num {
  font-family: var(--font-mono); font-size: 24px; font-weight: 700;
  color: rgba(237,240,246,0.35); width: 50px; flex-shrink: 0;
}
.solution-main { flex: 1; }
.solution-main h3 { font-size: 18px; margin-bottom: 8px; }
.solution-main ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.solution-main ul li { font-size: 14px; color: var(--text-secondary); position: relative; padding-left: 16px; }
.solution-main ul li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 2px; background: var(--brand);
  opacity: 0.7;
}
.solution-cta { flex-shrink: 0; }
.solution-guide { margin-top: 40px; text-align: center; padding: 24px; border: 1px dashed var(--stroke-strong); border-radius: 12px; font-size: 15px; color: var(--text-secondary); }
.solution-guide a { color: var(--brand); font-weight: 600; padding: 0 4px; }
.solution-guide a:hover { text-decoration: underline; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  transition: color 0.2s; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item[open] summary { color: var(--brand); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0; position: relative;
  transition: transform 0.3s ease; margin-left: 12px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--text-tertiary);
  border-radius: 2px; transition: all 0.3s ease;
}
.faq-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--brand); }
.faq-item .faq-answer { padding: 0 0 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============ 联系 / CTA ============ */
.contact-wrap { display: flex; gap: 48px; align-items: flex-start; }
.contact-info { flex: 5; }
.contact-info h2 { font-size: 28px; margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stroke); }
.contact-method:last-child { border-bottom: none; }
.contact-method .ci { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-weak); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method .ci svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.contact-method .ct { font-size: 15px; color: var(--text-primary); font-weight: 500; }
.contact-method .cd { font-size: 13px; color: var(--text-tertiary); }
.contact-qr { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.qr-box { width: 120px; height: 120px; background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.qr-box svg { width: 64px; height: 64px; stroke: var(--text-tertiary); fill: none; stroke-width: 1.2; }
.qr-text { font-size: 13px; color: var(--text-tertiary); line-height: 1.6; }

.contact-form-wrap { flex: 7; }
.contact-card {
  background: var(--bg-elevated); border: 1px solid var(--stroke-strong);
  border-radius: 16px; padding: 32px; box-shadow: var(--shadow-hover);
}
.form-row { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.form-input {
  width: 100%; height: 44px; background: var(--bg-base);
  border: 1px solid var(--stroke); border-radius: 8px; padding: 0 14px;
  font-size: 14px; color: var(--text-primary); transition: all 0.25s ease;
}
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-weak); outline: none; background: var(--bg-base); }
.form-input::placeholder { color: var(--text-tertiary); }
textarea.form-input { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--text-tertiary); text-align: center; }

/* ============ 页脚 ============ */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--stroke); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--brand); }
.footer-social a svg { width: 16px; height: 16px; stroke: var(--text-secondary); }
.footer-social a:hover svg { stroke: var(--brand); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-col ul li span { font-size: 14px; color: var(--text-tertiary); display: block; }
.footer-copy { border-top: 1px solid var(--stroke); padding: 20px 0; text-align: center; font-size: 13px; color: var(--text-tertiary); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero { padding-top: 160px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-left, .hero-right { max-width: 100%; flex: 1 1 100%; }
  .hero-right { width: 100%; }
  .terminal-media { height: 220px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-row, .case-row:nth-child(even) { flex-direction: column; gap: 24px; }
  .case-media { width: 100%; height: 220px; }
  .contact-wrap { flex-direction: column; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .header-main { gap: 12px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .header-nav, .header-controls, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 24px; }
  .trust-num { font-size: 20px; }
  .section-head h2 { font-size: 24px; }
  .service-row { padding: 20px 0; gap: 16px; }
  .service-icon { width: 48px; height: 48px; }
  .service-icon svg { width: 22px; height: 22px; }
  .solution-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .solution-cta { width: 100%; }
  .solution-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-card { padding: 20px 16px; }
  .stat-num { font-size: 28px; }
  .hero-right { order: 2; }
  .terminal-media { height: 180px; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .case-media { height: 180px; }
}

/* roulang page: category1 */
/* ================= 设计变量 ================= */
:root {
  --bg-base: #080B12;
  --bg-surface: #10151E;
  --bg-elevated: #171E2B;
  --stroke: rgba(255,255,255,0.09);
  --stroke-strong: rgba(255,255,255,0.16);
  --text-primary: #EDF0F6;
  --text-secondary: #A7B0C2;
  --text-tertiary: #697286;
  --brand: #F5A623;
  --brand-weak: rgba(245,166,35,0.12);
  --brand-strong: #D98F0B;
  --success: #2AD4A6;
  --danger: #F2545B;
  --info: #4DA3FF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,0.35);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.45);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --container: 1200px;
}

/* ================= Reset / Base ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ================= 按钮系统 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 42px; padding: 0 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; line-height: 1; border: none;
  transition: all 0.25s ease; white-space: nowrap; user-select: none;
}
.btn-primary { background: var(--brand); color: #1C1305; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--brand-weak); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { background: transparent; border: 1px solid var(--stroke-strong); color: var(--text-primary); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-secondary:active { background: var(--brand-weak); }
.btn-secondary:focus-visible { box-shadow: 0 0 0 3px var(--brand-weak); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ================= 徽章 ================= */
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.4;
  background: rgba(255,255,255,0.07); color: var(--text-secondary);
}
.badge-brand { background: var(--brand-weak); color: var(--brand); }
.badge-success { background: rgba(42,212,166,0.12); color: var(--success); }
.badge-danger { background: rgba(242,84,91,0.12); color: var(--danger); }
.badge-info { background: rgba(77,163,255,0.12); color: var(--info); }

/* ================= 顶部栏 ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,11,18,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.header-main { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand-weak); border: 1px solid rgba(245,166,35,0.3);
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: 0.01em; color: var(--text-primary); }
.logo-text mark { background: linear-gradient(transparent 70%, rgba(245,166,35,0.25) 70%); color: inherit; padding: 0; }
.header-search {
  flex: 1; max-width: 320px; height: 36px; display: flex; align-items: center;
  background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 8px;
  padding: 0 12px; transition: all 0.25s ease; position: relative;
}
.header-search svg { width: 16px; height: 16px; stroke: var(--text-tertiary); fill: none; stroke-width: 2; margin-right: 8px; flex-shrink: 0; }
.header-search input {
  width: 100%; height: 100%; background: transparent; border: none; outline: none;
  color: var(--text-primary); font-size: 13px;
}
.header-search input::placeholder { color: var(--text-tertiary); }
.header-search:focus-within { border-color: var(--brand); background: var(--bg-elevated); box-shadow: 0 0 0 3px var(--brand-weak); }
.header-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.header-select {
  height: 32px; display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  padding: 0 8px; font-size: 13px; color: var(--text-secondary); cursor: pointer;
  transition: all 0.2s;
}
.header-select:hover { border-color: var(--stroke); color: var(--text-primary); }
.header-select svg { width: 12px; height: 12px; stroke: var(--text-tertiary); }
.header-cta { margin-left: 4px; }
.header-nav { border-top: 1px solid var(--stroke); background: rgba(8,11,18,0.6); }
.header-nav-inner { display: flex; align-items: center; height: 44px; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all 0.2s ease; position: relative;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--brand); background: var(--brand-weak); }
.nav-link.active::before { content: ''; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 2px; height: 14px; border-radius: 2px; background: var(--brand); }
.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--stroke); background: transparent; align-items: center; justify-content: center; }
.mobile-menu-btn svg { width: 20px; height: 20px; stroke: var(--text-primary); fill: none; stroke-width: 2; stroke-linecap: round; }
.mobile-panel {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--bg-surface); border-bottom: 1px solid var(--stroke);
  padding: 16px 20px 20px; box-shadow: var(--shadow-hover);
}
.mobile-panel.open { display: block; }
.mobile-search {
  display: flex; align-items: center; height: 40px;
  background: var(--bg-base); border: 1px solid var(--stroke); border-radius: 8px;
  padding: 0 12px; margin-bottom: 12px;
}
.mobile-search svg { width: 16px; height: 16px; stroke: var(--text-tertiary); fill: none; stroke-width: 2; margin-right: 8px; }
.mobile-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-size: 14px; }
.mobile-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.mobile-nav a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 15px; color: var(--text-secondary); font-weight: 500; transition: all 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.mobile-nav a.active { color: var(--brand); background: var(--brand-weak); }
.mobile-cta { display: flex; gap: 10px; }

/* ================= 主体框架 ================= */
.main-wrap { padding-top: 108px; position: relative; }

/* ================= Banner ================= */
.page-banner {
  position: relative;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--stroke);
  background:
    linear-gradient(to right, rgba(8,11,18,0.93), rgba(8,11,18,0.72)),
    url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }

/* ================= 面包屑 ================= */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--text-tertiary); margin-bottom: 20px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--text-tertiary); }
.breadcrumb .current { color: var(--text-secondary); }

/* ================= 页头 ================= */
.page-title {
  font-size: 40px; line-height: 1.15; letter-spacing: 0.01em;
  font-weight: 800; margin-bottom: 14px; color: var(--text-primary);
}
.page-title .hl {
  background: linear-gradient(transparent 70%, rgba(245,166,35,0.25) 70%);
}
.page-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary);
  margin-bottom: 24px;
}
.lead {
  font-size: 16px; color: var(--text-secondary); line-height: 1.75;
  max-width: 760px; margin-bottom: 0;
}

/* ================= 文档主区 ================= */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  align-items: start;
}
.doc-content { max-width: 900px; min-width: 0; }

/* ================= 左侧目录侧栏 ================= */
.doc-sidebar {
  position: sticky; top: 108px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  align-self: start;
  scrollbar-width: thin;
  scrollbar-color: var(--stroke) transparent;
}
.doc-sidebar::-webkit-scrollbar { width: 4px; }
.doc-sidebar::-webkit-scrollbar-thumb { background: var(--stroke-strong); border-radius: 4px; }
.sidebar-title {
  font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0 12px; margin-bottom: 16px; font-weight: 600;
}
.sidebar-group { margin-bottom: 28px; }
.sidebar-group-label {
  font-size: 12px; color: var(--text-tertiary); padding: 0 12px; margin-bottom: 6px;
  font-family: var(--font-mono); letter-spacing: 0.06em;
}
.sidebar-link {
  position: relative;
  display: block; height: 36px; line-height: 36px; padding: 0 12px 0 14px;
  border-radius: 8px; font-size: 14px; color: var(--text-secondary);
  transition: all 0.2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-link:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.sidebar-link.active { background: var(--brand-weak); color: var(--brand); }
.sidebar-link.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 3px; background: var(--brand);
}

/* ================= 移动端抽屉遮罩 ================= */
.sidebar-overlay {
  display: none;
}

/* ================= 目录按钮（移动端） ================= */
.doc-dir-btn {
  display: none; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 8px;
  background: var(--bg-surface); border: 1px solid var(--stroke-strong);
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  margin-bottom: 24px; transition: all 0.2s ease;
}
.doc-dir-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.doc-dir-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ================= 板块容器 ================= */
.docs-section { margin-bottom: 56px; }
.docs-section h2 {
  font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--text-primary);
  margin-bottom: 24px; letter-spacing: 0.01em;
}
.docs-section h2 .badge { margin-left: 10px; vertical-align: 2px; }

/* ================= 推荐卡片 ================= */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-surface); border: 1px solid var(--stroke);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s ease; display: flex; flex-direction: column;
}
.feature-card:hover { border-color: var(--stroke-strong); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-media { position: relative; height: 140px; background: var(--bg-elevated); flex-shrink: 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .badge { position: absolute; top: 12px; left: 12px; }
.feature-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.feature-body h3 a { transition: color 0.2s; }
.feature-body h3 a:hover { color: var(--brand); }
.feature-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.text-link { font-size: 14px; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.text-link:hover { text-decoration: underline; }

/* ================= 归档列表 ================= */
.archive-list { border-top: 1px solid var(--stroke); }
.archive-item {
  display: flex; align-items: center; gap: 16px;
  min-height: 56px; padding: 8px 4px;
  border-bottom: 1px solid var(--stroke);
  transition: background 0.2s ease;
}
.archive-item:hover { background: rgba(255,255,255,0.03); }
.archive-badge { flex-shrink: 0; }
.archive-title {
  flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.2s;
}
.archive-item:hover .archive-title { color: var(--brand); }
.archive-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); flex-shrink: 0; }
.archive-arrow { width: 16px; height: 16px; stroke: var(--text-tertiary); flex-shrink: 0; transition: all 0.2s; }
.archive-item:hover .archive-arrow { stroke: var(--brand); transform: translateX(3px); }

/* ================= 信息提示块 ================= */
.alert { border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; font-size: 14px; line-height: 1.7; }
.alert-brand { background: rgba(245,166,35,0.06); border-left: 4px solid var(--brand); color: var(--text-secondary); }
.alert-success { background: rgba(42,212,166,0.06); border-left: 4px solid var(--success); color: var(--text-secondary); }
.alert-title { font-weight: 700; color: var(--text-primary); margin-bottom: 4px; font-size: 15px; }

/* ================= FAQ ================= */
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--text-primary);
  cursor: pointer; list-style: none; transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--text-tertiary); font-weight: 400;
  transition: transform 0.25s ease; line-height: 1;
}
.faq-item[open] summary { color: var(--brand); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; max-width: 720px; }

/* ================= CTA 区块 ================= */
.cta-block {
  background: var(--bg-surface); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 56px;
  position: relative; overflow: hidden;
}
.cta-block::after {
  content: '';
  position: absolute; right: -80px; top: -80px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(245,166,35,0.12), transparent 70%);
  pointer-events: none;
}
.cta-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta-block p { font-size: 14px; color: var(--text-secondary); }
.cta-block .btn { position: relative; z-index: 1; }

/* ================= 上一篇 / 下一篇 ================= */
.page-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 16px; padding-top: 32px; border-top: 1px solid var(--stroke);
}
.page-nav .btn { max-width: 48%; }
.page-nav .btn.disabled { opacity: 0.4; pointer-events: none; }

/* ================= 页脚 ================= */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--stroke); }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--text-secondary); max-width: 360px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--stroke); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a, .footer-col ul span { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text-primary); }
.footer-copy {
  border-top: 1px solid var(--stroke); padding: 20px 0;
  font-size: 13px; color: var(--text-tertiary); text-align: center;
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .doc-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 85%;
    background: var(--bg-surface); border-right: 1px solid var(--stroke);
    z-index: 200; padding: 28px 20px; overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-height: none;
    display: block;
  }
  .doc-sidebar.open { transform: translateX(0); }
  .sidebar-overlay {
    display: block; position: fixed; inset: 0; z-index: 190;
    background: rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .sidebar-overlay.open { opacity: 1; pointer-events: auto; }
  .doc-dir-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .header-search, .header-controls, .header-cta { display: none; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .main-wrap { padding-top: 64px; }
  .page-banner { padding: 48px 0 36px; }
  .page-title { font-size: 30px; }
  .page-meta { gap: 12px; font-size: 11px; }
  .lead { font-size: 15px; }
  .doc-layout { padding: 24px 20px 56px; }
  .feature-grid { grid-template-columns: 1fr; }
  .docs-section { margin-bottom: 44px; }
  .docs-section h2 { font-size: 24px; }
  .archive-item { flex-wrap: wrap; gap: 10px; padding: 12px 4px; }
  .archive-title { white-space: normal; font-size: 14px; flex-basis: calc(100% - 170px); }
  .archive-date { font-size: 11px; }
  .cta-block { flex-direction: column; align-items: flex-start; padding: 24px; }
  .cta-block .btn { width: 100%; }
  .page-nav { flex-direction: column; }
  .page-nav .btn { max-width: 100%; width: 100%; }
  .footer-top { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .page-meta { flex-direction: column; gap: 4px; }
  .archive-badge { display: none; }
  .archive-title { flex-basis: 100%; }
  .archive-date { font-size: 11px; }
}
