/* ===================================================================
   老头VPN (laotouvpn) - Matrix 矩阵终端黑客美学样式表
   配色：#000000 纯黑 | #00FF41 矩阵绿 | #003B00 深绿
   字体：JetBrains Mono / Fira Code / Consolas 等宽终端字体
   =================================================================== */

/* 字体采用系统预装/网页标准等宽字体栈，无外部网络依赖，保障极速秒开 */

:root {
  --bg-primary: #000000;
  --bg-secondary: #000800;
  --bg-card: rgba(0, 15, 0, 0.78);
  --bg-card-hover: rgba(0, 32, 0, 0.9);
  --border-color: #003B00;
  --border-highlight: #00FF41;
  
  --primary: #00FF41;
  --primary-hover: #003B00;
  --accent: #00FF41;
  --accent-glow: rgba(0, 255, 65, 0.4);
  
  --text-main: #00FF41;
  --text-muted: #00cc33;
  --text-dim: #008822;
  
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-full: 4px;
  
  --shadow-glow: 0 0 20px rgba(0, 255, 65, 0.35);
  --text-glow: 0 0 8px rgba(0, 255, 65, 0.7), 0 0 20px rgba(0, 255, 65, 0.4);
  --card-border: 1px solid #003B00;
  --card-border-hover: 1px solid #00FF41;
  
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-mono);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* 锚点防固定页眉遮挡 (80px 偏移) */
section, [id], article, .section-title, .subpage-section h2 {
  scroll-margin-top: 80px;
}

/* 键盘无障碍跳过导航 (Skip to main content) */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  background: #000000;
  color: #00FF41;
  border: 2px solid #00FF41;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
  transition: top 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid #00FF41;
  outline-offset: 2px;
}

/* 键盘导航清晰可见焦点 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 2px solid #00FF41 !important;
  outline-offset: 3px !important;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #000000;
  font-family: var(--font-mono);
  font-weight: 400;
}

/* Matrix 背景 Canvas 与遮罩 */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.matrix-mask {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top, #000000 25%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* 前景内容层，应用 backdrop-filter: blur(2px) 突显内容 */
.content-wrapper {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 头部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: var(--text-glow);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: #000000;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.brand-text span {
  color: #ffffff;
  font-size: 0.9em;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  padding: 4px 8px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: #00FF41;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
  border-color: rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
}

/* CTA 按钮规范：
   矩阵绿描边按钮，黑底，hover 时背景填充绿色 + 文字变黑，圆角 4px，带终端光标。 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 46px;
  text-align: center;
  white-space: nowrap;
  background: #000000;
  border: 1px solid #00FF41;
  color: #00FF41;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.25);
  text-shadow: 0 0 4px rgba(0, 255, 65, 0.5);
  position: relative;
}

.btn::after {
  content: " ▋";
  color: #00FF41;
  animation: blinkCursor 1s step-start infinite;
  font-size: 0.85em;
  margin-left: 2px;
}

.btn:hover {
  background: #00FF41;
  color: #000000;
  text-shadow: none;
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.85);
  transform: translateY(-1px);
}

.btn:hover::after {
  color: #000000;
}

.btn-primary {
  /* 与规范基准一致 */
  border: 1px solid #00FF41;
  background: #000000;
  color: #00FF41;
}

.btn-outline {
  border: 1px solid #005515;
  color: #00cc33;
}

.btn-outline:hover {
  background: #00FF41;
  color: #000000;
  border-color: #00FF41;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  min-height: 50px;
}

.btn-block {
  width: 100%;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Badge 终端标签 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 59, 0, 0.4);
  color: #00FF41;
  border: 1px solid #00FF41;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #00FF41;
  box-shadow: 0 0 8px #00FF41;
}

/* 主视觉区 Hero 布局 */
.hero {
  padding: 60px 0 50px;
  position: relative;
}

.hero-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 680px;
}

.hero-right {
  flex: 0 0 auto;
  width: 440px;
  max-width: 100%;
}

/* 大标题：H1「老头VPN」，等宽字体，700字重，绿色发光文字阴影，打字机光标 */
.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #00FF41;
  text-shadow: var(--text-glow);
}

.hero-headline .brand-en {
  color: #ffffff;
  font-size: 0.75em;
  opacity: 0.9;
  display: block;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.typing-cursor {
  display: inline-block;
  color: #00FF41;
  animation: blinkCursor 0.8s step-start infinite;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-sub strong {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* 右侧动画：120px 级终端窗口（带标题栏 + 三个圆点），窗口内命令行打字机 */
.terminal-window {
  width: 100%;
  min-height: 130px;
  background: #000000;
  border: 1px solid #00FF41;
  border-radius: 4px;
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.3), inset 0 0 15px rgba(0, 59, 0, 0.5);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  height: 32px;
  background: #002200;
  border-bottom: 1px solid #003B00;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-dot.red { background: #ff5f56; box-shadow: 0 0 5px #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; box-shadow: 0 0 5px #ffbd2e; }
.terminal-dot.green { background: #27c93f; box-shadow: 0 0 5px #27c93f; }

.terminal-title {
  color: #00FF41;
  font-size: 0.75rem;
  margin-left: 6px;
  opacity: 0.85;
}

.terminal-body {
  padding: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.terminal-line {
  color: #00FF41;
  margin-bottom: 6px;
  word-break: break-all;
}

.term-prompt {
  color: #ffffff;
  font-weight: 700;
}

.term-cursor {
  animation: blinkCursor 0.8s step-start infinite;
  color: #00FF41;
  margin-left: 2px;
}

.term-output {
  color: #55ff77;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
}

/* 核心数据指标 */
.hero-stats {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-val {
  font-size: 1.7rem;
  font-weight: 700;
  color: #00FF41;
  text-shadow: var(--text-glow);
}

.stat-val span {
  color: #ffffff;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* 通用区块排版 */
.section {
  padding: 80px 0;
}

.section-darker {
  background: rgba(0, 10, 0, 0.7);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #00FF41;
  text-shadow: var(--text-glow);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.gradient-text {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 核心优势 (3个图文卡片) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00FF41;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px #00FF41;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: #00FF41;
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #000000;
  border: 1px solid #00FF41;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00FF41;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
  margin-bottom: 22px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00FF41;
  text-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 流媒体与 AI 支持图卡 */
.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: #00FF41;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #000000;
  border: 1px solid #00FF41;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00FF41;
}

.service-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 700;
  background: #002200;
  border: 1px solid #00FF41;
  color: #00FF41;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00FF41;
}

.service-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.sub-pill {
  font-size: 0.72rem;
  background: #000000;
  border: 1px solid #003B00;
  padding: 3px 8px;
  border-radius: 2px;
  color: #00FF41;
}

/* 套餐价格对比表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: rgba(0, 25, 0, 0.88);
  border: 2px solid #00FF41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.35);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border: 1px solid #00FF41;
  color: #00FF41;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 22px;
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00FF41;
  margin-bottom: 6px;
}

.pricing-header p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.pricing-cost {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00FF41;
}

.amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
  line-height: 1;
}

.period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-note {
  font-size: 0.82rem;
  color: #55ff77;
  margin-top: 6px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-list li.check svg {
  color: #00FF41;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list li strong {
  color: #ffffff;
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: var(--bg-card-hover);
  border-color: #00FF41;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.stars {
  color: #00FF41;
  margin-bottom: 12px;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.review-quote {
  font-size: 0.9rem;
  color: #00FF41;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 18px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: #000000;
  border: 1px solid #00FF41;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #00FF41;
  font-size: 0.85rem;
}

.reviewer-info h3,
.reviewer-info h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.reviewer-info p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* 6个常见问题解答 (FAQ) */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: #00FF41;
  background: var(--bg-card-hover);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.faq-question {
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #00FF41;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "[+]";
  font-size: 1rem;
  color: #00FF41;
}

.faq-item[open] .faq-question::after {
  content: "[-]";
  color: #ffffff;
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 底部 CTA Banner */
.cta-banner {
  background: rgba(0, 20, 0, 0.85);
  border: 1px solid #00FF41;
  border-radius: var(--radius-md);
  padding: 50px 24px;
  text-align: center;
  margin: 30px auto 70px;
  max-width: 950px;
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.3);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: #00FF41;
  text-shadow: var(--text-glow);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

/* 页脚 (规范：只保留四个标题，在新页面打开) */
.footer {
  border-top: 1px solid var(--border-color);
  background: #000000;
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #00FF41;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.footer-nav a:hover {
  border-color: #00FF41;
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-copy p {
  margin-bottom: 4px;
}

/* 子页面内容排版 (关于/服务条款/隐私/网站地图/科普) */
.subpage-hero {
  padding: 50px 0 35px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.subpage-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #00FF41;
  text-shadow: var(--text-glow);
  margin-bottom: 10px;
}

.subpage-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.subpage-content {
  max-width: 860px;
  margin: 40px auto 70px;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 38px 30px;
}

.subpage-section {
  margin-bottom: 32px;
}

.subpage-section:last-child {
  margin-bottom: 0;
}

.subpage-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #00FF41;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #003B00;
  padding-bottom: 8px;
}

.subpage-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.subpage-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}

.subpage-section ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.subpage-section ul li::before {
  content: ">";
  position: absolute;
  left: 4px;
  color: #00FF41;
  font-weight: bold;
}

.back-home-wrap {
  text-align: center;
  margin-top: 36px;
}

/* ===================================================================
   响应式断点 (@media)
   手机端完美单栏，保持布局稳定
   =================================================================== */

@media (max-width: 992px) {
  .hero-main-row {
    flex-direction: column;
    text-align: left;
  }
  
  .hero-right {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .nav-container {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .nav-links {
    display: flex;
    overflow-x: auto;
    width: 100%;
    order: 3;
    padding: 6px 0 4px;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: 1px solid #002200;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 3px 0;
  }
  
  .hero {
    padding: 40px 0 30px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
  }
  
  .hero-stats {
    gap: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section {
    padding: 55px 0;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  
  .subpage-content {
    padding: 24px 18px;
    margin: 25px auto 50px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.9rem;
  }
  
  .pricing-card {
    padding: 26px 18px;
  }
  
  .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }
}

/* ===================================================================
   知识科普专栏：9篇 SEO 深度技术文章专属样式
   =================================================================== */

.toc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin-bottom: 50px;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00FF41;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #003B00;
  padding-bottom: 12px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.toc-card {
  background: #000000;
  border: 1px solid #003B00;
  border-radius: 4px;
  padding: 16px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.toc-card:hover {
  border-color: #00FF41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.25);
  transform: translateY(-2px);
}

.toc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.toc-num {
  font-size: 0.75rem;
  color: #00FF41;
  font-weight: 700;
  background: #002200;
  padding: 2px 6px;
  border: 1px solid #005515;
}

.toc-words {
  font-size: 0.72rem;
  color: #55ff77;
}

.toc-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 10px;
}

.toc-card:hover .toc-card-title {
  color: #00FF41;
}

.toc-card-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.toc-jump {
  font-size: 0.82rem;
  color: #00FF41;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 独立文章卡片排版 */
.seo-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  margin-bottom: 50px;
  transition: border-color 0.2s;
  position: relative;
}

.seo-article:hover {
  border-color: rgba(0, 255, 65, 0.4);
}

.seo-article h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #00FF41;
  text-shadow: var(--text-glow);
  line-height: 1.35;
  margin-bottom: 14px;
}

.art-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  border-bottom: 1px solid #003B00;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.art-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.art-badge-tag {
  color: #00FF41;
  background: #002200;
  border: 1px solid #005515;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 700;
}

.art-word-count {
  color: #55ff77;
  font-weight: 700;
}

.art-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 22px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #00FF41;
}

.art-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #00FF41;
  margin: 16px 0 8px;
}

.art-content p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.art-content ul, .art-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.art-content li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.art-content strong {
  color: #ffffff;
  font-weight: 700;
}

/* 文章内的首页内链高亮 */
.seo-internal-link {
  color: #00FF41;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  padding: 0 4px;
  background: rgba(0, 255, 65, 0.08);
  border-radius: 2px;
  transition: all 0.2s;
}

.seo-internal-link:hover {
  background: #00FF41;
  color: #000000;
  text-decoration: none;
  box-shadow: 0 0 10px #00FF41;
}

.art-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
  padding-top: 14px;
  border-top: 1px dashed #003B00;
}

.art-seo-pill {
  font-size: 0.75rem;
  color: #00cc33;
  background: #000000;
  border: 1px solid #003B00;
  padding: 3px 10px;
  border-radius: 2px;
}

.art-cta-inline {
  background: rgba(0, 20, 0, 0.9);
  border: 1px solid #00FF41;
  border-radius: 4px;
  padding: 20px;
  margin: 26px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.art-cta-inline h4 {
  margin: 0 0 4px;
  color: #00FF41;
  font-size: 1.05rem;
}

.art-cta-inline p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.art-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 0.85rem;
}

.back-to-toc {
  color: var(--text-dim);
  transition: color 0.2s;
}

.back-to-toc:hover {
  color: #00FF41;
}

/* 文章专属 FAQ 问答区块样式 */
.art-faq-box {
  margin: 28px 0 20px;
  background: rgba(0, 10, 0, 0.85);
  border: 1px solid #003B00;
  border-left: 3px solid #00FF41;
  border-radius: 4px;
  padding: 22px 20px;
}

.art-faq-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #00FF41;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.art-faq-item {
  background: #000000;
  border: 1px solid #002200;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.art-faq-item[open] {
  border-color: rgba(0, 255, 65, 0.4);
  background: rgba(0, 25, 0, 0.6);
}

.art-faq-q {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.art-faq-q::-webkit-details-marker {
  display: none;
}

.art-faq-q::before {
  content: "[Q] ";
  color: #00FF41;
  font-weight: bold;
  margin-right: 6px;
}

.art-faq-q::after {
  content: "[+]";
  color: #00FF41;
  font-size: 0.85rem;
}

.art-faq-item[open] .art-faq-q::after {
  content: "[-]";
  color: #ffffff;
}

.art-faq-a {
  padding: 0 16px 14px 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(0, 255, 65, 0.08);
}

.art-faq-a p {
  margin: 8px 0 0;
}

/* 延伸阅读与站内互链卡片 */
.art-related-box {
  background: #000000;
  border: 1px dashed #003B00;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 20px 0 16px;
  font-size: 0.86rem;
}

.art-related-box h5 {
  font-size: 0.9rem;
  color: #00FF41;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.art-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.art-related-links a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.art-related-links a:hover {
  color: #00FF41;
  background: rgba(0, 255, 65, 0.1);
}

/* ===================================================================
   无障碍：系统减弱动效偏好适配 (prefers-reduced-motion)
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #matrix-canvas {
    display: none !important;
  }
  .typing-cursor, .term-cursor, .btn::after {
    animation: none !important;
    opacity: 1 !important;
  }
}



