/* Claude Code terminal demo — marketing homepage */

.cc-terminal {
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Header with traffic light dots */
.cc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-dot { width: 10px; height: 10px; border-radius: 50%; }
.cc-dot-red { background: #ff5f57; }
.cc-dot-yellow { background: #ffbd2e; }
.cc-dot-green { background: #28c840; }

.cc-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

/* Terminal body */
.cc-body {
  padding: 1.25rem 1.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  line-height: 1.9;
  color: #8b949e;
  min-height: 290px;
  position: relative;
}

/* Step visibility */
.cc-step { display: none; }
.cc-step.active { display: block; }

/* Claude Code UI tokens */
.cc-prompt { color: #6ee7b7; font-weight: 600; }
.cc-user { color: #e6edf3; font-weight: 400; }
.cc-marker { color: #d2a8ff; margin-right: 0.25rem; }
.cc-action { color: #d2a8ff; font-weight: 500; }
.cc-path { color: #79c0ff; }

.cc-result {
  padding-left: 1.35rem;
  position: relative;
  color: #8b949e;
}

.cc-result::before {
  content: '\23BF';
  position: absolute;
  left: 0.15rem;
  color: #484f58;
}

.cc-text { color: #8b949e; padding-left: 1.35rem; }
.cc-success { color: #6ee7b7; }
.cc-warn { color: #d29922; }
.cc-dim { color: #484f58; }
.cc-spacer { height: 0.6rem; }

/* Line animation */
.term-line { opacity: 0; }
.term-line.visible { opacity: 1; transition: opacity 0.1s ease; }

.typed-text { display: inline; }

.typing-cursor {
  display: inline-block;
  width: 7px;
  height: 1.15em;
  background: #6ee7b7;
  vertical-align: text-bottom;
  margin-left: 1px;
  animation: cc-cursor-blink 0.7s step-end infinite;
}

@keyframes cc-cursor-blink { 50% { opacity: 0; } }

/* Status bar */
.cc-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  color: #484f58;
  letter-spacing: 0.03em;
}

.cc-model { color: #d2a8ff; }

.cc-ctx-bar { display: inline-flex; gap: 1.5px; margin-left: 0.35rem; vertical-align: middle; }
.cc-ctx-bar i { display: inline-block; width: 4px; height: 7px; background: #484f58; border-radius: 1px; font-style: normal; }
.cc-ctx-bar i.on { background: #6ee7b7; opacity: 0.7; }

/* Footer nav */
.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.cc-dots { display: flex; gap: 0.5rem; align-items: center; }

.cc-dot-nav {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #484f58;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
}
.cc-dot-nav.active { background: #6ee7b7; opacity: 1; transform: scale(1.3); }
.cc-dot-nav:hover:not(.active) { opacity: 0.6; }

.cc-step-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  color: #484f58;
  letter-spacing: 0.03em;
  margin-left: 0.5rem;
}

.cc-current-label { color: #6ee7b7; }

.cc-nav { display: flex; gap: 0.5rem; }

.cc-nav button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b949e;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cc-nav button:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); color: #e6edf3; }
.cc-nav button:disabled { opacity: 0.2; cursor: default; }
.cc-nav button:disabled:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); color: #8b949e; }
