:root {
  --bg: #0a0a0c;
  --bg-light: #0f0f12;
  --surface: #141418;
  --surface-light: #1a1a1f;
  --border: #1f1f26;
  --border-light: #2a2a33;
  --text: #d4d4d8;
  --text-muted: #71717a;
  --text-dim: #52525b;
  --accent: #14b8a6;
  --accent-light: #2dd4bf;
  --accent-dim: rgba(20, 184, 166, 0.1);
  --accent-faded: rgba(20, 184, 166, 0.6);
  --success: #22c55e;
  --danger: #ef4444;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 15px;
}

/* Navigation - Minimal */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 56px;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo svg {
  width: 24px;
  height: 24px;
}

.nav-title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  border-color: var(--border-light);
  background: var(--surface);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

/* Hero - Centered */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-emblem {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: 3rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
}

/* Principles - Clean cards */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.principle {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  text-align: center;
}

.principle-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.principle-icon svg {
  width: 28px;
  height: 28px;
}

.principle h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.principle p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* NEXUS Section */
.nexus-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terminal-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.terminal-line {
  margin-bottom: 0.25rem;
}

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

.output {
  color: var(--text-muted);
  padding: 0.75rem 0;
}

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

.success {
  color: var(--success);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-brand svg {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

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

/* Responsive */
@media (max-width: 640px) {
  .nav {
    padding: 0 1rem;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .hero {
    padding: 5rem 1.5rem 3rem;
  }
  .section {
    padding: 3rem 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Utilities */
.mono {
  font-family: 'JetBrains Mono', monospace;
}
/* NEXUS Preview - Enhanced */
.nexus-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .nexus-preview {
    grid-template-columns: 1fr;
  }
}

.nexus-features {
  padding: 1.5rem 0;
}

.nexus-features h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.nexus-features p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.terminal-body .data-row {
  display: block;
  padding-left: 1rem;
}

.terminal-body .dim {
  color: var(--text-dim);
  font-size: 12px;
}