/* NEURO AI - VS Code Dark Theme Styles */

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4EC9B0, #28C840);
  z-index: 9999;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(78, 201, 176, 0.5);
}

/* ========== RESET & BASE ========== */
* {
  scrollbar-width: thin;
  scrollbar-color: #424242 #1E1E1E;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #1E1E1E;
  color: #D4D4D4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: #264F78;
}

/* ========== ANIMATED GRADIENT BLOBS ========== */
.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  will-change: transform;
}

.gradient-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4EC9B0 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: blobFloat1 20s ease-in-out infinite;
}

.gradient-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #28C840 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: blobFloat2 25s ease-in-out infinite;
}

.gradient-blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1a5c4c 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation: blobFloat3 18s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #4EC9B0, transparent);
  opacity: 0.2;
  max-width: 1280px;
  margin: 0 auto;
}

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

/* ========== TYPOGRAPHY ========== */
.code-font {
  font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
}

/* ========== VS CODE WINDOW FRAME ========== */
.vsc-window {
  background: #1E1E1E;
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 30px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(78, 201, 176, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vsc-window:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(78, 201, 176, 0.08);
}

.vsc-titlebar {
  background: #323233;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #3C3C3C;
  font-size: 12px;
  color: #808080;
  user-select: none;
}

.vsc-titlebar-dots {
  display: flex;
  gap: 6px;
  margin-right: 12px;
}

.vsc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.vsc-dot-red { background: #FF5F57; }
.vsc-dot-yellow { background: #FEBC2E; }
.vsc-dot-green { background: #28C840; }

/* ========== VS CODE SIDEBAR ========== */
.vsc-activitybar {
  width: 48px;
  background: #333333;
  border-right: 1px solid #3C3C3C;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  gap: 16px;
  flex-shrink: 0;
}

.vsc-activitybar-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #808080;
  cursor: default;
  transition: color 0.15s;
}

.vsc-activitybar-icon.active {
  color: #D4D4D4;
}

.vsc-activitybar-icon:hover {
  color: #D4D4D4;
}

.vsc-sidebar {
  width: 200px;
  background: #252526;
  border-right: 1px solid #3C3C3C;
  flex-shrink: 0;
  font-size: 12px;
  overflow-y: auto;
}

.vsc-sidebar-header {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #808080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== VS CODE TABS ========== */
.vsc-tabs {
  display: flex;
  height: 36px;
  background: #2D2D2D;
  border-bottom: 1px solid #3C3C3C;
  font-size: 12px;
  overflow-x: auto;
}

.vsc-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #808080;
  cursor: default;
  white-space: nowrap;
  border-top: 2px solid transparent;
  transition: background 0.15s;
}

.vsc-tab:hover {
  background: #2D2D2D;
}

.vsc-tab.active {
  background: #1E1E1E;
  color: #D4D4D4;
  border-top-color: #007ACC;
}

.vsc-tab-close {
  opacity: 0.4;
  font-size: 10px;
  margin-left: 4px;
}

/* ========== VS CODE EDITOR ========== */
.vsc-editor {
  flex: 1;
  background: #1E1E1E;
  overflow: auto;
  font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 22px;
}

.vsc-breadcrumb {
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  color: #808080;
  background: #1E1E1E;
  border-bottom: 1px solid #3C3C3C;
}

.vsc-breadcrumb-sep {
  margin: 0 4px;
  opacity: 0.4;
}

.vsc-line {
  display: flex;
  min-height: 22px;
  transition: background 0.1s;
}

.vsc-line:hover {
  background: #2A2D2E;
}

.vsc-line.active {
  background: #2A2D2E;
}

.vsc-line-num {
  width: 48px;
  text-align: right;
  padding-right: 16px;
  color: #858585;
  user-select: none;
  flex-shrink: 0;
}

.vsc-line.active .vsc-line-num {
  color: #C6C6C6;
}

.vsc-line-content {
  flex: 1;
  padding: 0 16px;
}

/* ========== SYNTAX HIGHLIGHTING ========== */
.syn-keyword { color: #569CD6; }
.syn-type { color: #4EC9B0; }
.syn-function { color: #DCDCAA; }
.syn-string { color: #CE9178; }
.syn-variable { color: #9CDCFE; }
.syn-control { color: #C586C0; }
.syn-comment { color: #6A9955; }
.syn-number { color: #B5CEA8; }
.syn-operator { color: #D4D4D4; }
.syn-decorator { color: #DCDCAA; }
.syn-param { color: #9CDCFE; }
.syn-bracket { color: #D4D4D4; }
.syn-tag { color: #569CD6; }

/* ========== DIFF VIEW ========== */
.diff-added {
  border-left: 3px solid #4EC9B0;
  background: rgba(78, 201, 176, 0.06);
}

.diff-removed {
  border-left: 3px solid #F44747;
  background: rgba(244, 71, 71, 0.06);
}

.diff-added .diff-marker {
  color: #4EC9B0;
  margin-right: 8px;
  user-select: none;
}

.diff-removed .diff-marker {
  color: #F44747;
  margin-right: 8px;
  user-select: none;
}

.diff-gutter {
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  font-size: 11px;
}

.diff-gutter-add {
  color: #4EC9B0;
  background: rgba(78, 201, 176, 0.1);
}

.diff-gutter-remove {
  color: #F44747;
  background: rgba(244, 71, 71, 0.1);
}

/* ========== COMMAND PALETTE ========== */
.cmd-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  padding-top: 80px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cmd-palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cmd-palette {
  width: 500px;
  max-width: 90vw;
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-height: 400px;
}

.cmd-palette-input {
  width: 100%;
  padding: 10px 16px;
  background: #3C3C3C;
  border: none;
  border-bottom: 1px solid #007ACC;
  color: #D4D4D4;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  outline: none;
}

.cmd-palette-item {
  padding: 8px 16px;
  font-size: 13px;
  color: #D4D4D4;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.1s;
}

.cmd-palette-item:hover,
.cmd-palette-item.active {
  background: #04395E;
}

.cmd-palette-item .shortcut {
  margin-left: auto;
  font-size: 11px;
  color: #808080;
  font-family: 'JetBrains Mono', monospace;
}

/* ========== CHAT PANEL ========== */
.chat-panel {
  background: #252526;
  border-left: 1px solid #3C3C3C;
  display: flex;
  flex-direction: column;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  background: #2D2D2D;
  border-bottom: 1px solid #3C3C3C;
  font-size: 12px;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  background: #1E1E1E;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #3C3C3C;
  font-size: 12px;
  line-height: 1.6;
  animation: chatFadeIn 0.3s ease;
}

.chat-msg.ai {
  border-color: rgba(78, 201, 176, 0.2);
}

.chat-msg.user {
  background: #2D2D2D;
  border-color: #3C3C3C;
}

.chat-msg-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 11px;
}

.chat-msg-label.ai-label {
  color: #4EC9B0;
}

.chat-msg-label.user-label {
  color: #569CD6;
}

.chat-msg-code {
  background: #1A1A1A;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 8px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.6;
  overflow-x: auto;
}

.chat-input-wrap {
  padding: 12px;
  border-top: 1px solid #3C3C3C;
}

.chat-input {
  width: 100%;
  padding: 8px 12px;
  background: #3C3C3C;
  border: 1px solid #3C3C3C;
  border-radius: 4px;
  color: #D4D4D4;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: #007ACC;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== TERMINAL ========== */
.vsc-terminal {
  background: #1E1E1E;
  border-top: 1px solid #3C3C3C;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 16px;
  color: #D4D4D4;
}

.vsc-terminal-header {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: #252526;
  border-bottom: 1px solid #3C3C3C;
  font-size: 11px;
  color: #808080;
  gap: 12px;
}

.vsc-terminal-prompt {
  color: #4EC9B0;
}

.vsc-terminal-cmd {
  color: #D4D4D4;
}

.vsc-terminal-output {
  color: #808080;
}

.vsc-terminal-success {
  color: #4EC9B0;
}

.vsc-terminal-error {
  color: #F44747;
}

/* ========== STATUS BAR ========== */
.vsc-statusbar {
  height: 22px;
  background: #007ACC;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: #FFFFFF;
  gap: 12px;
  flex-shrink: 0;
}

.vsc-statusbar-right {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

/* ========== CONTEXT MENU ========== */
.vsc-context-menu {
  position: absolute;
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 4px 0;
  font-size: 12px;
  z-index: 50;
  min-width: 220px;
}

.vsc-context-item {
  padding: 4px 24px;
  color: #D4D4D4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.1s;
}

.vsc-context-item:hover {
  background: #094771;
}

.vsc-context-sep {
  height: 1px;
  background: #3C3C3C;
  margin: 4px 0;
}

.vsc-context-shortcut {
  color: #808080;
  font-size: 11px;
  margin-left: 24px;
}

/* ========== LOADING SPINNER ========== */
.neuro-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #3C3C3C;
  border-top-color: #4EC9B0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== PULSE DOT ========== */
.pulse-dot {
  animation: pulse 2s infinite;
}

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

/* ========== TYPING CURSOR ========== */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #D4D4D4;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

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

/* ========== GHOST TEXT (AI suggestion) ========== */
.ghost-text {
  color: #808080;
  opacity: 0.5;
  font-style: italic;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== FILE TREE ========== */
.file-tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 16px;
  font-size: 12px;
  color: #808080;
  cursor: default;
  transition: background 0.1s;
}

.file-tree-item:hover {
  background: #2A2D2E;
}

.file-tree-item.active {
  background: #37373D;
  color: #D4D4D4;
}

.file-tree-folder {
  color: #DCDCAA;
}

.file-tree-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
  border-color: #4EC9B0;
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(78, 201, 176, 0.08);
}

/* ========== COMPARISON TABLE ========== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #3C3C3C;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.compare-table th {
  background: #252526;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #3C3C3C;
  color: #D4D4D4;
}

.compare-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(60, 60, 60, 0.5);
  color: #808080;
  transition: background 0.2s;
}

.compare-table tr:hover td {
  background: rgba(78, 201, 176, 0.04);
}

.compare-table .highlight-col {
  background: rgba(78, 201, 176, 0.06);
  color: #D4D4D4;
  border-left: 1px solid rgba(78, 201, 176, 0.1);
  border-right: 1px solid rgba(78, 201, 176, 0.1);
}

.compare-table .highlight-col.th {
  color: #4EC9B0;
  background: rgba(78, 201, 176, 0.1);
}

/* ========== PRICING CARDS ========== */
.pricing-card {
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(78, 201, 176, 0.06);
}

.pricing-card.featured {
  border-color: #4EC9B0;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #4EC9B0;
  color: #1E1E1E;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4EC9B0;
  color: #1E1E1E;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(78, 201, 176, 0.4), 0 0 40px rgba(78, 201, 176, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #4EC9B0;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid rgba(78, 201, 176, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(78, 201, 176, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(78, 201, 176, 0.2);
}

/* ========== TRUST BADGES ========== */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  font-size: 13px;
  color: #D4D4D4;
  transition: border-color 0.3s;
}

.trust-badge:hover {
  border-color: #4EC9B0;
}

.trust-badge-icon {
  color: #4EC9B0;
}

/* ========== STEP INDICATORS ========== */
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4EC9B0;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ========== DEMO STEPS ========== */
.demo-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.demo-step.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-step-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3C3C3C;
  cursor: pointer;
  transition: all 0.3s;
}

.demo-step-indicator.active {
  background: #4EC9B0;
  box-shadow: 0 0 8px rgba(78, 201, 176, 0.4);
}

/* ========== SELECTION HIGHLIGHT ========== */
.code-selection {
  background: #264F78;
  border-radius: 2px;
}

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: #4EC9B0;
}

.faq-question {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #252526;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #2D2D2D;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #1E1E1E;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #808080;
}

.faq-chevron {
  transition: transform 0.3s;
  color: #808080;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* ========== NAVIGATION ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(50, 50, 51, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(60, 60, 60, 0.5);
  height: 40px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(30, 30, 30, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(78, 201, 176, 0.1);
}

.site-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-right: 32px;
}

.nav-brand .brand-name {
  color: #808080;
  font-size: 11px;
}

.nav-brand .product-name {
  color: #D4D4D4;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.nav-link {
  color: #808080;
  transition: color 0.2s;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4EC9B0;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #D4D4D4;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #D4D4D4;
}

.nav-link.active::after {
  width: 100%;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #252526;
  border-top: 1px solid #3C3C3C;
  padding: 48px 16px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: #D4D4D4;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  font-size: 12px;
  color: #808080;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #4EC9B0;
}

.footer-bottom {
  border-top: 1px solid #3C3C3C;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #808080;
}

/* ========== MOBILE ========== */
.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  background: #252526;
  border-bottom: 1px solid #3C3C3C;
  padding: 12px 16px;
  z-index: 49;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 8px 0;
  font-size: 12px;
  color: #808080;
}

.mobile-nav a:hover {
  color: #D4D4D4;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #808080;
    cursor: pointer;
    padding: 4px;
  }

  .vsc-activitybar,
  .vsc-sidebar {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .chat-panel {
    border-left: none;
    border-top: 1px solid #3C3C3C;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== PROGRESS BAR (Demo) ========== */
.demo-progress {
  width: 100%;
  height: 3px;
  background: #3C3C3C;
  border-radius: 2px;
  overflow: hidden;
}

.demo-progress-bar {
  height: 100%;
  background: #4EC9B0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ========== NOTIFICATION TOAST ========== */
.vsc-notification {
  position: absolute;
  bottom: 30px;
  right: 16px;
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 40;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== INLINE COMPLETION (Ghost) ========== */
.inline-suggestion {
  color: #808080;
  opacity: 0;
  transition: opacity 0.3s;
}

.inline-suggestion.visible {
  opacity: 0.5;
}

/* ========== MODEL BADGE ========== */
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 6px;
  font-size: 12px;
  color: #D4D4D4;
  transition: all 0.2s;
  cursor: default;
}

.model-badge:hover {
  background: rgba(78, 201, 176, 0.1);
  border-color: #4EC9B0;
  transform: translateY(-2px);
}

/* ========== ARCHITECTURE DIAGRAM ========== */
.arch-box {
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
}

.arch-arrow {
  color: #4EC9B0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== SCROLL REVEAL WITH STAGGER ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
  background: #252526;
  border: 1px solid #3C3C3C;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 48px;
  color: #4EC9B0;
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  border-color: rgba(78, 201, 176, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(78, 201, 176, 0.05);
}

.testimonial-stars {
  color: #DCDCAA;
  letter-spacing: 2px;
  font-size: 14px;
}

/* ========== TRUST COUNTER ========== */
.trust-counter {
  text-align: center;
}

.trust-counter-value {
  font-size: 36px;
  font-weight: 700;
  color: #4EC9B0;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.2;
}

.trust-counter-label {
  font-size: 13px;
  color: #808080;
  margin-top: 4px;
}

/* ========== WORKS WITH LOGOS ========== */
.works-with-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(37, 37, 38, 0.6);
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  font-size: 13px;
  color: #808080;
  transition: all 0.3s;
}

.works-with-logo:hover {
  border-color: rgba(78, 201, 176, 0.3);
  color: #D4D4D4;
  background: rgba(78, 201, 176, 0.05);
}

/* ========== FOOTER PRODUCTS GRID ========== */
.footer-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.footer-product-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(30, 30, 30, 0.6);
  border: 1px solid #3C3C3C;
  border-radius: 8px;
  font-size: 12px;
  color: #808080;
  transition: all 0.3s;
  white-space: nowrap;
}

.footer-product-link:hover {
  border-color: #4EC9B0;
  color: #D4D4D4;
  background: rgba(78, 201, 176, 0.05);
  transform: translateY(-2px);
}

.footer-product-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4EC9B0;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.footer-product-link:hover .footer-product-dot {
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== NAV CTA ENHANCED ========== */
.nav-cta {
  background: #4EC9B0;
  color: #1E1E1E;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 4px;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(78, 201, 176, 0.3);
}

/* ========== LEGAL PAGE STYLES ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 16px 48px;
}

.legal-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #D4D4D4;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 600;
  color: #D4D4D4;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #808080;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 14px;
  line-height: 1.8;
  color: #808080;
  padding-left: 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4EC9B0;
}

.legal-date {
  font-size: 12px;
  color: #808080;
  margin-bottom: 32px;
}
