/* ═══════════════════════════════════════════════════════════════
   AIMLSE Landing Page - Dark Mode, Gold Accent
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --text: #ffffff;
  --text-dim: #aaaaaa;
  --border: #2a2a2a;
  --accent: #d4a574;
  --accent-dark: #c49564;
  --code-bg: #0f0f0f;
  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Skip to main link (accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.nav-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.3));
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-signin {
  display: inline-block;
  text-decoration: none;
  background: none;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: var(--transition);
}

.btn-signin:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-start {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-start:hover {
  background: var(--accent-dark);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.25);
}

.btn-secondary {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 120px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 28px 0;
  letter-spacing: -0.02em;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 50px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dim);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  position: relative;
}

.pytorch-flow {
  animation: float 6s ease-in-out infinite;
}

.pytorch-logo {
  width: 200px;
  height: 200px;
  color: var(--accent);
  opacity: 0.8;
}

/* ── LIVE DEMO INTERFACE ─────────────────────────────────────── */
.live-demo {
  width: 100%;
  max-width: 600px;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.demo-chrome {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chrome-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
}

.chrome-dots {
  display: flex;
  gap: 8px;
}

.chrome-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.chrome-url {
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}

/* ── DEMO PANEL ──────────────────────────────────────── */
.demo-panel {
  display: none;
  flex-direction: column;
  height: 520px;
  background: var(--code-bg);
}

.animated-demo-container {
  display: flex;
  flex-direction: column;
  height: 520px;
  background: var(--code-bg);
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.animated-workflow {
  position: relative;
  background: var(--code-bg);
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
  font-family: 'Inter', sans-serif;
}

.workflow-timer {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  z-index: 10;
}

.timer-icon { font-size: 14px; }
.timer-label { color: var(--text-dim); font-weight: 500; }

.workflow-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-stage.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.workflow-stage.exit-left {
  transform: translateX(-40px);
  opacity: 0;
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.stage-icon {
  font-size: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.stage-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.input-prompt {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
}

.input-display {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text);
  min-height: 60px;
  display: flex;
  gap: 4px;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s infinite;
}

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

.template-recommendations {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  transition: all 0.3s;
}

.rec-item.active {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.2);
}

.template-details {
  background: var(--surface-2);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.detail-label {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

.detail-value {
  color: var(--accent);
  font-weight: 600;
}

.blocks-sequence {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
}

.block-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  min-width: 110px;
  flex-shrink: 0;
  animation: slideDown 0.5s ease-out;
}

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

.block-icon { font-size: 20px; margin-bottom: 4px; }
.block-name { font-size: 11px; font-weight: 600; color: var(--text); }
.block-arrow { color: var(--accent); font-size: 18px; flex-shrink: 0; }

.prototypes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  position: relative;
  transition: all 0.3s;
  animation: slideDown 0.5s ease-out;
}

.proto-card.best {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(212, 165, 116, 0.25);
}

.proto-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.proto-title { font-size: 12px; font-weight: 600; color: var(--text); }
.proto-param { font-size: 10px; color: var(--text-dim); margin: 4px 0; }

.proto-result {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.result-item {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.result-value { color: var(--accent); font-weight: 600; }

.helpers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.helper-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: slideDown 0.5s ease-out;
}

.helper-check {
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}

.helper-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.code-display {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.5;
  color: #d4d4d4;
  max-height: 200px;
  overflow-y: auto;
}

.code-line {
  margin: 2px 0;
}

.indent-1 { margin-left: 20px; }
.indent-2 { margin-left: 40px; }

.kw { color: #569cd6; }
.str { color: #ce9178; }
.num { color: #b5cea8; }

.verification-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--text);
  animation: slideDown 0.5s ease-out;
}

.check-icon {
  color: #22c55e;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.export-status {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 8px;
}

.workflow-summary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-summary.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.summary-box {
  background: rgba(212, 165, 116, 0.05);
  border: 2px solid rgba(212, 165, 116, 0.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
}

.summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.screen-recording-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 520px;
}

.screen-recorder-window {
  width: 100%;
  max-width: 100%;
  background: #0a0a0a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.window-header {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 12px;
  color: #aaa;
}

.window-controls {
  display: flex;
  gap: 6px;
}

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

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27c93f; }

.window-title {
  font-size: 11px;
  font-weight: 600;
}

.live-indicator {
  background: rgba(34, 197, 94, 0.1);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1s infinite;
}

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

.screen-content {
  background: #0a0a0a;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.aimlse-navbar {
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon { font-size: 16px; }
.nav-brand { color: #d4a574; }
.nav-center { flex: 1; text-align: center; }

.editor-panel {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

.sidebar {
  background: #0f0f0f;
  border-right: 1px solid #2a2a2a;
  padding: 12px;
  overflow-y: auto;
  font-size: 11px;
}

.sidebar-section {
  margin-bottom: 16px;
}

.section-title {
  font-size: 9px;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-item {
  padding: 8px;
  border-radius: 4px;
  color: #aaa;
  transition: all 0.3s;
}

.project-item.active {
  background: rgba(212, 165, 116, 0.2);
  color: #d4a574;
  font-weight: 600;
}

.main-content {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-tabs {
  display: flex;
  border-bottom: 1px solid #2a2a2a;
  background: #0f0f0f;
  padding: 0;
}

.tab {
  flex: 1;
  padding: 10px 12px;
  font-size: 10px;
  color: #666;
  border-bottom: 2px solid transparent;
  cursor: default;
  transition: all 0.3s;
  text-align: center;
}

.tab.active {
  color: #d4a574;
  border-bottom-color: #d4a574;
}

.content-pane {
  flex: 1;
  overflow-y: auto;
  position: relative;
  padding: 16px;
}

.phase {
  position: absolute;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.phase.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.phase-header {
  font-size: 12px;
  font-weight: 600;
  color: #d4a574;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.input-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 11px;
  color: #888;
}

.text-input {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 10px;
  min-height: 80px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
}

.input-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #d4a574;
  animation: blink 1s infinite;
}

.templates-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 10px;
  transition: all 0.3s;
}

.template-card.active {
  background: #1a2a2a;
  border-color: #d4a574;
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.2);
}

.template-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.template-desc {
  font-size: 9px;
  color: #888;
}

.data-table {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  font-size: 10px;
}

.table-header, .table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #2a2a2a;
  padding: 8px;
}

.table-header {
  background: #0f0f0f;
  font-weight: 600;
  color: #d4a574;
}

.table-row {
  color: #aaa;
}

.table-meta {
  padding: 6px 8px;
  font-size: 9px;
  color: #666;
  background: #0f0f0f;
  text-align: center;
}

.blocks-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.block-item {
  background: #1a2a2a;
  border: 1px solid #2a5a5a;
  border-radius: 4px;
  padding: 10px;
  min-width: 160px;
  text-align: center;
  font-size: 10px;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.block-arrow {
  color: #d4a574;
  font-size: 14px;
}

.training-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proto-training {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 10px;
  animation: slideIn 0.5s ease-out;
}

.proto-training.best {
  background: #1a2a2a;
  border-color: #2a5a5a;
  box-shadow: 0 0 12px rgba(42, 90, 90, 0.2);
}

.proto-label {
  font-size: 10px;
  font-weight: 600;
  color: #d4a574;
  margin-bottom: 6px;
}

.progress-bar {
  height: 4px;
  background: #0f0f0f;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: #2a5a5a;
}

.progress-fill.best {
  background: #d4a574;
}

.proto-result {
  font-size: 10px;
  color: #aaa;
  text-align: right;
}

.code-editor {
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  line-height: 1.5;
  color: #d4d4d4;
  max-height: 140px;
  overflow-y: auto;
}

.code-line {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.kw { color: #569cd6; }
.str { color: #ce9178; }
.num { color: #b5cea8; }

.indent-1 { margin-left: 16px; }
.indent-2 { margin-left: 32px; }

.results-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.result-item {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  animation: slideIn 0.5s ease-out;
}

.result-label {
  font-size: 9px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.result-value {
  font-size: 11px;
  font-weight: 700;
  color: #d4a574;
}

.console-panel {
  background: #0f0f0f;
  border-left: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  font-size: 9px;
}

.console-header {
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  padding: 6px 10px;
  font-weight: 600;
  color: #d4a574;
  text-transform: uppercase;
}

.console-output {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  color: #22c55e;
}

.log-line {
  margin: 3px 0;
  animation: slideIn 0.3s ease-out;
}

.demo-footer {
  background: linear-gradient(90deg, #0f0f0f 0%, #1a1a1a 100%);
  border-top: 1px solid #2a2a2a;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #aaa;
  font-weight: 500;
}

.demo-time {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #d4a574;
}

.demo-value {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  font-weight: 600;
}

.notebook-demo {
  background: var(--code-bg);
  border: none;
  border-radius: 0;
  overflow: hidden;
  display: none;
  flex-direction: column;
  height: 100%;
  font-family: 'JetBrains Mono', monospace;
}

.notebook-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.notebook-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.notebook-meta {
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
}

.notebook-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  padding: 0;
  overflow-x: auto;
}

.notebook-tabs .tab {
  padding: 8px 12px;
  font-size: 10px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  cursor: default;
  transition: all 0.2s;
  white-space: nowrap;
}

.notebook-tabs .tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.notebook-cell {
  border-bottom: 1px solid var(--border);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cell-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 6px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}

.cell-number {
  color: var(--text-dim);
  font-weight: 600;
  min-width: 16px;
}

.cell-status {
  color: #22c55e;
  font-size: 6px;
}

.cell-input {
  padding: 10px 12px;
  background: var(--code-bg);
  overflow-x: auto;
  max-height: 100px;
  overflow-y: auto;
}

.code-editor {
  font-size: 9px;
  line-height: 1.4;
  color: #d4d4d4;
  white-space: pre-wrap;
  word-break: break-all;
}

.cell-output {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 9px;
  color: #22c55e;
  max-height: 70px;
  overflow-y: auto;
}

.output-line {
  margin: 2px 0;
  font-family: 'JetBrains Mono', monospace;
}

.execution-summary {
  background: rgba(34, 197, 94, 0.08);
  border-top: 2px solid rgba(34, 197, 94, 0.2);
  padding: 12px 14px;
}

.summary-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.stat-value {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.stage-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

/* ── STAGE 1: PROJECT DESCRIPTION ────────────────────── */
.input-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.input-area label {
  font-size: 13px;
  color: var(--text-dim);
}

.input-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text);
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.input-text {
  display: inline;
  word-break: break-word;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s infinite;
  margin-top: 2px;
}

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

/* ── STAGE 2: RECOMMENDATIONS ────────────────────────── */
.recommendations {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.rec-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rec-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.rec-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  transition: all 0.3s;
}

.rec-item.active {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 500;
}

/* ── STAGE 3: DATA INSERTION ─────────────────────────── */
.data-insert {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.file-drop {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}

.data-preview.mini {
  background: var(--surface);
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
  max-height: 150px;
  overflow-y: auto;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 6px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

.table-row:first-child span {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
}

.data-stats {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* ── STAGE 4: TEMPLATE VIEW ──────────────────────────── */
.template-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.template-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blocks-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.code-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.code-str {
  color: #ce9178;
}

.template-code {
  background: var(--surface);
  border-radius: 6px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text);
  line-height: 1.6;
}

.code-comment {
  color: #6a9955;
}

.code-kw {
  color: #569cd6;
}

.action-button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: default;
  transition: all 0.3s;
  align-self: flex-start;
}

/* ── STAGE 5: BLOCKS TRANSFORMATION ──────────────────── */
.blocks-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--color);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text);
  text-align: center;
  font-weight: 500;
  animation: slideDown 0.4s ease-out;
}

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

.prototype-label {
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* ── STAGE 6: PROTOTYPES & RUNS ──────────────────────── */
.prototypes-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.proto-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  position: relative;
  transition: all 0.3s;
}

.proto-item.active {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.2);
}

.proto-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.proto-metric {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.proto-best {
  position: absolute;
  top: 8px;
  right: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── STAGE 7: RECOMMENDATIONS BLOCKS ─────────────────── */
.tabs-mini {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.tabs-mini .tab {
  font-size: 11px;
  color: var(--text-dim);
  padding: 6px 10px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  cursor: default;
}

.tabs-mini .tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.recs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-block {
  background: var(--surface);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  align-items: center;
  border: 1px solid var(--border);
}

.rec-check {
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── STAGE 8: FINAL CODE ─────────────────────────────── */
.final-code-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.code-block {
  background: var(--surface);
  border-radius: 6px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text);
  line-height: 1.6;
  border: 1px solid var(--border);
  overflow-x: auto;
}

.code-num {
  color: #b5cea8;
}

.code-op {
  color: #d4d4d4;
}

/* ── STAGE 9: EXPORT & DEPLOY ────────────────────────── */
.export-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.export-status {
  background: var(--surface);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  align-items: center;
  border: 1px solid var(--border);
}

.export-status.success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.status-check {
  color: #22c55e;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.export-button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: default;
  transition: all 0.3s;
  text-align: center;
}

.editor-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  overflow-x: auto;
}

.tab-item {
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: default;
}

.tab-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.editor-content {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 0;
  overflow: hidden;
}

.editor-left,
.editor-middle,
.editor-right {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.editor-right {
  border-right: none;
  background: var(--surface-2);
}

.section-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Project Info */
.project-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-item span:last-child {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* Data Preview */
.data-preview {
  font-size: 11px;
}

.preview-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  background: rgba(212, 165, 116, 0.05);
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
}

.table-row:first-child {
  font-weight: 600;
  color: var(--accent);
  background: transparent;
}

/* Architecture Flow */
.arch-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-stage {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}

.arch-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch-block {
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
}

.flow-arrow {
  color: var(--accent);
  font-size: 16px;
  opacity: 0.6;
}

.code-mini {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  line-height: 1.5;
  color: #e8e8e8;
}

.code-kw { color: #ff79c6; }
.code-fn { color: #50fa7b; }
.code-num { color: #f1fa8c; }

/* Results Box */
.results-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.metric-label {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

/* Helpers Box */
.helpers-box {
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 16px;
}

.helpers-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.helper-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tag {
  padding: 6px 10px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 4px;
  font-size: 9px;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}

/* Status */
.status-good {
  padding: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 6px;
  font-size: 11px;
  color: #22c55e;
  line-height: 1.6;
  font-weight: 500;
}

.demo-status {
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ── SECTIONS ────────────────────────────────────────────────── */
.section {
  padding: 120px 60px;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 70px;
  letter-spacing: -0.01em;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.card {
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--surface);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(212, 165, 116, 0.1);
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}

/* ── LIBRARIES SECTION ───────────────────────────────────────── */
.libraries-section {
  padding: 120px 60px;
  background: var(--surface);
}

.lib-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.lib-display {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lib-current {
  animation: fadeInOut 3s ease-in-out infinite;
}

.lib-name {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.lib-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  10%, 90% { opacity: 1; }
}

.lib-belt {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  scroll-behavior: smooth;
}

.lib-item {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lib-item:hover,
.lib-item.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 165, 116, 0.1);
}

/* ── FIDELITIES ──────────────────────────────────────────────── */
.fidelities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
}

.fidelity {
  text-align: center;
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--surface);
}

.fidelity:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.fidelity-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.fidelity-name {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 20px;
}

.fidelity p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ── DEMO ────────────────────────────────────────────────────── */
.demo-section {
  padding: 80px 40px;
}

.demo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.demo-left {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.demo-tab {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.demo-tab:hover:not(.active) {
  color: var(--text);
}

.demo-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.demo-pane {
  display: none;
}

.demo-pane.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-item {
  padding: 12px 16px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  transition: var(--transition);
}

.demo-item:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.demo-block {
  display: inline-block;
  padding: 8px 12px;
  background: var(--code-bg);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  margin: 4px 0;
}

.demo-right {
  display: flex;
  flex-direction: column;
  background: var(--code-bg);
}

.demo-code-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-code {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #e8e8e8;
}

.code-keyword {
  color: #ff79c6;
}

.code-op {
  color: #8be9fd;
}

.code-num {
  color: #f1fa8c;
}

.code-comment {
  color: #6272a4;
}

.code-fn {
  color: #50fa7b;
}

.demo-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ── FEATURES ────────────────────────────────────────────────── */
.feature {
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--surface);
}

.feature:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(212, 165, 116, 0.1);
}

.feature h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 16px;
}

.feature p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}

/* ── DEMO BOOKING ─────────────────────────────────────────────── */
.demo-booking-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12) 0%, rgba(91, 124, 246, 0.08) 100%);
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.demo-booking-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.demo-booking-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
  color: var(--text);
}

.demo-booking-content p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 600px;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.cta-section {
  padding: 140px 60px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 48px);
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px;
  background: var(--surface);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-content a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-content a:hover {
  color: var(--accent);
}

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--code-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .demo-box {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .demo-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 16px;
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  .hero-visual {
    height: 200px;
  }

  .section {
    padding: 60px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }
}

/* ── SCROLL ANIMATION ────────────────────────────────────────── */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Footer: community links ── */
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-discord:hover {
  color: #fff;
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.12);
}
.footer-discord svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .footer-links { justify-content: center; }
}
