@charset "UTF-8";
/* 黑客终端风格样式表 - 红杏云 hongxinclouds.mom */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg-terminal: #040705;
  --main-neon: #39ff5c;
  --accent-cyan: #54f0e0;
  --text-dim: #9affb8;
  --text-code: #d8ffe9;
  --border-green: #39ff5c;
  --border-dashed: 1px dashed #39ff5c;
  --border-solid: 1px solid rgba(57, 255, 92, 0.4);
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --font-cn: 'Noto Sans SC', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-terminal);
}

body {
  background-color: var(--bg-terminal);
  color: var(--text-code);
  font-family: var(--font-mono), var(--font-cn);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* CRT 扫描线滤镜效果 */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  z-index: 999;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 终端风导航 */
.terminal-nav {
  position: sticky;
  top: 0;
  background: rgba(4, 7, 5, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-green);
  z-index: 100;
  padding: 0 24px;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.nav-prompt {
  font-weight: 800;
  font-size: 18px;
  color: var(--main-neon);
  text-shadow: 0 0 8px rgba(57, 255, 92, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-item {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-item:hover {
  color: var(--main-neon);
  text-shadow: 0 0 10px var(--main-neon);
  background: rgba(57, 255, 92, 0.1);
}

.nav-item.active-news {
  color: var(--bg-terminal);
  background-color: var(--main-neon);
  font-weight: 800;
}

.btn-terminal {
  border: 1px solid var(--main-neon);
  background: rgba(57, 255, 92, 0.1);
  color: var(--main-neon);
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(57, 255, 92, 0.2);
}

.btn-terminal:hover {
  background: var(--main-neon);
  color: var(--bg-terminal);
  box-shadow: 0 0 24px rgba(57, 255, 92, 0.6);
}

.btn-terminal-cyan {
  border: 1px solid var(--accent-cyan);
  background: rgba(84, 240, 224, 0.1);
  color: var(--accent-cyan);
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.btn-terminal-cyan:hover {
  background: var(--accent-cyan);
  color: var(--bg-terminal);
  box-shadow: 0 0 20px rgba(84, 240, 224, 0.5);
}

/* Hero 区域 + Matrix 数字雨背景 */
.hero-wrapper {
  position: relative;
  border-bottom: 1px solid rgba(57, 255, 92, 0.3);
  padding: 90px 24px 80px 24px;
  overflow: hidden;
}

#matrix-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-sys-tag {
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--main-neon);
  text-shadow: 0 0 15px rgba(57, 255, 92, 0.7), 0 0 35px rgba(57, 255, 92, 0.35);
  margin-bottom: 20px;
}

.typewriter-box {
  background: rgba(0, 20, 10, 0.6);
  border-left: 3px solid var(--main-neon);
  padding: 14px 20px;
  margin-bottom: 30px;
  max-width: 780px;
  font-size: 17px;
  color: var(--accent-cyan);
  min-height: 54px;
  display: flex;
  align-items: center;
}

.typewriter-cursor {
  display: inline-block;
  width: 10px;
  height: 18px;
  background-color: var(--main-neon);
  margin-left: 8px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-dim);
  max-width: 860px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* 核心互动：仿终端窗口 */
.section-terminal {
  border-bottom: 1px solid rgba(57, 255, 92, 0.3);
  padding: 80px 24px;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
}

.terminal-window {
  border: 1px solid var(--main-neon);
  box-shadow: 0 0 30px rgba(57, 255, 92, 0.15);
  background: #020403;
  margin-top: 36px;
}

.terminal-header {
  background: #09120b;
  border-bottom: 1px solid rgba(57, 255, 92, 0.3);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title-bar {
  font-size: 13px;
  color: #88cc99;
}

.terminal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 340px;
}

.terminal-sidebar {
  border-right: 1px solid rgba(57, 255, 92, 0.3);
  padding: 20px;
  background: #030805;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-label {
  font-size: 12px;
  color: #66aa77;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.node-btn {
  background: rgba(57, 255, 92, 0.05);
  border: 1px solid rgba(57, 255, 92, 0.3);
  color: var(--text-code);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
}

.node-btn:hover:not(:disabled) {
  border-color: var(--main-neon);
  background: rgba(57, 255, 92, 0.15);
  color: var(--main-neon);
}

.node-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(84, 240, 224, 0.15);
  color: var(--accent-cyan);
}

.node-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.node-ping {
  color: var(--main-neon);
  font-weight: 700;
}

.terminal-console {
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #a0ffa0;
  overflow-y: auto;
  max-height: 360px;
}

.console-line {
  margin-bottom: 4px;
}

.console-success {
  color: var(--main-neon);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(57, 255, 92, 0.8);
}

/* 特性区：虚线边框卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.dashed-card {
  border: var(--border-dashed);
  padding: 30px;
  background: rgba(4, 12, 6, 0.4);
  transition: all 0.25s;
}

.dashed-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(84, 240, 224, 0.2);
  transform: translateY(-3px);
}

.dashed-card-tag {
  font-size: 12px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.dashed-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--main-neon);
  margin-bottom: 14px;
}

.dashed-card-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* 价格：ASCII 表格 */
.ascii-table-container {
  overflow-x: auto;
  margin-top: 36px;
  border: 1px solid var(--border-green);
  background: #020403;
}

.ascii-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 14px;
}

.ascii-table th {
  background: #09140b;
  color: var(--main-neon);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-green);
  text-align: left;
}

.ascii-table td {
  padding: 16px 20px;
  border-bottom: 1px dashed rgba(57, 255, 92, 0.25);
  color: var(--text-code);
}

.ascii-table tr:hover td {
  background: rgba(57, 255, 92, 0.08);
  color: var(--main-neon);
}

.ascii-table tr.popular-row td {
  background: rgba(84, 240, 224, 0.06);
}

/* FAQ 与 评价 */
.log-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.log-review-card {
  border: 1px solid rgba(57, 255, 92, 0.3);
  padding: 24px;
  background: #020503;
}

/* 页脚：闪烁光标提示符 */
.terminal-footer {
  border-top: 1px solid var(--border-green);
  padding: 60px 24px 40px 24px;
  background: #020403;
}

.footer-prompt-huge {
  font-size: clamp(24px, 3.5vw, 42px);
  color: var(--main-neon);
  margin-bottom: 30px;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(57, 255, 92, 0.5);
}

.footer-cursor-blink {
  animation: blink 0.9s infinite;
}

.footer-bracket-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border-bottom: 1px dashed rgba(57, 255, 92, 0.3);
  padding-bottom: 30px;
}

.bracket-link {
  color: var(--accent-cyan);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
}

.bracket-link:hover {
  color: var(--main-neon);
  text-shadow: 0 0 8px var(--main-neon);
}

/* 响应式 */
@media (max-width: 900px) {
  .terminal-body { grid-template-columns: 1fr; }
  .terminal-sidebar { border-right: none; border-bottom: 1px solid rgba(57, 255, 92, 0.3); }
  .features-grid { grid-template-columns: 1fr; }
  .log-review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-container { flex-direction: column; height: auto; padding: 12px 0; gap: 10px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .footer-bracket-links { flex-direction: column; gap: 12px; }
}
