:root {
  --bg-base: #070d12;
  --bg-surface: #122030;
  --bg-panel: #16283c;
  --accent-primary: #f97316;
  --accent-primary-hover: #ea580c;
  --accent-secondary: #38bdf8;
  --text-main: #f0f8ff;
  --text-muted: #8fa5b8;
  --border-color: #1e3650;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Fira Sans', sans-serif;
  --transition: all 0.2s ease-in-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-primary); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; font-family: var(--font-display); text-transform: uppercase;
  font-weight: 500; letter-spacing: 0.5px; border-radius: 2px;
  transition: var(--transition); cursor: pointer; min-height: 44px;
}
.btn-primary { background-color: var(--accent-primary); color: #fff; border: 1px solid var(--accent-primary); }
.btn-primary:hover { background-color: var(--accent-primary-hover); border-color: var(--accent-primary-hover); color: #fff; box-shadow: 0 0 10px rgba(249, 115, 22, 0.3); }
.btn-secondary { background-color: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--accent-secondary); color: var(--accent-secondary); }

/* Header (A1 Constraints) */
header { background-color: rgba(7, 13, 18, 0.95); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.nav-links { display: none; gap: 20px; }
.nav-links a { color: var(--text-main); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent-primary); }
.nav-actions { display: none; gap: 10px; }
.menu-toggle { display: block; background: none; border: 1px solid var(--border-color); color: var(--text-main); font-size: 20px; padding: 5px 10px; cursor: pointer; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; background-color: var(--bg-surface); border-bottom: 1px solid var(--border-color); padding: 15px 20px; position: absolute; top: 70px; left: 0; width: 100%; }
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--border-color); color: var(--text-main); font-weight: 500; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 10px; text-align: center; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .mobile-menu { display: none !important; }
}

/* Hero Section */
.hero { padding: 60px 0 40px; background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%); border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, rgba(7,13,18,0) 70%); pointer-events: none; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; display: inline-flex; align-items: center; font-family: monospace; }
.hero h1 { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.2; }
.meta-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; padding: 4px 12px; background-color: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); color: var(--accent-secondary); font-size: 12px; font-family: monospace; border-radius: 2px; }

@media (min-width: 768px) { .hero h1 { font-size: 42px; } }

/* Main Content */
.main-content { padding: 50px 0; }
.intro-block { font-size: 17px; color: var(--text-main); border-left: 3px solid var(--accent-primary); padding-left: 20px; margin-bottom: 50px; background: linear-gradient(90deg, rgba(249,115,22,0.05) 0%, transparent 100%); padding-top: 15px; padding-bottom: 15px; }

/* Data Panels (Body Slots) */
.data-panel { background-color: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 2px; margin-bottom: 30px; position: relative; }
.data-panel::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 15px; height: 15px; border-bottom: 2px solid var(--accent-secondary); border-right: 2px solid var(--accent-secondary); }
.panel-header { padding: 20px; border-bottom: 1px solid var(--border-color); background-color: var(--bg-panel); display: flex; align-items: flex-start; gap: 15px; }
.panel-id { font-family: monospace; font-size: 12px; color: var(--accent-primary); background: rgba(249,115,22,0.1); padding: 2px 6px; border-radius: 2px; margin-top: 5px; }
.data-panel h2 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text-main); letter-spacing: 0.5px; }
.panel-body { padding: 20px; color: var(--text-muted); }
.panel-body p { margin-bottom: 15px; }
.panel-body p:last-child { margin-bottom: 0; }
.panel-body a { color: var(--accent-primary); font-weight: 500; border-bottom: 1px dashed var(--accent-primary); }
.panel-body a:hover { color: var(--accent-secondary); border-bottom-color: var(--accent-secondary); }
.tech-list { margin-top: 15px; padding-left: 5px; }
.tech-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--text-main); }
.tech-list li::before { content: '>'; position: absolute; left: 0; top: 0; color: var(--accent-secondary); font-family: monospace; font-weight: bold; }

@media (min-width: 768px) { .panel-header { padding: 20px 30px; } .panel-body { padding: 30px; } }

/* FAQ Section */
.faq-section { margin-top: 60px; }
.section-title { font-family: var(--font-display); font-size: 24px; color: var(--text-main); margin-bottom: 25px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.section-title::before { content: ''; display: block; width: 8px; height: 24px; background-color: var(--accent-primary); }
.faq-grid { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background-color: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 2px; }
.faq-item[open] { border-color: var(--accent-secondary); }
.faq-q { padding: 18px 20px; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; font-family: monospace; font-size: 20px; color: var(--accent-secondary); transition: transform 0.3s; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); color: var(--accent-primary); }
.faq-a { padding: 0 20px 20px; color: var(--text-muted); border-top: 1px dashed var(--border-color); margin-top: 5px; padding-top: 15px; }

/* Related Links */
.related-section { margin-top: 60px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.link-card { display: flex; align-items: center; justify-content: center; padding: 20px; background-color: var(--bg-surface); border: 1px solid var(--border-color); font-family: var(--font-display); font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); position: relative; overflow: hidden; z-index: 1; }
.link-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background-color: rgba(249,115,22,0.1); transition: width 0.3s ease; z-index: -1; }
.link-card:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.link-card:hover::before { width: 100%; }

/* CTA Block */
.cta-block { margin-top: 70px; padding: 50px 30px; background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-surface) 100%); border: 1px solid var(--border-color); text-align: center; position: relative; }
.cta-block::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); }
.cta-block h2 { font-family: var(--font-display); font-size: 28px; color: var(--text-main); margin-bottom: 15px; text-transform: uppercase; }
.cta-block p { color: var(--text-muted); margin-bottom: 30px; font-size: 16px; }
.cta-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* Footer (A2 Constraints) */
footer { background-color: #04080b; border-top: 1px solid var(--border-color); padding: 50px 0 20px; margin-top: 80px; text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.footer-tagline { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 25px; margin-bottom: 40px; }
.footer-links a { color: var(--text-main); font-size: 14px; }
.footer-links a:hover { color: var(--accent-primary); }
.copyright { color: #5a6b7c; font-size: 12px; border-top: 1px solid var(--border-color); padding-top: 20px; }


/* pipeline image & layout guards */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
/* 合规声明块（zb-disclaimer，全站 footer） */
.zb-disclaimer { margin-top: 18px !important; padding: 14px 0 0 0 !important; border-top: 1px solid rgba(128,128,128,.25) !important; font-size: .72rem !important; line-height: 1.7 !important; opacity: .85 !important; display: block !important; text-align: left !important; width: 100% !important; clear: both !important; }
.zb-disclaimer .zb-18 { display: inline-block !important; padding: 2px 10px !important; border: 1.5px solid currentColor !important; border-radius: 6px !important; font-weight: 800 !important; letter-spacing: 1px !important; margin: 0 0 10px 0 !important; font-size: .78rem !important; }
.zb-disclaimer p { display: block !important; margin: 5px 0 !important; padding: 0 !important; color: inherit !important; font-size: .72rem !important; line-height: 1.7 !important; }
.zb-disclaimer p:last-child { margin-bottom: 0 !important; }
