/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay:nth-child(1) { transition-delay: 0.1s; }
.stagger-delay:nth-child(2) { transition-delay: 0.2s; }
.stagger-delay:nth-child(3) { transition-delay: 0.3s; }
.stagger-delay:nth-child(4) { transition-delay: 0.4s; }
.stagger-delay:nth-child(5) { transition-delay: 0.5s; }
.stagger-delay:nth-child(6) { transition-delay: 0.6s; }

/* Live Coding Terminal Box */
.live-coding {
  background: #1a1f2e;
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Courier New', monospace;
}

.coding-header {
  background: #0f1320;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2d3748;
}

.coding-tabs {
  display: flex;
  gap: 8px;
}

.coding-tab {
  background: #2d3748;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #cbd5e0;
  cursor: pointer;
}

.coding-tab.active {
  background: var(--accent);
  color: #032027;
}

.coding-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.code-line {
  display: flex;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.line-number {
  color: #718096;
  width: 30px;
  text-align: right;
  margin-right: 12px;
  user-select: none;
}

.code-content {
  flex: 1;
  color: #e2e8f0;
}

.code-keyword { color: #ff79c6; }
.code-function { color: #50fa7b; }
.code-string { color: #f1fa8c; }
.code-comment { color: #6272a4; }
.code-variable { color: #8be9fd; }
.code-operator { color: #ff79c6; }

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.coding-footer {
  background: #0f1320;
  padding: 12px 16px;
  border-top: 1px solid #2d3748;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #718096;
}

.deploy-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.char {
  opacity: 0;
  transform: translateY(5px);
  animation: charAppear 0.1s forwards;
}

@keyframes charAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}