.terminal-page {
  min-height: 100vh;
  background: #0d0d0d;
  color: #f4f4f5;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.terminal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: #141414;
  border-bottom: 1px solid #272727;
}

.terminal-nav-back {
  color: #82cfff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.terminal-nav-back:hover {
  text-decoration: underline;
}

.terminal-nav-status {
  color: #8f9bb3;
  font-size: 12px;
}

.terminal-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  min-height: calc(100vh - 70px);
  padding: 32px;
}

.terminal-stage-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal-window {
  width: 100%;
  max-width: 760px;
  background: #111111;
  border-radius: 12px;
  border: 1px solid #252525;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
  border-bottom: 1px solid #282828;
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-button--close { background: #ff5f57; }
.terminal-button--minimize { background: #ffbd2e; }
.terminal-button--maximize { background: #28ca42; }

.terminal-title {
  color: #d4d4d8;
  font-size: 12px;
  font-weight: 500;
  flex: 1;
  text-align: center;
  margin-right: 24px;
}

.terminal-body {
  padding: 20px;
  background: #080808;
  min-height: 450px;
  font-size: 14px;
  line-height: 1.6;
  overflow-y: auto;
}

.terminal-output {
  display: grid;
  gap: 4px;
}

.terminal-line {
  display: flex;
  align-items: center;
  min-height: 18px;
}

.terminal-line-gap {
  display: block;
  width: 100%;
  height: 1px;
}

.terminal-prompt {
  color: #22c55e;
  margin-right: 10px;
  font-weight: 600;
}

.terminal-command,
.terminal-output-text,
.terminal-cursor {
  color: #e5e7eb;
}

.terminal-cursor {
  animation: terminalBlink 1s step-start infinite;
}

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

.terminal-detail {
  background: #161616;
  border: 1px solid #282828;
  border-radius: 12px;
  padding: 28px 24px;
}

.terminal-eyebrow {
  color: #82cfff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.terminal-detail h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
}

.terminal-detail p {
  margin: 0 0 24px;
  color: #c7c7d0;
  font-size: 15px;
  line-height: 1.55;
}

.terminal-detail-list {
  display: grid;
  gap: 10px;
}

.terminal-detail-list span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  background: #141414;
  color: #d7d7df;
  border-radius: 8px;
  border: 1px solid #2b2b2b;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .terminal-layout { grid-template-columns: 1fr; }
  .terminal-detail { order: -1; }
}

@media (max-width: 640px) {
  .terminal-nav, .terminal-layout { padding: 16px; }
  .terminal-window { max-width: 100%; }
  .terminal-body { padding: 16px; min-height: 320px; }
}
