:root {
  --bg: #070d12;
  --surface: #122030;
  --surface-alt: #1a2f45;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent2: #38bdf8;
  --text: #f0f8ff;
  --muted: #8fa5b8;
  --border: rgba(143, 165, 184, 0.2);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Fira Sans', sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

h1, h2, h3, .brand, .btn, .nav-links a, summary {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}
.btn-secondary {
  background: transparent;
  border-color: var(--accent2);
  color: var(--accent2);
}
.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* Header (Provided Structure) */
header {
  background: rgba(7, 13, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links {
  display: none;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent2); }
.nav-actions { display: none; gap: 1rem; }
.menu-toggle {
  display: block;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu .btn { border-bottom: none; text-align: center; padding: 0.75rem; }

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

/* Hero Section */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.breadcrumb span { color: var(--accent); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.meta-chips {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.chip {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--accent2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
}
.chip::before {
  content: '>';
  color: var(--accent);
  font-weight: bold;
}
.intro-block {
  font-size: 1.125rem;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
  position: relative;
}
.intro-block::after {
  content: '[SYS.INFO]';
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.7rem;
  padding: 2px 6px;
}

/* Main Content Layout */
.content-area {
  padding: 4rem 0;
}
.grid-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-full { grid-column: 1 / -1; }
}

/* Content Panels */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.panel:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--accent2);
  transition: width 0.3s;
}
.panel:hover::before { width: 100px; }
.panel h2 {
  font-size: 1.5rem;
  color: var(--accent2);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.panel h2::before {
  content: '■';
  color: var(--accent);
  font-size: 0.8em;
}
.panel p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.panel p a {
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent2);
  transition: color 0.2s, border-color 0.2s;
}
.panel p a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* List Styles */
.panel ul {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

/* Style 1: Step List (Terminal style) */
.step-list { counter-reset: term-step; }
.step-list li {
  background: rgba(7, 13, 18, 0.6);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  border-radius: 2px;
}
.step-list li::before {
  counter-increment: term-step;
  content: "0" counter(term-step);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Style 2: Data Grid (For apps) */
.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.data-grid li {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.05), transparent);
  border-left: 2px solid var(--accent2);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
}

/* Style 3: Checklist */
.check-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  color: #10b981; /* Emerald */
  font-weight: bold;
  font-family: monospace;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Style 4: Alert List */
.alert-list li {
  background: rgba(249, 115, 22, 0.05);
  border: 1px dashed rgba(249, 115, 22, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-list li::before {
  content: '!';
  color: var(--accent);
  font-weight: bold;
  font-family: var(--font-display);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: rgba(18, 32, 48, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #fff;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}
summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background 0.2s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  color: var(--accent2);
  font-size: 1.5rem;
  font-weight: 400;
}
details[open] summary {
  background: rgba(56, 189, 248, 0.05);
  border-bottom: 1px solid var(--border);
  color: var(--accent2);
}
details[open] summary::after { content: '-'; color: var(--accent); }
details p {
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  margin: 0;
}

/* Related Pages */
.related-section {
  padding: 4rem 0;
}
.related-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--muted);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
  transition: left 0.5s;
}
.related-card:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.related-card:hover::before { left: 100%; }

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.05));
  border-top: 1px dashed var(--border);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer (Provided Structure) */
footer {
  background: #04080b;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-tagline {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 500px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent2); }
.copyright {
  color: rgba(143, 165, 184, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  text-align: center;
}

/* Responsive constraints */
@media (max-width: 390px) {
  body { overflow-x: hidden; }
  .btn { width: 100%; }
  .meta-chips { flex-direction: column; gap: 0.5rem; }
  .panel { padding: 1.5rem; }
}


/* 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; }
