/* Prompt styling */
.prompt {
  color: var(--green);
  margin-bottom: 4px;
  overflow-wrap: break-word;
  word-break: break-all;
}

.prompt .user {
  color: var(--pink);
}

.prompt .at {
  color: var(--subtext0);
}

.prompt .host {
  color: var(--blue);
}

.prompt .colon {
  color: var(--subtext0);
}

.prompt .path {
  color: var(--mauve);
}

.prompt .dollar {
  color: var(--text);
}

.prompt .cmd {
  color: var(--yellow);
}

.prompt .arg {
  color: var(--peach);
}

.prompt .flag {
  color: var(--teal);
}

.prompt .pipe {
  color: var(--overlay1);
}

/* Command output */
.output {
  margin: 16px 0 24px 0;
  color: var(--subtext1);
}

#hero-typing .output {
  margin-top: 4px;
}

.output p {
  margin: 2px 0;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: var(--text);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* Hero section */
#hero {
  padding-top: 60px;
  margin-bottom: 80px;
}

.ascii-art {
  color: var(--pink);
  font-size: clamp(3px, 1.4vw, 14px);
  line-height: 1.2;
  white-space: pre;
  overflow-x: auto;
  margin-bottom: 32px;
}

#hero-typing {
  min-height: 300px;
}

#hero-typing .line {
  opacity: 0;
  transition: opacity 0.01s;
}

#hero-typing .line.shown {
  opacity: 1;
}

#hero-typing .line:first-child {
  opacity: 1;
}

#hero-typing .line.fade-in {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(8px);
}

#hero-typing .line.fade-in.shown {
  transform: translateY(0);
}

/* CTA button in hero */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--pink);
  color: var(--crust);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.hero-cta:hover {
  background: var(--mauve);
  color: var(--crust);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-cta .icon {
  width: 16px;
  height: 16px;
  color: var(--crust);
}

/* Fixed contact button */
.fixed-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--pink);
  color: var(--crust);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.fixed-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fixed-cta:hover {
  background: var(--mauve);
  color: var(--crust);
  text-decoration: none;
  transform: translateY(-2px);
}

.fixed-cta .icon {
  width: 14px;
  height: 14px;
  color: var(--crust);
}

/* Available for hire indicator */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--subtext0);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(166, 227, 161, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(166, 227, 161, 0); }
}

/* Hero CTA group */
.hero-cta-group {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CV download button */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--surface1);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.hero-cta-secondary:hover {
  background: var(--surface2);
  color: var(--pink);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-cta-secondary .icon {
  width: 16px;
  height: 16px;
}
