﻿/* Monochrome Blueprint / Wireframe Design System */
:root {
  --bg-main: #09090B;
  --bg-card: #18181B;
  --bg-card-alt: #121215;
  --border-line: #27272A;
  --border-active: #52525B;
  --text-main: #FAFAFA;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
  --accent-black: #000000;
  --accent-white: #FFFFFF;
  --font-mono: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, Menlo, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-mono);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Grid & Wireframe Blueprint Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.blueprint-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.page-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  border-left: 1px solid var(--border-line);
  border-right: 1px solid var(--border-line);
  background: rgba(9, 9, 11, 0.85);
}

/* Engineering Crosshair & Targeting Decorator */
.crosshair {
  position: relative;
}
.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
}
.crosshair-tl::before { top: -4px; left: -4px; width: 9px; height: 1px; }
.crosshair-tl::after { top: -4px; left: -4px; width: 1px; height: 9px; }
.crosshair-tr::before { top: -4px; right: -4px; width: 9px; height: 1px; }
.crosshair-tr::after { top: -4px; right: -4px; width: 1px; height: 9px; }
.crosshair-bl::before { bottom: -4px; left: -4px; width: 9px; height: 1px; }
.crosshair-bl::after { bottom: -4px; left: -4px; width: 1px; height: 9px; }
.crosshair-br::before { bottom: -4px; right: -4px; width: 9px; height: 1px; }
.crosshair-br::after { bottom: -4px; right: -4px; width: 1px; height: 9px; }

/* Top Announcement Banner */
.top-announcement {
  background: var(--accent-white);
  color: var(--accent-black);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent-white);
  letter-spacing: 0.5px;
}
.top-announcement .ticker-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-announcement .tag {
  background: var(--accent-black);
  color: var(--accent-white);
  padding: 2px 6px;
  font-size: 11px;
}
.top-announcement a {
  color: var(--accent-black);
  text-decoration: underline;
  font-weight: 800;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-line);
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  text-decoration: none;
}
.logo-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--bg-main);
}
nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}
nav a:hover, nav a.active {
  color: var(--text-main);
}
nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-blueprint {
  background: var(--text-main);
  color: var(--accent-black);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.btn-blueprint:hover {
  background: var(--bg-main);
  color: var(--text-main);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* Blueprint Section Standard Container */
.blueprint-section {
  border-bottom: 1px solid var(--border-line);
  padding: 64px 32px;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-meta {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: "[#]";
  color: var(--text-dim);
  font-weight: 400;
  font-size: 20px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 32px;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-line);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-muted);
  width: fit-content;
  background: var(--bg-card);
}
.hero-h1 {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero-p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.hero-right {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 24px;
  position: relative;
}
.spec-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-line);
  padding-bottom: 10px;
  font-size: 12px;
}
.spec-row .label { color: var(--text-dim); }
.spec-row .val { font-weight: 700; color: var(--text-main); }

/* Node Monitor Section */
.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.node-card {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.2s;
}
.node-card:hover {
  border-color: var(--border-active);
}
.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.node-name {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.node-flag {
  font-size: 11px;
  border: 1px solid var(--border-line);
  padding: 2px 4px;
}
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.node-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-main);
  padding: 12px;
  border: 1px solid var(--border-line);
  font-size: 12px;
}
.latency-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-white);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-section { grid-template-columns: 1fr; }
}
.pricing-card {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent-white);
  background: var(--bg-card-alt);
}
.badge-featured {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-white);
  color: var(--accent-black);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
}
.plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 24px;
}
.plan-price span {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-muted);
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: "+";
  color: var(--text-main);
  font-weight: 800;
}

/* Features Advantage Section */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .advantage-grid { grid-template-columns: 1fr; }
}
.adv-card {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 24px;
}
.adv-num {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.adv-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.adv-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Section */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
}
.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
  border-top: 1px dashed var(--border-line);
  margin-top: 10px;
  padding-top: 16px;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Knowledge Base / SEO Articles Section */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.kb-card {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.kb-tag {
  font-size: 10px;
  color: var(--text-dim);
  border: 1px solid var(--border-line);
  padding: 2px 6px;
  width: fit-content;
}
.kb-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.kb-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.kb-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kb-link:hover {
  text-decoration: underline;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 24px;
  font-size: 13px;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.avatar {
  width: 36px;
  height: 36px;
  border: 1px solid var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--bg-main);
}
.user-info .name { font-weight: 700; font-size: 14px; }
.user-info .role { font-size: 11px; color: var(--text-dim); }

/* Footer */
footer {
  border-top: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 40px 32px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Helper utility for keyword tags */
.kw-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-line);
  color: var(--text-muted);
  padding: 2px 8px;
  font-size: 11px;
  margin-right: 6px;
  margin-bottom: 6px;
  display: inline-block;
}

