@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg-color: #060709;
  --bg-card: rgba(18, 21, 26, 0.7);
  --bg-card-hover: rgba(26, 31, 38, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 102, 0.25);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --hphl-green: #00FF66;
  --hphl-green-dim: #00cc52;
  --hphl-green-glow: 0 0 25px rgba(0, 255, 102, 0.35);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
}

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

::selection {
  background: rgba(0, 255, 102, 0.3);
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.4);
}

::-moz-selection {
  background: rgba(0, 255, 102, 0.3);
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-color);
  color: var(--text-main);
  font-family: 'Rubik', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 7, 9, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vela-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.vela-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 102, 0.25));
  transition: var(--transition);
}

.logo-link:hover img {
  transform: scale(1.05);
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--hphl-green);
}

.nav .btn-nav {
  background: rgba(0, 255, 102, 0.1);
  color: var(--hphl-green);
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 102, 0.3);
  font-weight: 600;
}

.nav .btn-nav:hover {
  background: var(--hphl-green);
  color: #000;
  box-shadow: var(--hphl-green-glow);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-switch a, .lang-switch span {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  padding: 2px 4px;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch .lang-active, .lang-switch span.active {
  color: var(--hphl-green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
  font-weight: 700;
}

.lang-switch .lang-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 140px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(0, 255, 102, 0.08) 0%, transparent 60%);
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
}

.badge-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: var(--hphl-green);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hphl-green);
  box-shadow: 0 0 8px var(--hphl-green);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--hphl-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--hphl-green);
  color: #000;
  border: none;
  box-shadow: var(--hphl-green-glow);
}

.btn-primary:hover {
  background: #26ff7b;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* TERMINAL INSTALL SNIPPET */
.install-snippet {
  max-width: 650px;
  margin: 0 auto;
  background: rgba(10, 13, 17, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.snippet-text {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snippet-prompt {
  color: var(--hphl-green);
  font-weight: 700;
}

.snippet-code {
  color: #e5e7eb;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* SECTION COMMON */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  color: var(--hphl-green);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hphl-green);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* CODE SHOWCASE */
.code-section {
  background: rgba(11, 14, 19, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.code-wrapper {
  background: #0a0d12;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.code-tabs {
  display: flex;
  background: #0f131a;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.code-tab {
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.code-tab.active {
  color: var(--hphl-green);
  border-bottom-color: var(--hphl-green);
  background: rgba(0, 255, 102, 0.04);
}

.code-body {
  padding: 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* Syntax Highlighting */
.kw { color: #f43f5e; font-weight: 600; }
.type { color: var(--hphl-green); font-weight: 500; }
.fn { color: #a855f7; font-weight: 600; }
.str { color: #34d399; }
.num { color: #fbbf24; }
.comment { color: #64748b; font-style: italic; }

/* BENCHMARK BARS */
.bench-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.bench-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
}

.bench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.bench-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.bench-stat {
  color: var(--hphl-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.bench-row {
  margin-bottom: 18px;
}

.bench-row:last-child {
  margin-bottom: 0;
}

.bench-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.bench-bar-bg {
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
}

.bench-bar {
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease-out;
}

.bar-hphl {
  background: linear-gradient(90deg, #00FF66, #00cc52);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

.bar-cpp-gcc { background: #60a5fa; }
.bar-cpp-clang { background: #38bdf8; }
.bar-csharp { background: #c084fc; }
.bar-java { background: #fbbf24; }

.bench-hardware-meta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bench-hardware-meta strong {
  color: var(--text-main);
}

.bench-hardware-meta a {
  color: var(--hphl-green);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bench-hardware-meta a:hover {
  text-decoration: underline;
}

.bench-tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.bench-tab-btn {
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: 'Rubik', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.bench-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.bench-tab-btn.active {
  color: #000;
  background: var(--hphl-green);
  border-color: var(--hphl-green);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.35);
}

.bench-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.9rem;
}

.bench-summary-table th,
.bench-summary-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.bench-summary-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 700;
}

.bench-summary-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.bench-summary-table .highlight-green {
  color: var(--hphl-green);
  font-weight: 700;
}

.bench-summary-table .highlight-blue {
  color: #60a5fa;
  font-weight: 600;
}

/* DOWNLOAD GRID */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dl-card.featured {
  border-color: rgba(0, 255, 102, 0.4);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.05) 0%, rgba(18, 21, 26, 0.8) 100%);
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dl-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--hphl-green);
}

.dl-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dl-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.dl-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-color);
  background: #030405;
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand h4 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--hphl-green);
}

.footer-bottom {
  max-width: 1240px;
  margin: 24px auto 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
}

/* OS SELECTOR TABS */
.os-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.os-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.os-tab.active {
  background: rgba(0, 255, 102, 0.12);
  border-color: rgba(0, 255, 102, 0.4);
  color: var(--hphl-green);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0d12;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}

/* ==========================================================================
   DOCUMENTATION PORTAL STYLES (docs.html)
   ========================================================================== */

.docs-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  max-width: 1400px;
  margin: 80px auto 0;
  min-height: calc(100vh - 80px);
}

.docs-sidebar {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 30px 20px 60px;
  border-right: 1px solid var(--border-color);
  background: rgba(8, 10, 14, 0.6);
  backdrop-filter: blur(10px);
}

.docs-search {
  position: relative;
  margin-bottom: 24px;
}

.docs-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 14px 10px 36px;
  border-radius: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.docs-search input:focus {
  border-color: var(--hphl-green);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.docs-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.docs-group {
  margin-bottom: 24px;
}

.docs-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hphl-green);
  margin-bottom: 10px;
  padding-left: 10px;
}

.docs-nav-list {
  list-style: none;
}

.docs-nav-list li {
  margin-bottom: 4px;
}

.docs-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.docs-nav-list a i {
  font-size: 1.1rem;
  color: #64748b;
  transition: var(--transition);
}

.docs-nav-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.docs-nav-list a:hover i {
  color: var(--hphl-green);
}

.docs-nav-list a.active {
  color: var(--hphl-green);
  background: rgba(0, 255, 102, 0.08);
  font-weight: 600;
  border-left: 3px solid var(--hphl-green);
}

.docs-nav-list a.active i {
  color: var(--hphl-green);
}

/* LANGUAGE SWITCHER */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.lang-switch a:hover {
  color: var(--hphl-green);
}

.lang-switch .lang-active {
  color: var(--hphl-green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
}

.docs-content {
  padding: 40px 48px 100px;
  max-width: 960px;
}

.heading-anchor-alias {
  position: relative;
  top: -90px;
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.anchor-highlight {
  animation: anchorGlow 2s ease-out;
}

@keyframes anchorGlow {
  0% { background: rgba(0, 255, 102, 0.25); box-shadow: 0 0 25px rgba(0, 255, 102, 0.5); border-radius: 6px; }
  100% { background: transparent; box-shadow: none; }
}

.docs-article {
  margin-bottom: 80px;
}

/* Breadcrumbs with interactive links */
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.docs-breadcrumb a.crumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.docs-breadcrumb a.crumb-link:hover {
  color: var(--hphl-green);
}

.docs-breadcrumb .crumb-current {
  color: var(--hphl-green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.docs-breadcrumb .crumb-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
}

/* Green accents on headings */
.docs-article h1 {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 45%, var(--hphl-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.docs-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.docs-article h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 44px 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--hphl-green);
  padding-left: 14px;
  color: #f8fafc;
}

.docs-article h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: #e2e8f0;
}

.docs-article p {
  color: #d1d5db;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Green Hyperlinks in Docs */
.docs-article a {
  color: var(--hphl-green);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(0, 255, 102, 0.4);
  transition: var(--transition);
}

.docs-article a:hover {
  color: #ffffff;
  border-bottom-style: solid;
  border-bottom-color: var(--hphl-green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

.docs-article strong {
  color: #ffffff;
}

.docs-article blockquote {
  border-left: 4px solid var(--hphl-green);
  background: rgba(0, 255, 102, 0.04);
  padding: 16px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  color: #e2e8f0;
  font-style: italic;
}

/* Green Table Styling in Docs */
.docs-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.docs-article th {
  background: rgba(0, 255, 102, 0.08);
  color: var(--hphl-green);
  padding: 12px 18px;
  text-align: left;
  border-bottom: 2px solid rgba(0, 255, 102, 0.3);
  font-weight: 700;
}

.docs-article td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  color: #d1d5db;
}

.docs-article tr:hover td {
  background: rgba(0, 255, 102, 0.02);
}

.docs-article ul, .docs-article ol {
  margin: 0 0 24px 24px;
  color: #d1d5db;
  line-height: 1.8;
}

.docs-article li {
  margin-bottom: 8px;
}

.docs-article code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 255, 102, 0.08);
  color: var(--hphl-green);
  border: 1px solid rgba(0, 255, 102, 0.25);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
  font-weight: 500;
}

.docs-article pre code,
.docs-code pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
  font-weight: normal;
}

/* Callouts */
.callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid transparent;
}

.callout i {
  font-size: 1.4rem;
  margin-top: 2px;
}

.callout-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.callout-content p {
  margin: 0;
  font-size: 0.95rem;
}

.callout-tip {
  background: rgba(0, 255, 102, 0.05);
  border-left-color: var(--hphl-green);
  color: #e5e7eb;
}
.callout-tip i { color: var(--hphl-green); }

.callout-note {
  background: rgba(0, 255, 102, 0.05);
  border-left-color: var(--hphl-green);
  color: #e5e7eb;
}
.callout-note i { color: var(--hphl-green); }

.callout-warn {
  background: rgba(251, 191, 36, 0.05);
  border-left-color: #fbbf24;
  color: #e5e7eb;
}
.callout-warn i { color: #fbbf24; }

/* Docs Code Block */
.docs-code {
  background: #090c10;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin: 24px 0;
  overflow: hidden;
}

.docs-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: #0f131a;
  border-bottom: 1px solid var(--border-color);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.docs-code pre {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Highlight.js Color Alignment (Overriding atom-one-dark blues to brand electric green) */
.docs-code pre code,
.docs-article pre code {
  color: #e2e8f0;
}
.docs-code .hljs,
.docs-article .hljs {
  background: transparent !important;
}
.docs-code .hljs-keyword,
.docs-code .hljs-selector-tag,
.docs-article .hljs-keyword,
.docs-article .hljs-selector-tag {
  color: #ff5370 !important;
  font-weight: 600;
}
.docs-code .hljs-type,
.docs-code .hljs-built_in,
.docs-code .hljs-title,
.docs-code .hljs-function,
.docs-code .hljs-title.function_,
.docs-code .hljs-title.class_,
.docs-code .hljs-class .hljs-title,
.docs-article .hljs-type,
.docs-article .hljs-built_in,
.docs-article .hljs-title,
.docs-article .hljs-function,
.docs-article .hljs-title.function_,
.docs-article .hljs-title.class_ {
  color: var(--hphl-green) !important;
}
.docs-code .hljs-string,
.docs-article .hljs-string {
  color: #34d399 !important;
}
.docs-code .hljs-number,
.docs-code .hljs-literal,
.docs-article .hljs-number,
.docs-article .hljs-literal {
  color: #fbbf24 !important;
}
.docs-code .hljs-comment,
.docs-code .hljs-quote,
.docs-article .hljs-comment,
.docs-article .hljs-quote {
  color: #64748b !important;
  font-style: italic;
}
.docs-code .hljs-params,
.docs-code .hljs-variable,
.docs-article .hljs-params,
.docs-article .hljs-variable {
  color: #e2e8f0 !important;
}
.docs-code .hljs-attr,
.docs-code .hljs-attribute,
.docs-article .hljs-attr,
.docs-article .hljs-attribute {
  color: #a855f7 !important;
}
.docs-code .hljs-meta,
.docs-article .hljs-meta {
  color: #fbbf24 !important;
}

/* Explicit Selection in Docs, Code Blocks & Inputs */
.docs-code ::selection,
.docs-article ::selection,
.docs-article code::selection,
.code-body ::selection,
input::selection,
textarea::selection {
  background: rgba(0, 255, 102, 0.35) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
.docs-code ::-moz-selection,
.docs-article ::-moz-selection,
.docs-article code::-moz-selection,
.code-body ::-moz-selection,
input::-moz-selection,
textarea::-moz-selection {
  background: rgba(0, 255, 102, 0.35) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Docs Tables */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
}

.docs-table th, .docs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.docs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--hphl-green);
  font-weight: 700;
}

.docs-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Prev / Next Footer */
.docs-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.docs-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.docs-nav-btn:hover {
  border-color: var(--hphl-green);
  background: var(--bg-card-hover);
  color: var(--hphl-green);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    height: calc(100vh - 80px);
    background: #060709;
  }
  .docs-sidebar.open {
    display: block;
  }
  .docs-content {
    padding: 30px 20px;
  }
}

